/* ============================================================
   AUTOSHINE — style.css  v3
   Dark / Light themes via [data-theme] on <html>
   ============================================================ */

/* ── DARK THEME (default) ── */
:root {
  --bg:            #080808;
  --bg-2:          #0d0d0d;
  --surface:       #111111;
  --surface-2:     #181818;
  --accent:        #00c9a7;
  --accent-dim:    #009e82;
  --accent-glow:   rgba(0,201,167,0.13);
  --accent-glow-s: rgba(0,201,167,0.28);
  --text:          #f0ede8;
  --text-muted:    #7a7772;
  --text-dim:      #2e2c2a;
  --border:        rgba(255,255,255,0.06);
  --border-accent: rgba(0,201,167,0.22);
  --nav-bg-scroll: rgba(8,8,8,0.92);
  --mob-menu-bg:   rgba(8,8,8,0.98);
  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-mono:     'Space Mono', monospace;
  --nav-h:         72px;
  --t:             0.35s ease; /* shared transition speed */
}

/* ── LIGHT THEME ── warm parchment, not clinical white */
[data-theme="light"] {
  --bg:            #f0ece4;
  --bg-2:          #e8e3da;
  --surface:       #ddd8ce;
  --surface-2:     #d0cbc0;
  --accent:        #008f74;
  --accent-dim:    #006d59;
  --accent-glow:   rgba(0,143,116,0.12);
  --accent-glow-s: rgba(0,143,116,0.26);
  --text:          #1a1917;
  --text-muted:    #6b6560;
  --text-dim:      #b0aaa2;
  --border:        rgba(0,0,0,0.09);
  --border-accent: rgba(0,143,116,0.28);
  --nav-bg-scroll: rgba(240,236,228,0.93);
  --mob-menu-bg:   rgba(240,236,228,0.99);
}

/* ── GLOBAL RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*, a, button, input, label, select, textarea { cursor: none !important; }

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-weight: 300;
  line-height: 1.6; overflow-x: hidden;
  transition: background var(--t), color var(--t);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }

/* ============================================================
   CUSTOM CURSOR — teal in dark mode, black in light mode
   ============================================================ */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: #00c9a7; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .18s, height .18s, background .3s;
}
[data-theme="light"] .cursor { background: #1a1917; }

.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid #00c9a7; border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); opacity: .55;
  transition: width .2s, height .2s, opacity .2s, border-color .3s;
}
[data-theme="light"] .cursor-ring { border-color: #1a1917; opacity: .35; }

/* ============================================================
   NAVBAR — brand LEFT, links CENTRE (absolute), toggle RIGHT
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; z-index: 2000;
  transition: background var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: var(--nav-bg-scroll);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

/* brand — left */
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon { color: var(--accent); font-size: 1.4rem; transition: color var(--t); }
.brand-name {
  font-family: var(--font-display); font-size: 1.6rem;
  letter-spacing: .08em; color: var(--text);
  transition: color var(--t);
}

/* nav-links — centred absolutely */
.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 36px; list-style: none;
}
/* hide the toggle-wrap li on desktop — toggle is standalone on right */
.nav-toggle-wrap { display: none; }

.nav-link {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  transition: color var(--t); position: relative; white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--accent); transition: width .3s;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.nav-cta {
  color: var(--accent); border: 1px solid var(--border-accent);
  padding: 8px 18px; border-radius: 2px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.nav-link.nav-cta:hover { background: var(--accent); color: var(--bg); }
.nav-link.nav-cta::after { display: none; }

/* ── THEME TOGGLE — standalone right side ── */
.theme-toggle {
  display: flex; align-items: center; gap: 7px;
  background: none; border: none; padding: 2px 0;
  flex-shrink: 0;
}
.toggle-icon {
  font-size: .85rem; line-height: 1;
  color: var(--text-muted); transition: color var(--t), opacity var(--t);
  user-select: none;
}
.toggle-icon.moon { opacity: .9; }
.toggle-icon.sun  { opacity: .35; }
[data-theme="light"] .toggle-icon.moon { opacity: .35; }
[data-theme="light"] .toggle-icon.sun  { opacity: 1; color: var(--accent); }

.toggle-track {
  position: relative; width: 40px; height: 20px;
  background: var(--surface-2); border: 1px solid var(--border-accent);
  border-radius: 99px; flex-shrink: 0;
  transition: background var(--t), border-color var(--t);
}
.toggle-track::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; background: var(--accent); border-radius: 50%;
  transition: transform .32s cubic-bezier(.4,0,.2,1), background var(--t);
  box-shadow: 0 0 5px var(--accent-glow-s);
}
[data-theme="light"] .toggle-track { background: var(--accent); border-color: var(--accent-dim); }
[data-theme="light"] .toggle-track::after { transform: translateX(20px); background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }

