/* ============================================================
   VIVARDI CLINICS — Luxury Medical Aesthetic Design System
   Brown + Gold glassmorphism theme. Mobile-first.
   Author: Cybergate Malaysia
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brown palette */
  --brown-900: #211109;
  --brown-800: #2b1b14;
  --brown-700: #3d2a1e;
  --brown-600: #523a2a;
  --brown-500: #6b4f3a;
  --brown-400: #8a6c52;

  /* Gold palette */
  --gold-600: #b8893f;
  --gold-500: #c8a45d;
  --gold-400: #d4af37;
  --gold-300: #e3c884;
  --gold-glow: rgba(212, 175, 55, 0.35);

  /* Warm neutrals */
  --ivory: #fbf8f2;
  --beige: #f3ebde;
  --beige-deep: #ece0cd;
  --sand: #e7d9c3;

  /* Text */
  --ink: #2b1b14;
  --ink-soft: #5a4636;
  --ink-mute: #8a7a68;
  --on-dark: #f6efe3;
  --on-dark-soft: #cdbca5;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-bg-strong: rgba(255, 255, 255, 0.16);
  --glass-bg-light: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.28);
  --glass-border-gold: rgba(212, 175, 55, 0.45);

  /* Shadows */
  --shadow-sm: 0 4px 18px rgba(43, 27, 20, 0.08);
  --shadow-md: 0 14px 40px rgba(43, 27, 20, 0.12);
  --shadow-lg: 0 30px 70px rgba(43, 27, 20, 0.18);
  --shadow-gold: 0 16px 40px rgba(184, 137, 63, 0.28);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #e3c884 0%, #c8a45d 45%, #b8893f 100%);
  --grad-brown: linear-gradient(150deg, #3d2a1e 0%, #2b1b14 60%, #211109 100%);
  --grad-ivory: linear-gradient(180deg, #fbf8f2 0%, #f3ebde 100%);

  /* Type */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Jost", "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;
  --sp-4: 2rem;    --sp-5: 3rem;   --sp-6: 4rem;
  --sp-7: 6rem;    --sp-8: 8rem;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-2);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 var(--sp-2); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--grad-gold);
}
.text-gold { color: var(--gold-600); }
.serif-italic { font-style: italic; font-family: var(--font-serif); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.4rem;
}
.section { padding: clamp(3.5rem, 9vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--brown { background: var(--grad-brown); color: var(--on-dark); }
.section--brown h1, .section--brown h2, .section--brown h3, .section--brown h4 { color: var(--on-dark); }
.section--ivory { background: var(--grad-ivory); }
.section--beige { background: var(--beige); }
.section-head { max-width: 760px; margin: 0 auto clamp(2rem,5vw,3.5rem); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.lede { font-size: 1.15rem; color: var(--ink-mute); }
.section--brown .lede { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold {
  background: var(--grad-gold);
  color: var(--brown-900);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(184,137,63,.42); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(43,27,20,.25);
}
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-600); transform: translateY(-3px); }
.section--brown .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.3); }
.section--brown .btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }
.btn--glass {
  background: var(--glass-bg-strong);
  color: var(--on-dark);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 14px 34px rgba(37,211,102,.32); }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(37,211,102,.42); }
.btn--sm { padding: .7rem 1.4rem; font-size: .82rem; }

/* ---------- Glass panel ---------- */
.glass {
  background: var(--glass-bg-light);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.glass-dark {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.topbar {
  background: var(--brown-900);
  color: var(--on-dark-soft);
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .55rem; padding-bottom: .55rem;
}
.topbar a:hover { color: var(--gold-300); }
.topbar__info { display: flex; align-items: center; gap: 1.6rem; }
.topbar__info span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__cta { color: var(--gold-300); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(43,27,20,.08);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(251,248,242,.94); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .7rem; padding-bottom: .7rem;
}
.nav__logo img { height: 54px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: .3rem; list-style: none; }
.nav__menu > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .7rem .95rem; font-size: .94rem; font-weight: 500;
  color: var(--ink); border-radius: 100px;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--gold-600); }
