/* ═══════════════════════════════════════════════════════
   PRESTIGE RENTALS — Premium Dark Luxury
   ═══════════════════════════════════════════════════════ */

/* ── Design tokens ───────────────────────────────────── */
:root {
  --bg:        #0B0B0B;
  --bg-soft:   #121212;
  --card:      #181818;
  --card-hover:#1E1E1E;
  --border:    rgba(255,255,255,0.08);
  --border-md: rgba(255,255,255,0.12);
  --text:      #F5F0EA;
  --muted:     rgba(245,240,234,0.55);
  --muted-md:  rgba(245,240,234,0.75);
  --accent-1:  #FFD9BE;
  --accent-2:  #FFB871;
  --gradient:  linear-gradient(135deg, #FFD9BE 0%, #FFB871 100%);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --header-h:  76px;
}

/* ── Involve: main body / UI font (SIL OFL, full Cyrillic) ── */
@font-face {
  font-family: 'Involve';
  src: url('../Branding/involve/fonts/Involve-Regular.woff2') format('woff2');
  font-weight: 100 400;          /* Regular also serves the light body weight */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('../Branding/involve/fonts/Involve-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('../Branding/involve/fonts/Involve-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('../Branding/involve/fonts/Involve-Bold.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('../Branding/involve/fonts/Involve-Oblique.woff2') format('woff2');
  font-weight: 100 400;
  font-style: italic;
  font-display: swap;
}

/* ── Benzin: hero headline font ── */
@font-face {
  font-family: 'Benzin';
  src: url('../Branding/benzin-bold/fonts/benzin-bold.woff2') format('woff2'),
       url('../Branding/benzin-bold/fonts/benzin-bold.woff') format('woff');
  /* Single bold cut serves every weight — no faux-bold synthesis */
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Involve', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input  { font-family: inherit; }

/* ── Container ───────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── Typography helpers ──────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 48px;
}

/* ── Gradient text util ──────────────────────────────── */
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient);
  color: #0B0B0B;
  font-family: 'Involve', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; justify-content: center; }

/* ── btn-shine: hover shimmer + glow, press-down on click ──────
   The sheen is a skewed light streak on ::after that sweeps across
   the button in a loop while hovered (transform-only — GPU-cheap). */
.btn-shine {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-lux), box-shadow 0.3s ease,
              opacity 0.3s ease, filter 0.2s ease;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(105deg,
              transparent 0%,
              rgba(255, 255, 255, 0.55) 50%,
              transparent 100%);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}
.btn-shine:hover {
  opacity: 1;                              /* full brightness — the glow does the talking */
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(255, 189, 126, 0.45),
              0 0 8px rgba(255, 214, 165, 0.35),
              0 6px 18px rgba(0, 0, 0, 0.35);
}
.btn-shine:hover::after {
  animation: btnShine 1.5s ease-in-out infinite;
}
@keyframes btnShine {
  0%   { transform: translate3d(0, 0, 0) skewX(-20deg); opacity: 0; }
  12%  { opacity: 0.9; }
  60%  { transform: translate3d(420%, 0, 0) skewX(-20deg); opacity: 0.9; }
  75%, 100% { transform: translate3d(420%, 0, 0) skewX(-20deg); opacity: 0; }
}
/* Press: quick tactile push-down, glow tightens */
.btn-shine:active {
  transform: translateY(0) scale(0.96);
  filter: brightness(0.95);
  box-shadow: 0 0 12px rgba(255, 189, 126, 0.3),
              0 3px 8px rgba(0, 0, 0, 0.3);
  transition-duration: 0.08s;              /* press reacts instantly */
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine:hover::after { animation: none; }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-md);
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: var(--accent-1); color: var(--accent-1); }

.btn-cta-sm {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--gradient);
  color: #0B0B0B;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.btn-cta-sm:hover { opacity: 0.85; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  transition: opacity var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #229ED9;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  transition: opacity var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-telegram svg { width: 20px; height: 20px; }