/* hamburger (mobile only) */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--text); transition: transform .3s, opacity .3s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 32px; border-radius: 2px; transition: all .25s;
}
.btn-primary { background: var(--accent); color: var(--bg); font-weight: 700; border: 1px solid var(--accent); }
.btn-primary:hover { background: transparent; color: var(--accent); box-shadow: 0 0 28px var(--accent-glow-s); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-view {
  background: transparent; color: var(--text-muted); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 12px 24px; border-radius: 2px;
  display: flex; align-items: center; gap: 8px; transition: all .25s; width: fit-content;
}
.btn-view:hover { border-color: var(--accent); color: var(--accent); }
.view-icon { display: inline-block; font-size: 1rem; }
.btn-view.spinning .view-icon { animation: spin .5s ease; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============================================================
   SHARED SECTION TEXT
   ============================================================ */
.section-tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  transition: color var(--t);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: .93; color: var(--text); letter-spacing: .01em;
  transition: color var(--t);
}
.section-title em { font-style: normal; color: var(--accent); transition: color var(--t); }

/* ============================================================
   BASE SECTION — two half columns
   ============================================================ */
.section {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: row; align-items: stretch; overflow: hidden;
  transition: background var(--t);
}
.car-half {
  position: relative; flex: 0 0 50%; min-height: 100vh; overflow: hidden;
}
.car-half canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.content-half {
  flex: 0 0 50%; display: flex; flex-direction: column;
  justify-content: center; padding: calc(var(--nav-h) + 48px) 56px 56px;
  position: relative; z-index: 2; transition: background var(--t);
}
.section.car-right .car-half   { order: 2; }
.section.car-right .content-half { order: 1; }

/* drag hint */
.drag-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none; z-index: 4;
  opacity: 0; animation: fadeIn .8s 1.8s forwards;
}
.drag-hint span {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-muted);
}
.drag-hint-icon {
  width: 26px; height: 26px; border: 1px solid var(--border-accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: .75rem;
  animation: dragPulse 2.5s ease-in-out infinite;
}

/* ============================================================
   HERO — full-bleed canvas, three-column text overlay
   ============================================================ */
#hero { flex-direction: column; }
#hero .car-half { position: absolute; inset: 0; flex: none; width: 100%; height: 100%; min-height: unset; z-index: 0; }
#hero .content-half {
  flex: none; width: 100%; min-height: 100vh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 0; z-index: 2; pointer-events: none;
}
.hero-layout {
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  align-items: center; padding-top: var(--nav-h);
  min-height: calc(100vh - 80px); pointer-events: none;
}
.hero-left {
  pointer-events: all; padding: 0 28px 0 56px;
  display: flex; flex-direction: column; gap: 0;
  opacity: 0; animation: fadeUp .9s .3s forwards;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
  transition: color var(--t);
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: .9; letter-spacing: -.01em; color: var(--text); margin-bottom: 32px;
  transition: color var(--t);
}
.hero-title em { font-style: normal; color: var(--accent); transition: color var(--t); }
.hero-actions { display: flex; flex-direction: column; gap: 10px; pointer-events: all; }
.hero-centre-gap { pointer-events: none; }
.hero-right {
  pointer-events: all; padding: 0 56px 0 28px;
  display: flex; flex-direction: column; gap: 20px;
  opacity: 0; animation: fadeUp .9s .5s forwards;
}
.hero-right-tag { display: flex; align-items: center; gap: 12px; }
.tag-line { display: block; width: 28px; height: 1px; background: var(--accent); transition: background var(--t); }
.tag-text { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); transition: color var(--t); }
.hero-sub { font-size: .86rem; color: var(--text-muted); line-height: 1.78; max-width: 260px; transition: color var(--t); }
.hero-right-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.hero-right-list li {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em;
  color: var(--text-muted); display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  transition: color var(--t), border-color var(--t);
}
.hero-right-list li:last-child { border-bottom: none; }
.hero-right-list li span { color: var(--accent); font-size: .6rem; transition: color var(--t); }
.drag-hint-inline { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.drag-hint-inline .drag-hint-icon { width: 26px; height: 26px; border: 1px solid var(--border-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: .75rem; animation: dragPulse 2.5s ease-in-out infinite; }
.drag-hint-inline span { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

.hero-stat-strip {
  pointer-events: all; display: flex; align-items: center; gap: 40px;
  padding: 22px 56px; border-top: 1px solid var(--border);
  background: rgba(8,8,8,.78); backdrop-filter: blur(14px);
  opacity: 0; animation: fadeIn .8s 1s forwards;
  transition: background var(--t), border-color var(--t);
}
[data-theme="light"] .hero-stat-strip { background: rgba(240,236,228,.82); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--accent); transition: color var(--t); }
.stat-label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); transition: color var(--t); }
.stat-divider { width: 1px; height: 36px; background: var(--border); transition: background var(--t); }
#hero .drag-hint { display: none; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--bg-2); }
.services-content { display: flex; flex-direction: column; }
.services-cards { display: flex; flex-direction: column; gap: 2px; margin-top: 44px; }
.service-card {
  background: var(--surface); padding: 26px 28px;
  border: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 18px;
  transition: background var(--t), border-color var(--t), transform .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s;
}
.service-card:hover { background: var(--surface-2); border-color: var(--border-accent); transform: translateX(4px); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon { font-size: 1.25rem; color: var(--accent); flex-shrink: 0; margin-top: 3px; transition: color var(--t); }
.service-card h3 { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .05em; color: var(--text); margin-bottom: 4px; transition: color var(--t); }
.service-card p { font-size: .8rem; color: var(--text-muted); line-height: 1.65; transition: color var(--t); }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--bg); }
.about-content { display: flex; flex-direction: column; }
.about-content .est-badge { transition: background var(--t), color var(--t); }
.about-content .section-tag { transition: color var(--t); }
/* animated underline on about title */
.about-title-wrap { position: relative; display: inline-block; }
.about-content .section-title { transition: color var(--t); }
/* highlight sweep on about list items */
.about-list li {
  position: relative; overflow: hidden;
  transition: color var(--t), border-color var(--t), padding-left .3s;
}
.about-list li::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--accent-glow); transition: width .4s ease;
}
.about-list li:hover { padding-left: 8px; color: var(--text); }
.about-list li:hover::before { width: 100%; }
/* subtle accent line animation on about texts */
.about-text { position: relative; }

