/* ═══════════════════════════════════════════════════════════════
   MSAFI LAUNDRY — SCOUT-INSPIRED DESIGN SYSTEM
   Deep purple · Gold · Cinematic restraint
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────── */
:root {
  /* Color — core palette */
  --deep:        #1A0F2E;   /* near-black purple — page background */
  --dark:        #2D1B4E;   /* dark purple — raised sections */
  --dark-2:      #241640;   /* intermediate dark surface */
  --primary:     #7B2D8B;   /* brand purple — actions, links */
  --primary-hi:  #9B4AAB;   /* lighter brand purple — hover */
  --gold:        #C9A227;   /* brand gold — primary CTA, highlights */
  --gold-hi:     #E0BC45;   /* lighter gold — hover */
  --cream:       #F5F0E8;   /* warm off-white — text on dark */
  --teal:        #4ECDC4;   /* fresh accent — tags, secondary CTA */
  --muted:       #9B91B0;   /* muted purple-gray — body text on dark */
  --faint:       #6E6386;   /* fainter text — captions */

  /* Functional */
  --success:     #4ADE80;
  --danger:      #F87171;
  --surface:     rgba(255, 255, 255, 0.04);
  --surface-2:   rgba(255, 255, 255, 0.07);
  --line:        rgba(255, 255, 255, 0.09);
  --line-soft:   rgba(255, 255, 255, 0.05);

  /* Gradients */
  --grad-hero:   linear-gradient(165deg, #120A20 0%, #1A0F2E 45%, #2D1B4E 100%);
  --grad-dark:   linear-gradient(180deg, #1A0F2E 0%, #241640 100%);
  --grad-gold:   linear-gradient(135deg, #C9A227 0%, #E0BC45 55%, #C9A227 100%);
  --grad-purple: linear-gradient(135deg, #7B2D8B 0%, #9B4AAB 100%);
  --grad-fade:   linear-gradient(to top, rgba(18, 10, 32, 0.92) 0%, rgba(18, 10, 32, 0) 100%);

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadow */
  --sh-md:  0 12px 40px rgba(0, 0, 0, 0.35);
  --sh-lg:  0 24px 70px rgba(0, 0, 0, 0.45);
  --sh-gold: 0 10px 34px rgba(201, 162, 39, 0.35);

  /* Rhythm */
  --section-pad: clamp(5rem, 12vw, 9.5rem);
  --container-w: 1200px;
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--deep);
  color: var(--cream);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary); color: var(--cream); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ── Layout Primitives ───────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container-wide { max-width: 1400px; }
.section { padding-block: var(--section-pad); position: relative; }
.section-dark { background: var(--grad-dark); }
.section-deep { background: var(--deep); }
.section-line-top { border-top: 1px solid var(--line-soft); }

/* ── Type Utilities ──────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); opacity: 0.6; }
.eyebrow.center::after { content: ''; width: 2rem; height: 1px; background: var(--gold); opacity: 0.6; }

.display-hero {
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.display-1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; }
.display-2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.85; max-width: 56ch; }
.lead.center { margin-inline: auto; }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--muted); }
.text-faint { color: var(--faint); }
.text-center { text-align: center; }
.small { font-size: 0.85rem; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05rem 2.4rem;
  border-radius: var(--r-full);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: var(--grad-gold);
  color: #1A0F2E;
  box-shadow: var(--sh-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(201, 162, 39, 0.5); color: #1A0F2E; }
.btn-purple {
  background: var(--grad-purple);
  color: var(--cream);
  box-shadow: 0 10px 34px rgba(123, 45, 139, 0.4);
}
.btn-purple:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(123, 45, 139, 0.55); color: var(--cream); }
.btn-outline {
  border: 1px solid var(--line);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover { border-color: var(--cream); background: var(--surface); transform: translateY(-3px); }
.btn-outline-teal { border: 1px solid var(--teal); color: var(--teal); background: transparent; }
.btn-outline-teal:hover { background: rgba(78, 205, 196, 0.12); transform: translateY(-3px); }
.btn-lg { padding: 1.25rem 3rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* Arrow link — Scout-style "Discover" */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s ease, color 0.3s ease;
}
.arrow-link::after { content: '→'; font-size: 1rem; transition: transform 0.3s ease; }
.arrow-link:hover { gap: 1rem; color: var(--gold-hi); }

/* ── Navigation ──────────────────────────────────── */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(18, 10, 32, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-brand .brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad-purple);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(123, 45, 139, 0.45);
}
.nav-brand em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
  position: relative;
  padding-block: 0.4rem;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 0.7rem 1.7rem;
  font-size: 0.72rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1002;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(18, 10, 32, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1001;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.05rem; }
  .nav-links .nav-cta { font-size: 0.8rem; margin-top: 1rem; }
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--grad-hero);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  animation: kenburns 24s ease-in-out infinite alternate;
  opacity: 0.55;
}
@keyframes kenburns {
  0%   { scale: 1; }
  100% { scale: 1.09; }
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--deep) 4%, rgba(26, 15, 46, 0.55) 38%, rgba(26, 15, 46, 0.35) 70%, rgba(26, 15, 46, 0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(4rem, 10vh, 7rem);
  padding-top: 9rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-hi);
  border-radius: var(--r-full);
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(8px);
}
.hero h1 { max-width: 12ch; margin-bottom: 1.6rem; }
.hero h1 .line-gold { color: var(--gold); display: block; }
.hero .lead { margin-bottom: 2.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.hero-meta .meta-item .meta-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
}
.hero-meta .meta-item .meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 0.3rem;
}
.hero-scroll-hint {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: 2.2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--faint);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (max-width: 700px) { .hero-scroll-hint { display: none; } }