.btn-telegram:hover { opacity: 0.88; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11,11,11,0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.site-header.scrolled {
  background: rgba(11,11,11,0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
/* If logo fails to load, show text fallback */
.logo-img::after {
  content: 'PRESTIGE RENTALS';
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 8px;
}
.nav-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-md);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.lang-btn.active { color: var(--accent-1); }
.lang-btn:hover  { color: var(--text); }
.lang-sep { color: var(--border-md); font-size: 11px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 2px;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(11,11,11,0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px 32px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nav-mobile .nav-link {
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.mobile-lang { margin-top: 20px; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .btn-cta-sm { display: none; }
}

/* ═══════════════════════════════════════════════════════
   HERO — photo background, centered gradient headline,
   bike in front cropped by the bottom edge of the block
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;             /* fallback for browsers without svh */
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(16px, 4.5vh, 52px));
  /* The block drops a soft shadow onto the next section —
     deep transition instead of a hard seam */
  z-index: 2;
  box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.65);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../Branding/bg-block1.jpg') center 38% / cover no-repeat;
  filter: grayscale(1) brightness(0.66) contrast(1.04);
  /* Scroll-driven zoom (scale 1 → 1.4 set from JS) — own GPU layer */
  will-change: transform;
}

/* Vignette + bottom darkening: text stays readable, bike pops */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 130% 95% at 50% 30%, transparent 42%, rgba(8, 8, 8, 0.5) 100%),
    linear-gradient(180deg, rgba(11,11,11,0.42) 0%, rgba(11,11,11,0.08) 34%, rgba(11,11,11,0.05) 62%, rgba(11,11,11,0.5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-label {
  font-size: clamp(0.95rem, 1.4vw, 1.45rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(228, 222, 216, 0.72);
  margin-bottom: clamp(10px, 1.6vh, 22px);
}

.hero-title {
  /* Benzin is wide and heavy — sized accordingly */
  font-family: 'Benzin', sans-serif;
  font-size: clamp(2rem, 5.8vw, 7rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;                       /* tight premium leading */
  /* drop-shadow (not text-shadow) — it follows the gradient glyphs,
     so the shadow can't bleed through the transparent fill */
  filter: drop-shadow(0 5px 22px rgba(0, 0, 0, 0.35));
  margin-bottom: clamp(26px, 4.5vh, 52px);
}

/* Gradient lives on each WORD (not the h1): a word animates its own
   blur/transform, and a child filter would break the parent's
   background-clip: text rendering in Chrome */
.hero-title .hw {
  display: inline-block;                   /* transforms need a box */
  background: linear-gradient(135deg, #FFD3B0 0%, #FFBD7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Second line stays visually unbreakable */
.hero-l2 { white-space: nowrap; }

.hero-actions {
  display: flex;
  /* Mock-up composition: button hugs the left edge of the headline
     block, clear of the bike's windshield rising at center-right */
  align-self: flex-start;
}

.hero-cta {
  padding: clamp(16px, 1.9vh, 21px) clamp(36px, 3vw, 54px);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 700;
  letter-spacing: 0.08em;
  /* border-radius inherited from .btn-primary (2px) — same as all site buttons */
  background: linear-gradient(135deg, #FFD3B0 0%, #FFBD7E 100%);
  color: #161616;
  box-shadow: 0 14px 38px rgba(255, 189, 126, 0.18), 0 5px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-lux), box-shadow 0.25s ease, filter 0.25s ease;
}
.hero-cta:hover {
  opacity: 1;                              /* override btn-primary fade */
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 48px rgba(255, 189, 126, 0.26), 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* Bike: sized against viewport HEIGHT so the composition holds on any
   aspect ratio — top reaches ~45% of the block, wheels crop below it */
.hero-moto {
  /* X-shift lives in a variable so the entrance keyframes work for
     both layouts: centered (desktop, -50%) and right-anchored (mobile, 0) */
  --moto-x: -50%;
  position: absolute;
  left: 50%;
  bottom: -17vh;                           /* fallback */
  bottom: -17svh;                          /* bottom of the wheels cut by the block edge */
  transform: translate3d(var(--moto-x), 0, 0);
  width: min(117vh, 92vw, 1400px);         /* fallback */
  width: min(117svh, 92vw, 1400px);
  z-index: 3;                              /* in front of the headline */
  pointer-events: none;                    /* clicks pass through to the button */
}
.hero-moto img {
  width: 100%;
  height: auto;
  display: block;
  /* Deep soft shadow separates the bike from the photo background */
  filter: drop-shadow(0 34px 52px rgba(0, 0, 0, 0.6)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.38));
  /* Pointer interaction (JS-driven): parallax dodge + click pulse,
     composed from variables so the hover-shift and click-scale stack.
     pointer-events stay off (on .hero-moto) → never looks clickable. */
  --moto-px: 0px;
  --moto-py: 0px;
  --moto-scale: 1;
  transform: translate3d(var(--moto-px), var(--moto-py), 0) scale(var(--moto-scale));
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-moto img { transition: none; }
}

/* ── Load-in sequence (fast, ~1.1s total) ──────────────
   label → words one by one; bike rises WITH the headline
   from behind the bottom frame; button right after the bike */

/* Label: fade in, drifting top → down, no blur */
@keyframes heroLabelDown {
  from { opacity: 0; transform: translate3d(0, -16px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
/* Headline words: from above + blur → crisp in place */
@keyframes heroWord {
  from { opacity: 0; transform: translate3d(0, -18px, 0); filter: blur(8px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
/* Button intro: the gradient fill and a gold glow halo (inner+outer)
   both fade up from transparent; the text fades in just after. Three
   layers (fill on ::before, glow on ::after, text on the label) each
   animate OPACITY only — GPU-cheap, no per-frame repaint. fill-mode
   BACKWARDS releases every layer to its base resting state when done,
   so :hover transitions on box-shadow/transform keep working.       */
/* Button simply fades up from transparent */
@keyframes heroCtaFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* Bike: emerges from BEHIND the bottom edge of the block
   (starts fully below the frame — no fade-from-thin-air) */
@keyframes heroMotoRise {
  from { transform: translate3d(var(--moto-x), 78%, 0) scale(1.08); }
  to   { transform: translate3d(var(--moto-x), 0, 0) scale(1); }
}

.hero-label    {
  animation: heroLabelDown 0.5s var(--ease-lux) 0s both;
  /* Hold invisible until fonts.ready — by then applyI18nText() has already
     swapped the text to the active language, so it never flashes from the
     English markup to Russian mid-fade. */
  animation-play-state: paused;
}
.fonts-ready .hero-label { animation-play-state: running; }
.hero-title .hw {
  animation: heroWord 0.5s var(--ease-lux) both;
  will-change: transform, filter, opacity;
  /* Hold the words (invisible, via the backwards 0% keyframe) until the
     Benzin webfont has loaded — otherwise they animate in with the
     fallback font and "swap" mid-flight (the wrong-font flash). */
  animation-play-state: paused;
}
.fonts-ready .hero-title .hw { animation-play-state: running; }
/* 0.25s stagger vs 0.5s duration — each word clearly reads as "next".
   Selectors must match the specificity of the shorthand rule above,
   or its implicit animation-delay: 0s overrides these. */
.hero-title .hw-1 { animation-delay: 0.1s; }
/* Second line descends much softer: longer travel on a gentle
   ease-out instead of the punchy --ease-lux */
.hero-title .hw-2,
.hero-title .hw-3 {
  animation-duration: 1.05s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-title .hw-2 { animation-delay: 0.35s; }
.hero-title .hw-3 { animation-delay: 0.6s; }
/* Button: a single smooth fade from transparent. backwards fill-mode →
   releases to the base resting state, so :hover keeps working. */
.hero-cta      { animation: heroCtaFade 0.8s ease 0.55s backwards; }
.hero-moto     { animation: heroMotoRise 0.85s var(--ease-lux) 0.12s both; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: reduce) {
  .hero-label, .hero-title .hw, .hero-cta, .hero-moto { animation: none; }
}

/* Tablet: tighter headline, wider bike, centered button */
@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero-title { font-size: clamp(1.8rem, 6.8vw, 3.4rem); }
  .hero-actions { align-self: center; }    /* narrow stack → centered button reads better */
  .hero-moto {
    width: min(94vw, 760px);
    bottom: -7vw;
  }
}

/* Mobile: headline keeps 2 lines; bike is a close-up from the mock-up —
   it dominates the lower half of the screen */
@media (max-width: 600px) {
  .hero { min-height: 540px; }
  .hero-label { font-size: 0.9rem; }
  /* Sized so the LONGEST line — "АРЕНДА БАЙКОВ" (14 glyphs, nowrap) —
     spans ~80% of the screen, per the mock-up. Wide Benzin overflows
     the viewport above ~7vw on Russian */
  .hero-title { font-size: clamp(1.3rem, 6.6vw, 2.2rem); }
  .hero-cta { padding: 17px 46px; font-size: 13px; }
  /* Close-up composition: front wheel pinned at the right edge (slightly
     cut), rear cropped by the left edge, wheels near the bottom line */
  .hero-moto {
    --moto-x: 0;                           /* right-anchored, not centered */
    left: auto;
    right: -8vw;
    width: min(205vw, 820px);
    bottom: -6vw;
  }
}

/* ═══════════════════════════════════════════════════════
   BIKE SHOWCASE
═══════════════════════════════════════════════════════ */
.showcase-section {
  position: relative;
  /* Fit the whole "Choose your ride" block within one screen */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 12px) 0 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  /* Slightly lighter than the page background */
  background: linear-gradient(180deg, #161616 0%, #121212 100%);
}

/* Compact heading inside the showcase so everything fits */
.showcase-section .section-title {
  margin-bottom: clamp(12px, 2.5vh, 28px);
  /* Entrance: hidden until the section scrolls into view, then rises
     from below shedding blur — same motion language as the hero words */
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux),
              filter 0.9s var(--ease-lux);
}
.showcase-section .section-title.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .showcase-section .section-title {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Ghost bike image behind the showcase — grayscale, semi-transparent */
.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.showcase-bg .bg-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 980px);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.showcase-bg .bg-layer img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) brightness(1.25);
  user-select: none;
}
/* Settled state after the entrance animation */
.showcase-bg .bg-layer.settled { opacity: 0.09; }

.showcase-section .container {
  position: relative;
  z-index: 1;
}

/* Stage: left preview + center + right preview */
.showcase-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
  padding: 0 64px;          /* room for the side arrows */
}

/* Side previews */
.side-preview {
  flex: 0 0 220px;
  cursor: pointer;
  padding: 20px;
  transition: opacity var(--transition), transform var(--transition);
}
.side-preview:hover { opacity: 0.9; }
.side-prev { padding-right: 0; }
.side-next { padding-left: 0; }

.side-preview-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0.85;             /* clearly visible, still secondary to the center bike */
  transition: opacity var(--transition);
  will-change: transform, opacity;
}
.side-preview:hover .side-preview-inner { opacity: 1; }

.side-preview .bike-placeholder {
  width: 205px;
  height: 115px;
  filter: blur(1px);         /* just a hint of depth, bike stays recognizable */
}

.side-preview-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 234, 0.78);   /* clearly readable bike name */
  text-transform: uppercase;
  text-align: center;
}

/* Center card */
.center-card {
  flex: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.4vh, 28px);
}

.center-bike-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;        /* anchor for the "not available" badge */
}

/* ── Out-of-stock state ── */
.center-bike-wrap.is-unavailable .center-placeholder img {
  filter: grayscale(1) brightness(0.78);
  transition: filter 0.4s ease;
}
.center-bike-wrap.is-unavailable .center-placeholder:hover { transform: none; }  /* no lift when unavailable */

.unavailable-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(180px, 34%, 300px);
  height: auto;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,0.55));
  transition: opacity 0.4s ease;
}
.center-bike-wrap.is-unavailable .unavailable-badge { opacity: 1; }

/* ── Bike placeholder (no image) ──────────────────────── */
.bike-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A1A1A 0%, #141414 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--muted);
}

