/* ==========================================================
   HITZONE Indoor Cricket Arena - shared styles
   Palette taken from the grand-opening invitation: ivory, gold, navy.
   ========================================================== */
:root {
  --ivory: #fbf8f1;
  --cream: #f3ecda;
  --sand: #e8dcb8;
  --navy: #0f1b3d;
  --navy-2: #16295c;
  --navy-3: #22397a;
  --ink: #1b2547;
  --muted: #5d6788;
  --gold: #b8860b;
  --gold-2: #d4a238;
  --gold-3: #e8c468;
  --gold-grad: linear-gradient(135deg, #f6de97 0%, #d4a238 48%, #9a6a10 100%);
  --green: #1e7a46;
  --green-bg: #dff3e4;
  --amber: #8a5a00;
  --amber-bg: #fff1cc;
  --red: #a42525;
  --red-bg: #fbe0e0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.1);
  --shadow-sm: 0 2px 10px rgba(15, 27, 61, 0.08);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-brand: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-3); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold-grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.85em 1.5em; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 1rem var(--font-body); color: var(--navy); background: var(--bg);
  text-decoration: none; box-shadow: 0 6px 18px rgba(184, 134, 11, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(184, 134, 11, 0.42); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-dark { --bg: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(15, 27, 61, 0.28); }
.btn-ghost { --bg: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--navy), var(--shadow-sm); }
.btn-light-ghost { --bg: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.btn-danger { --bg: var(--red); color: #fff; box-shadow: none; }
.btn-ok { --bg: var(--green); color: #fff; box-shadow: none; }
.btn-sm { padding: 0.5em 1em; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 27, 61, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(232, 196, 104, 0.25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-text { font-family: var(--font-brand); font-weight: 800; font-style: italic; font-size: 1.7rem; letter-spacing: 0.04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.brand-sub { display: block; font: 600 0.58rem var(--font-body); font-style: normal; letter-spacing: 0.32em; color: #d9c48a; margin-top: 3px; -webkit-text-fill-color: #d9c48a; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: #e9e3cf; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); }
.nav a.active { color: var(--gold-3); }
.nav .btn { padding: 0.55em 1.2em; font-size: 0.92rem; color: var(--navy); margin-left: 6px; }
.nav .btn:hover { background: var(--gold-grad); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(232, 196, 104, 0.4); background: rgba(255, 255, 255, 0.06); cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--gold-3); border-radius: 2px; position: relative; transition: transform 0.2s, background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }
.header-right, .mobile-menu { display: none; }
@media (max-width: 720px) {
  .brand-sub { display: none; }
  .nav { display: none; }
  .header-right { display: flex; align-items: center; gap: 10px; }
  .header-right .btn { padding: 0.55em 1.2em; font-size: 0.92rem; }
  .nav-toggle { display: inline-flex; }
  .site-header .container { position: relative; flex-wrap: nowrap; }
  .mobile-menu { position: absolute; top: 64px; left: -16px; right: -16px; background: rgba(15, 27, 61, 0.99); padding: 8px 16px 16px; border-bottom: 1px solid rgba(232, 196, 104, 0.25); box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35); flex-direction: column; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: #e9e3cf; text-decoration: none; padding: 14px 10px; font-size: 1.02rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .mobile-menu a:last-child { border-bottom: 0; }
}
.site-footer { background: var(--navy); color: #cfd6ee; padding: 44px 0 28px; margin-top: 64px; }
.site-footer .grid { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr 1fr; }
.site-footer h4 { color: var(--gold-3); font: 600 0.8rem var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer a { color: #e9e3cf; text-decoration: none; }
.site-footer a:hover { color: var(--gold-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .small { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 28px; padding-top: 18px; font-size: 0.82rem; color: #93a0cc; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy) url('../images/hero-bg.jpg') center/cover no-repeat; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 480px at 78% 30%, rgba(232, 196, 104, 0.16), transparent 70%), linear-gradient(100deg, rgba(8, 14, 36, 0.94) 8%, rgba(10, 18, 46, 0.78) 55%, rgba(15, 27, 61, 0.9)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(36px, 6vw, 76px) 0 clamp(70px, 9vw, 116px); }
.hero-copy { text-align: left; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 0.78rem var(--font-body); letter-spacing: 0.24em; color: var(--gold-3); text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(232, 196, 104, 0.35); margin-bottom: 14px; }
.hero .eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: #4cc27f; box-shadow: 0 0 0 0 rgba(76, 194, 127, 0.7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(76, 194, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 194, 127, 0); } }
.hero-logo { width: min(520px, 100%); height: auto; margin: 4px 0 2px -10px; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55)); }
.hero .sub { font: 700 clamp(0.8rem, 1.8vw, 0.98rem) var(--font-body); letter-spacing: 0.5em; color: var(--gold-3); text-transform: uppercase; margin-bottom: 18px; }
.hero .words { color: #dfe5fa; letter-spacing: 0.22em; font-size: 0.82rem; text-transform: uppercase; margin-bottom: 20px; }
.hero .words i { color: var(--gold-2); font-style: normal; padding: 0 0.55em; }
.hero p.lead { max-width: 560px; margin: 0 0 26px; font-size: clamp(1.02rem, 2vw, 1.18rem); color: #e8ecfb; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { list-style: none; display: flex; gap: 10px 26px; flex-wrap: wrap; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-facts li { display: flex; flex-direction: column; font-size: 0.82rem; color: #b9c3e6; }
.hero-facts b { font: 700 1.35rem var(--font-display); color: var(--gold-3); line-height: 1.2; }

.hero-photos { position: relative; justify-self: center; width: min(440px, 100%); padding-bottom: 36px; }
.hp-main { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; border: 3px solid rgba(232, 196, 104, 0.85); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.05); background: #0d1633; }
.hp-main img { width: 100%; height: 100%; object-fit: cover; }
.hp-side { position: absolute; left: -9%; bottom: 0; width: 46%; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; border: 3px solid #fbf8f1; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.hp-side img { width: 100%; height: 100%; object-fit: cover; }
.hp-badge { position: absolute; right: -4%; top: 8%; background: rgba(251, 248, 241, 0.97); color: var(--navy); border-radius: 16px; padding: 12px 16px; box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4); line-height: 1.2; }
.hp-badge b { display: block; font: 700 1.25rem var(--font-display); }
.hp-badge span { font-size: 0.76rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 90px; }
  .hero-copy { text-align: center; }
  .hero-logo { margin: 4px auto 2px; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta, .hero-facts { justify-content: center; }
  .hero-photos { width: min(360px, 88%); }
  .hp-side { left: -6%; }
  .hp-badge { right: -2%; }
}
@media (max-width: 520px) { .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; } .hero-facts li { font-size: 0.7rem; } .hero-facts b { font-size: 1rem; } .hero .words { letter-spacing: 0.1em; font-size: 0.74rem; } .hero .words i { padding: 0 0.35em; } .hero .eyebrow { letter-spacing: 0.14em; font-size: 0.7rem; } }

/* trust bar that overlaps the hero */
.trust { position: relative; z-index: 2; margin-top: -48px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--sand); overflow: hidden; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border-right: 1px solid #efe8d4; }
.trust-item:last-child { border-right: 0; }
.trust-item .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--cream); color: var(--gold); }
.trust-item .ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item b { display: block; color: var(--navy); font-size: 0.98rem; line-height: 1.25; }
.trust-item span { font-size: 0.82rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid #efe8d4; } }
@media (max-width: 480px) { .trust-item { padding: 14px; gap: 10px; } .trust-item .ico { width: 38px; height: 38px; } .trust-item b { font-size: 0.9rem; } }

/* ---------- sections ---------- */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--navy); color: #dfe5fa; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow { font: 600 0.78rem var(--font-body); letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.section-head .rule { width: 72px; height: 3px; background: var(--gold-grad); margin: 14px auto 0; border-radius: 3px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-grad); color: var(--navy); font: 700 1.1rem var(--font-display); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4); }
.step .s-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; color: var(--gold); margin: 6px 0 14px; }
.step .s-ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-top: 0; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(232, 196, 104, 0.25); border-radius: var(--radius); padding: 24px 20px; }
.feature svg { width: 40px; height: 40px; stroke: var(--gold-3); fill: none; stroke-width: 1.6; margin-bottom: 14px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { margin: 0; color: #b9c3e6; font-size: 0.95rem; }
.why { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.why-photo { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); border: 3px solid rgba(232, 196, 104, 0.6); position: relative; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why .features { grid-template-columns: repeat(2, 1fr); }
.why .section-head { text-align: left; margin: 0 0 26px; }
.why .section-head .rule { margin-left: 0; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why-photo { aspect-ratio: 16 / 10; } .why .section-head { text-align: center; } .why .section-head .rule { margin-inline: auto; } }
@media (max-width: 520px) { .why .features { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.price-card { background: var(--navy); color: #fff; border-radius: 22px; padding: 36px 32px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.price-card::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(232, 196, 104, 0.45); border-radius: 14px; pointer-events: none; }
.price-card .label { letter-spacing: 0.3em; font-size: 0.78rem; color: var(--gold-3); text-transform: uppercase; }
.price-card .amount { font: 700 clamp(2.6rem, 6vw, 3.8rem) var(--font-display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 6px 0 0; line-height: 1.1; }
.price-card .per { color: #b9c3e6; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: inline-grid; gap: 8px; }
.price-card li::before { content: '✓'; color: var(--gold-3); font-weight: 700; margin-right: 10px; }
.guide { margin-top: 4px; background: #fff; border: 1px solid var(--sand); border-radius: 16px; padding: 16px 18px; }
.guide h3 { font: 600 0.78rem var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.guide ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.guide li { background: var(--ivory); border: 1px solid var(--sand); border-radius: 12px; padding: 8px 10px; text-align: center; font-size: 0.82rem; color: var(--muted); }
.guide li b { display: block; color: var(--navy); font-size: 0.98rem; }
.hours-list { display: grid; gap: 12px; }
.hours-list .row { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: 14px 18px; }
.hours-list .ico { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--gold); }
.hours-list .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.hours-list b { display: block; color: var(--navy); }
@media (max-width: 800px) { .pricing { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); background: var(--navy); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 12px; color: #fff; font-size: 0.9rem; font-weight: 500; background: linear-gradient(transparent, rgba(8, 14, 36, 0.82)); }
.gallery .g1 { grid-column: 1 / span 3; grid-row: 1 / span 4; }
.gallery .g2 { grid-column: 4 / span 3; grid-row: 1 / span 2; }
.gallery .g3 { grid-column: 4 / span 3; grid-row: 3 / span 2; }
.gallery .g4 { grid-column: 1 / span 4; grid-row: 5 / span 2; }
.gallery .g5 { grid-column: 5 / span 2; grid-row: 5 / span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 10px; }
  .gallery .g1 { grid-column: 1 / span 2; grid-row: span 3; }
  .gallery .g2, .gallery .g3, .gallery .g5 { grid-column: span 1; grid-row: span 2; }
  .gallery .g4 { grid-column: 1 / span 2; grid-row: span 2; }
}
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 10, 26, 0.92); display: grid; place-items: center; padding: 20px; animation: fade 0.2s ease; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); width: auto; }
.lightbox .cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #dfe5fa; font-size: 0.95rem; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.28); }
@keyframes fade { from { opacity: 0; } }

.allday { display: grid; grid-template-columns: 400px 1fr; gap: 56px; align-items: center; }
.allday-photo { position: relative; margin: 0; }
.allday-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); border: 3px solid #fff; }
.allday-photo .clock { position: absolute; right: -18px; bottom: 24px; background: var(--navy); color: #fff; border-radius: 20px; padding: 14px 20px; text-align: center; box-shadow: 0 16px 36px rgba(15, 27, 61, 0.45); border: 2px solid var(--gold-2); }
.allday-photo .clock b { display: block; font: 700 2.1rem var(--font-display); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.allday-photo .clock span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #cfd6ee; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-right: 10px; }
@media (max-width: 760px) { .allday { grid-template-columns: 1fr; gap: 28px; } .allday-photo { max-width: 340px; margin: 0 auto; } .allday-photo .clock { right: -8px; } }

/* call-to-action band */
.cta-band { position: relative; color: #fff; text-align: center; background: var(--navy) url('../images/banner-bg.jpg') center/cover; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 46, 0.86), rgba(15, 27, 61, 0.94)); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 24px; color: #d3dbf6; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: 20px; }
.contact-card h3 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 4px; }
.contact-card a, .contact-card span { color: var(--muted); text-decoration: none; word-break: break-word; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(420px, 92vw); pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: 0.95rem; animation: pop 0.25s ease; pointer-events: auto; border-left: 4px solid var(--gold-2); }
.toast.error { border-left-color: #e05a5a; }
.toast.ok { border-left-color: #4cc27f; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- status badges ---------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.badge.pending { background: var(--amber-bg); color: var(--amber); }
.badge.confirmed { background: var(--green-bg); color: var(--green); }
.badge.declined, .badge.cancelled { background: var(--red-bg); color: var(--red); }
.badge.blocked { background: #e4e7f2; color: #3b4569; }

/* ==========================================================
   BOOKING PAGE
   ========================================================== */
.page-hero { background: var(--navy) url('../images/banner-bg.jpg') center/cover; color: #fff; padding: 36px 0 90px; position: relative; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 14, 36, 0.78), rgba(15, 27, 61, 0.96)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 6px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.page-hero p { color: #cdd6f3; margin: 0; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: -60px; position: relative; align-items: start; }
@media (max-width: 920px) { .book-layout { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border: 1px solid var(--sand); border-radius: 20px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); margin-bottom: 20px; }
.panel.locked { opacity: 0.55; pointer-events: none; filter: grayscale(0.4); }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel-head .num { width: 32px; height: 32px; border-radius: 50%; background: var(--gold-grad); color: var(--navy); font: 700 1rem var(--font-display); display: grid; place-items: center; flex: none; }
.panel-head h2 { font-size: 1.3rem; margin: 0; font-family: var(--font-display); }
.panel-head .aside { margin-left: auto; font-size: 0.85rem; color: var(--muted); }

.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.date-chip { flex: 0 0 auto; scroll-snap-align: start; width: 72px; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--sand); background: var(--ivory); text-align: center; cursor: pointer; font-family: var(--font-body); color: var(--ink); transition: all 0.15s; position: relative; }
.date-chip:hover:not([disabled]) { border-color: var(--gold-2); }
.date-chip .dow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.date-chip .dom { font: 700 1.5rem var(--font-display); color: var(--navy); line-height: 1.2; }
.date-chip .mon { font-size: 0.72rem; color: var(--muted); }
.date-chip .dot { display: block; width: 8px; height: 8px; border-radius: 50%; margin: 6px auto 0; background: #4cc27f; }
.date-chip .dot.few { background: #e8a31c; }
.date-chip .dot.full { background: #d85a5a; }
.date-chip .dot.closed { background: #aab; }
.date-chip.selected { background: var(--navy); border-color: var(--navy); }
.date-chip.selected .dow, .date-chip.selected .mon { color: #cfd6ee; }
.date-chip.selected .dom { color: var(--gold-3); }
.date-chip[disabled] { opacity: 0.45; cursor: not-allowed; }
.date-extra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: 0.9rem; color: var(--muted); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; background: #4cc27f; }
.legend .l-few::before { background: #e8a31c; }
.legend .l-full::before { background: #d85a5a; }

input[type='date'], input[type='text'], input[type='tel'], input[type='email'], input[type='number'], input[type='time'], input[type='password'], input[type='search'], select, textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--sand); border-radius: 12px; font: 1rem var(--font-body); color: var(--ink); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(212, 162, 56, 0.2); }
input.invalid, textarea.invalid { border-color: #d85a5a; }
.date-extra input[type='date'] { width: auto; padding: 8px 12px; }

/* ---- day timeline: shows free and booked periods at a glance ---- */
.tl-key { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.82rem; color: var(--muted); margin: 0 0 12px; }
.tl-key span { display: inline-flex; align-items: center; gap: 6px; }
.tl-key i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid rgba(15, 27, 61, 0.12); }
.tl-key .k-free { background: #cfeedb; }
.tl-key .k-booked { background: #e98b8b; }
.tl-key .k-closed { background: repeating-linear-gradient(45deg, #e4e0d4, #e4e0d4 3px, #f1eee6 3px, #f1eee6 6px); }
.tl-key .k-sel { background: var(--navy); }
.tl { position: relative; margin: 0 0 6px; padding-bottom: 26px; user-select: none; }
.tl-track { position: relative; height: 58px; border-radius: 14px; background: #cfeedb; border: 2px solid #b7e1c6; overflow: hidden; cursor: pointer; touch-action: manipulation; }
.tl-track.is-empty { cursor: default; }
.tl-seg { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; overflow: hidden; white-space: nowrap; pointer-events: none; }
.tl-seg.booked { background: #e98b8b; color: #5c1414; border-left: 2px solid #c85d5d; border-right: 2px solid #c85d5d; }
.tl-seg.closed, .tl-seg.past { background: repeating-linear-gradient(45deg, #e4e0d4, #e4e0d4 5px, #f1eee6 5px, #f1eee6 10px); color: #7b776a; }
.tl-sel { position: absolute; top: 5px; bottom: 5px; background: var(--navy); border: 2px solid var(--gold-2); border-radius: 10px; color: var(--gold-3); font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; pointer-events: none; box-shadow: 0 2px 10px rgba(15, 27, 61, 0.35); }
.tl-sel.over { border-right-style: dashed; border-top-right-radius: 4px; border-bottom-right-radius: 4px; }
.tl-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; font-size: 0.72rem; color: var(--muted); pointer-events: none; }
.tl-ticks span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.tl-ticks span:first-child { transform: none; }
.tl-ticks span:last-child { transform: translateX(-100%); }
.tl-ticks span::before { content: ''; position: absolute; left: 50%; top: -6px; height: 5px; border-left: 1px solid #c9bd96; }
.tl-ticks span:first-child::before { left: 0; }
.tl-ticks span:last-child::before { left: 100%; }
@media (max-width: 560px) { .tl-ticks .minor { font-size: 0; } }
.tl-hint { font-size: 0.82rem; color: var(--muted); margin: 0 0 14px; }
.day-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 18px; }
@media (max-width: 640px) { .day-lists { grid-template-columns: 1fr; } }
.day-list { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--sand); background: var(--ivory); }
.day-list h3 { font: 600 0.74rem var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.day-list h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #4cc27f; }
.day-list.booked h3::before { background: #d85a5a; }
.day-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.day-list li { font-size: 0.86rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #dff3e4; color: #145a34; }
.day-list.booked li { background: #fbe0e0; color: #8b1e1e; }
.day-list .none { font-size: 0.86rem; color: var(--muted); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px; }
@media (max-width: 480px) { .pick { gap: 10px; } }
.pick select { font-weight: 600; color: var(--navy); }
.pick select:disabled { background: #f1eee6; color: #a7a39a; cursor: not-allowed; }
.pick-msg { font-size: 0.9rem; margin: 0 0 14px; color: var(--muted); min-height: 1.2em; }
.pick-msg.bad { color: var(--red); }
.slots-empty { padding: 28px; text-align: center; color: var(--muted); background: var(--ivory); border-radius: 14px; border: 2px dashed var(--sand); }
.skeleton { height: 64px; border-radius: 14px; background: linear-gradient(90deg, #efe8d4 25%, #f8f3e5 37%, #efe8d4 63%); background-size: 400% 100%; animation: sk 1.3s infinite; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.duration { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--cream); }
@media (max-width: 720px) {
  .duration { padding: 12px; }
  .dur-chips { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .dchip { flex: 0 0 auto; }
}
.dur-chips { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.dchip { border: 2px solid var(--sand); background: #fff; border-radius: 12px; padding: 8px 14px; cursor: pointer; font-family: var(--font-body); color: var(--ink); text-align: center; line-height: 1.25; transition: all 0.15s; }
.dchip b { display: block; color: var(--navy); font-size: 0.95rem; }
.dchip small { color: var(--muted); font-size: 0.78rem; }
.dchip:hover { border-color: var(--gold-2); }
.dchip.on { background: var(--navy); border-color: var(--navy); }
.dchip.on b { color: var(--gold-3); }
.dchip.on small { color: #cfd6ee; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--sand); background: #fff; border-radius: 999px; overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--navy); }
.stepper button:hover:not([disabled]) { background: var(--cream); }
.stepper button[disabled] { opacity: 0.3; cursor: not-allowed; }
.stepper output { min-width: 86px; text-align: center; font-weight: 700; color: var(--navy); }
.hint { font-size: 0.86rem; color: var(--muted); margin: 12px 0 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field .err { color: var(--red); font-size: 0.82rem; margin-top: 4px; min-height: 0; }
.field .help { color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
textarea { resize: vertical; min-height: 84px; }
.form-error { background: var(--red-bg); color: var(--red); padding: 12px 16px; border-radius: 12px; margin-top: 16px; font-size: 0.95rem; }

.summary { position: sticky; top: 84px; }
.summary h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 14px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 14px; font-size: 0.95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.summary .total { border-top: 2px dashed var(--sand); margin-top: 16px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font: 700 1.7rem var(--font-display); color: var(--navy); }
.summary .empty { color: var(--muted); font-size: 0.95rem; padding: 6px 0 12px; }
.summary .note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; padding: 10px 12px; background: var(--cream); border-radius: 10px; }
.mobile-bar { display: none; }
@media (max-width: 920px) {
  .summary { position: static; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); color: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25); transform: translateY(110%); transition: transform 0.25s; }
  .mobile-bar.show { transform: none; }
  .mobile-bar .info { font-size: 0.82rem; color: #cfd6ee; line-height: 1.3; }
  .mobile-bar .info b { display: block; font: 700 1.2rem var(--font-display); color: var(--gold-3); }
  .toasts { bottom: 100px; }
  body.has-bar { padding-bottom: 84px; }
}

/* ==========================================================
   RECEIPT
   ========================================================== */
.receipt-wrap { max-width: 560px; margin: 36px auto 0; }
.ticket { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--sand); position: relative; overflow: hidden; }
.ticket-top { background: var(--navy) url('../images/crop-roof.jpg') center 30%/cover; color: #fff; padding: 26px 26px; text-align: center; position: relative; isolation: isolate; }
.ticket-top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 46, 0.72), rgba(15, 27, 61, 0.92)); }
.ticket-top .brand-text { font-size: 2rem; }
.ticket-top .sub { font-size: 0.64rem; letter-spacing: 0.4em; color: #d9c48a; margin-top: 2px; }
.ticket-body { padding: 26px; }
.ticket-status { text-align: center; margin-bottom: 18px; }
.ticket-status .big { font: 700 1.5rem var(--font-display); color: var(--navy); margin: 8px 0 4px; }
.ticket-status p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.ticket dl { margin: 0; display: grid; gap: 0; }
.ticket dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--sand); }
.ticket dt { color: var(--muted); font-size: 0.9rem; }
.ticket dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.ticket .ref { font-family: 'Courier New', monospace; letter-spacing: 0.12em; color: var(--gold); font-size: 1.05rem; }
.ticket-qr { text-align: center; padding: 8px 26px 26px; position: relative; border-top: 2px dashed var(--sand); margin-top: 6px; }
.ticket-qr::before, .ticket-qr::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--sand); }
.ticket-qr::before { left: -13px; }
.ticket-qr::after { right: -13px; }
.qr-box { display: inline-block; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--sand); margin-top: 22px; }
.qr-box img { width: 190px; height: 190px; }
.ticket-qr p { font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }
.ticket-note { background: var(--cream); margin: 0 26px 24px; padding: 12px 16px; border-radius: 12px; font-size: 0.88rem; color: var(--muted); }
.receipt-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 22px 0; }
.admin-strip { background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.admin-strip b { color: var(--gold-3); margin-right: auto; }
.lookup { background: #fff; border: 1px solid var(--sand); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); text-align: center; }
.lookup form { display: flex; gap: 10px; margin-top: 16px; }
.lookup input { text-transform: uppercase; letter-spacing: 0.1em; text-align: center; }
@media (max-width: 480px) { .lookup form { flex-direction: column; } }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e8a31c; margin-right: 6px; animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
@media print {
  body { background: #fff; }
  .site-header, .site-footer, .receipt-actions, .admin-strip, .toasts, .no-print { display: none !important; }
  .receipt-wrap { margin: 0 auto; max-width: 480px; }
  .ticket { box-shadow: none; }
  .ticket-top { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================
   ADMIN
   ========================================================== */
.admin-body { background: #f1ede1; }
.login-card { max-width: 400px; margin: 80px auto; background: #fff; border-radius: 22px; padding: 36px 30px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--sand); }
.login-card img { width: 64px; margin: 0 auto 12px; }
.login-card form { display: grid; gap: 14px; margin-top: 20px; text-align: left; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.admin-top h1 { font-size: 1.8rem; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--sand); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); }
.stat .k { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stat .v { font: 700 1.9rem var(--font-display); color: var(--navy); line-height: 1.2; margin-top: 4px; }
.stat.alert { background: var(--amber-bg); border-color: #efd48a; }
.stat.alert .v { color: var(--amber); }
@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.banner { background: var(--amber-bg); color: var(--amber); border: 1px solid #efd48a; padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-size: 0.92rem; }
.banner.red { background: var(--red-bg); color: var(--red); border-color: #efb3b3; }
.banner.ok { background: var(--green-bg); color: var(--green); border-color: #b7e0c3; }
.tabs { display: flex; gap: 6px; background: #fff; border: 1px solid var(--sand); padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 600 0.92rem var(--font-body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button.active { background: var(--navy); color: #fff; }
.tabs .count { background: #d85a5a; color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 0.75rem; margin-left: 6px; }
.card { background: #fff; border: 1px solid var(--sand); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.req { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.req .when { font: 700 1.1rem var(--font-display); color: var(--navy); }
.req .meta { color: var(--muted); font-size: 0.9rem; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.req .meta a { color: var(--navy-3); }
.req .notes { margin-top: 8px; padding: 8px 12px; background: var(--cream); border-radius: 10px; font-size: 0.9rem; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 680px) { .req { grid-template-columns: 1fr; } .row-actions { justify-content: flex-start; } }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar > * { width: auto; }
.toolbar input[type='search'] { min-width: 200px; flex: 1; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--sand); border-radius: 16px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 760px; }
.tbl th { text-align: left; padding: 12px 14px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--cream); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-top: 1px solid #efe8d4; vertical-align: middle; }
.tbl tr:hover td { background: #fcfaf4; }
.tbl .ref { font-family: 'Courier New', monospace; font-weight: 700; color: var(--gold); }
.day-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.day-nav input[type='date'] { width: auto; }
.day-nav h2 { margin: 0 0 0 6px; font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
.sched { display: grid; gap: 8px; }
.sched .s { display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: 12px 16px; }
.sched .s.free { border-style: dashed; background: #fcfaf4; }
.sched .s.pending { border-left: 5px solid #e8a31c; }
.sched .s.confirmed { border-left: 5px solid #3aa766; }
.sched .s.blocked { border-left: 5px solid #8a93b5; background: #f3f4f9; }
.sched .time { font-weight: 700; color: var(--navy); }
.sched .free-label { color: var(--muted); }
.sched .who { font-weight: 600; color: var(--navy); }
.sched .who small { display: block; font-weight: 400; color: var(--muted); }
@media (max-width: 640px) { .sched .s { grid-template-columns: 1fr; gap: 6px; } }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.switch { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--cream); cursor: pointer; }
.switch input { width: 22px; height: 22px; accent-color: var(--navy); flex: none; }
.modal-back { position: fixed; inset: 0; background: rgba(8, 14, 36, 0.6); z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { background: #fff; border-radius: 20px; padding: 26px; width: min(520px, 100%); box-shadow: var(--shadow); }
.modal h2 { font-size: 1.4rem; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--cream); padding: 4px; border-radius: 999px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 600 0.9rem var(--font-body); cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--navy); color: #fff; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border: 2px dashed var(--sand); border-radius: 16px; }

/* gentle reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; } .js .reveal.d2 { transition-delay: 0.16s; } .js .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
