/* =====================================================
   home.css — QuickBook Home Page Styles
   Project: QuickBook > public/assets/css/home.css
   Redesigned: Larita-inspired light mode default
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

/* ── LIGHT MODE (default) ── */
:root {
  --gold:#C9A84C;
  --gold-lt:rgba(201,168,76,.13);
  --gold-glow:rgba(201,168,76,.25);
  --success:#16A34A;
  --danger:#DC2626;

  --font-display:'Playfair Display',serif;
  --font-body:'DM Sans',sans-serif;
  --font-mono:'DM Mono',monospace;
  --radius:12px;
  --radius-lg:18px;
  --radius-xl:24px;

  --bg-page:      #F9F7F2;
  --bg-section:   #F0EDE4;
  --bg-navy:      #EAE6DC;
  --text-primary: #1A1410;
  --text-muted:   rgba(26,20,16,.52);
  --text-dim:     rgba(26,20,16,.3);
  --card-bg:      #FFFFFF;
  --card-border:  rgba(0,0,0,.08);
  --navbar-bg:    rgba(249,247,242,.94);
  --border:       rgba(0,0,0,.07);
  --border-md:    rgba(0,0,0,.12);
  --shadow-lg:    0 16px 50px rgba(0,0,0,.1);
  --shadow-gold:  0 8px 28px rgba(201,168,76,.28);

  --hero-overlay1:rgba(10,7,3,.88);
  --hero-overlay2:rgba(10,7,3,.62);
  --hero-overlay3:rgba(10,7,3,.22);
  --hero-radial:  rgba(25,16,5,.78);
  --hero-text:    #F9F7F2;
  --hero-muted:   rgba(249,247,242,.68);
  --hero-trust:   rgba(249,247,242,.65);

  --search-bg:    rgba(255,255,255,.13);
  --search-border:rgba(255,255,255,.28);
  --search-div:   rgba(255,255,255,.22);
  --slot-bg:      rgba(0,0,0,.035);
  --slot-border:  rgba(0,0,0,.08);
  --step-desc:    rgba(26,20,16,.52);
  --dot-color:    rgba(0,0,0,.04);
  --input-bg:     #FFFFFF;
  --input-border: rgba(0,0,0,.14);
  --modal-bg:     rgba(249,247,242,.98);
  --toast-bg:     #FFFFFF;
  --dropdown-bg:  #FFFFFF;
  --tag-bg:       rgba(201,168,76,.1);
  --muted:        #6B7280;
  --trust-color:  rgba(249,247,242,.65);

  /* Mobile-specific safe area vars */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --bg-page:      #0C0F1A;
  --bg-section:   #090C15;
  --bg-navy:      #0F1F3D;
  --text-primary: #FFFFFF;
  --text-muted:   rgba(255,255,255,.42);
  --text-dim:     rgba(255,255,255,.25);
  --card-bg:      rgba(18,22,35,.88);
  --card-border:  rgba(255,255,255,.09);
  --navbar-bg:    rgba(12,15,26,.85);
  --border:       rgba(255,255,255,.07);
  --border-md:    rgba(255,255,255,.12);
  --shadow-lg:    0 16px 50px rgba(0,0,0,.45);

  --hero-overlay1:rgba(12,15,26,.82);
  --hero-overlay2:rgba(12,15,26,.52);
  --hero-overlay3:rgba(12,15,26,.18);
  --hero-radial:  rgba(15,31,61,.7);
  --hero-text:    #FFFFFF;
  --hero-muted:   rgba(255,255,255,.55);
  --hero-trust:   rgba(255,255,255,.38);

  --search-bg:    rgba(255,255,255,.055);
  --search-border:rgba(255,255,255,.11);
  --search-div:   rgba(255,255,255,.1);
  --slot-bg:      rgba(255,255,255,.04);
  --slot-border:  rgba(255,255,255,.07);
  --step-desc:    rgba(255,255,255,.42);
  --dot-color:    rgba(255,255,255,.03);
  --input-bg:     rgba(255,255,255,.06);
  --input-border: rgba(255,255,255,.12);
  --modal-bg:     rgba(12,15,26,.96);
  --toast-bg:     #1a2035;
  --dropdown-bg:  #131929;
  --tag-bg:       rgba(255,255,255,.06);
  --muted:        #8892A4;
  --trust-color:  rgba(255,255,255,.38);
}

/* ── SCROLL ── */
html {
  scroll-behavior: smooth;
  /* Prevent horizontal overflow on mobile */
  overflow-x: hidden;
  /* Support notched phones */
  padding-top: var(--safe-area-top);
}
section[id] { scroll-margin-top: 66px; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
  /* Improve tap highlight on mobile */
  -webkit-tap-highlight-color: transparent;
  /* Prevent text size adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,.6); }
  50%      { box-shadow: 0 0 0 5px rgba(201,168,76,0); }
}
@keyframes confirmPop {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ringRotate {
  to { transform: rotate(360deg); }
}
@keyframes toastSlide {
  from { opacity: 0; transform: translateX(120%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(120%); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes starPop {
  from { opacity: 0; transform: scale(.7) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
/* Mobile modal slide-up */
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 70px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navbar-bg);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease;
  /* Extend into the notch area */
  padding-left: var(--safe-area-left);
  padding-right: var(--safe-area-right);
}
.navbar-inner {
  width: 100%; max-width: 1240px;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}

/* ── NAVBAR LOGO ── */
.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .01em; color: var(--text-primary);
  text-decoration: none; transition: color .3s;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.navbar-logo span { color: var(--gold); font-style: normal; }

.navbar-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.18));
  transition: transform .3s ease;
}

.navbar-links { display: flex; list-style: none; gap: 2.2rem; }
.navbar-links a {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color .2s;
  white-space: nowrap;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--text-primary); }
.navbar-actions {
  display: flex; gap: .7rem; align-items: center;
  flex-shrink: 0;
}

/* ── HAMBURGER MENU (mobile) ── */
.navbar-hamburger {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--border-md);
  border-radius: 6px;
  background: var(--gold-lt);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  transition: background .2s, border-color .2s;
}
.navbar-hamburger:hover { border-color: var(--gold); background: rgba(201,168,76,.18); }
.navbar-hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s ease;
  transform-origin: center;
}
.navbar-hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 99;
  background: var(--navbar-bg);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  padding-left: calc(1.5rem + var(--safe-area-left));
  padding-right: calc(1.5rem + var(--safe-area-right));
  flex-direction: column;
  gap: .2rem;
  animation: slideDown .22s ease;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-nav-drawer a:last-of-type { border-bottom: none; }