/* Generic: scooter silhouette via CSS */
.bike-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 50% 65%, rgba(255,184,113,0.04) 0%, transparent 70%);
}

/* SVG silhouette inside placeholder */
.bike-placeholder .bike-svg {
  width: 70%;
  height: auto;
  opacity: 0.18;
}

/* Center placeholder sizing — scales with viewport height to fit one screen */
.center-placeholder {
  width: 100%;
  max-width: 560px;
  height: clamp(155px, 27vh, 270px);
  cursor: pointer;            /* image click opens the bike page */
  /* Hover lift — on the inner element, so it never touches the
     watermark layer and never conflicts with the switch animation
     (which runs on the parent .center-bike-wrap) */
  transition: transform 0.45s var(--ease-lux);
}
.center-placeholder:hover { transform: scale(1.045); }

/* Soft ground shadow under the bike PNG */
.center-placeholder.has-image {
  overflow: visible;          /* let the shadow breathe below the image */
}
.center-placeholder.has-image::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 82%;
  height: 34px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, transparent 70%);
  filter: blur(7px);
  pointer-events: none;
}

/* Scroll-driven zoom — --bike-scroll-scale is set on the section by JS
   (initShowcaseBikeZoom): 0.9 entering → 1.0 filling → 1.1 leaving.
   A variable (not inline style) so the recreated img picks it up after
   every carousel switch; composes with the hover lift on the parent. */
