/* ==========================================================================
   Gloss Garage — shared styles (site, booking, admin)
   ========================================================================== */
/* Self-hosted fonts (SIL Open Font License) */
@font-face{font-family:'Michroma';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/michroma-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Sora';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sora-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Sora';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sora-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Sora';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sora-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Sora';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/sora-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-latin-700-normal.woff2) format('woff2')}

:root {
  color-scheme: dark;
  --ink-950: #03060f;
  --navy-950: #050b1c;
  --navy-900: #0a1530;
  --navy-850: #0d1a3a;
  --navy-800: #11214a;
  --navy-700: #1a2f63;
  --line: rgba(140, 180, 255, 0.14);
  --line-strong: rgba(140, 190, 255, 0.28);
  --blue: #1fb8ff;
  --blue-600: #0a93e6;
  --blue-700: #0874c2;
  --blue-glow: rgba(31, 184, 255, 0.35);
  --white: #ffffff;
  --text: #e8eefc;
  --muted: #9aaacb;
  --dim: #6b7ca3;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --font-display: 'Michroma', 'Sora', system-ui, sans-serif;
  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #7fdcff; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; color: var(--white); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Logo component ---------- */
.gg-logo { display: inline-flex; color: var(--white); }
.gg-logo__link { display: inline-flex; align-items: center; color: inherit; }
.gg-logo--compact .gg-logo__link, .gg-logo--compact { align-items: center; gap: 12px; }
.gg-logo__mark { position: relative; width: 74px; height: 34px; flex: none; }
.gg-logo__car { position: absolute; inset: 0 0 auto 0; width: 74px; height: auto; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.gg-logo__splash { position: absolute; left: -4px; right: -6px; bottom: -8px; width: calc(100% + 10px); height: auto; }
.gg-logo__words { display: flex; flex-direction: column; line-height: 1; margin-left: 12px; }
.gg-logo__name { font-family: var(--font-display); font-size: 15px; letter-spacing: .08em; color: var(--white); white-space: nowrap; }
.gg-logo__name b { color: var(--blue); font-weight: 400; }
.gg-logo__tag { font-family: var(--font-display); font-size: 7.5px; letter-spacing: .32em; color: var(--muted); margin-top: 6px; }
@media (max-width: 420px) {
  .gg-logo__mark { width: 58px; height: 28px; }
  .gg-logo__car { width: 58px; }
  .gg-logo__words { margin-left: 4px; }
  .gg-logo__name { font-size: 12.5px; }
  .gg-logo__tag { font-size: 6.5px; letter-spacing: .26em; }
}
.gg-logo--emblem .gg-logo__emblem { width: 180px; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: #00142a;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 10px 30px -10px var(--blue-glow);
}
.btn:hover { color: #00142a; transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(31,184,255,.6); background: #4cc6ff; }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; transform: none; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.06); color: var(--white); }
.btn--dark { background: var(--navy-800); color: var(--white); border-color: var(--line); box-shadow: none; }
.btn--dark:hover { background: var(--navy-700); color: var(--white); }
.btn--danger { background: transparent; color: var(--danger); border-color: rgba(248,113,113,.4); box-shadow: none; }
.btn--danger:hover { background: rgba(248,113,113,.1); color: #fca5a5; }
.btn--ok { background: var(--ok); color: #022c1c; box-shadow: none; }
.btn--ok:hover { background: #6ee7b7; color: #022c1c; }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn .spinner { width: 16px; height: 16px; }

.spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.2); border-top-color: currentColor;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled, .nav--solid { background: rgba(5, 11, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav__links { display: none; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--white); }
.nav__cta { display: none; }
.nav__toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03); display: grid; place-items: center; cursor: pointer;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav__drawer {
  position: fixed; inset: 76px 0 auto 0; background: rgba(5, 11, 28, .97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); padding: 12px 20px 24px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
}
.nav.is-open .nav__drawer { transform: none; opacity: 1; pointer-events: auto; }
.nav__drawer a:not(.btn) { display: block; padding: 14px 4px; color: var(--text); font-size: 18px; font-family: var(--font-head); border-bottom: 1px solid var(--line); }
.nav__drawer .btn { margin-top: 18px; width: 100%; }
@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle, .nav__drawer { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: auto; display: flex; align-items: center;
  padding: 110px 0 70px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 600px at 70% 65%, rgba(31,184,255,.18), transparent 60%),
    radial-gradient(800px 500px at 10% 10%, rgba(26,47,99,.9), transparent 70%),
    linear-gradient(180deg, #040915 0%, #071230 55%, #050b1c 100%);
}
.hero::before { /* fine grid floor */
  content: ''; position: absolute; left: -10%; right: -10%; bottom: 0; height: 45%; z-index: -1;
  background-image: linear-gradient(rgba(31,184,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(31,184,255,.10) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  background: rgba(31,184,255,.08); border: 1px solid rgba(31,184,255,.25);
  font-family: var(--font-display); font-size: 10px; letter-spacing: .22em; color: #9fe2ff; margin-bottom: 22px;
}
.hero__eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.hero h1 { font-size: clamp(2.5rem, 7.4vw, 5rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; }
.hero h1 .accent { background: linear-gradient(90deg, #ffffff 0%, #8fe0ff 40%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--muted); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 22px; color: var(--dim); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero__note span::before { content: '✓'; color: var(--blue); margin-right: 7px; font-weight: 700; }

.hero__visual { position: relative; aspect-ratio: 16 / 10; width: 100%; }
.hero__car-wrap { position: absolute; inset: 14% 0 auto; animation: carIn 1.4s var(--ease) both .2s; }
.hero__car { width: 100%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.hero__shine { /* light sweep clipped to the car shape */
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  -webkit-mask: url('/img/car.png') center / 100% auto no-repeat; mask: url('/img/car.png') center / 100% auto no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(127,220,255,.95) 48%, rgba(255,255,255,.9) 50%, transparent 62%);
  background-size: 300% 100%; background-position: 120% 0;
  animation: shine 5.5s ease-in-out infinite 1.4s;
}
.hero__reflection { width: 100%; height: auto; transform: scaleY(-1); opacity: .16; margin-top: 2px; -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 55%); mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 55%); filter: blur(1px); }
.hero__glow { position: absolute; left: 8%; right: 8%; top: 62%; height: 60px; background: radial-gradient(closest-side, rgba(31,184,255,.55), transparent); filter: blur(18px); z-index: 1; animation: glow 4s ease-in-out infinite; }
.hero__splash { position: absolute; z-index: 1; left: -6%; right: -6%; top: 50%; width: 112%; opacity: .9; animation: splashIn 1.6s var(--ease) both .5s; }
.drops { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.drops i { position: absolute; bottom: -20px; width: var(--s, 6px); height: var(--s, 6px); border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(31,184,255,.6) 50%, transparent 70%); opacity: .0; animation: rise var(--d, 9s) linear infinite var(--delay, 0s); left: var(--x); }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .7; } 100% { transform: translateY(-100vh); opacity: 0; } }
@keyframes shine { 0%, 15% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
@keyframes carIn { from { opacity: 0; transform: translateX(60px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes splashIn { from { opacity: 0; transform: scaleX(.6); } to { opacity: .9; transform: none; } }
@keyframes glow { 50% { opacity: .6; } }

@media (min-width: 960px) {
  .hero { min-height: 100svh; }
  .hero__grid { grid-template-columns: 1.02fr 1fr; gap: 30px; }
  .hero__visual { margin-right: -60px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--center { text-align: center; margin-inline: auto; }
.eyebrow { font-family: var(--font-display); font-size: 11px; letter-spacing: .26em; color: var(--blue); text-transform: uppercase; margin-bottom: 14px; display: block; }
.section h2 { font-size: clamp(2rem, 4.8vw, 3.2rem); font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* intro / how it works */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-display); font-size: 12px; letter-spacing: .2em; color: var(--blue); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Cards ---------- */
.card { background: linear-gradient(180deg, rgba(17,33,74,.65), rgba(10,21,48,.65)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }

.packages { display: grid; gap: 20px; }
@media (min-width: 860px) { .packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pkg { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(17,33,74,.7), rgba(8,16,38,.9)); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow: hidden; }
.pkg:hover { transform: translateY(-6px); border-color: rgba(31,184,255,.45); box-shadow: 0 30px 60px -30px rgba(31,184,255,.45); }
.pkg--featured { border-color: rgba(31,184,255,.55); background: radial-gradient(500px 220px at 50% -10%, rgba(31,184,255,.22), transparent 70%), linear-gradient(180deg, rgba(17,33,74,.9), rgba(8,16,38,.95)); }
.pkg__badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-radius: 0 0 10px 10px !important; white-space: nowrap; font-family: var(--font-display); font-size: 9px; letter-spacing: .2em; padding: 6px 10px; border-radius: 999px; background: var(--blue); color: #00142a; }
.pkg__name { font-family: var(--font-display); font-size: 13px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.pkg__price { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.04em; }
.pkg__price sup { font-size: 1.4rem; top: -1.2em; margin-right: 2px; color: var(--blue); }
.pkg__price small { font-size: .9rem; color: var(--dim); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.pkg__blurb { color: var(--muted); margin: 14px 0 22px; min-height: 2.8em; }
.pkg__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.pkg__list li { display: flex; gap: 12px; align-items: flex-start; }
.pkg__list li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(31,184,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.5 7' fill='none' stroke='%231fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: rgba(31,184,255,.06); border: 1px solid rgba(31,184,255,.22); color: var(--text); font-size: 15px; }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.notice--warn { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.3); }
.notice--warn svg { color: var(--warn); }
.notice--danger { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.35); }
.notice--danger svg { color: var(--danger); }
.notice p:last-child { margin: 0; }

.skeleton { border-radius: var(--radius-lg); min-height: 420px; background: linear-gradient(100deg, rgba(255,255,255,.03) 30%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.03) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* why choose */
.features { display: grid; gap: 18px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.feature:hover { border-color: rgba(31,184,255,.35); background: rgba(31,184,255,.04); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(31,184,255,.25), rgba(31,184,255,.05)); border: 1px solid rgba(31,184,255,.3); color: var(--blue); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; }

/* split band */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.showcase { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: radial-gradient(600px 300px at 50% 120%, rgba(31,184,255,.35), transparent 70%), linear-gradient(160deg, #0d1a3a, #050b1c); border: 1px solid var(--line); display: grid; place-items: center; }
.showcase img { width: 78%; height: auto; max-height: 86%; object-fit: contain; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.showcase__tag { position: absolute; left: 18px; bottom: 18px; font-family: var(--font-display); font-size: 9px; letter-spacing: .2em; color: var(--muted); }

/* testimonials */
.reviews { display: grid; gap: 18px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { position: relative; padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.03); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review--placeholder { border-style: dashed; border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.03); }
.review__flag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.review__stars { color: var(--blue); letter-spacing: 3px; margin-bottom: 14px; }
.review__stars--ph { color: var(--dim); }
.review blockquote { margin: 0 0 20px; font-size: 1.05rem; color: var(--text); flex: 1; }
.review--placeholder blockquote { color: var(--muted); font-style: italic; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); font-weight: 700; color: var(--white); }
.review__who small { display: block; color: var(--dim); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(31,184,255,.35); background: rgba(31,184,255,.04); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 22px 22px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); background: radial-gradient(700px 300px at 85% 50%, rgba(31,184,255,.35), transparent 70%), linear-gradient(120deg, var(--navy-800), var(--navy-900)); border: 1px solid rgba(31,184,255,.3); display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band__car { position: absolute; right: -60px; bottom: -30px; width: 420px; opacity: .08; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-950); padding: 64px 0 28px; color: var(--muted); }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer h4 { font-family: var(--font-display); font-size: 11px; letter-spacing: .22em; color: var(--white); margin-bottom: 18px; font-weight: 400; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--white); }
.footer .ph { color: var(--dim); font-style: italic; }
.footer__blurb { margin-top: 18px; max-width: 300px; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a, .socials span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text); transition: all .2s; }
.socials a:hover { border-color: var(--blue); color: var(--blue); }
.socials span { opacity: .35; cursor: not-allowed; }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; color: var(--dim); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .label { font-weight: 600; font-size: 14.5px; color: var(--white); }
.field .opt { color: var(--dim); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
  background: rgba(3, 6, 15, .5); border: 1px solid var(--line-strong); color: var(--white);
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 16px;
}
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,184,255,.15); background: rgba(3,6,15,.7); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248,113,113,.12); }
.field__error { color: #fca5a5; font-size: 13.5px; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { color: var(--dim); font-size: 13.5px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%239aaacb' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.select option { background: var(--navy-900); }

/* Toast */
.toasts { position: fixed; z-index: 200; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 10px; width: min(92vw, 420px); }
.toast { padding: 14px 18px; border-radius: 14px; background: var(--navy-800); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: var(--white); font-size: 15px; animation: toastIn .35s var(--ease); display: flex; gap: 10px; align-items: flex-start; }
.toast--error { border-color: rgba(248,113,113,.5); }
.toast--ok { border-color: rgba(52,211,153,.5); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Installable app ---------- */
.install-only { display: none !important; }
html.can-install .install-only, html.ios-install .install-only { display: revert !important; }
html.can-install .install-only.btn, html.ios-install .install-only.btn { display: inline-flex !important; }
html.can-install .install-only.flex, html.ios-install .install-only.flex { display: flex !important; }
html.is-standalone .install-only { display: none !important; }
.install-sheet { position: fixed; inset: 0; z-index: 300; display: grid; align-items: end; justify-items: center; }
.install-sheet__scrim { position: absolute; inset: 0; background: rgba(2,4,10,.65); backdrop-filter: blur(3px); }
.install-sheet__card { position: relative; width: min(100%, 440px); margin: 12px; padding: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); border-radius: 22px; background: var(--navy-850); border: 1px solid var(--line-strong); box-shadow: var(--shadow); display: grid; gap: 14px; animation: toastIn .3s var(--ease); }
.install-sheet__card img { width: 64px; height: 64px; border-radius: 16px; }
.install-sheet__card h3 { margin: 0; font-size: 1.25rem; }
.install-sheet__card ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.install-sheet__card strong { color: var(--white); }
.app-card { align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgba(31,184,255,.35); background: radial-gradient(400px 120px at 0% 50%, rgba(31,184,255,.18), transparent 70%), rgba(255,255,255,.03); }
.app-card img { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.app-card { flex-wrap: wrap; }
.app-card div { flex: 1 1 170px; min-width: 0; }
.app-card strong { display: block; color: var(--white); font-family: var(--font-head); }
.app-card span { color: var(--muted); font-size: 14px; }

/* Full-screen app mode: respect the phone's notch and home bar */
html.is-standalone .nav__inner { padding-top: env(safe-area-inset-top); height: calc(76px + env(safe-area-inset-top)); }
html.is-standalone .nav__drawer { top: calc(76px + env(safe-area-inset-top)); }
html.is-standalone .hero { padding-top: calc(110px + env(safe-area-inset-top)); }
html.is-standalone .book { padding-top: calc(112px + env(safe-area-inset-top)); }
html.is-standalone body.admin .topbar { padding-top: calc(12px + env(safe-area-inset-top)); }