/* ── About text — mobile-visible animations ── */
/* Accent left border that grows in on reveal */
.about-text.visible {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  transition: border-color var(--t), padding-left .4s ease;
}
/* Est badge pulse */
.est-badge {
  animation: estPulse 3s ease-in-out infinite;
}
@keyframes estPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { box-shadow: 0 0 18px 4px var(--accent-glow-s); }
}
/* Section tag animated underline */
#about .section-tag::after {
  content: ''; display: block; height: 1px;
  background: var(--accent); width: 0;
  transition: width .8s ease .3s;
  margin-top: 4px;
}
#about .section-tag.visible::after { width: 100%; }
/* About list items — accent dot slides in */
.about-list li.visible span {
  animation: dotPop .4s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes dotPop {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}
.about-text { font-size: .88rem; color: var(--text-muted); line-height: 1.8; margin-top: 18px; transition: color var(--t); }
.about-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .8rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .04em;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  transition: color var(--t), border-color var(--t);
}
.about-list li:last-child { border-bottom: none; }
.about-list li span { color: var(--accent); transition: color var(--t); }
.est-badge {
  display: inline-block; font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bg); background: var(--accent); padding: 6px 14px; margin-bottom: 24px;
  transition: background var(--t), color var(--t);
}

/* ============================================================
   PRICING
   ============================================================ */