.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active { color: var(--gold); }
.mobile-nav-actions {
  display: flex;
  gap: .6rem;
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
}
.mobile-nav-actions .btn { flex: 1; justify-content: center; }

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-lt);
  border: 1px solid var(--border-md);
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .3s, color .25s;
  outline: none;
  /* Minimum touch target */
  min-width: 36px; min-height: 36px;
}
.theme-toggle:hover {
  background: var(--gold-lt);
  border-color: var(--gold);
  transform: rotate(20deg) scale(1.1);
}
.theme-toggle svg { display: block; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase;
  border-radius: 4px; padding: .62rem 1.5rem; border: none;
  cursor: pointer; text-decoration: none;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  /* Minimum touch target on mobile */
  min-height: 40px;
  touch-action: manipulation;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold); color: #0C0F1A; box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  filter: brightness(1.1); transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(201,168,76,.4);
}
.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-md);
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold); transform: translateY(-2px);
}
.btn-ghost-light {
  background: transparent; color: #F9F7F2;
  border: 1.5px solid rgba(249,247,242,.45);
}
.btn-ghost-light:hover {
  border-color: var(--gold); color: var(--gold); transform: translateY(-2px);
}
.btn-danger {
  background: var(--danger); color: #FFFFFF;
}
.btn-danger:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-lg  { padding: .95rem 2.2rem; font-size: .82rem; min-height: 48px; }
.btn-sm  { padding: .48rem 1.2rem; font-size: .68rem; min-height: 36px; }
.btn-xs  { padding: .32rem .8rem; font-size: .62rem; min-height: 30px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
/* Remove hover transforms on touch devices to avoid sticky states */
@media (hover: none) {
  .btn:hover { transform: none !important; }
  .btn-gold:hover { box-shadow: var(--shadow-gold); }
}

/* ── HERO — Full-screen left-aligned with image slider ── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  padding: 120px 8% 100px 8%; overflow: hidden;
}

/* ── SLIDE BACKGROUNDS ── */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active { opacity: 1; }

/* Overlay on top of slides */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10,7,3,.60) 0%,
      rgba(10,7,3,.42) 40%,
      rgba(10,7,3,.55) 100%
    );
}

.hero-grain {
  position: absolute; inset: 0; opacity: .025; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Gold rule under navbar */
.hero-rule {
  position: absolute; left: 5%; right: 5%; top: 70px; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.4), transparent);
}

/* ── CENTERED CONTENT ── */
.hero-center {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
  animation: fadeUp .9s ease both;
  max-width: 640px; width: 100%;
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .34rem 1rem .34rem .52rem;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 2px;
  font-family: var(--font-mono); font-size: .63rem;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
  transition: opacity .35s ease;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse 2.2s ease-in-out infinite; flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem,5vw,4.2rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 1.2rem; color: #F9F7F2;
  font-style: italic;
  text-shadow: 0 2px 24px rgba(10,7,3,.55), 0 1px 4px rgba(10,7,3,.4);
}
.hero h1 .accent { color: var(--gold); font-style: normal; text-shadow: none; }

.hero-desc {
  font-size: .97rem; color: rgba(249,247,242,.85);
  line-height: 1.85; max-width: 500px; margin-bottom: 2.2rem; font-weight: 300;
  text-shadow: 0 1px 8px rgba(10,7,3,.4);
}

/* Search bar */
.hero-search {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px; overflow: hidden;
  width: 100%; max-width: 580px; margin-bottom: 2rem;
  backdrop-filter: blur(16px);
  transition: border-color .25s, box-shadow .25s;
}
.hero-search:focus-within {
  border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow);
}
.hero-search input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: .95rem 1.2rem; font-family: var(--font-body);
  font-size: .88rem; color: #F9F7F2; min-width: 0;
}
.hero-search input::placeholder { color: rgba(249,247,242,.5); }
.hs-div {
  width: 1px; background: rgba(255,255,255,.18); margin: .6rem 0; flex-shrink: 0;
}
.hero-search select {
  background: transparent; border: none; outline: none;
  padding: .95rem .9rem; font-family: var(--font-body);
  font-size: .78rem; color: rgba(249,247,242,.7); cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.hero-search select option { background: #1a1208; color: #F9F7F2; }
[data-theme="dark"] .hero-search select option { background: #0F1F3D; color: #FFFFFF; }
.hs-btn {
  background: var(--gold); color: #0C0F1A; border: none;
  padding: 0 1.6rem; min-height: 50px;
  font-family: var(--font-body); font-weight: 700;
  font-size: .73rem; letter-spacing: .07em; text-transform: uppercase;
  cursor: pointer; transition: filter .2s; white-space: nowrap;
  text-decoration: none; display: flex; align-items: center;
  touch-action: manipulation;
}
.hs-btn:hover { filter: brightness(1.1); }

/* Trust row — left */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.3rem;
  animation: fadeUp .8s ease .35s both;
}
.trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .06em; color: rgba(249,247,242,.82); text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(10,7,3,.4);
}
.trust-item .ti-dot {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(201,168,76,.7);
}

/* ── SLIDER DOTS ── */
.hero-dots {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: .55rem; align-items: center;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background .3s, transform .3s; padding: 0;
  /* Larger tap target */
  position: relative;
}
.hero-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
}
.hero-dot.active {
  background: var(--gold); transform: scale(1.3);
}

/* ── HERO BOTTOM STRIP ── */
.hero-bottom-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,7,3,.55);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,168,76,.2);
  padding: .9rem 5%;
  display: flex; align-items: center; gap: 2.5rem;
  z-index: 2;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero-bottom-strip::-webkit-scrollbar { display: none; }
.hero-strip-item {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .07em;
  color: rgba(249,247,242,.58); text-transform: uppercase; white-space: nowrap;
}
.hero-strip-item strong { color: rgba(249,247,242,.9); font-weight: 600; }
.hero-strip-item .strip-gold { color: var(--gold); font-weight: 700; }
.hero-strip-sep { color: rgba(249,247,242,.2); font-size: .9rem; flex-shrink: 0; }

/* hero visual */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; animation: fadeUp .8s ease .2s both;
}

/* ── FEATURED CARD ── */
.featured-card {
  width: 310px;
  border-radius: var(--radius-lg);
  background: rgba(20,15,8,.88);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(201,168,76,.18);
  box-shadow: 0 32px 72px rgba(0,0,0,.55);
  overflow: hidden;
  cursor: pointer;
  animation: cardFloat 6s ease-in-out infinite;
  transition: transform .25s, box-shadow .25s;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(0,0,0,.65);
}
[data-theme="dark"] .featured-card {
  background: rgba(18,22,35,.92);
  border-color: rgba(255,255,255,.1);
}