/* ── Story / Editorial Sections ──────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.story-grid.reverse > .story-media { order: 2; }
.story-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.story-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 560px;
  object-fit: cover;
  will-change: transform;
}
.story-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 15, 46, 0.35), transparent 45%);
}
.story-copy h2 { margin-bottom: 1.4rem; }
.story-copy .lead { margin-bottom: 1.6rem; }
.story-points { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.8rem; }
.story-points li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}
.story-points li i { color: var(--gold); margin-top: 0.25rem; font-size: 0.85rem; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid.reverse > .story-media { order: 0; }
}

/* ── Service Cards (Scout vehicle-card treatment) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.service-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid var(--line-soft);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: var(--sh-lg);
}
.service-card .card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .card-media img { transform: scale(1.06); }
.service-card .card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark-2) 2%, transparent 55%);
}
.service-card .card-tag {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  z-index: 2;
  background: rgba(18, 10, 32, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-full);
}
.service-card .card-tag.gold { color: var(--gold-hi); border-color: rgba(201, 162, 39, 0.35); }
.service-card .card-body { padding: 1.6rem 1.8rem 1.9rem; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.service-card .card-price {
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}
.service-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.3rem; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

/* ── Process Gallery (01–05 viewfinder) ──────────── */
.process-section { overflow: hidden; }
.process-head { max-width: 640px; margin-bottom: clamp(3rem, 7vw, 5rem); }
.process-track {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.process-visual {
  position: sticky;
  top: 110px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(ellipse at 40% 30%, #2D1B4E 0%, #120A20 75%);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-lg);
}
.process-visual canvas { width: 100% !important; height: 100% !important; display: block; }
.process-visual .visual-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.process-visual .visual-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.process-visual .visual-caption {
  position: absolute;
  left: 1.4rem; bottom: 1.2rem;
  z-index: 3;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0.45;
  transition: opacity 0.5s ease;
}
.process-step:first-child { padding-top: 0; }
.process-step.active { opacity: 1; }
.process-step .step-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  min-width: 3.2ch;
  font-variant-numeric: tabular-nums;
}
.process-step h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: 0.55rem; }
.process-step p { color: var(--muted); font-size: 0.95rem; max-width: 46ch; }
@media (max-width: 900px) {
  .process-track { grid-template-columns: 1fr; }
  .process-visual { position: relative; top: 0; aspect-ratio: 16 / 10; max-height: 420px; }
  .process-step { opacity: 1; }
}

/* ── Pricing Snapshot ────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 900px;
  margin-inline: auto;
}
.price-card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: clamp(2rem, 4vw, 2.8rem);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, background 0.4s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--line); background: var(--surface-2); }
.price-card.featured {
  background: var(--grad-purple);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(123, 45, 139, 0.4);
}
.price-card .price-badge {
  position: absolute;
  top: -0.8rem; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: #1A0F2E;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.price-card .price-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.price-card.featured .price-name { color: rgba(245, 240, 232, 0.75); }
.price-card .price-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.price-card .price-value small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0.05em; }
.price-card.featured .price-value small { color: rgba(245, 240, 232, 0.7); }
.price-card ul { margin-block: 1.6rem 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.price-card ul li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--muted);
}
.price-card.featured ul li { color: rgba(245, 240, 232, 0.85); }
.price-card ul li i { color: var(--gold); font-size: 0.8rem; margin-top: 0.3rem; }

/* Price table (bedding) */
.price-table-wrap {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 1.1rem 1.5rem;
  background: rgba(201, 162, 39, 0.06);
  border-bottom: 1px solid var(--line-soft);
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.95rem;
}
.price-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--surface); color: var(--cream); }