.nav__link .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__item:hover .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 720px;
  background: rgba(251,248,242,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1.8rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mega--men { min-width: 560px; grid-template-columns: repeat(2,1fr); left: auto; right: 0; transform: translateX(0) translateY(10px); }
.nav__item:hover .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega--men.mega { left: auto; right: 0; }
.nav__item:hover .mega--men { transform: translateX(0) translateY(0); }
.mega__col h5 {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
  margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(212,175,55,.25);
}
.mega__col a {
  display: block; padding: .35rem 0; font-size: .9rem; color: var(--ink-soft);
  border-radius: 8px; transition: color .25s, padding .25s;
}
.mega__col a:hover { color: var(--gold-600); padding-left: .35rem; }

.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--brown-800); border: none; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--gold-300); transform: translate(-50%,-50%); transition: .3s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle.open span { background: transparent; }
.nav__toggle.open span::before { top: 0; transform: translate(-50%,-50%) rotate(45deg); }
.nav__toggle.open span::after { top: 0; transform: translate(-50%,-50%) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: var(--grad-brown); overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: .38; transform: scale(1.1);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 70% 30%, rgba(212,175,55,.18), transparent 55%),
              linear-gradient(180deg, rgba(33,17,9,.55), rgba(33,17,9,.85));
}
.hero__inner { padding: 7rem 0 5rem; max-width: 820px; }
.hero h1 { color: var(--on-dark); margin-bottom: 1.4rem; }
.hero__lede { font-size: 1.25rem; color: var(--on-dark-soft); max-width: 620px; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.6rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .86rem; color: var(--on-dark-soft);
}
.hero__badge svg { width: 20px; height: 20px; color: var(--gold-400); flex: none; }

/* floating orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: .5; }
.orb--1 { width: 380px; height: 380px; background: rgba(184,137,63,.45); top: -80px; right: -60px; }
.orb--2 { width: 300px; height: 300px; background: rgba(82,58,42,.6); bottom: -100px; left: -80px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.stat {
  text-align: center; padding: 2rem 1rem; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat__num { font-family: var(--font-serif); font-size: clamp(2.2rem,4vw,3rem); color: var(--gold-300); line-height: 1; }
.stat__label { font-weight: 600; color: var(--on-dark); margin-top: .6rem; font-size: .98rem; }
.stat__desc { font-size: .82rem; color: var(--on-dark-soft); margin-top: .4rem; }

/* ============================================================
   CARDS / GRID
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }

.card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43,27,20,.06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(33,17,9,.7); color: var(--gold-300);
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 100px; backdrop-filter: blur(6px);
}
.card__body { padding: 1.5rem 1.6rem 1.7rem; }
.card__body h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card__body p { font-size: .92rem; color: var(--ink-mute); margin-bottom: 1rem; }
.card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-600);
}
.card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

/* Service tile (compact) */
.tile {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.5rem; border-radius: var(--radius); background: #fff;
  border: 1px solid rgba(43,27,20,.07); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  min-height: 150px;
}
.tile:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--glass-border-gold); }
.tile__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--beige); color: var(--gold-600); margin-bottom: 1rem;
}
.tile__icon svg { width: 24px; height: 24px; }
.tile h4 { margin-bottom: .5rem; font-size: 1.18rem; }
.tile .card__link { margin-top: .8rem; }

/* ---------- Tabs (services) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.tab {
  padding: .65rem 1.3rem; border-radius: 100px; font-size: .88rem; font-weight: 600;
  background: #fff; border: 1px solid rgba(43,27,20,.12); color: var(--ink-soft);
  transition: .35s var(--ease);
}
.tab:hover { border-color: var(--gold-500); color: var(--gold-600); }
.tab.active { background: var(--grad-brown); color: var(--on-dark); border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .6s var(--ease); }

/* ============================================================
   SPLIT / FEATURE
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split__media--stack img:first-child { aspect-ratio: 3/4; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.media-frame::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg); pointer-events: none;
}
.floating-card {
  position: absolute; bottom: -28px; right: -22px; z-index: 3;
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: var(--glass-bg-light); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md); max-width: 250px;
}
.floating-card strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-600); }
.floating-card span { font-size: .82rem; color: var(--ink-mute); }

.check-list { list-style: none; display: grid; gap: .9rem; margin: 1.6rem 0; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 2px; }
.section--brown .check-list svg { color: var(--gold-400); }

/* ============================================================
   PROCEDURE STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1.2rem; counter-reset: step; }
.step {
  position: relative; padding: 2.2rem 1.4rem 1.6rem; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(43,27,20,.07); box-shadow: var(--shadow-sm);
  text-align: center;
}
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-gold); color: var(--brown-900);
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}
.step h4 { font-size: 1.05rem; margin: .4rem 0 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.5rem; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi {
  scroll-snap-align: center; flex: 0 0 min(420px, 86%);
  padding: 2.2rem; border-radius: var(--radius-lg);
  background: var(--glass-bg-light); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.testi__stars { color: var(--gold-400); letter-spacing: .15em; margin-bottom: 1rem; }
.testi__quote { font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; color: var(--ink); line-height: 1.5; }
.testi__author { margin-top: 1.3rem; font-weight: 600; color: var(--ink); }
.testi__author span { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-mute); }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(43,27,20,.12); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink);
}
.faq__q .icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); color: var(--gold-600); transition: .35s var(--ease); }
.faq__item.open .faq__q .icon { background: var(--grad-gold); color: var(--brown-900); transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { padding: 0 0 1.4rem; color: var(--ink-mute); font-size: .98rem; margin: 0; }
.section--brown .faq__item { border-color: rgba(255,255,255,.14); }
.section--brown .faq__q { color: var(--on-dark); }
.section--brown .faq__a p { color: var(--on-dark-soft); }
.section--brown .faq__q .icon { background: rgba(255,255,255,.1); color: var(--gold-300); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.5rem,6vw,4.5rem); text-align: center; background: var(--grad-brown); color: var(--on-dark); }
.cta-band::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--gold-glow); filter: blur(80px); top: -120px; left: -60px; }
.cta-band h2 { color: var(--on-dark); }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--on-dark-soft); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs span { opacity: .6; }

/* ============================================================
   ARTICLE / BLOG
   ============================================================ */