#centerImg img {
  transform: scale(var(--bike-scroll-scale, 1));
  transform-origin: 50% 100%;              /* grows from the ground up */
}
/* The ground shadow breathes together with the bike */
.center-placeholder.has-image::after {
  transform: translateX(-50%) scale(var(--bike-scroll-scale, 1));
}

/* Side placeholder sizing */
.side-preview .bike-placeholder {
  width: 205px;
  height: 115px;
  border-radius: 8px;
  /* Hover scale — mirrors the centre bike's enlarge-on-hover */
  transition: transform 0.45s var(--ease-lux);
}
.side-preview:hover .bike-placeholder { transform: scale(1.06); }
/* No enlarge when the bike is out of stock (matches the centre bike) */
.side-preview.is-unavailable:hover .bike-placeholder { transform: none; }

/* Side preview unavailability */
.side-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: auto;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.6));
}
.side-preview.is-unavailable .side-badge { opacity: 1; }
.side-preview.is-unavailable .bike-placeholder img {
  filter: grayscale(1) brightness(0.72);
  transition: filter 0.35s ease;
}

/* Image mode (when PNG loaded) */
.bike-placeholder.has-image {
  background: transparent;
  border-color: transparent;
}
.bike-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Center info */
.center-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.bike-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  cursor: pointer;            /* name click opens the bike page */
  transition: color var(--transition);
}
.bike-name:hover { color: var(--accent-1); }

.bike-prices {
  display: flex;
  align-items: center;
  gap: 24px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.price-period {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-divider {
  width: 1px;
  height: 36px;
  background: var(--border-md);
}

/* Showcase nav: dots only (arrows now live beside the bike) */
.showcase-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(10px, 2vh, 24px);
  position: relative;
  z-index: 1;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-md);
  background: rgba(11,11,11,0.4);
  backdrop-filter: blur(4px);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}
.arrow-btn svg { width: 20px; height: 20px; }
.arrow-btn:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(255,184,113,0.06);
}
.arrow-btn:active { transform: scale(0.92); }

/* Arrows positioned on the sides, vertically centered on the bike image
   (the image sits at the top of the card, so we offset by half its height) */
.stage-arrow {
  position: absolute;
  top: calc(clamp(155px, 27vh, 270px) / 2);
  transform: translateY(-50%);
  z-index: 3;
}
.stage-arrow:active { transform: translateY(-50%) scale(0.92); }
.stage-arrow-left  { left: 0; }
.stage-arrow-right { right: 0; }

.showcase-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-md);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.dot.active {
  background: var(--accent-2);
  transform: scale(1.4);
}

/* Mobile showcase adjustments */
@media (max-width: 768px) {
  .showcase-stage { flex-direction: column; gap: 20px; padding: 0 6px; }
  .side-preview { display: none; }
  .center-placeholder { max-width: 100%; height: clamp(170px, 30vh, 240px); }
  .bike-prices { gap: 16px; }
  .showcase-bg .bg-layer { width: 130vw; }

  /* Compact side arrows aligned with the image on mobile */
  .stage-arrow {
    width: 40px;
    height: 40px;
    top: calc(clamp(170px, 30vh, 240px) / 2);
  }
  .stage-arrow svg { width: 16px; height: 16px; }
}

/* ═══════════════════════════════════════════════════════
   ADVANTAGES
═══════════════════════════════════════════════════════ */
.advantages-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.advantage-card {
  background: var(--card);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background var(--transition);
}
.advantage-card:hover { background: var(--card-hover); }

.adv-icon {
  width: 38px;
  height: 38px;
}
.adv-icon svg { width: 100%; height: 100%; }

.advantage-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.advantage-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .advantages-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .advantage-card { padding: 36px 24px; }
}

/* ═══════════════════════════════════════════════════════
   DELIVERY
═══════════════════════════════════════════════════════ */
.delivery-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.delivery-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.delivery-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.delivery-text .section-title { margin-bottom: 0; }

.delivery-body {
  font-size: 15px;
  color: var(--muted-md);
  line-height: 1.75;
}

.delivery-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.delivery-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: border-color var(--transition), background var(--transition);
}
.delivery-card:hover {
  border-color: rgba(255,184,113,0.2);
  background: var(--card-hover);
}