#pricing { background: var(--bg-2); }
.pricing-content { display: flex; flex-direction: column; gap: 28px; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border-accent);
  padding: 44px 40px; box-shadow: 0 0 50px var(--accent-glow);
  position: relative; overflow: hidden;
  transition: background var(--t), border-color var(--t), box-shadow var(--t), transform .3s;
}
.pricing-card:hover {
  box-shadow: 0 0 80px var(--accent-glow-s), 0 0 120px var(--accent-glow);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.pricing-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0,201,167,.07), transparent 65%);
  pointer-events: none;
}
[data-theme="light"] .pricing-card::before { background: radial-gradient(ellipse at top left, rgba(0,143,116,.06), transparent 65%); }
.pricing-badge {
  display: inline-block; font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--bg); background: var(--accent); padding: 6px 14px; margin-bottom: 26px;
  transition: background var(--t), color var(--t);
}
.pricing-label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; transition: color var(--t); }
.pricing-amount { display: flex; align-items: flex-start; gap: 4px; line-height: 1; margin-bottom: 4px; }
.currency { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); margin-top: 8px; transition: color var(--t); }
.amount { font-family: var(--font-display); font-size: 5rem; color: var(--text); letter-spacing: -.02em; line-height: 1; transition: color var(--t); }
.pricing-sub { font-size: .78rem; color: var(--text-muted); margin-bottom: 28px; font-style: italic; transition: color var(--t); }
.pricing-features { list-style: none; display: flex; flex-direction: column; margin-bottom: 32px; }
.pricing-features li { font-size: .78rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .04em; padding: 10px 0; border-bottom: 1px solid var(--border); transition: color var(--t), border-color var(--t); }
.pricing-features li:first-child { color: var(--text); }
.pricing-note { display: flex; flex-direction: column; gap: 14px; }
.pricing-note p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; transition: color var(--t); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--bg); }
.contact-content { display: flex; flex-direction: column; }
.contact-sub { font-size: .87rem; color: var(--text-muted); max-width: 380px; margin-top: 18px; line-height: 1.7; margin-bottom: 36px; transition: color var(--t); }
.contact-cards { display: flex; flex-direction: column; gap: 2px; }
.contact-card {
  display: flex; align-items: center; gap: 22px; padding: 26px 28px;
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: background var(--t), border-color var(--t), transform .3s, color var(--t);
  position: relative; overflow: hidden;
}
.contact-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .3s; }
.contact-card:hover { background: var(--surface-2); border-color: var(--border-accent); transform: translateX(5px); }
.contact-card:hover::before { transform: scaleY(1); }
.contact-icon { width: 38px; height: 38px; flex-shrink: 0; color: var(--accent); transition: color var(--t); }
.contact-icon svg { width: 100%; height: 100%; }
.contact-info { flex: 1; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .05em; margin-bottom: 3px; }
.contact-info p { font-size: .7rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .08em; transition: color var(--t); }
.contact-arrow { font-size: 1.1rem; color: var(--text-muted); transition: color .3s, transform .3s; }
.contact-card:hover .contact-arrow { color: var(--accent); transform: translateX(4px); }

/* ============================================================
   BOOKING FORM
   ============================================================ */
.booking-form { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 560px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); transition: color var(--t);
}

.form-input {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: .84rem;
  padding: 12px 16px; border-radius: 2px; outline: none; width: 100%;
  transition: border-color .25s, background .25s, color var(--t), box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--text-muted); opacity: .55; }
.form-input:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300c9a7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
[data-theme="light"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23008f74' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.form-select option { background: var(--surface); color: var(--text); }

/* date input calendar icon tint */
.form-input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.5) sepia(1) saturate(3) hue-rotate(130deg); opacity: .7; }

.form-error {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em;
  color: #ff5a5a; min-height: 1em; transition: opacity .2s;
}
.form-error:empty { opacity: 0; }

.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .btn { flex: 1; min-width: 160px; justify-content: center; }

/* Success state */
.booking-success {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 40px 0;
  opacity: 0; animation: fadeUp .7s .1s forwards;
}
.success-icon {
  width: 48px; height: 48px; background: var(--accent); color: var(--bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: background var(--t), color var(--t);
}
.booking-success h3 {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: .04em;
  color: var(--text); transition: color var(--t);
}
.booking-success p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; transition: color var(--t); }

/* Responsive */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); background: var(--bg); padding: 36px 56px; transition: background var(--t), border-color var(--t); }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.footer-tagline { font-size: .76rem; color: var(--text-muted); font-style: italic; transition: color var(--t); }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-link {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  transition: color var(--t);
}
.footer-link svg { flex-shrink: 0; transition: color var(--t); }
.footer-link:hover { color: var(--accent); }
.footer-copy { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; color: var(--text-dim); transition: color var(--t); width: 100%; }

/* ============================================================
   MODEL LOADING OVERLAY
   ============================================================ */