.article { max-width: 760px; margin: 0 auto; }
.article p { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.article h2 { margin-top: 2.6rem; }
.article h3 { margin-top: 2rem; }
.article ul, .article ol { margin: 0 0 1.6rem; padding-left: 1.3rem; }
.article li { margin-bottom: .6rem; }
.article a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--brown-700); }
.article img { border-radius: var(--radius); margin: 1.8rem 0; box-shadow: var(--shadow-sm); }
.article table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .92rem; }
.article th, .article td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid rgba(43,27,20,.1); }
.article th { background: var(--beige); font-family: var(--font-sans); font-weight: 700; color: var(--ink); }
.pull-quote {
  margin: 2.4rem 0; padding: 1.8rem 2rem; border-left: 4px solid var(--gold-500);
  background: var(--beige); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; color: var(--ink);
}
.callout {
  margin: 2rem 0; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(184,137,63,.06));
  border: 1px solid var(--glass-border-gold);
}
.callout h4 { color: var(--gold-600); margin-bottom: .5rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--on-dark-soft); font-size: .88rem; }
.post-meta .dot { opacity: .5; }
.author-card { display: flex; gap: 1.2rem; align-items: center; padding: 1.6rem; border-radius: var(--radius); background: var(--beige); margin: 2.5rem auto 0; max-width: 760px; }
.author-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-400); }
.author-card strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); }
.author-card span { font-size: .85rem; color: var(--ink-mute); }

/* Blog index filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.4rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid rgba(43,27,20,.1); }
.info-row svg { width: 24px; height: 24px; color: var(--gold-600); flex: none; }
.info-row strong { display: block; color: var(--ink); }
.info-row a, .info-row span { color: var(--ink-mute); font-size: .95rem; }
.info-row a:hover { color: var(--gold-600); }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .9rem 1.1rem; border-radius: 14px; font-family: inherit; font-size: .95rem;
  border: 1px solid rgba(43,27,20,.15); background: #fff; color: var(--ink); transition: border-color .3s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .7rem 0; border-bottom: 1px solid rgba(43,27,20,.08); font-size: .95rem; }
.hours-table td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--glass-border); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--brown-900); color: var(--on-dark-soft); padding: clamp(3rem,6vw,4.5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid h5 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 1.2rem; }
.footer-grid a { display: block; padding: .35rem 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-brand img { height: 56px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-soc { display: flex; gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.footer-soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: .3s var(--ease); }
.footer-soc a:hover { background: var(--grad-gold); color: var(--brown-900); transform: translateY(-3px); }
.footer-soc svg { width: 17px; height: 17px; }
.footer-hours td { padding: .25rem 0; font-size: .85rem; }
.footer-hours td:last-child { text-align: right; color: var(--on-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.footer-bottom a:hover { color: var(--gold-300); }

/* ============================================================
   STICKY WHATSAPP / FLOATING CTA
   ============================================================ */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 950; display: flex; flex-direction: column; gap: .7rem; }