.delivery-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--accent-2);
  margin-top: 2px;
}
.delivery-card-icon svg { width: 100%; height: 100%; }

.delivery-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.delivery-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .delivery-content { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════════════════
   CONDITIONS
═══════════════════════════════════════════════════════ */
.conditions-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.condition-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--transition);
}
.condition-card:hover { border-color: var(--border-md); }

.condition-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent-1);
  margin-top: 2px;
}
.condition-icon svg { width: 100%; height: 100%; }

.condition-card p {
  font-size: 14px;
  color: var(--muted-md);
  line-height: 1.5;
}

@media (max-width: 900px) { .conditions-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .conditions-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════════ */
.reviews-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.review-card:hover {
  border-color: rgba(255,184,113,0.15);
  transform: translateY(-3px);
}

.review-stars {
  font-size: 14px;
  letter-spacing: 2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-text {
  font-size: 14.5px;
  color: var(--muted-md);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-1);
  flex-shrink: 0;
}

.review-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.review-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .review-card { padding: 28px 24px; } }

/* ═══════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════ */
.faq-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  transition: background var(--transition);
}
.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: var(--card-hover); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  transition: color var(--transition);
  cursor: pointer;
}
.faq-question:hover { color: var(--accent-1); }
.faq-item.open .faq-question { color: var(--accent-1); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform var(--transition), border-color var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.faq-icon svg { width: 12px; height: 12px; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 32px 28px;
  font-size: 14px;
  color: var(--muted-md);
  line-height: 1.75;
}

@media (max-width: 600px) {
  .faq-question { padding: 20px; font-size: 14px; }
  .faq-answer-inner { padding: 0 20px 20px; }
}

/* ═══════════════════════════════════════════════════════
   CONTACTS
═══════════════════════════════════════════════════════ */
.contacts-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.contacts-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,184,113,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contacts-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.contacts-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.contacts-sub {
  font-size: 15px;
  color: var(--muted-md);
  max-width: 480px;
  line-height: 1.7;
}

.contacts-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.contacts-info {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.contact-info-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  flex: 1;
  align-items: flex-start;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text); }

.footer-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ── Social icon link (Instagram) — header + footer ── */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--muted-md);
  transition: color var(--transition), background var(--transition),
              transform var(--transition);
}
.social-link svg {
  width: 21px;
  height: 21px;
  display: block;
}
.social-link:hover {
  color: var(--accent-1);
  background: rgba(255, 184, 113, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--accent-1); }

@media (max-width: 600px) {
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ═══════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  max-height: 90svh;
  overflow-y: auto;
  padding: 48px;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color var(--transition), color var(--transition);
  z-index: 1;
}
.modal-close:hover { border-color: var(--accent-1); color: var(--accent-1); }
.modal-close svg { width: 16px; height: 16px; }

/* Bike modal layout */
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main .bike-placeholder {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
}

.gallery-thumb {
  flex: 1;
  height: 72px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.02);
}
.gallery-thumb.active { border-color: var(--accent-2); }

/* Modal details */
.modal-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-bike-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
}

.modal-bike-desc {
  font-size: 14px;
  color: var(--muted-md);
  line-height: 1.7;
}

.modal-prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.modal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-soft);
  font-size: 13px;
}
.modal-price-row:nth-child(odd) { background: var(--card); }
.modal-price-row span:first-child {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
.modal-price-row span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Booking block */
.booking-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.booking-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}

/* Daily rate inside the booking panel */
.bd-day-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.bd-day-price-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bd-day-price-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.date-field label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.date-field input {
  background: var(--card);
  border: 1px solid var(--border-md);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  transition: border-color var(--transition);
  width: 100%;
  /* Custom dark calendar styling */
  color-scheme: dark;
}
.date-field input:focus {
  outline: none;
  border-color: var(--accent-2);
}

/* Price calc display */
.price-calc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-md);
}

.calc-total {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--text);
}
.calc-total span:last-child {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
}

.calc-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}

/* Messenger modal */
.messenger-modal {
  max-width: 480px;
  text-align: center;
}

