/* =====================================================================
   CAIRN — Spots cachés de France
   Design system • Premium outdoor / dark-first
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --green-900: #0c1a14;
  --green-800: #102219;
  --green-700: #163024;
  --green-600: #1d4032;
  --green-500: #2c5d47;
  --green-400: #3f7d61;
  --green-300: #5fa884;
  --green-200: #9bd0b6;

  --ocre-600: #c4661f;
  --ocre-500: #e08036;
  --ocre-400: #f0a04b;
  --ocre-300: #f7bd76;
  --sun: #ffce6e;

  --ink-950: #070d0a;
  --ink-900: #0b1410;
  --ink-800: #111d17;
  --ink-700: #18271f;
  --ink-600: #24362c;

  --paper: #f6f4ec;
  --paper-2: #efece1;

  /* Semantic — dark theme (default) */
  --bg: var(--ink-950);
  --bg-elev: #0e1812;
  --bg-elev-2: #14211a;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eaf2ec;
  --text-2: #b6c6bc;
  --text-3: #7e9387;
  --text-on-accent: #1a1206;

  --accent: var(--ocre-400);
  --accent-strong: var(--ocre-500);
  --accent-soft: rgba(240, 160, 75, 0.14);
  --brand: var(--green-300);
  --brand-soft: rgba(95, 168, 132, 0.14);

  --easy: #62c08a;
  --moderate: #f0a04b;
  --hard: #ef6f5e;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(240, 160, 75, 0.25), 0 12px 40px -12px rgba(240, 160, 75, 0.35);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --maxw: 1200px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light theme */
:root[data-theme="light"] {
  --bg: var(--paper);
  --bg-elev: #ffffff;
  --bg-elev-2: #ffffff;
  --surface: rgba(16, 34, 25, 0.035);
  --surface-2: rgba(16, 34, 25, 0.06);
  --border: rgba(16, 34, 25, 0.12);
  --border-strong: rgba(16, 34, 25, 0.2);

  --text: #14241b;
  --text-2: #41584b;
  --text-3: #6c8073;
  --text-on-accent: #1a1206;

  --accent: var(--ocre-600);
  --accent-strong: var(--ocre-500);
  --accent-soft: rgba(196, 102, 31, 0.12);
  --brand: var(--green-500);
  --brand-soft: rgba(44, 93, 71, 0.1);

  --shadow-md: 0 12px 30px -16px rgba(16, 34, 25, 0.3);
  --shadow-lg: 0 30px 60px -24px rgba(16, 34, 25, 0.28);
  --glow: 0 0 0 1px rgba(196, 102, 31, 0.25), 0 12px 40px -12px rgba(196, 102, 31, 0.3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.3s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Ambient background texture for dark theme */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(240, 160, 75, 0.08), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(44, 93, 71, 0.22), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, rgba(29, 64, 50, 0.3), transparent 60%);
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
:root[data-theme="light"] body::before { opacity: 0.5; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
h1, .h1 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2, .h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3, .h3 { font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-2); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: 0.7; }
.muted { color: var(--text-3); }
.text-2 { color: var(--text-2); }
.serif-accent { font-style: italic; color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap; user-select: none;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-strong)); color: var(--text-on-accent); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { --pad-y: 15px; --pad-x: 30px; font-size: 1.02rem; }
.btn-sm { --pad-y: 8px; --pad-x: 15px; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Pills / badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.badge-free { color: var(--brand); border-color: var(--brand-soft); background: var(--brand-soft); }
.badge-pro { color: var(--sun); border-color: rgba(240,160,75,.35); background: var(--accent-soft); }
.badge-pro .dot, .badge-free .dot { background: currentColor; }

.diff { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.82rem; }
.diff .dot { width: 8px; height: 8px; border-radius: 50%; }
.diff-easy { color: var(--easy); } .diff-easy .dot { background: var(--easy); }
.diff-moderate { color: var(--moderate); } .diff-moderate .dot { background: var(--moderate); }
.diff-hard { color: var(--hard); } .diff-hard .dot { background: var(--hard); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font-size: 0.86rem; font-weight: 600;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip svg { width: 15px; height: 15px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}

/* ---------- Spot card ---------- */
.spot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.spot-card { position: relative; display: flex; flex-direction: column; cursor: pointer; }
.spot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.spot-card__media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; }
.spot-card__media .scene, .spot-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.spot-card:hover .spot-card__media .scene, .spot-card:hover .spot-card__media img { transform: scale(1.07); }
.spot-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,13,10,0.78) 100%); pointer-events: none; }
.spot-card__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.spot-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.spot-card__title { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.spot-card__region { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 0.85rem; font-weight: 600; }
.spot-card__region svg { width: 14px; height: 14px; }
.spot-card__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 0.82rem; font-weight: 600; }
.spot-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.spot-card__meta svg { width: 15px; height: 15px; color: var(--text-3); }