.float-btn {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: transform .35s var(--ease); position: relative;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn--wa { background: #25d366; color: #fff; }
.float-btn--call { background: var(--grad-gold); color: var(--brown-900); }
.float-btn--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   ANIMATION HELPERS (GSAP-driven; CSS fallback)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); }
.no-js .reveal, .reveal.is-in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.spin-line { height: 1px; background: var(--grad-gold); transform-origin: left; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega { min-width: 560px; grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .topbar__info span.hide-sm { display: none; }

  /* Mobile nav */
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 86vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--brown-900); padding: 6rem 1.6rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: 940;
  }
  .nav__menu.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .nav__menu > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__link { color: var(--on-dark); padding: 1rem 0; justify-content: space-between; width: 100%; }
  .nav__link:hover { color: var(--gold-300); }
  .mega {
    position: static; transform: none; min-width: 0; width: 100%;
    grid-template-columns: 1fr; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; background: transparent; padding: 0 0 1rem; gap: 1rem;
    max-height: 0; overflow: hidden; transition: max-height .45s var(--ease);
  }
  .nav__item.open .mega { max-height: 1400px; }
  .nav__item:hover .mega { transform: none; }
  .mega__col h5 { color: var(--gold-300); }
  .mega__col a { color: var(--on-dark-soft); }
  .mega__col a:hover { color: var(--gold-300); }
  .nav__item:hover .chev { transform: none; }
  .nav__item.open .chev { transform: rotate(180deg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .4s; z-index: 935; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .topbar { display: none; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: .8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero { min-height: 88vh; }
  .hero__inner { padding: 5rem 0 3.5rem; }
  .floating-card { right: 10px; bottom: -20px; }
  .float-cta { right: 12px; bottom: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   v2 UPGRADE — DARK GLASS HEADER (fixed, transparent→solid)
   + CINEMATIC DUAL HERO + CHOOSE YOUR EXPERIENCE
   ============================================================ */

/* ---- Fixed overlay header wrapper ---- */
.site-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
  background: linear-gradient(180deg, rgba(20,10,5,.55), rgba(20,10,5,0));
}
.site-top.scrolled {
  background: rgba(28,16,9,.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(212,175,55,.18);
}

/* topbar transparent at top, hidden on scroll */
.site-top .topbar {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--on-dark-soft);
  transition: max-height .4s var(--ease), opacity .35s var(--ease), padding .4s var(--ease);
  max-height: 60px; overflow: hidden;
}
.site-top.scrolled .topbar { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; border: none; }
.site-top .topbar a:hover { color: var(--gold-300); }

/* header transparent (wrapper handles bg) */
.site-header {
  position: static; background: transparent !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  border-bottom: none !important; box-shadow: none !important;
}
.site-top.scrolled .nav { padding-top: .55rem; padding-bottom: .55rem; }
.nav { transition: padding .4s var(--ease); }

/* logo: white logo reads on dark; keep glow */
.nav__logo img { filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); transition: height .4s var(--ease); }
.site-top.scrolled .nav__logo img { height: 46px; }

/* nav links light on dark */
.nav__link { color: var(--on-dark); }
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--gold-300); }

/* dark mega menu */
.mega {
  background: rgba(28,16,9,.95);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(212,175,55,.28);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.mega__col h5 { color: var(--gold-300); border-bottom-color: rgba(212,175,55,.22); }
.mega__col a { color: var(--on-dark-soft); }
.mega__col a:hover { color: var(--gold-300); }

/* keep mobile menu dark (already), ensure spacing under fixed header */
@media (max-width: 900px) {
  .site-top .topbar { display: none; }
  .nav__menu { padding-top: 6rem; }
}

/* push first-section content clear of the fixed header */
.hero .hero__inner { padding-top: clamp(8rem, 14vh, 10rem) !important; }
main > .section--brown:first-child { padding-top: clamp(8rem, 13vh, 9.5rem) !important; }

/* ============================================================
   CINEMATIC DUAL HERO
   ============================================================ */
.hero-cine {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; background: #1a0d06;
}
.hero-cine__split { position: absolute; inset: 0; z-index: -3; display: grid; grid-template-columns: 1fr 1fr; }
.hero-cine__panel { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.hero-cine__panel::after { content: ""; position: absolute; inset: 0; }
.hero-cine__panel--women { background-position: 60% 30%; }
.hero-cine__panel--women::after { background: linear-gradient(110deg, rgba(26,13,6,.35) 0%, rgba(43,27,20,.55) 60%, rgba(26,13,6,.92) 100%); }
.hero-cine__panel--men { background-position: 50% 25%; filter: saturate(.9); }
.hero-cine__panel--men::after { background: linear-gradient(250deg, rgba(26,13,6,.35) 0%, rgba(43,27,20,.55) 60%, rgba(26,13,6,.92) 100%); }
/* center scrim for text legibility */
.hero-cine::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse 60% 75% at 50% 50%, rgba(20,10,5,.86) 0%, rgba(20,10,5,.55) 45%, rgba(20,10,5,.25) 100%);
}
/* gold seam glow in the middle */
.hero-cine__seam {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: -1; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--gold-400) 35%, var(--gold-300) 50%, var(--gold-400) 65%, transparent);
  box-shadow: 0 0 40px 8px rgba(212,175,55,.35);
  opacity: .55;
}
.hero-cine .particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* gold light wave sweep */
.gold-wave {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 35%, rgba(227,200,132,.16) 48%, rgba(212,175,55,.28) 50%, rgba(227,200,132,.16) 52%, transparent 65%);
  background-size: 250% 100%; background-position: 180% 0;
}