.messenger-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.messenger-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.messenger-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.telegram-notice {
  margin-top: 16px;
  font-size: 12px;
  color: var(--accent-1);
  background: rgba(255,217,190,0.08);
  border: 1px solid rgba(255,217,190,0.15);
  border-radius: 6px;
  padding: 10px 16px;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-container { padding: 32px 20px; }
  .modal-body { grid-template-columns: 1fr; gap: 28px; }
  .date-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════ */

/* Body lock when modal open */
body.modal-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════
   ULTRA-LUXURY SHOWCASE TRANSITION SYSTEM
   Three layers animate as one mechanical system:
   1. background watermark  2. foreground bike  3. side previews
   Curve --ease-lux: cubic-bezier(0.16, 1, 0.3, 1) — near-full
   velocity at the start, then a long exponential-style decay:
   the "heavy object glides in and lands softly" feel.
═══════════════════════════════════════════════════════ */
:root {
  --ease-lux:    cubic-bezier(0.16, 1, 0.3, 1);     /* cinematic settle */
  --ease-exit:   cubic-bezier(0.5, 0, 0.75, 0.5);   /* quick accelerating exit */
  /* P1.y = 1.05 → the curve overshoots by 5% with a CONTINUOUS velocity,
     then settles — spring feel with zero keyframe snap at the end */
  --ease-spring: cubic-bezier(0.17, 1.05, 0.26, 1);
}

.center-bike-wrap { will-change: transform, opacity; }
.showcase-bg .bg-layer { will-change: transform, opacity, filter; }

/* ── Layer 2: foreground bike ── */
@keyframes bikeExitToLeft {
  to { opacity: 0; transform: translate3d(-110px, 0, 0) scale(0.9); }
}
@keyframes bikeExitToRight {
  to { opacity: 0; transform: translate3d(110px, 0, 0) scale(0.9); }
}
/* Incoming bike: grows from "sidebar size" (0.55), sheds blur.
   The overshoot is NOT a keyframe — it lives inside --ease-spring,
   so velocity stays continuous through the settle (no end snap). */
@keyframes bikeEnterFromRight {
  0%   { opacity: 0; transform: translate3d(150px, 0, 0) scale(0.55); filter: blur(5px); }
  45%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}
@keyframes bikeEnterFromLeft {
  0%   { opacity: 0; transform: translate3d(-150px, 0, 0) scale(0.55); filter: blur(5px); }
  45%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}
.center-bike-wrap.b-exit-right  { animation: bikeExitToLeft    0.26s var(--ease-exit) both; }
.center-bike-wrap.b-exit-left   { animation: bikeExitToRight   0.26s var(--ease-exit) both; }
.center-bike-wrap.b-enter-right { animation: bikeEnterFromRight 0.9s var(--ease-spring) both; }
.center-bike-wrap.b-enter-left  { animation: bikeEnterFromLeft  0.9s var(--ease-spring) both; }

/* ── Text: staggered clip-path reveal (delays set inline by JS) ── */
@keyframes txtOut {
  to { opacity: 0; transform: translate3d(0, -14px, 0); }
}
@keyframes txtIn {
  0%   { opacity: 0; transform: translate3d(0, 20px, 0); clip-path: inset(0 0 90% 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0);    clip-path: inset(0 0 -12% 0); }
}
.t-exit  { animation: txtOut 0.24s var(--ease-exit) both; }
.t-enter { animation: txtIn  0.75s var(--ease-lux)  both; }

/* ── Layer 3: side previews drift into place ── */
@keyframes sideInPrev {
  0%   { opacity: 0;    transform: translate3d(-26px, 0, 0); }
  100% { opacity: 0.85; transform: translate3d(0, 0, 0); }
}
@keyframes sideInNext {
  0%   { opacity: 0;    transform: translate3d(26px, 0, 0); }
  100% { opacity: 0.85; transform: translate3d(0, 0, 0); }
}
.side-prev .side-preview-inner.s-enter { animation: sideInPrev 0.85s var(--ease-lux) 0.12s both; }
.side-next .side-preview-inner.s-enter { animation: sideInNext 0.85s var(--ease-lux) 0.12s both; }

/* ── Conveyor belt: direction-aware side enter/exit ── */
/* Exit: all three slots drift together in the belt direction */
@keyframes sideExitConveyorLeft {
  from { opacity: 0.85; transform: translate3d(0, 0, 0) scale(1); }
  to   { opacity: 0;    transform: translate3d(-50px, 0, 0) scale(0.9); }
}
@keyframes sideExitConveyorRight {
  from { opacity: 0.85; transform: translate3d(0, 0, 0) scale(1); }
  to   { opacity: 0;    transform: translate3d(50px, 0, 0) scale(0.9); }
}
.side-preview-inner.s-exit-left  { animation: sideExitConveyorLeft  0.26s var(--ease-exit) both; }
.side-preview-inner.s-exit-right { animation: sideExitConveyorRight 0.26s var(--ease-exit) both; }

/* Enter: both sides enter from the same direction the belt is moving */
@keyframes sideEnterFromRight {
  0%   { opacity: 0; transform: translate3d(50px, 0, 0); }
  100% { opacity: 0.85; transform: translate3d(0, 0, 0); }
}
@keyframes sideEnterFromLeft {
  0%   { opacity: 0; transform: translate3d(-50px, 0, 0); }
  100% { opacity: 0.85; transform: translate3d(0, 0, 0); }
}
.side-preview-inner.s-enter-right { animation: sideEnterFromRight 0.85s var(--ease-lux) 0.12s both; }
.side-preview-inner.s-enter-left  { animation: sideEnterFromLeft  0.85s var(--ease-lux) 0.12s both; }

/* ── Layer 1: background watermark — synchronized parallax with
   dynamic depth-of-field. The watermark slides IN SYNC with the
   foreground bike (same direction, same 0.95s, same --ease-lux),
   while scale (1.28 → 1.0) and blur (5px → 0) are driven by the
   same timeline: every X-position maps to exactly one scale/blur
   pair — "camera defocus at the edges, crisp at center".        */
@keyframes bgEnterRight {
  0%   { opacity: 0;    transform: translate3d(calc(-50% + 240px), -50%, 0) scale(1.28); filter: blur(5px); }
  38%  { opacity: 0.09; }
  100% { opacity: 0.09; transform: translate3d(-50%, -50%, 0) scale(1); filter: blur(0px); }
}
@keyframes bgEnterLeft {
  0%   { opacity: 0;    transform: translate3d(calc(-50% - 240px), -50%, 0) scale(1.28); filter: blur(5px); }
  38%  { opacity: 0.09; }
  100% { opacity: 0.09; transform: translate3d(-50%, -50%, 0) scale(1); filter: blur(0px); }
}
@keyframes bgEnterFade {
  0%   { opacity: 0;    transform: translate3d(-50%, -50%, 0) scale(1.18); filter: blur(4px); }
  100% { opacity: 0.09; transform: translate3d(-50%, -50%, 0) scale(1); filter: blur(0px); }
}
/* Leaving layer drifts toward the opposite edge, defocusing as it goes */
@keyframes bgExitRight {
  0%   { opacity: 0.09; transform: translate3d(-50%, -50%, 0) scale(1); filter: blur(0px); }
  100% { opacity: 0;    transform: translate3d(calc(-50% + 240px), -50%, 0) scale(1.25); filter: blur(5px); }
}
@keyframes bgExitLeft {
  0%   { opacity: 0.09; transform: translate3d(-50%, -50%, 0) scale(1); filter: blur(0px); }
  100% { opacity: 0;    transform: translate3d(calc(-50% - 240px), -50%, 0) scale(1.25); filter: blur(5px); }
}
.showcase-bg .bg-layer.enter-right { animation: bgEnterRight 0.95s var(--ease-lux) forwards; }
.showcase-bg .bg-layer.enter-left  { animation: bgEnterLeft  0.95s var(--ease-lux) forwards; }
.showcase-bg .bg-layer.enter-fade  { animation: bgEnterFade  1.1s  ease-out forwards; }
.showcase-bg .bg-layer.exit-right  { animation: bgExitRight  0.5s  var(--ease-exit) forwards; }
.showcase-bg .bg-layer.exit-left   { animation: bgExitLeft   0.5s  var(--ease-exit) forwards; }

/* Smooth reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════════════
   BIKE DETAIL PAGE  (bike.html)
═══════════════════════════════════════════════════════ */
.bike-page {
  /* Clear the fixed header */
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 100px;
  min-height: 100svh;
  position: relative;
}

/* Subtle ambient glow behind the page */
.bike-page::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(255,184,113,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.bike-page .container { position: relative; z-index: 1; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-1); }
.crumb-sep { color: var(--border-md); }
.crumb-current { color: var(--text); }

/* ── Detail grid: gallery | summary ── */
.bd-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 100px;
}