/* Locked (Pro) state */
.spot-card.locked .spot-card__media .scene { filter: blur(11px) saturate(0.8) brightness(0.65); transform: scale(1.12); }
.lock-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 18px;
  background: radial-gradient(circle at 50% 40%, rgba(7,13,10,0.35), rgba(7,13,10,0.72));
}
.lock-overlay .lock-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(240,160,75,.4); color: var(--sun);
  box-shadow: 0 8px 30px -8px rgba(240,160,75,.5);
}
.lock-overlay .lock-icon svg { width: 22px; height: 22px; }
.lock-overlay p { font-weight: 700; font-size: 0.95rem; color: #fff; }
.lock-overlay small { color: rgba(255,255,255,.7); font-size: 0.78rem; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }
.stars .empty { color: var(--text-3); opacity: 0.5; }
.stars-input svg { width: 26px; height: 26px; cursor: pointer; transition: transform 0.15s var(--ease); }
.stars-input svg:hover { transform: scale(1.18); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: 0.02em; font-size: 1.15rem; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--green-400), var(--green-600));
  display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), var(--shadow-sm);
}
.brand .logo svg { width: 20px; height: 20px; color: var(--sun); }
.brand b { font-weight: 800; }
.brand .tld { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--text-2); transition: all 0.2s var(--ease); }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-2);
  border: 1px solid var(--border); background: var(--surface);
  transition: all 0.25s var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .sun-i { display: none; }
:root[data-theme="light"] .theme-toggle .sun-i { display: block; }
:root[data-theme="light"] .theme-toggle .moon-i { display: none; }
.menu-toggle { display: none; }
/* Over a full dark hero, keep the un-scrolled header light in both themes */
body.has-hero .site-header:not(.scrolled) .brand,
body.has-hero .site-header:not(.scrolled) .nav a,
body.has-hero .site-header:not(.scrolled) .icon-btn { color: #f4f8f5; }
body.has-hero .site-header:not(.scrolled) .nav a:hover { background: rgba(255,255,255,0.12); }
body.has-hero .site-header:not(.scrolled) .icon-btn { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); }
body.has-hero .site-header:not(.scrolled) .brand .tld { color: var(--accent); }

