/* Enqueued only on the BYD Showcase Pro front page. */
body.home.byd-page {
  --ink: #132a2d; --ink-2: #485e60; --ink-3: #5a6c6c;
  --bg: #f7f8f4; --bg-2: #fff; --bg-3: #e9efeb;
  --neon: #08695e; --neon-glow: transparent;
  --line: #dbe3dc; --line-2: #bdcdc4;
  --edge: max(clamp(18px, 4vw, 64px), calc((100vw - 1280px) / 2));
  background: var(--bg); color: var(--ink); cursor: auto;
  font-family: Inter, "Segoe UI", sans-serif;
}
.home.byd-page :is(a, button, [data-hover]) { cursor: pointer; }
.home.byd-page :is(a,button,input,select):focus-visible { outline: 3px solid #e07838; outline-offset: 4px; }
.home.byd-page::before,.home .grid-bg,.home .cursor,.home .cursor-ring,.home #byd-loader,
.home .hero-top,.home .hero-tagline,.home .hero-glow,.home .scroll-hint,.home .marquee-section,
.home #models .section-label,.home .model-number { display: none; }
.home.byd-page .reveal { opacity: 1; transform: none; }
.home nav.byd-nav,.home nav.byd-nav.scrolled {
  position: sticky; top: 0; z-index: 100; mix-blend-mode: normal;
  background: #f7f8f4fa; color: var(--ink); backdrop-filter: blur(14px);
  padding: 12px var(--edge); border-bottom: 1px solid var(--line);
}
.admin-bar.home nav.byd-nav { top: 32px; }
.home .byd-nav .byd-logo { color: var(--ink); font: 750 17px/1.15 Inter,"Segoe UI",sans-serif; letter-spacing: -.04em; }
.home .byd-nav .logo-dot { background: var(--neon); box-shadow: none; }
.home .nav-links { gap: clamp(12px,2vw,28px); }
.home .nav-links a { font: 600 14px/1.4 Inter,"Segoe UI",sans-serif; letter-spacing: 0; text-transform: none; padding: 14px 0; }
.home :is(.nav-cta,.btn-neon,.btn-ghost) { min-height: 44px; border-radius: 999px; padding: 12px 22px; font: 650 14px/1.3 Inter,"Segoe UI",sans-serif; text-transform: none; letter-spacing: 0; }
.home :is(.nav-cta,.btn-neon) { color: white; background: #075d54; }
.home .nav-cta:hover span { color: white; }
.home .nav-cta::before { background: #124c45; }
.home .btn-ghost { border: 1px solid #b4c5be; color: #183c38; background: transparent; }
.home .hero-actions .btn-ghost > svg { width: 16px; height: 16px; flex: 0 0 16px; }
.home .hero {
  min-height: 0; display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
  gap: clamp(20px,4.2vw,74px); align-items: center; padding: clamp(36px,5.5vw,84px) var(--edge);
  background: linear-gradient(115deg,#f7f8f4 45%,#e3ede7); overflow: visible;
}
.home .hero-main { margin: 0; text-align: left; min-width: 0; }
.home .hero h1 { font: 650 clamp(54px,6.4vw,98px)/.99 Inter,"Segoe UI",sans-serif; letter-spacing: -.075em; margin: 0 0 16px; }
.home .hero h1 .line { display: inline; overflow: visible; }
.home .hero h1 .line:last-child { display: block; }
.home .hero h1 .italic { font: inherit; color: #187566; }
.home .hero-sub { margin: 0 0 24px; max-width: 39ch; color: #445d59; font-size: clamp(15px,1.25vw,18px); line-height: 1.55; }
.home .hero-actions { justify-content: start; gap: 8px; }
.home .hero-car {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: end; gap: 0;
  width: 100%; min-width: 0; margin: 0; padding: 0; max-width: none; aspect-ratio: auto; text-align: left;
}
.home .hero-car > :is(img,svg) { position: static; order: 0; grid-column: 1/-1; grid-row: auto; width: 100%; height: auto; aspect-ratio: 2.4; object-fit: contain; transform: none; filter: drop-shadow(0 13px 12px #1e403321); }
.home .hero-car-name { display: block; order: 1; grid-column: 1/-1; grid-row: auto; position: static; color: #284840; font: 700 13px/1.5 Inter,"Segoe UI",sans-serif; letter-spacing: .035em; text-align: center; margin: 0 0 14px; }
.home .hero-car .floating-spec { display: block; order: 2; grid-column: auto; grid-row: auto; position: static; transform: none; border-top: 1px solid #b5c9bd; padding: 10px 2px 0; font: 500 10px/1.3 Inter,"Segoe UI",sans-serif; color: #485f58; text-align: center; letter-spacing: .02em; }
.home .floating-spec::before { display: none; }
.home .floating-spec .number { color: var(--ink); font: 650 clamp(17px,2vw,25px)/1.2 Inter,"Segoe UI",sans-serif; }
.home #models { max-width: none; margin: 0; padding: clamp(32px,5.2vw,76px) var(--edge); scroll-margin-top: 60px; }
.home #models .section-header { display: block; margin: 0 0 24px; }
.home #models .section-title,.home #models .section-title .italic { font: 630 clamp(30px,3.5vw,52px)/1.1 Inter,"Segoe UI",sans-serif; color: var(--ink); letter-spacing: -.055em; margin: 0; }
.home .models-showcase { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.home .model-row,.home .model-row.reverse,.home .model-row:hover {
  display: flex; flex-direction: column; align-items: stretch; min-width: 0; direction: ltr;
  padding: 0; border: 1px solid #dce3dd; border-radius: 17px; background: white; overflow: hidden;
}
.home .model-visual,.home .model-visual.model-gallery { order: 0; margin: 0; width: 100%; aspect-ratio: 1.95; border: 0; border-radius: 0; background: linear-gradient(155deg,#eff3f1,#e1e9e5); }
.home .model-visual::before,.home .model-visual::after { display: none; }
.home .model-gallery-inner { height: 100%; padding: 0; }
.home .model-visual .gallery-slide,.home .model-row:hover .model-visual .gallery-slide { width: 100%; height: 100%; max-height: 100%; padding: 8px 12px 25px; transform: none; }
.home .gallery-nav { bottom: 0; gap: 4px; }
.home :is(.gallery-prev,.gallery-next) { min-width: 44px; min-height: 44px; background: transparent; color: #294740; border: 0; }
.home .gallery-dot { background: #8c9e95; }
.home .gallery-dot.active { background: #176052; }
.home .model-info { order: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 20px; }
.home .model-tag { align-self: start; color: #387267; margin: 0 0 7px; padding: 0; border: 0; font: 700 11px/1.3 Inter,"Segoe UI",sans-serif; letter-spacing: .1em; }
.home .model-name { margin: 0 0 8px; font: 670 clamp(22px,2.2vw,34px)/1.12 Inter,"Segoe UI",sans-serif; letter-spacing: -.045em; }
.home .model-name a { text-decoration: none; }
.home .model-name a:hover { text-decoration: underline; }
.home .model-tagline { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.home .model-specs { margin: auto 0 12px; padding: 12px 0; gap: 8px; }
.home .spec-value { color: var(--ink); font: 650 16px/1.25 Inter,"Segoe UI",sans-serif; }
.home .spec-label,.home .model-price .from { letter-spacing: .03em; color: var(--ink-2); }
.home .model-footer { gap: 8px; }
.home .model-price .amount { font: 700 23px/1.1 Inter,"Segoe UI",sans-serif; color: #164e45; }
.home .model-cta { min-height: 44px; text-transform: none; letter-spacing: 0; }
.home :is(#calculator,#technology,#handover,#contact,.byd-footer,.stats-section) {
  --bg: #132b29; --bg-2: #1b3532; --bg-3: #233e39; --ink: #f4f7f1; --ink-2: #c5d3ca; --ink-3: #adc1b8;
  --neon: #b9e6ce; --line: #3e5850; --line-2: #607a70;
  background-color: var(--bg); color: var(--ink); scroll-margin-top: 70px;
}
.home.byd-page :is(#calculator,#technology,#handover,#contact) .section-title { font-family: Inter,"Segoe UI",sans-serif; letter-spacing: -.05em; }
.home :is(#calculator,#contact) :is(select,button,input[type=range]) { min-height: 44px; }
.home #calculator select { width: 100%; max-width: 100%; font-size: 16px; }
@media(max-width:1000px) { .home .models-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:780px) {
  .home .hero { grid-template-columns: minmax(0,1fr); padding-top: 28px; gap: 16px; }
  .home .hero h1 { font-size: clamp(43px,8.5vw,64px); }
  .home .hero h1 .line:last-child { display: inline; }
  .home .hero-car { max-width: 580px; justify-self: center; }
  .home .hero-car > :is(img,svg) { aspect-ratio: 2.9; }
  .home .nav-links { display: none; }
  .home :is(.btn-neon,.btn-ghost) { width: auto; }
  .admin-bar.home nav.byd-nav { top: 46px; }
}
@media(max-width:620px) {
  .home .models-showcase { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .home .model-info { padding: 16px 18px; }
  .home .model-visual,.home .model-visual.model-gallery { aspect-ratio: 2.15; }
  .home nav.byd-nav,.home nav.byd-nav.scrolled { padding-top: 7px; padding-bottom: 7px; }
  .home .hero-sub { margin-bottom: 16px; }
  .home :is(.btn-neon,.btn-ghost) { padding-inline: 15px; }
  .home #models .section-header { margin-bottom: 18px; }
}
@media(max-width:600px) { .admin-bar.home nav.byd-nav { top: 0; } }
@media(prefers-reduced-motion:reduce) {
  .home.byd-page *, .home.byd-page *::before, .home.byd-page *::after { animation-duration: .01ms!important; transition-duration: .01ms!important; scroll-behavior: auto!important; }
}