/* ── Block 1: Gallery ── */
.bd-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bd-main {
  width: 100%;
  /* Capped height so photos don't dominate the screen — summary stays visible */
  height: 440px;
  border-radius: var(--radius-lg);
  transition: opacity 0.18s ease;
}

.bd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.bd-thumb {
  position: relative;
  height: 84px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  padding: 8px;
  transition: border-color var(--transition), transform var(--transition);
}
.bd-thumb:hover { border-color: var(--border-md); }
.bd-thumb.active { border-color: var(--accent-2); }
.bd-thumb-img {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.bd-thumb-img .bike-svg { width: 80%; opacity: 0.18; }
.bd-thumb.active .bd-thumb-img { opacity: 1; }

/* ── Summary column ── */
.bd-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bd-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.bd-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

/* Out-of-stock notice on the bike page — big brand-gradient text */
.bd-unavailable {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: -8px 0 22px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bd-unavailable[hidden] { display: none; }

.bd-desc {
  font-size: 15px;
  color: var(--muted-md);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 52ch;
  white-space: pre-line;   /* keep line breaks from bot descriptions */
}

/* Prices */
.bd-prices { margin-bottom: 32px; }
.bd-prices-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.bd-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.bd-price-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;            /* click to prefill that rental period */
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.bd-price-card:hover {
  border-color: rgba(255,184,113,0.22);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.bd-price-period {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bd-price-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bd-min-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  font-style: italic;
}

/* Rent CTA */
.bd-rent {
  margin-bottom: 0;
  font-size: 14px;
  padding: 18px 32px;
}
.bd-rent.hidden { display: none; }

/* Disabled (out-of-stock) buttons — gray, not clickable */
.btn-primary.is-disabled,
.btn-cta-sm.is-disabled {
  background: #2A2A2A;
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 1;
}

/* ── Booking panel (revealed on Rent click) ── */
.bd-booking {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, margin 0.4s ease;
}
.bd-booking.open {
  max-height: 760px;
  opacity: 1;
  margin-top: 8px;
}
.bd-booking-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
}

.bd-send-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.bd-send {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bd-send .btn-whatsapp,
.bd-send .btn-telegram {
  justify-content: center;
  padding: 15px 20px;
}
/* Disabled state until valid dates are chosen */
.bd-send .is-disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.3);
}

/* ── Telegram copy toast ── */
.bd-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  background: var(--card);
  border: 1px solid rgba(255,217,190,0.25);
  color: var(--accent-1);
  font-size: 13px;
  padding: 14px 24px;
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bd-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Other bikes strip ── */
.other-bikes { margin-top: 20px; }
.other-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 32px;
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.other-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.other-card:hover {
  border-color: rgba(255,184,113,0.22);
  transform: translateY(-4px);
}
.other-img {
  width: 100%;
  height: 172px;
  border: none;
  border-radius: 0;
  padding: 24px 30px;        /* breathing room — photo no longer touches the edges */
  background: radial-gradient(ellipse 70% 56% at 50% 62%, rgba(255,184,113,0.05) 0%, transparent 72%);
}
/* Gentle photo lift on card hover */
.other-img.has-image img {
  transition: transform 0.5s var(--ease-lux);
}
.other-card:hover .other-img.has-image img {
  transform: scale(1.05);
}
.other-info {
  display: flex;
  flex-direction: column;
  align-items: center;       /* center the text inside the card */
  text-align: center;
  gap: 8px;
  padding: 18px 22px 26px;
  border-top: 1px solid var(--border);
}
.other-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
}
.other-price {
  font-size: 14px;           /* slightly bigger */
  color: var(--muted-md);
  letter-spacing: 0.04em;
}