/* Mobile nav */
@media (max-width: 920px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px); padding: calc(var(--header-h) + 20px) 24px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
}
.mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a { padding: 16px 18px; border-radius: var(--radius); font-size: 1.1rem; font-weight: 600; border: 1px solid var(--border); background: var(--surface); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elev); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-block: 56px; }
.footer-grid h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--text-2); padding: 6px 0; font-size: 0.92rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(48px, 8vh, 96px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .scene { width: 100%; height: 120%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(7,13,10,0.5) 0%, transparent 30%, rgba(7,13,10,0.55) 70%, rgba(7,13,10,0.95) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; color: #f4f8f5; }
.hero h1 em { font-style: italic; color: var(--sun); }
.hero .lead { max-width: 56ch; margin-top: 22px; color: #d7e3da; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
/* Hero controls sit on dark imagery → light styling in both themes */
.hero__cta .btn-ghost { background: rgba(255,255,255,0.1); color: #f4f8f5; border-color: rgba(255,255,255,0.28); }
.hero__cta .btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); }
.hero .scroll-cue { color: rgba(238,243,239,0.72); }
.hero__stats .stat b { color: #f4f8f5; }
.hero__stats .stat span { color: rgba(238,243,239,0.7); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 48px; }
.hero__stats .stat b { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); display: block; line-height: 1; }
.hero__stats .stat span { color: var(--text-2); font-size: 0.85rem; font-weight: 600; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--text-2); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid var(--border-strong); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: var(--accent); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Section header ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.sec-head .sec-head__text { max-width: 60ch; }
.sec-head h2 { margin-top: 14px; }
.sec-head p { margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.center.sec-head { flex-direction: column; align-items: center; }

/* ---------- Feature / why grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature {
  padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), transparent);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, background 0.3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: linear-gradient(180deg, var(--surface-2), transparent); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testi { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-elev); display: flex; flex-direction: column; gap: 16px; }
.testi p { font-size: 1.02rem; line-height: 1.6; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--text-on-accent); background: linear-gradient(150deg, var(--ocre-300), var(--ocre-500)); }
.testi .who b { display: block; font-size: 0.92rem; }
.testi .who span { color: var(--text-3); font-size: 0.82rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 880px; margin-inline: auto; }
.price-card { position: relative; padding: 34px 30px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-elev); display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(240,160,75,.4); background: linear-gradient(180deg, var(--accent-soft), var(--bg-elev) 55%); box-shadow: var(--shadow-lg); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--accent), var(--accent-strong)); color: var(--text-on-accent); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 1.3rem; }
.price-card .price { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; margin: 14px 0 4px; }
.price-card .price small { font-family: var(--font-sans); font-size: 1rem; color: var(--text-3); font-weight: 600; }
.price-card .price .old { font-size: 1.4rem; color: var(--text-3); text-decoration: line-through; margin-right: 10px; -webkit-text-decoration-color: var(--hard); }
.price-card .sub { color: var(--text-2); font-size: 0.92rem; min-height: 40px; }
.price-card ul.feats { display: flex; flex-direction: column; gap: 13px; margin: 24px 0 28px; }
.price-card ul.feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.94rem; color: var(--text); }
.price-card ul.feats li svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; }
.price-card ul.feats li.on svg { color: var(--brand); }
.price-card ul.feats li.off { color: var(--text-3); }
.price-card ul.feats li.off svg { color: var(--text-3); opacity: 0.6; }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { padding: 20px 24px; font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; flex: 0 0 26px; transition: transform 0.3s var(--ease), background 0.3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.faq .ans { padding: 0 24px 22px; color: var(--text-2); line-height: 1.6; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--text-2); }
.field .hint { font-size: 0.78rem; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; font-size: 0.95rem;
}
:root[data-theme="light"] .input, :root[data-theme="light"] .select, :root[data-theme="light"] .textarea { background: #fff; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-2); cursor: pointer; }
.checkbox input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(4,8,6,0.62); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { width: 100%; max-width: 440px; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-lg); transform: translateY(16px) scale(0.97); transition: transform 0.35s var(--ease-out); max-height: 92vh; overflow: auto; }
.modal-backdrop.open .modal { transform: none; }
.modal h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.modal .close { position: absolute; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.modal-sub { color: var(--text-3); margin-bottom: 22px; font-size: 0.92rem; }
.tabs { display: flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 999px; margin-bottom: 22px; }
.tabs button { flex: 1; padding: 9px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--text-3); transition: all 0.25s var(--ease); }
.tabs button.active { background: var(--bg-elev-2); color: var(--text); box-shadow: var(--shadow-sm); }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); font-weight: 700; transition: all 0.2s; }
.oauth-btn:hover { background: var(--surface-2); border-color: var(--text-3); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 0.8rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Toast ---------- */
.toast-host { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; width: min(92vw, 440px); }
.toast { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--bg-elev-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); font-weight: 600; font-size: 0.92rem; transform: translateY(20px); opacity: 0; animation: toastIn 0.4s var(--ease-out) forwards; }
.toast.out { animation: toastOut 0.3s var(--ease) forwards; }
.toast .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 26px; }
.toast.ok .ic { background: var(--brand-soft); color: var(--brand); }
.toast.err .ic { background: rgba(239,111,94,.16); color: var(--hard); }
.toast.info .ic { background: var(--accent-soft); color: var(--accent); }
@keyframes toastIn { to { transform: none; opacity: 1; } }
@keyframes toastOut { to { transform: translateY(20px); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; } .reveal-d4 { transition-delay: 0.32s; }

/* ---------- Empty / loader ---------- */
.empty { text-align: center; padding: 60px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--text-3); }
.empty .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; margin: 0 auto 18px; color: var(--text-3); }
.empty h3 { color: var(--text-2); margin-bottom: 6px; }
.skeleton { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-loader { display: grid; place-items: center; min-height: 50vh; gap: 16px; }

/* =====================================================================
   MAP PAGE
   ===================================================================== */
.map-page { padding-top: var(--header-h); height: 100svh; display: flex; flex-direction: column; }
.map-toolbar { padding: 14px clamp(16px,3vw,28px); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg-elev); z-index: 2; }
.map-toolbar .filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; flex: 1; }
.map-toolbar .search { position: relative; min-width: 200px; }
.map-toolbar .search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-3); }
.map-toolbar .search input { padding-left: 36px; width: 100%; }
.map-shell { flex: 1; position: relative; display: flex; min-height: 0; }
#map { flex: 1; height: 100%; z-index: 1; background: var(--bg-elev-2); }
.map-aside { width: 360px; max-width: 42vw; border-left: 1px solid var(--border); background: var(--bg-elev); overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.map-aside .aside-head { display: flex; justify-content: space-between; align-items: center; }
.map-aside .mini-card { display: flex; gap: 12px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: all 0.25s var(--ease); position: relative; }
.map-aside .mini-card:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateX(2px); }
.map-aside .mini-card .thumb { width: 76px; height: 64px; border-radius: 10px; overflow: hidden; flex: 0 0 76px; position: relative; }
.map-aside .mini-card .thumb .scene { width: 100%; height: 100%; object-fit: cover; }
.map-aside .mini-card.locked .thumb .scene { filter: blur(6px) brightness(0.6); }
.map-aside .mini-card .thumb .mini-lock { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sun); }
.map-aside .mini-card .info { min-width: 0; flex: 1; }
.map-aside .mini-card .info b { font-size: 0.95rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-aside .mini-card .info .r { color: var(--text-3); font-size: 0.78rem; }
.map-aside .mini-card .info .m { display: flex; gap: 10px; margin-top: 5px; font-size: 0.76rem; color: var(--text-2); }
.map-legend { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: color-mix(in srgb, var(--bg-elev) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; font-size: 0.8rem; }
.map-legend b { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 8px; }
.map-legend .row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: var(--text-2); }
.map-legend .pin { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.aside-toggle { display: none; }
@media (max-width: 860px) {
  .map-aside { position: absolute; right: 0; top: 0; bottom: 0; max-width: 86vw; transform: translateX(100%); transition: transform 0.35s var(--ease-out); box-shadow: var(--shadow-lg); z-index: 5; }
  .map-aside.open { transform: none; }
  .aside-toggle { display: inline-flex; }
}

/* Leaflet theming */
.leaflet-container { font-family: var(--font-sans) !important; background: var(--bg-elev-2); }
.leaflet-popup-content-wrapper { background: var(--bg-elev); color: var(--text); border-radius: var(--radius) !important; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 232px !important; }
.leaflet-popup-tip { background: var(--bg-elev); border: 1px solid var(--border-strong); }
.leaflet-popup-close-button { color: var(--text-2) !important; padding: 8px 8px 0 0 !important; z-index: 2; }
.leaflet-control-zoom a { background: var(--bg-elev) !important; color: var(--text) !important; border-color: var(--border) !important; }
.leaflet-control-zoom a:hover { background: var(--surface-2) !important; }
.leaflet-control-attribution { background: color-mix(in srgb, var(--bg-elev) 80%, transparent) !important; color: var(--text-3) !important; }
.leaflet-control-attribution a { color: var(--text-2) !important; }
.leaflet-bar { border: none !important; box-shadow: var(--shadow-md); }
.map-pop .pop-media { height: 116px; position: relative; }
.map-pop .pop-media .scene { width: 100%; height: 100%; object-fit: cover; }
.map-pop.locked .pop-media .scene { filter: blur(8px) brightness(0.6); }
.map-pop .pop-lock { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sun); }
.map-pop .pop-body { padding: 12px 14px 14px; }
.map-pop .pop-body b { font-size: 1rem; }
.map-pop .pop-body .pr { color: var(--text-3); font-size: 0.78rem; margin: 2px 0 8px; }
.map-pop .pop-body .btn { width: 100%; }
.cairn-pin { background: none; border: none; }
.cairn-pin .pin-body { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.5); border: 2px solid rgba(255,255,255,.85); }
.cairn-pin .pin-body svg { transform: rotate(45deg); width: 14px; height: 14px; color: #fff; }
.cairn-pin.locked .pin-body { opacity: 0.92; }
.cairn-cluster { background: transparent !important; }
.cairn-cluster .cc-in {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.92rem; font-family: var(--font-sans);
  color: var(--text-on-accent);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* =====================================================================
   SPOT DETAIL PAGE
   ===================================================================== */
.spot-hero { position: relative; height: 64vh; min-height: 440px; display: flex; align-items: flex-end; }
.spot-hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.spot-hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,13,10,0.4) 0, transparent 35%, rgba(7,13,10,0.95) 100%); }
.spot-hero .wrap { position: relative; z-index: 1; padding-bottom: 36px; }
/* Hero sits on always-dark imagery → keep text light in both themes */
.spot-hero { color: #eef3ef; }
.spot-hero .crumbs { display: flex; gap: 8px; align-items: center; color: rgba(238,243,239,0.7); font-size: 0.85rem; margin-bottom: 16px; }
.spot-hero .crumbs a { color: rgba(238,243,239,0.75) !important; }
.spot-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #f4f8f5; }
.spot-hero .sub { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; align-items: center; }
.spot-hero .sub .muted { color: rgba(238,243,239,0.72); }
.spot-hero .sub b { color: #f4f8f5; }
.spot-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
@media (max-width: 920px) { .spot-layout { grid-template-columns: 1fr; } }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin: 6px 0 30px; }
.stat-box { padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.stat-box .k { color: var(--text-3); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.stat-box .k svg { width: 14px; height: 14px; }
.stat-box .v { font-size: 1.3rem; font-weight: 800; margin-top: 6px; font-family: var(--font-display); font-weight: 500; }
.prose { color: var(--text); line-height: 1.75; }
.prose p { margin-bottom: 18px; font-size: 1.05rem; color: var(--text-2); }
.prose p strong { color: var(--text); }
.prose h3 { margin: 30px 0 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.gallery .g { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery .g .scene { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.gallery .g:hover .scene { transform: scale(1.08); }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }
.locked-block { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.locked-block .blurred { filter: blur(7px); pointer-events: none; user-select: none; padding: 24px; }
.locked-block .gate { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--bg-elev) 55%, transparent), color-mix(in srgb, var(--bg-elev) 92%, transparent)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px; }
.locked-block .gate .lock-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); border: 1px solid rgba(240,160,75,.4); color: var(--sun); display: grid; place-items: center; }

/* Comments */
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.comment .avatar { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(150deg, var(--green-400), var(--green-600)); }
.comment .c-body { flex: 1; min-width: 0; }
.comment .c-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.comment .c-head b { font-size: 0.95rem; }
.comment .c-head .when { color: var(--text-3); font-size: 0.8rem; }
.comment .c-text { color: var(--text-2); margin-top: 6px; line-height: 1.6; }
.comment .admin-reply { margin-top: 12px; padding: 12px 14px; border-left: 2px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.92rem; }
.comment .admin-reply b { color: var(--brand); font-size: 0.82rem; }
.pending-tag { font-size: 0.72rem; color: var(--moderate); font-weight: 700; }

/* =====================================================================
   ACCOUNT + ADMIN (dashboard shell)
   ===================================================================== */
.dash { padding-top: calc(var(--header-h) + 24px); min-height: 100svh; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.dash-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.dash-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 860px) { .dash-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; } }
.dash-nav button { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: var(--radius); color: var(--text-2); font-weight: 600; font-size: 0.93rem; text-align: left; transition: all 0.2s var(--ease); white-space: nowrap; }
.dash-nav button svg { width: 18px; height: 18px; }
.dash-nav button:hover { background: var(--surface); color: var(--text); }
.dash-nav button.active { background: var(--accent-soft); color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp 0.4s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Stat cards */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.kpi { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), transparent); }
.kpi .k { color: var(--text-3); font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.kpi .k .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.kpi .k .ic svg { width: 16px; height: 16px; }
.kpi .v { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; margin-top: 14px; }
.kpi .d { font-size: 0.8rem; color: var(--text-3); margin-top: 6px; }
.kpi .v small { font-size: 1rem; color: var(--text-3); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
table.data th { text-align: left; padding: 14px 16px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border); background: var(--surface); font-weight: 700; }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background 0.2s; }
table.data tbody tr:hover { background: var(--surface); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.mini-btn { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-2); transition: all 0.2s; }
.mini-btn:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.mini-btn.danger:hover { color: var(--hard); border-color: var(--hard); background: rgba(239,111,94,.1); }
.mini-btn svg { width: 16px; height: 16px; }