/* thumb */
.featured-thumb { height: 170px; position: relative; overflow: hidden; }
.featured-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.6) saturate(.8);
  transition: transform .5s;
}
.featured-card:hover .featured-thumb img { transform: scale(1.04); }
.featured-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,7,3,.85) 100%);
}
.featured-avail-pill {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(22,163,74,.15);
  border: 1px solid rgba(22,163,74,.4);
  color: #4ade80;
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .07em;
  text-transform: uppercase; padding: .26rem .7rem; border-radius: 2px;
}

/* body */
.featured-body { padding: 1.2rem 1.3rem 1.4rem; }

/* meta row */
.featured-meta {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1rem;
}
.featured-name {
  font-family: var(--font-display); font-size: .98rem; font-weight: 700;
  color: #F9F7F2; font-style: italic; margin-bottom: .2rem;
}
.featured-tag {
  font-family: var(--font-mono); font-size: .6rem; color: var(--gold);
  letter-spacing: .05em;
}
.featured-rating-badge {
  display: flex; align-items: center; gap: .2rem;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 4px; padding: .28rem .55rem; flex-shrink: 0;
}
.frb-score {
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.frb-star { font-size: .65rem; color: var(--gold); }

/* slot row */
.featured-slot {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px; padding: .75rem 1rem;
  margin-bottom: 1rem;
}
.fslot-label {
  font-family: var(--font-mono); font-size: .55rem; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(249,247,242,.4); margin-bottom: .22rem;
}
.fslot-time {
  font-family: var(--font-display); font-size: .88rem; font-weight: 700;
  color: #F9F7F2; font-style: italic;
}
.fslot-detail { font-size: .68rem; color: rgba(249,247,242,.45); margin-top: .06rem; }
.fslot-price {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--gold); font-style: italic;
}

/* book button */
.featured-book-btn {
  display: block; width: 100%; text-align: center;
  background: var(--gold); color: #0C0F1A;
  font-family: var(--font-body); font-weight: 700;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .7rem; border-radius: 4px; border: none;
  cursor: pointer; transition: filter .2s, transform .15s;
  min-height: 44px;
  touch-action: manipulation;
}
.featured-book-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── SECTION ── */
.section       { padding: 96px 5%; transition: background .3s; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.eyebrow-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(201,168,76,.25); padding: .28rem .9rem;
  border-radius: 2px; margin-bottom: 1rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem,3vw,2.7rem);
  font-weight: 700; font-style: italic; letter-spacing: .01em; margin-bottom: .7rem;
  color: var(--text-primary); transition: color .3s;
}
.section-header p {
  font-size: .93rem; color: var(--text-muted);
  line-height: 1.8; max-width: 520px; margin: 0 auto; font-weight: 300;
  transition: color .3s;
}

/* ── STATS BAND ── */
.stats-band {
  background: var(--bg-navy); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 2.6rem 5%;
  transition: background .3s;
}
.stats-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.stat-item {
  text-align: center; padding: 1.2rem 1.5rem;
  position: relative; transition: transform .25s ease;
}
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border-md);
}
.stat-item:hover { transform: translateY(-3px); }
.stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin: 0 auto .85rem;
  background: var(--gold-lt); color: var(--gold);
  border: 1px solid rgba(201,168,76,.2);
  transition: background .25s, border-color .25s;
}
.stat-item:hover .stat-icon {
  background: rgba(201,168,76,.22); border-color: rgba(201,168,76,.4);
}
.stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: .35rem; font-style: italic;
}
.stat-label {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ── CATEGORY SECTION ── */
.cat-section { background: var(--bg-page); border-top: 1px solid var(--border); }
.cat-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 1.1rem;
  /* Horizontal scroll on small screens as fallback */
}
.cat-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 1.8rem 1rem 1.5rem;
  text-align: center; cursor: pointer;
  transition: all .28s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
  /* Minimum touch target */
  min-height: 110px;
  touch-action: manipulation;
}
.cat-card::after {
  content: '↗'; position: absolute; top: .7rem; right: .85rem;
  font-size: .68rem; color: var(--gold); opacity: 0;
  transition: opacity .22s, transform .22s;
  transform: translate(-4px, 4px);
}
.cat-card:hover::after { opacity: 1; transform: translate(0,0); }
.cat-card:hover {
  border-color: rgba(201,168,76,.4); background: var(--gold-lt);
  transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.1);
}
@media (hover: none) {
  .cat-card:hover { transform: none; }
  .cat-card:active {
    border-color: rgba(201,168,76,.4); background: var(--gold-lt);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
  }
}
.cat-icon {
  width: 68px; height: 68px; border-radius: 14px; overflow: hidden;
  margin: 0 auto 1.1rem; border: 1px solid var(--border-md); transition: all .28s;
}
.cat-card:hover .cat-icon { transform: scale(1.07) rotate(-2deg); border-color: rgba(201,168,76,.4); }
.cat-icon img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78) saturate(.85); transition: filter .28s; }
.cat-card:hover .cat-icon img { filter: brightness(.95) saturate(1.1); }
.cat-name { font-family: var(--font-display); font-weight: 700; font-size: .85rem; font-style: italic; color: var(--text-primary); transition: color .25s; }
.cat-card:hover .cat-name { color: var(--gold); }