/* ── Out-of-stock card: grayscale photo + mini badge, mirroring the
   main-page showcase. The badge is a SIBLING of .other-img (inside
   .other-photo) — renderBikeImage wipes .other-img on photo load,
   so the badge can't live inside it. ── */
.other-photo { position: relative; }
.other-card.is-unavailable .other-img img {
  filter: grayscale(1) brightness(0.72);
}
.other-card.is-unavailable:hover .other-img.has-image img {
  transform: none;           /* no photo lift when unavailable */
}
.other-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 82%, 230px);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
}

/* ── Bike-page scroll-reveal (GPU transform/opacity only) ── */
.bd-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.8s var(--ease-lux), transform 0.8s var(--ease-lux);
  will-change: transform, opacity;
}
.bd-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bd-detail { grid-template-columns: 1fr; gap: 36px; margin-bottom: 72px; }
  .bd-gallery { position: static; top: auto; }
  .bd-main { height: 46vh; max-height: 380px; }
  .other-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .bike-page { padding-top: calc(var(--header-h) + 24px); padding-bottom: 72px; }
  .bd-send { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .bd-price-grid { grid-template-columns: 1fr; }
  .bd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .bd-thumb { height: 64px; }
  .bd-booking-inner { padding: 20px; }
  .bd-booking.open { max-height: 900px; }
}

/* ── Respect reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════
   MESSENGER CONSENT DISCLAIMER
═══════════════════════════════════════════════════════ */
.messenger-disclaimer {
  margin: 18px auto 0;
  max-width: 420px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245,240,234,0.38);   /* subtle, single colour */
  text-align: center;
}
.messenger-disclaimer a {
  color: inherit;                  /* same colour as the text, no accent */
  text-decoration: underline;      /* underline still signals it's a link */
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.messenger-disclaimer a:hover { color: rgba(245,240,234,0.7); }
/* On the bike booking panel it sits left-aligned with the buttons */
.bd-send + .messenger-disclaimer { text-align: left; margin: 14px 0 0; max-width: none; }

/* ═══════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
═══════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  right: 20px;
  left: auto;
  bottom: 20px;
  transform: translateY(170%);
  width: min(360px, calc(100vw - 32px));
  z-index: 2000;
  background: rgba(18, 18, 18, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 16px 18px;
}
.cookie-text {
  margin: 0;
  font-family: 'Involve', sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted-md);
}
.cookie-banner .cc-link {
  font-size: 0.74rem;
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.cookie-banner .cc-link:hover { color: var(--accent-2); }

.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-btn {
  font-family: 'Involve', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition), color var(--transition), border-color var(--transition);
}
.cookie-accept {
  background: var(--gradient);
  color: #0B0B0B;
  border: none;
}
.cookie-accept:hover { opacity: 0.88; transform: translateY(-1px); }
.cookie-decline {
  background: transparent;
  color: var(--muted-md);
  border: 1px solid var(--border-md);
}
.cookie-decline:hover { color: var(--text); border-color: var(--text); }

/* "Cookie settings" link on the privacy page */
.cookie-settings-link {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-settings-link:hover { color: var(--accent-2); }

@media (max-width: 560px) {
  .cookie-banner { right: 12px; left: 12px; width: auto; bottom: 12px; }
  .cookie-btn { flex: 1; padding: 11px 14px; }
}

/* ═══════════════════════════════════════════════════════
   LEGAL PAGES  (privacy.html)
═══════════════════════════════════════════════════════ */
.legal-page {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 100px;
  position: relative;
}
.legal-page::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,184,113,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.legal-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.legal-head {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.legal-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.legal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}
.legal-updated {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Body typography */
.legal-body { color: var(--muted-md); }
.legal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text);
  margin: 44px 0 14px;
  padding-top: 8px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 24px 0 8px;
}
.legal-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-md);
  margin-bottom: 14px;
}
.legal-body ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.legal-body li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-md);
  margin-bottom: 10px;
}
.legal-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}
.legal-body strong { color: var(--text); font-weight: 500; }
.legal-body a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 2px; }

/* Highlighted clause / important box */
.legal-callout {
  background: var(--card);
  border: 1px solid var(--border-md);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.legal-callout p { margin-bottom: 8px; }
.legal-callout p:last-child { margin-bottom: 0; }

/* Disclaimer note (template reminder) */
.legal-note {
  margin-top: 48px;
  padding: 18px 22px;
  background: rgba(255,217,190,0.06);
  border: 1px solid rgba(255,217,190,0.15);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.legal-note strong { color: var(--accent-1); }

@media (max-width: 600px) {
  .legal-page { padding-top: calc(var(--header-h) + 32px); }
  .legal-body h2 { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════
   LICENSE — in-site PDF viewer page
═══════════════════════════════════════════════════════ */
.license-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.license-viewer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #1c1c1c;                       /* neutral backdrop behind the PDF */
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.license-frame {
  display: block;
  width: 100%;
  height: 82vh;
  min-height: 560px;
  border: 0;
}
.license-actions {
  margin-top: 28px;
  text-align: center;
}
@media (max-width: 600px) {
  .license-frame { height: 70vh; min-height: 420px; }
}