.hero-cine__content { position: relative; text-align: center; max-width: 880px; margin: 0 auto; padding-top: 4rem; }
.hero-medallion {
  width: 116px; height: 116px; margin: 0 auto 1.8rem; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--glass-bg-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212,175,55,.5);
  box-shadow: 0 0 0 6px rgba(212,175,55,.08), 0 14px 40px rgba(0,0,0,.45), inset 0 0 20px rgba(212,175,55,.15);
}
.hero-medallion::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,.25); animation: medallionPulse 3s ease-in-out infinite;
}
@keyframes medallionPulse { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.08); opacity: .2; } }
.hero-medallion img { width: 64px; height: auto; }
.hero-medallion .vmark { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold-300); font-weight: 700; line-height: 1; }

.hero-cine__eyebrow { color: var(--gold-300); justify-content: center; margin-bottom: 1.1rem; }
.hero-cine__title { color: var(--on-dark); font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1.05; margin-bottom: 1.2rem; }
.hero-cine__title .ttl-word { display: inline-block; }
.hero-cine__title .gold { color: transparent; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.hero-cine__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--on-dark-soft); max-width: 640px; margin: 0 auto 2.2rem; }
.hero-cine__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* per-gender side labels (desktop) */
.hero-side {
  position: absolute; bottom: clamp(1.5rem, 4vh, 3rem); z-index: 2; max-width: 270px;
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: rgba(20,10,5,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-side--women { left: clamp(1rem, 4vw, 3.5rem); text-align: left; }
.hero-side--men { right: clamp(1rem, 4vw, 3.5rem); text-align: right; }
.hero-side .tag { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.hero-side h4 { color: var(--on-dark); margin: .35rem 0 .2rem; font-size: 1.15rem; }
.hero-side p { color: var(--on-dark-soft); font-size: .82rem; margin: 0; }
.hero-side a { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; color: var(--gold-300); font-size: .82rem; font-weight: 600; }
.hero-side a svg { width: 15px; height: 15px; }
.hero-side--men a { flex-direction: row-reverse; }

.scroll-hint { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 2; color: var(--on-dark-soft); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.scroll-hint span { width: 1px; height: 34px; background: linear-gradient(var(--gold-400), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity:.3; transform: scaleY(.6); } 50% { opacity:1; transform: scaleY(1); } }

@media (max-width: 900px) {
  .hero-cine__split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hero-side, .scroll-hint { display: none; }
  .hero-cine__content { padding-top: 6rem; }
  .hero-cine__cta { flex-direction: column; }
  .hero-cine__cta .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CHOOSE YOUR EXPERIENCE
   ============================================================ */
.xp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.xp-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px;
  display: flex; align-items: flex-end; isolation: isolate;
  box-shadow: var(--shadow-md); border: 1px solid rgba(212,175,55,.18);
}
.xp-card__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1s var(--ease); }
.xp-card:hover .xp-card__bg { transform: scale(1.06); }
.xp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,13,6,.15) 0%, rgba(26,13,6,.55) 55%, rgba(20,10,5,.92) 100%); }
.xp-card__body { padding: 2.2rem; color: var(--on-dark); width: 100%; }
.xp-card__tag { display: inline-block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; margin-bottom: .6rem; }
.xp-card__body h3 { color: var(--on-dark); font-size: 1.9rem; margin-bottom: .8rem; }
.xp-card__list { list-style: none; display: grid; gap: .5rem; margin: 0 0 1.4rem; }
.xp-card__list li { display: flex; gap: .5rem; align-items: center; color: var(--on-dark-soft); font-size: .92rem; }
.xp-card__list svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; }
@media (max-width: 760px) { .xp-grid { grid-template-columns: 1fr; } .xp-card { min-height: 380px; } }