/* ── PROVIDERS SECTION ── */
.providers-section { background: var(--bg-section); border-top: 1px solid var(--border); }
.provider-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.pcard {
  background: var(--card-bg); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--card-border);
  transition: all .32s cubic-bezier(.4,0,.2,1); cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
  touch-action: manipulation;
}
.pcard:hover {
  transform: translateY(-8px); border-color: rgba(201,168,76,.3);
  box-shadow: 0 28px 64px rgba(0,0,0,.13), 0 0 0 1px rgba(201,168,76,.15);
}
@media (hover: none) {
  .pcard:hover { transform: none; }
  .pcard:active {
    border-color: rgba(201,168,76,.3);
    box-shadow: 0 8px 24px rgba(0,0,0,.1), 0 0 0 1px rgba(201,168,76,.1);
  }
}
.pcard-thumb { height: 230px; position: relative; overflow: hidden; flex-shrink: 0; }
.pcard-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: brightness(.75) saturate(.85); transition: transform .5s ease, filter .5s ease;
}
.pcard:hover .pcard-thumb img { transform: scale(1.05); filter: brightness(.88) saturate(1.05); }
.pcard-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, transparent 35%, rgba(10,7,3,.72) 100%);
  pointer-events: none;
}
.pcard-badge {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  font-family: var(--font-mono); font-size: .57rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 50px; font-weight: 600;
}
.badge-avail { background: var(--success); color: #fff; box-shadow: 0 2px 10px rgba(22,163,74,.4); }
.badge-home  { background: rgba(201,168,76,.92); color: #1a1410; box-shadow: 0 2px 10px rgba(201,168,76,.35); }
.pcard-body  { padding: 1.35rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pcard-cat {
  font-family: var(--font-mono); font-size: .58rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gold);
  margin-bottom: .35rem; display: flex; align-items: center; gap: .4rem;
}
.pcard-cat::before {
  content: ''; display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold); flex-shrink: 0;
}
.pcard-name {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  font-style: italic; margin-bottom: .3rem; color: var(--text-primary);
  transition: color .25s; line-height: 1.25;
}
.pcard:hover .pcard-name { color: var(--gold); }
.pcard-loc {
  font-size: .74rem; color: var(--text-muted); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .3rem; flex: 1;
}
.loc-pin { color: var(--gold); flex-shrink: 0; }
.pcard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .9rem; border-top: 1px solid var(--border); margin-top: auto;
  gap: .5rem;
}
.pcard-star { color: #F59E0B; }
.pcard-rating {
  display: flex; align-items: center; gap: .3rem;
  font-family: var(--font-display); font-size: .84rem; font-weight: 700;
  color: var(--text-primary);
  flex-wrap: wrap;
}
.pcard-rating .rc { font-weight: 400; color: var(--text-muted); font-size: .73rem; font-style: normal; }
.pcard-noreviews { font-style: italic; }
.pcard-price {
  font-family: var(--font-mono); font-size: .7rem; color: var(--gold);
  background: var(--gold-lt); padding: .28rem .8rem; border-radius: 50px;
  border: 1px solid rgba(201,168,76,.25); letter-spacing: .03em; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--bg-navy); position: relative; overflow: hidden;
  border-top: 1px solid var(--border); transition: background .3s;
}
.how-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle,var(--dot-color) 1px,transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.steps-container {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
  position: relative; z-index: 1;
}
.steps-container::before {
  content: ''; position: absolute; top: 36px; left: 13%; right: 13%; height: 1px;
  background: repeating-linear-gradient(90deg,rgba(201,168,76,.35) 0,rgba(201,168,76,.35) 10px,transparent 10px,transparent 24px);
  z-index: 0;
}
.step { text-align: center; padding: 0 .5rem; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; background: var(--gold);
  color: #0C0F1A; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem; box-shadow: var(--shadow-gold);
  transition: transform .3s, box-shadow .3s; position: relative;
}
.step-num::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.28);
  animation: pulse 3s ease-in-out infinite;
}
.step:hover .step-num { transform: scale(1.08) rotate(-4deg); box-shadow: 0 12px 36px rgba(201,168,76,.45); }
.step-title { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: .95rem; margin-bottom: .5rem; color: var(--text-primary); letter-spacing: .01em; transition: color .3s; }
.step-desc  { font-size: .82rem; color: var(--step-desc); line-height: 1.75; font-weight: 300; transition: color .3s; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg-page); border-top: 1px solid var(--border); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.tcard {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 4px; padding: 1.9rem;
  transition: all .3s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.tcard:hover { border-color: rgba(201,168,76,.22); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.tcard-stars { color: var(--gold); font-size: .85rem; letter-spacing: .1em; margin-bottom: .9rem; }
.tcard-text {
  font-size: .9rem; color: var(--text-muted); line-height: 1.82;
  font-weight: 300; margin-bottom: 1.3rem; font-style: italic;
}
.tcard-author { display: flex; align-items: center; gap: .75rem; }
.tcard-avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--border-md); flex-shrink: 0;
}
.tcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard-name { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: .86rem; color: var(--text-primary); }
.tcard-role { font-family: var(--font-mono); font-size: .6rem; color: var(--muted); letter-spacing: .04em; margin-top: .08rem; }

/* ── FAQ ── */
.faq-section { background: var(--bg-section); border-top: 1px solid var(--border); }
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: .96rem; font-weight: 700;
  font-style: italic;
  color: var(--text-primary); text-align: left; gap: 1rem;
  transition: color .2s;
  /* Minimum touch target */
  min-height: 56px;
  touch-action: manipulation;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-lt); border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold); font-size: .9rem; font-style: normal;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #0C0F1A; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 0 1.4rem;
  font-size: .88rem; color: var(--text-muted); line-height: 1.85; font-weight: 300;
}

/* ── CTA ── */
.cta-banner {
  background: var(--bg-page); padding: 100px 5%; text-align: center;
  position: relative; overflow: hidden; border-top: 1px solid var(--border);
  transition: background .3s;
}
.cta-banner::before {
  content: 'QB'; position: absolute;
  font-family: var(--font-display); font-size: 22rem; font-weight: 700;
  color: var(--text-primary); opacity: .025;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; letter-spacing: -.06em; user-select: none; font-style: italic;
}
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem,3vw,2.9rem);
  font-weight: 700; font-style: italic; letter-spacing: .01em; margin-bottom: .9rem;
  color: var(--text-primary); transition: color .3s;
}
.cta-inner h2 em { font-style: normal; color: var(--gold); }
.cta-inner p { font-size: .95rem; color: var(--text-muted); line-height: 1.78; margin-bottom: 2.4rem; font-weight: 300; transition: color .3s; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: var(--bg-section); border-top: 1px solid var(--border); transition: background .3s, border-color .3s; }
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 4.5rem 2.5rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; font-style: italic;
  color: var(--text-primary); text-decoration: none; display: inline-block;
  margin-bottom: .8rem; letter-spacing: .01em;
}
.footer-logo span { color: var(--gold); font-style: normal; }
.footer-tagline { font-size: .83rem; color: var(--text-muted); line-height: 1.75; max-width: 240px; font-weight: 300; margin-bottom: 1.2rem; }
.footer-socials { display: flex; gap: .6rem; }
.social-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--slot-bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: .75rem;
  transition: all .2s;
  /* Minimum touch target */
  min-width: 44px; min-height: 44px;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-lt); }