/* ── Testimonials ────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.testi-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 2rem;
  transition: transform 0.45s ease, border-color 0.4s ease;
}
.testi-card:hover { transform: translateY(-5px); border-color: var(--line); }
.testi-card .stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.2em; margin-bottom: 1.1rem; }
.testi-card blockquote {
  color: var(--cream);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.testi-card .testi-who { font-size: 0.82rem; color: var(--faint); letter-spacing: 0.08em; }
.testi-card .testi-who strong { color: var(--muted); font-weight: 600; }

/* ── CTA Banner ──────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--grad-dark);
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 40%, rgba(123, 45, 139, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
.cta-banner .lead { margin: 0 auto 2.4rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 0.85rem;
}
.cta-contact-row a { color: var(--muted); transition: color 0.3s ease; }
.cta-contact-row a:hover { color: var(--gold); }
.cta-contact-row i { color: var(--gold); margin-right: 0.4rem; }

/* ── Page Hero (inner pages) ─────────────────────── */
.page-hero {
  position: relative;
  padding: clamp(9rem, 18vh, 12rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  background: var(--grad-hero);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 30% 60%, rgba(123, 45, 139, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.page-hero .crumb {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.page-hero .crumb a { color: var(--muted); transition: color 0.3s ease; }
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero .crumb span { margin-inline: 0.5rem; opacity: 0.5; }

/* ── Gallery ─────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.gallery-filters button {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-full);
  padding: 0.6rem 1.4rem;
  transition: all 0.3s ease;
}
.gallery-filters button:hover { color: var(--cream); border-color: var(--line); }
.gallery-filters button.active {
  background: var(--grad-gold);
  border-color: transparent;
  color: #1A0F2E;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 10, 32, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

/* ── Forms ───────────────────────────────────────── */
.form-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(18, 10, 32, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.95rem 1.15rem;
  color: var(--cream);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary-hi);
  box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.25);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239B91B0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.8rem;
}
.field select option { background: var(--dark); color: var(--cream); }
.field .validation-message { color: var(--danger); font-size: 0.8rem; margin-top: 0.4rem; display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* Choice chips (service selection etc.) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.9rem; }
.choice-chip {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(18, 10, 32, 0.45);
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  text-align: left;
  width: 100%;
}
.choice-chip:hover { border-color: var(--primary-hi); transform: translateY(-2px); }
.choice-chip.selected {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  box-shadow: 0 0 0 1px var(--gold);
}
.choice-chip .chip-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--cream); display: block; margin-bottom: 0.25rem; }
.choice-chip .chip-sub { font-size: 0.78rem; color: var(--muted); display: block; }
.choice-chip .chip-price { font-size: 0.8rem; color: var(--gold); font-weight: 600; display: block; margin-top: 0.4rem; }

/* Booking stepper */
.booking-shell { max-width: 780px; margin-inline: auto; }
.booking-steps-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.6rem;
  flex-wrap: wrap;
}
.booking-steps-bar .bs-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.3s ease;
}
.booking-steps-bar .bs-step .bs-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}
.booking-steps-bar .bs-step.active { color: var(--cream); }
.booking-steps-bar .bs-step.active .bs-dot { background: var(--grad-gold); border-color: transparent; color: #1A0F2E; }
.booking-steps-bar .bs-step.done { color: var(--muted); }
.booking-steps-bar .bs-step.done .bs-dot { border-color: var(--gold); color: var(--gold); }
.booking-steps-bar .bs-line { flex: 1; min-width: 12px; height: 1px; background: var(--line-soft); }
.booking-nav { display: flex; gap: 1rem; justify-content: space-between; margin-top: 2.2rem; }
.booking-summary {
  border: 1px solid rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.06);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.8rem;
}
.booking-summary h4 { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.booking-summary .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding-block: 0.35rem;
}
.booking-summary .summary-row strong { color: var(--cream); font-weight: 600; text-align: right; }
.booking-summary .summary-total {
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  margin-top: 0.7rem;
  padding-top: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
}

/* Success panel */
.success-panel { text-align: center; padding: 2rem 1rem; }
.success-panel .success-icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
}
.success-panel h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.success-panel p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.6rem; }
.success-panel .success-detail {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 1.4rem 1.6rem;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 2rem;
}
.success-panel .success-detail .summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); padding-block: 0.35rem; }
.success-panel .success-detail .summary-row strong { color: var(--cream); }