.model-loading {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity .6s ease;
}
.model-loading span {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--accent);
  animation: modelPulse 1.6s ease-in-out infinite;
}
.model-loading.model-loaded { opacity: 0; }
@keyframes modelPulse {
  0%, 100% { opacity: .3; text-shadow: 0 0 8px var(--accent); }
  50%       { opacity: 1;  text-shadow: 0 0 22px var(--accent), 0 0 40px var(--accent-glow-s); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp  { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes dragPulse { 0%,100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 0 8px transparent; } }
.reveal { opacity:0; transform:translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .section { flex-direction: column !important; }
  /* reduce car panel height by ~25% to zoom it out visually */
  .car-half { flex: 0 0 36vh; width: 100%; order: 1 !important; }
  .content-half { order: 2 !important; padding: 40px 28px 48px; flex: 1; }
  #hero .car-half { position: absolute; inset: 0; flex: none; width: 100%; height: 100%; }
  #hero .content-half { min-height: 100vh; }
  .hero-layout { grid-template-columns: 1fr; grid-template-rows: auto; padding: calc(var(--nav-h) + 32px) 28px 0; gap: 32px; }
  .hero-centre-gap { display: none; }
  .hero-left { padding: 0; }
  .hero-right { padding: 0; }
  .hero-stat-strip { padding: 20px 28px; flex-wrap: wrap; gap: 20px; }
  .section-title { font-size: clamp(2.4rem, 7vw, 3.5rem); }
}
@media (max-width: 768px) {
  /* restore default cursor on touch devices — custom cursor is mouse-only */
  *, a, button, input, label, select, textarea { cursor: auto !important; }
  .cursor, .cursor-ring { display: none !important; }

  :root { --nav-h: 60px; }
  /* Mobile navbar always solid — no backdrop-filter (creates stacking context trap) */
  .navbar,
  .navbar.scrolled {
    padding: 0 24px;
    background: #080808;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--border);
  }
  html[data-theme="light"] .navbar,
  html[data-theme="light"] .navbar.scrolled {
    background: #f0ece4;
  }

  /* hide toggle from right on mobile — it lives in the drawer */
  .navbar > .theme-toggle { display: none; }

  /* nav drawer — fully opaque solid panel */
  .nav-links {
    position: fixed !important;
    top: var(--nav-h) !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background-color: #080808 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    border-top: 1px solid var(--border-accent);
    flex-direction: column !important; justify-content: flex-start; align-items: flex-start;
    padding: 48px 28px; gap: 24px; z-index: 2100 !important;
    transform: translateX(100%) !important;
    transition: transform .35s ease !important;
    will-change: transform;
  }
  html[data-theme="light"] .nav-links { background-color: #f0ece4 !important; }
  .nav-links.open { transform: translateX(0) !important; }
  #nav-links { background-color: #080808 !important; }
  html[data-theme="light"] #nav-links { background-color: #f0ece4 !important; }
  /* show toggle inside mobile drawer */
  .nav-toggle-wrap { display: flex; border-left: none; padding-left: 0; margin-top: 8px; }

  .hamburger { display: flex; }
  .drag-hint { display: none; }
  /* hide car panels on mobile for cleaner UI */
  #contact .car-half, #services .car-half, #pricing .car-half { display: none; }

  /* ── Hero mobile: car on top block, content below — no overlap ── */
  #hero {
    flex-direction: column;
    min-height: unset;
  }
  /* turn the hero car from full-bleed absolute into a normal block on top */
  #hero .car-half {
    position: relative !important;
    inset: unset !important;
    flex: 0 0 72vw !important;
    width: 100% !important;
    height: 72vw !important;
    min-height: unset !important;
    z-index: 1;
  }
  #hero .content-half {
    position: relative;
    min-height: unset;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    z-index: 2;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 20px 20px 16px;
    min-height: unset;
    margin-top: 0;
  }
  /* hide right panel — keeps layout clean */
  .hero-right { display: none; }
  /* left panel: plain, no blur needed since car is above not behind */
  .hero-left {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    gap: 0;
  }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.4rem); margin-bottom: 20px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .hero-actions .btn { flex: 1; min-width: 120px; padding: 12px 16px; font-size: .65rem; justify-content: center; }
  /* stat strip tighter on mobile */
  .hero-stat-strip { padding: 16px 20px; gap: 16px; }
  /* shrink non-hero car panels by ~20% top + 20% bottom = 40% total height reduction */
  .car-half { flex: 0 0 18vh; }
  /* about car: overflow hidden cuts bottom 40% total (20% original + 20% more) */
  #about .car-half {
    flex: 0 0 8.1vh;
    max-height: 8.1vh;
    overflow: hidden;
  }
  /* hero stays full-bleed so leave it untouched */
  #hero .car-half { flex: none; height: 100%; }
  .footer { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero-actions { align-items: stretch; }
  .btn { justify-content: center; }
  .btn-view { width: 100%; justify-content: center; }
}