.footer-col h4 {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul li a {
  font-size: .84rem; color: var(--text-muted); text-decoration: none; transition: color .2s;
  /* Minimum touch target */
  display: inline-block; min-height: 36px; line-height: 36px;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding: 1.4rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em;
  color: var(--text-dim); flex-wrap: wrap; gap: .8rem;
}
.footer-bottom strong { color: var(--text-primary); }
.footer-bottom-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.65);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: overlayIn .2s ease;
  backdrop-filter: blur(6px);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: var(--modal-bg); border-radius: 4px;
  border: 1px solid var(--border-md);
  width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  animation: modalIn .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  /* Smooth scrolling inside modal on iOS */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal-header {
  padding: 1.8rem 2rem 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem;
  /* Sticky header inside modal */
  position: sticky; top: 0; background: var(--modal-bg); z-index: 1;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; font-style: italic;
  color: var(--text-primary); letter-spacing: .01em;
}
.modal-subtitle { font-size: .8rem; color: var(--text-muted); margin-top: .22rem; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--slot-bg); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  /* Minimum touch target */
  min-width: 44px; min-height: 44px;
}
.modal-close:hover { background: var(--gold-lt); color: var(--gold); border-color: var(--gold); }
.modal-body { padding: 1.5rem 2rem 2rem; }
.modal-divider { border: none; border-top: 1px solid var(--border); margin: 1.2rem 0; }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block; font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .45rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: 4px; padding: .78rem 1rem;
  font-family: var(--font-body); font-size: .88rem; color: var(--text-primary);
  outline: none; transition: border-color .2s, box-shadow .2s, background .3s;
  -webkit-appearance: none; appearance: none;
  /* Better touch experience */
  font-size: 16px; /* Prevents iOS zoom on focus */
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238892A4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
  background-color: var(--input-bg);
}
.form-select option { background: var(--dropdown-bg); color: var(--text-primary); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .74rem; color: var(--text-muted); margin-top: .35rem; }
.form-error { font-size: .74rem; color: var(--danger); margin-top: .35rem; display: none; }
.form-group.has-error .form-input,
.form-group.has-error .form-select { border-color: var(--danger); }
.form-group.has-error .form-error { display: block; }

/* time slots grid */
.slots-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; margin-top: .6rem; }
.slot-btn {
  background: var(--slot-bg); border: 1px solid var(--slot-border);
  border-radius: 4px; padding: .55rem .4rem; text-align: center;
  font-family: var(--font-mono); font-size: .7rem; color: var(--text-muted);
  cursor: pointer; transition: all .2s; user-select: none;
  /* Minimum touch target */
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
}
.slot-btn:hover:not(.slot-taken) { border-color: var(--gold); color: var(--gold); background: var(--gold-lt); }
.slot-btn.selected { background: var(--gold); border-color: var(--gold); color: #0C0F1A; font-weight: 700; }
.slot-btn.slot-taken { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* summary row */
.booking-summary {
  background: var(--slot-bg); border: 1px solid var(--slot-border);
  border-radius: 4px; padding: 1rem;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .83rem; padding: .28rem 0;
  gap: .5rem;
}
.summary-row .s-label { color: var(--text-muted); flex-shrink: 0; }
.summary-row .s-value { font-weight: 600; color: var(--text-primary); text-align: right; word-break: break-word; }
.summary-row .s-gold  { color: var(--gold); font-family: var(--font-mono); font-weight: 700; }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: .5rem 0; }

/* ── TOAST ── */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 300;
  display: flex; flex-direction: column; gap: .6rem; pointer-events: none;
  /* Respect safe area on notched phones */
  bottom: calc(1.5rem + var(--safe-area-bottom));
  right: calc(1.5rem + var(--safe-area-right));
}
.toast {
  background: var(--toast-bg); border: 1px solid var(--border-md);
  border-radius: 4px; padding: .9rem 1.2rem;
  display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow-lg); min-width: 260px; max-width: 340px;
  pointer-events: all;
  animation: toastSlide .35s cubic-bezier(.34,1.56,.64,1);
}
.toast.removing { animation: toastOut .3s ease forwards; }
.toast-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
}
.toast-success .toast-icon { background: rgba(22,163,74,.15); color: var(--success); }
.toast-error   .toast-icon { background: rgba(220,38,38,.12); color: var(--danger); }
.toast-info    .toast-icon { background: var(--gold-lt); color: var(--gold); }
.toast-title   { font-family: var(--font-display); font-size: .84rem; font-weight: 700; font-style: italic; color: var(--text-primary); margin-bottom: .1rem; }
.toast-msg     { font-size: .74rem; color: var(--text-muted); }

/* ── SKELETON LOADER ── */
.skeleton {
  background: linear-gradient(90deg, var(--slot-bg) 25%, var(--border) 50%, var(--slot-bg) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 1.2rem; left: 1.4rem; z-index: 90;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: #0C0F1A; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem;
  box-shadow: var(--shadow-gold);
  transition: all .3s; opacity: 0; pointer-events: none;
  transform: translateY(12px);
  /* Respect safe area */
  bottom: calc(1.2rem + var(--safe-area-bottom));
  left: calc(1.4rem + var(--safe-area-left));
  /* Minimum touch target */
  min-width: 44px; min-height: 44px;
  touch-action: manipulation;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* ── SCREEN LABEL ── */
.screen-label {
  position: fixed; bottom: 1.2rem; right: 1.4rem;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em;
  color: var(--text-dim); pointer-events: none; z-index: 50;
  bottom: calc(1.2rem + var(--safe-area-bottom));
  right: calc(1.4rem + var(--safe-area-right));
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════ */

/* ── 1100px: Tablet landscape ── */
@media (max-width: 1100px) {
  .hero-inner   { gap: 2.5rem; grid-template-columns: 1fr 360px; }
  .card-stack   { width: 310px; height: 500px; }
  .fc-main      { width: 250px; left: 25px; }
  .fc-stats     { width: 135px; right: 0; }
  .fc-confirmed { right: -10px; top: 290px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-inner  { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border-md); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-md); }
}

/* ── 900px: Tablet portrait ── */
@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; gap: 0; }
  .hero-visual       { display: none; }
  .hero-copy         { text-align: center; }
  .hero-stars, .hero-eyebrow { justify-content: center; display: flex; }
  .hero-desc         { margin: 0 auto 2.2rem; }
  .hero-search       { margin: 0 auto 2rem; }
  .trust-row         { justify-content: center; }
  .cat-grid          { grid-template-columns: repeat(3,1fr); }
  .provider-grid     { grid-template-columns: repeat(2,1fr); }
  .steps-container   { grid-template-columns: repeat(2,1fr); }
  .steps-container::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .hero-bottom-strip { display: none; }

  /* Show hamburger, hide desktop nav */
  .navbar-hamburger { display: flex; }
  .navbar-links { display: none; }
  .navbar-actions .btn-ghost:not(.theme-toggle-wrapper) { display: none; }
}