/* Alert */
.alert-info {
  border: 1px solid rgba(78, 205, 196, 0.35);
  background: rgba(78, 205, 196, 0.08);
  color: var(--teal);
  border-radius: var(--r-md);
  padding: 1rem 1.3rem;
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
}
.alert-error {
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
  color: var(--danger);
  border-radius: var(--r-md);
  padding: 1rem 1.3rem;
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
}

/* ── Contact / Info Lists ────────────────────────── */
.info-list { display: flex; flex-direction: column; gap: 0.8rem; }
.info-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 1.15rem 1.3rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.info-list li:hover { border-color: var(--line); background: var(--surface-2); }
.info-list li i { color: var(--gold); font-size: 1.05rem; margin-top: 0.2rem; width: 1.3rem; text-align: center; }
.info-list li .info-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 0.2rem; }
.info-list li a, .info-list li span.val { color: var(--cream); font-size: 0.95rem; }
.info-list li a:hover { color: var(--gold); }
.info-list li .sub { color: var(--muted); font-size: 0.85rem; }

.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-md);
}
.map-frame iframe { display: block; width: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ── Accordion (FAQ / Privacy) ───────────────────── */
.accordion { display: flex; flex-direction: column; gap: 0.8rem; }
.accordion-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.accordion-item.open { border-color: var(--line); }
.accordion-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--cream);
  text-align: left;
  transition: color 0.3s ease;
}
.accordion-head:hover { color: var(--gold-hi); }
.accordion-head .acc-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--gold);
  transition: transform 0.35s ease, background 0.3s ease;
}
.accordion-item.open .acc-icon { transform: rotate(45deg); background: rgba(201, 162, 39, 0.12); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.accordion-item.open .accordion-body { max-height: 1200px; }
.accordion-body .accordion-content {
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}
.accordion-body .accordion-content ul { padding-left: 1.1rem; }
.accordion-body .accordion-content ul li { list-style: disc; margin-bottom: 0.4rem; }
.accordion-body .accordion-content a { color: var(--gold); }
.accordion-body .accordion-content a:hover { color: var(--gold-hi); }
.accordion-body .accordion-content p { margin-bottom: 0.8rem; }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: #120A20;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line-soft);
}
.footer-cta h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer-grid h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; transition: color 0.3s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid .footer-about { color: var(--faint); font-size: 0.88rem; line-height: 1.8; max-width: 34ch; margin-top: 0.9rem; }
.footer-grid .footer-contact li { color: var(--muted); font-size: 0.88rem; display: flex; gap: 0.6rem; }
.footer-grid .footer-contact i { color: var(--gold); margin-top: 0.25rem; font-size: 0.8rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--grad-gold); border-color: transparent; color: #1A0F2E; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--faint);
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Sticky Book CTA (mobile) ────────────────────── */
.sticky-book-cta {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 900;
  display: none;
  justify-content: center;
  transform: translateY(140%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-book-cta.visible { transform: translateY(0); }
.sticky-book-cta .btn { width: 100%; max-width: 420px; box-shadow: 0 14px 44px rgba(201, 162, 39, 0.5); }
@media (max-width: 900px) { .sticky-book-cta { display: flex; } }

/* ── Reconnect Modal (themed) ────────────────────── */
#components-reconnect-modal {
  background: var(--dark-2);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
#components-reconnect-modal::backdrop { background: rgba(10, 5, 18, 0.75); backdrop-filter: blur(6px); }
#components-reconnect-modal button {
  background: var(--grad-gold);
  color: #1A0F2E;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.6rem 1.8rem;
  border-radius: var(--r-full);
}
.components-rejoining-animation div { border-color: var(--gold) !important; }

/* ── Blazor error UI ─────────────────────────────── */
#blazor-error-ui {
  background: #120A20;
  color: var(--cream);
  border-top: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  display: none;
  font-size: 0.9rem;
}
#blazor-error-ui .reload { color: var(--gold); margin-right: 1rem; }
#blazor-error-ui .dismiss { color: var(--muted); cursor: pointer; margin-left: 1rem; }

/* ── Reveal Animations (JS-driven) ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Grain ───────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── Misc ────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.center-narrow { max-width: 720px; margin-inline: auto; text-align: center; }
.divider-gold {
  width: 56px; height: 2px;
  background: var(--grad-gold);
  margin-block: 1.4rem;
  border-radius: 2px;
}
.center-narrow .divider-gold { margin-inline: auto; }