.section-head-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.section-head-row h2 { font-size: 1.5rem; }

/* Toolbar inside admin lists */
.list-toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }

/* Image media library */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.media-item { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); cursor: pointer; }
.media-item .scene, .media-item img { width: 100%; height: 100%; object-fit: cover; }
.media-item .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,13,10,.85)); display: flex; align-items: flex-end; padding: 10px; opacity: 0; transition: opacity 0.25s; }
.media-item:hover .ov { opacity: 1; }
.media-item .ov .del { margin-left: auto; }
.media-item .cap { color: #fff; font-size: 0.74rem; font-weight: 600; }
.media-item.selected { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Tag for status */
.tag { padding: 4px 9px; border-radius: 7px; font-size: 0.74rem; font-weight: 700; }
.tag.ok { background: var(--brand-soft); color: var(--brand); }
.tag.warn { background: rgba(240,160,75,.16); color: var(--accent); }
.tag.off { background: var(--surface-2); color: var(--text-3); }
.tag.bad { background: rgba(239,111,94,.14); color: var(--hard); }

/* Drag handle list (spot images) */
.img-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.img-strip .img-chip { position: relative; width: 90px; height: 70px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); cursor: grab; }
.img-strip .img-chip .scene { width: 100%; height: 100%; object-fit: cover; }
.img-strip .img-chip.dragging { opacity: 0.4; }
.img-strip .img-chip .x { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(7,13,10,.7); color: #fff; display: grid; place-items: center; }
.img-strip .img-chip .x svg { width: 12px; height: 12px; }
.img-strip .img-chip .ord { position: absolute; bottom: 3px; left: 3px; background: var(--accent); color: var(--text-on-accent); font-size: 0.66rem; font-weight: 800; padding: 1px 6px; border-radius: 5px; }

/* Misc helpers */
.flex { display: flex; } .items-center { align-items: center; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.between { justify-content: space-between; } .wrap-flex { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .grow { flex: 1; }
.hidden { display: none !important; }
.text-c { text-align: center; }
.small { font-size: 0.85rem; } .xs { font-size: 0.78rem; }
.cta-band { border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 64px); text-align: center; background: linear-gradient(140deg, var(--green-600), var(--green-800)); border: 1px solid var(--border-strong); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% -20%, rgba(240,160,75,.25), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 50ch; margin: 14px auto 26px; }

.note { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; display: flex; gap: 10px; align-items: flex-start; }
.note svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; }
.note.info { background: var(--brand-soft); color: var(--text-2); border: 1px solid var(--brand-soft); }
.note.warn { background: rgba(240,160,75,.1); color: var(--text-2); border: 1px solid rgba(240,160,75,.25); }
.note.info svg { color: var(--brand); } .note.warn svg { color: var(--accent); }

.divider-line { height: 1px; background: var(--border); margin: 24px 0; border: none; }

/* Promo apply box */
.promo-box { display: flex; gap: 8px; }
.promo-box .input { flex: 1; }
.applied-promo { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--brand-soft); border: 1px solid var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.88rem; }

/* responsive hero stats spacing */
@media (max-width: 600px) { .hero__stats { gap: 24px; } .hero__cta .btn { flex: 1; } }