/* ── 768px: Tablet small / large phone landscape ── */
@media (max-width: 768px) {
  .navbar-inner { padding: 0 1.5rem; }
  .navbar-logo { font-size: 1.3rem; }
  .navbar-logo-img { width: 38px; height: 38px; }
  .navbar-links { gap: 1.4rem; }
  .navbar-links a { font-size: .62rem; }
  .hero { padding: 100px 5% 80px; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
  .hero-search { max-width: 100%; }
  .section { padding: 70px 5%; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
  .cat-card { padding: 1.5rem .8rem 1.2rem; }
  .cat-icon { width: 56px; height: 56px; margin: 0 auto .85rem; }
  .cat-name { font-size: .78rem; }
  .provider-grid { grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
  .pcard-thumb { height: 180px; }
  .pcard-body { padding: 1.1rem 1.2rem; }
  .steps-container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .step-num { width: 60px; height: 60px; font-size: 1.4rem; margin: 0 auto 1rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .tcard { padding: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .footer-bottom-links { flex-direction: column; gap: .6rem; }
  .btn-lg { padding: .75rem 1.8rem; font-size: .76rem; }
  .btn { padding: .52rem 1.2rem; font-size: .72rem; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { padding: 1rem 1rem; }
  .stat-icon { width: 40px; height: 40px; margin: 0 auto .7rem; }
  .stat-num { font-size: 1.8rem; }
}

/* ── 640px: Mobile large ── */
@media (max-width: 640px) {
  .navbar { height: 60px; }
  .navbar-inner { height: 60px; padding: 0 1rem; }
  .navbar-logo { font-size: 1.1rem; gap: .3rem; }
  .navbar-logo-img { width: 32px; height: 32px; }
  .navbar-links { display: none; }
  .navbar-hamburger { display: flex; }
  .mobile-nav-drawer { top: 60px; }
  .navbar-actions { gap: .5rem; }
  /* Hide login/signup from navbar on mobile, they live in drawer */
  .navbar-actions .btn-ghost,
  .navbar-actions .btn-gold { display: none; }
  .theme-toggle { width: 32px; height: 32px; }

  .btn { padding: .48rem 1rem; font-size: .68rem; gap: .3rem; }
  .btn-lg { padding: .65rem 1.4rem; font-size: .7rem; }
  .btn-sm { padding: .4rem .9rem; font-size: .62rem; }

  /* Hero */
  .hero {
    min-height: 100svh; /* Use svh for mobile browsers with dynamic toolbars */
    padding: 80px 4% 60px;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: .9rem;
  }
  .hero-eyebrow {
    font-size: .58rem;
    padding: .3rem .85rem;
    margin-bottom: 1.2rem;
  }
  .hero-desc {
    font-size: .9rem;
    max-width: 100%;
    margin-bottom: 1.6rem;
  }

  /* Mobile stacked search bar */
  .hero-search {
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 8px;
  }
  .hero-search input {
    padding: .85rem 1rem;
    font-size: 16px; /* Prevent iOS zoom */
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .hs-div { display: none; }
  .hero-search select {
    width: 100%;
    padding: .85rem 1rem;
    font-size: 16px; /* Prevent iOS zoom */
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .hs-btn {
    width: 100%;
    min-height: 48px;
    padding: 0 1.2rem;
    font-size: .72rem;
    justify-content: center;
  }
  .trust-row {
    gap: .7rem;
    justify-content: center;
  }
  .trust-item { font-size: .58rem; }
  .hero-dots { bottom: 1.5rem; gap: .4rem; }
  .hero-dot { width: 7px; height: 7px; }

  /* Sections */
  .section { padding: 60px 4%; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: .5rem;
  }
  .section-header p { font-size: .85rem; }

  /* Stats */
  .stats-band { padding: 1.8rem 4%; }
  .stats-inner {
    grid-template-columns: repeat(2,1fr);
    gap: 0;
  }
  .stat-item:nth-child(1)::after,
  .stat-item:nth-child(3)::after { display: block; }
  .stat-item:nth-child(2)::after,
  .stat-item:nth-child(4)::after { display: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-md); }
  .stat-item { padding: .8rem .6rem; }
  .stat-icon { width: 36px; height: 36px; margin: 0 auto .6rem; font-size: .9rem; }
  .stat-num { font-size: 1.6rem; margin-bottom: .25rem; }
  .stat-label { font-size: .58rem; }

  /* Categories — 2 columns on mobile */
  .cat-grid { grid-template-columns: repeat(2,1fr); gap: .8rem; }
  .cat-card { padding: 1.2rem .8rem; border-radius: 10px; min-height: 120px; }
  .cat-card::after { font-size: .62rem; }
  .cat-icon { width: 50px; height: 50px; margin: 0 auto .8rem; border-radius: 10px; }
  .cat-name { font-size: .75rem; }

  /* Providers — single column on mobile */
  .provider-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pcard { overflow: hidden; }
  .pcard-thumb { height: 200px; } /* Taller on single col for visual impact */
  .pcard-badge { font-size: .54rem; padding: .25rem .65rem; top: 10px; right: 10px; }
  .pcard-body { padding: .95rem 1rem 1rem; }
  .pcard-cat { font-size: .54rem; margin-bottom: .3rem; }
  .pcard-name { font-size: 1rem; margin-bottom: .2rem; }
  .pcard-loc { font-size: .68rem; margin-bottom: .8rem; }
  .pcard-footer { padding-top: .7rem; gap: .6rem; }
  .pcard-rating { font-size: .76rem; }
  .pcard-rating .rc { font-size: .66rem; }
  .pcard-price { font-size: .64rem; padding: .24rem .7rem; }

  /* Steps — single column */
  .steps-container { grid-template-columns: 1fr; gap: 1.2rem; }
  .step-num { width: 52px; height: 52px; font-size: 1.2rem; margin: 0 auto .9rem; }
  .step-title { font-size: .88rem; margin-bottom: .4rem; }
  .step-desc { font-size: .76rem; line-height: 1.6; }

  /* Testimonials — single column */
  .testimonials-grid { grid-template-columns: 1fr; }
  .tcard {
    padding: 1.2rem;
    border-radius: 4px;
    margin-bottom: .8rem;
  }
  .tcard-stars { font-size: .76rem; margin-bottom: .7rem; }
  .tcard-text { font-size: .82rem; margin-bottom: 1rem; line-height: 1.7; }
  .tcard-avatar { width: 36px; height: 36px; }
  .tcard-name { font-size: .78rem; }
  .tcard-role { font-size: .54rem; }

  /* FAQ */
  .faq-question { padding: 1.1rem 0; font-size: .88rem; }
  .faq-icon { width: 24px; height: 24px; font-size: .8rem; }
  .faq-item.open .faq-answer { max-height: 400px; }
  .faq-answer-inner { padding: 0 0 1.1rem; font-size: .82rem; }

  /* CTA */
  .cta-banner { padding: 70px 4%; }
  .cta-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: .7rem;
  }
  .cta-inner p { font-size: .88rem; margin-bottom: 1.8rem; }
  .cta-actions { gap: .8rem; flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer-logo { font-size: 1.1rem; }
  .footer-tagline { font-size: .78rem; max-width: 100%; }
  .footer-col h4 { font-size: .56rem; margin-bottom: .9rem; }
  .footer-col ul li { margin-bottom: .5rem; }
  .footer-col ul li a { font-size: .78rem; min-height: 40px; line-height: 40px; }
  .footer-bottom { padding: 1rem 1.5rem; font-size: .58rem; }
  .social-btn { min-width: 40px; min-height: 40px; }

  /* Modal — bottom sheet style on mobile */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-box {
    border-radius: 16px 16px 0 0;
    max-height: 92svh;
    animation: modalSlideUp .3s cubic-bezier(.34,1.18,.64,1);
    padding-bottom: var(--safe-area-bottom);
    width: 100%;
    max-width: 100%;
  }
  .modal-header { padding: 1.5rem 1.5rem 0; }
  .modal-title { font-size: 1rem; }
  .modal-subtitle { font-size: .75rem; }
  .modal-body { padding: 1.2rem 1.5rem 1.5rem; }
  .form-label { font-size: .58rem; margin-bottom: .4rem; }
  .form-input, .form-select, .form-textarea {
    padding: .7rem .85rem;
    font-size: 16px;
    border-radius: 4px;
  }
  .form-row { grid-template-columns: 1fr; gap: .8rem; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .slot-btn { padding: .48rem .3rem; font-size: .64rem; min-height: 44px; }
  .booking-summary { padding: .8rem; }
  .summary-row { font-size: .76rem; padding: .2rem 0; }

  /* Featured card */
  .featured-card {
    width: 280px;
    animation: none; /* Disable float animation — saves battery on mobile */
  }
  .featured-thumb { height: 150px; }
  .featured-body { padding: 1rem 1.1rem; }
  .featured-name { font-size: .9rem; }
  .featured-tag { font-size: .56rem; }
  .featured-rating-badge { padding: .24rem .5rem; }
  .frb-score { font-size: .76rem; }
  .featured-slot { padding: .65rem .85rem; margin-bottom: .8rem; border-radius: 6px; }
  .fslot-label { font-size: .52rem; margin-bottom: .2rem; }
  .fslot-time { font-size: .8rem; }
  .fslot-detail { font-size: .62rem; }
  .fslot-price { font-size: 1rem; }
  .featured-book-btn { padding: .6rem; font-size: .68rem; }

  /* Toast — center bottom on mobile */
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + var(--safe-area-bottom));
    align-items: center;
  }
  .toast { min-width: 0; max-width: 100%; width: 100%; padding: .8rem 1rem; }
  .toast-title { font-size: .78rem; }
  .toast-msg { font-size: .68rem; }

  /* Back to top — hide on mobile to avoid crowding */
  .back-to-top { display: none; }
  .screen-label { display: none; }
}

/* ── 480px: Mobile medium ── */
@media (max-width: 480px) {
  .navbar-inner { padding: 0 .8rem; gap: 1rem; }
  .navbar-logo { font-size: .95rem; }
  .navbar-logo-img { width: 28px; height: 28px; }
  .navbar-actions { gap: .4rem; }
  .theme-toggle { width: 28px; height: 28px; font-size: .7rem; min-width: 36px; min-height: 36px; }
  .btn { padding: .42rem .9rem; font-size: .64rem; }
  .btn-xs { padding: .3rem .7rem; font-size: .58rem; }

  .hero { padding: 70px 3% 50px; }
  .hero h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: .8rem; }
  .hero-eyebrow { font-size: .54rem; padding: .28rem .75rem; margin-bottom: 1rem; }
  .hero-desc { font-size: .82rem; margin-bottom: 1.3rem; line-height: 1.7; }
  .hero-search { margin-bottom: 1.2rem; }
  .hero-search input { padding: .75rem .85rem; }
  .hero-search select { padding: .75rem .85rem; }
  .hs-btn { min-height: 44px; font-size: .68rem; padding: 0 1rem; }
  .trust-row { gap: .6rem; flex-direction: column; align-items: center; }
  .trust-item { font-size: .54rem; }

  .section { padding: 50px 3%; }
  .section-header { margin-bottom: 1.6rem; }
  .section-header h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: .4rem; }
  .section-header p { font-size: .8rem; }
  .eyebrow-tag { font-size: .54rem; padding: .24rem .75rem; margin-bottom: .8rem; }

  .stats-band { padding: 1.5rem 3%; }
  .stat-item { padding: .7rem .5rem; }
  .stat-icon { width: 32px; height: 32px; margin: 0 auto .5rem; font-size: .75rem; }
  .stat-num { font-size: 1.4rem; margin-bottom: .2rem; }
  .stat-label { font-size: .54rem; }

  .cat-grid { grid-template-columns: repeat(2,1fr); gap: .6rem; }
  .cat-card { padding: 1rem .6rem; }
  .cat-icon { width: 44px; height: 44px; margin: 0 auto .7rem; }
  .cat-name { font-size: .68rem; }

  .pcard-thumb { height: 160px; }
  .pcard-body { padding: .8rem .9rem; }
  .pcard-cat { font-size: .5rem; margin-bottom: .25rem; }
  .pcard-name { font-size: .9rem; margin-bottom: .15rem; }
  .pcard-loc { font-size: .62rem; margin-bottom: .6rem; }
  .pcard-footer { padding-top: .6rem; font-size: .7rem; }
  .pcard-rating { font-size: .68rem; }
  .pcard-price { font-size: .6rem; padding: .2rem .6rem; }

  .steps-container { gap: 1rem; }
  .step { padding: 0 .3rem; }
  .step-num { width: 48px; height: 48px; font-size: 1.1rem; margin: 0 auto .8rem; }
  .step-title { font-size: .8rem; margin-bottom: .3rem; }
  .step-desc { font-size: .7rem; line-height: 1.5; }

  .tcard { padding: 1rem; }
  .tcard-stars { font-size: .7rem; margin-bottom: .6rem; }
  .tcard-text { font-size: .76rem; margin-bottom: .8rem; }
  .tcard-avatar { width: 32px; height: 32px; }
  .tcard-name { font-size: .72rem; }

  .faq-question { padding: .95rem 0; font-size: .82rem; gap: .8rem; }
  .faq-icon { width: 22px; height: 22px; font-size: .7rem; }
  .faq-answer-inner { padding: 0 0 1rem; font-size: .76rem; }

  .cta-banner { padding: 60px 3%; }
  .cta-inner h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: .6rem; }
  .cta-inner p { font-size: .82rem; margin-bottom: 1.4rem; }
  .cta-actions { gap: .6rem; }

  .footer-inner { padding: 3rem 1.5rem 1.5rem; gap: 1.5rem; }
  .footer-logo { font-size: 1rem; margin-bottom: .6rem; }
  .footer-tagline { font-size: .74rem; margin-bottom: .9rem; }
  .footer-col h4 { font-size: .54rem; margin-bottom: .8rem; }
  .footer-col ul li { margin-bottom: .4rem; }
  .footer-col ul li a { font-size: .72rem; }
  .footer-bottom { padding: .9rem 1rem; font-size: .54rem; gap: .6rem; }
  .footer-socials { gap: .5rem; }

  .modal-body { padding: 1rem 1.2rem; }
  .modal-header { padding: 1.2rem 1.2rem 0; gap: .8rem; }
  .modal-title { font-size: .95rem; }
  .form-label { font-size: .54rem; }
  .form-input, .form-select, .form-textarea { padding: .62rem .75rem; }
  .form-select { background-position: right .75rem center; padding-right: 2rem; }
  .form-textarea { min-height: 80px; }
  .slots-grid { grid-template-columns: repeat(2,1fr); gap: .4rem; }
  .slot-btn { padding: .42rem .25rem; font-size: .6rem; border-radius: 3px; }
  .booking-summary { padding: .7rem; }
  .summary-row { font-size: .7rem; padding: .18rem 0; }

  .featured-card { width: 260px; }
  .featured-thumb { height: 130px; }
  .featured-body { padding: .9rem 1rem; }
  .featured-name { font-size: .82rem; }
  .featured-tag { font-size: .52rem; }
  .featured-slot { padding: .55rem .75rem; }
  .featured-book-btn { padding: .55rem; font-size: .64rem; }
  .featured-rating-badge { padding: .2rem .45rem; }
  .frb-score { font-size: .68rem; }
}

/* ── 375px: Mobile small (iPhone SE / Galaxy A) ── */
@media (max-width: 375px) {
  .navbar-logo { font-size: .85rem; }
  .navbar-logo-img { width: 24px; height: 24px; }
  .btn { padding: .38rem .8rem; font-size: .6rem; }

  .hero { padding: 65px 3% 48px; }
  .hero h1 { font-size: clamp(1.2rem, 4vw, 1.8rem); margin-bottom: .7rem; }
  .hero-eyebrow { font-size: .5rem; padding: .24rem .65rem; }
  .hero-desc { font-size: .76rem; margin-bottom: 1.1rem; }
  .hero-search input { padding: .7rem .75rem; }
  .hero-search select { padding: .7rem .75rem; }
  .hs-btn { font-size: .64rem; min-height: 40px; }

  .section-header h2 { font-size: 1.2rem; margin-bottom: .3rem; }
  .section { padding: 45px 3%; }

  /* On tiny screens, 2-col stats is too tight, go single */
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-md); }
  .stat-item { padding: .6rem .4rem; }
  .stat-icon { width: 28px; height: 28px; font-size: .65rem; }
  .stat-num { font-size: 1.2rem; }

  /* Single column cats on very small screens */
  .cat-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .cat-icon { width: 40px; height: 40px; margin: 0 auto .6rem; }
  .cat-name { font-size: .64rem; }

  .steps-container { gap: .8rem; }
  .step-num { width: 44px; height: 44px; font-size: 1rem; }

  .cta-banner { padding: 50px 3%; }
  .cta-banner::before { font-size: 14rem; }
  .modal-box { border-radius: 12px 12px 0 0; }
  .form-input, .form-select { padding: .55rem .65rem; font-size: 16px; }
  .featured-card { width: 240px; }

  /* Shrink mobile drawer text */
  .mobile-nav-drawer a { font-size: .66rem; }
}

/* ── 320px: Extreme small devices (Galaxy Fold closed, etc.) ── */
@media (max-width: 320px) {
  .navbar-inner { padding: 0 .6rem; }
  .navbar-logo { font-size: .8rem; gap: .2rem; }
  .navbar-logo-img { width: 22px; height: 22px; }
  .hero { padding: 64px 2.5% 40px; }
  .hero h1 { font-size: 1.1rem; }
  .hero-eyebrow { font-size: .46rem; }
  .hero-desc { font-size: .72rem; }
  .section { padding: 40px 2.5%; }
  .section-header h2 { font-size: 1.1rem; }
  .cat-grid { grid-template-columns: 1fr; gap: .6rem; }
  .cat-card { display: flex; align-items: center; text-align: left; padding: .8rem 1rem; gap: .8rem; min-height: 60px; }
  .cat-icon { width: 38px; height: 38px; margin: 0; flex-shrink: 0; }
  .cat-name { font-size: .7rem; }
  .stats-inner { grid-template-columns: 1fr; }
  .pcard-thumb { height: 140px; }
  .modal-box { max-width: 96vw; }
  .slots-grid { grid-template-columns: repeat(2,1fr); }
  .featured-card { width: 220px; }
}

/* ── LANDSCAPE ORIENTATION FIX ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 75px 5% 40px;
  }
  .hero h1 { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: .6rem; }
  .hero-desc { display: none; } /* Hide on tiny landscape to save space */
  .hero-dots { display: none; }
  .hero-bottom-strip { display: none; }
  .modal-box { max-height: 85svh; }
}

/* ── PRINT ── */
@media print {
  .navbar, .hero-dots, .back-to-top, .screen-label,
  .toast-container, .modal-overlay, .navbar-hamburger,
  .mobile-nav-drawer { display: none !important; }
  .hero { min-height: auto; padding: 2rem 5%; }
  .hero-slides, .hero-overlay, .hero-grain { display: none; }
  .hero-center { color: #000; }
  .hero h1, .hero-desc { color: #000; text-shadow: none; }
  body { background: #fff; color: #000; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .featured-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── HIGH CONTRAST MODE ── */
@media (forced-colors: active) {
  .btn-gold, .hs-btn { forced-color-adjust: none; }
  .navbar { border-bottom: 1px solid ButtonText; }
}