/* ============================================================
   ESTER COLOR HAIR — Design System
   hair · color · stylist · Figueres · Des de 1998
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --cream:         #FDFAF5;
  --cream-dark:    #F0EBE1;
  --cream-deeper:  #E5DDD0;
  --espresso:      #1A0E0A;
  --espresso-mid:  #2C1810;
  --text:          #3A2518;
  --text-muted:    #7A6558;
  /* Accent terracota (substitueix l'antic burgundy).
     Conservem els noms --burgundy / --burgundy-dark com a àlies
     perquè la resta del codi segueixi funcionant sense canvis. */
  --terracota:      #B85C4C;
  --terracota-dark: #8E4438;
  --burgundy:       var(--terracota);
  --burgundy-dark:  var(--terracota-dark);
  --gold:           #C4973A;
  --gold-light:     rgba(196,151,58,0.14);
  --border:        rgba(58,37,24,0.10);
  --border-strong: rgba(58,37,24,0.22);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Outfit', system-ui, sans-serif;

  --section-py: clamp(4rem, 8vw, 7.5rem);
  --ease:       cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in:    cubic-bezier(0.32, 0, 1, 0.72);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

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

/* ============================================================
   Accessibility
   ============================================================ */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  background: var(--burgundy); color: var(--cream);
  padding: .5rem 1rem; border-radius: 0 0 .5rem .5rem;
  font-size: .875rem; text-decoration: none;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   Container
   ============================================================ */
.container {
  width: min(1400px, 100% - 3rem);
  margin-inline: auto;
}
.container-narrow {
  width: min(900px, 100% - 3rem);
  margin-inline: auto;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--espresso-mid);
}

.display {
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--burgundy);
}

.heading-xl  { font-size: clamp(2.25rem, 4.5vw, 4rem);   font-weight: 400; letter-spacing: -0.03em; }
.heading-lg  { font-size: clamp(1.75rem, 3.5vw, 3rem);   font-weight: 400; }
.heading-md  { font-size: clamp(1.375rem, 2.5vw, 2rem);  font-weight: 500; }
.heading-sm  { font-size: clamp(1.125rem, 1.8vw, 1.5rem);font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--burgundy);
  opacity: .55;
}

.body-lg  { font-size: 1.0625rem; line-height: 1.8; color: var(--text-muted); }
.body-md  { font-size: .9375rem;  line-height: 1.75; color: var(--text-muted); }
.body-sm  { font-size: .875rem;   line-height: 1.7;  color: var(--text-muted); }

.text-cream  { color: var(--cream); }
.text-muted-light { color: rgba(253,250,245,.6); }

/* ============================================================
   Navigation
   ============================================================ */
.nav-wrapper {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: .75rem 1.375rem;
  background: rgba(253,250,245,.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow:
    0 2px 20px rgba(58,37,24,.07),
    inset 0 1px 0 rgba(255,255,255,.7);
  transition: all .4s var(--ease);
  max-width: 920px;
  width: 100%;
}
.nav-pill.scrolled {
  background: rgba(253,250,245,.97);
  box-shadow: 0 4px 28px rgba(58,37,24,.12), inset 0 1px 0 rgba(255,255,255,.85);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--espresso-mid);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
  flex: 1;
  justify-content: center;
  list-style: none;
}
.nav-links > li > a {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: .375rem .75rem;
  border-radius: 9999px;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--espresso-mid);
  background: var(--cream-dark);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-chevron {
  display: inline-block;
  font-size: .6rem;
  margin-left: .2rem;
  transition: transform .25s var(--ease);
  vertical-align: middle;
}
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + .875rem);
  left: 50%;
  transform: translateX(-50%) translateY(-.375rem);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1.375rem;
  padding: .5rem;
  min-width: 230px;
  box-shadow: 0 20px 48px rgba(58,37,24,.12), inset 0 1px 0 rgba(255,255,255,.85);
  opacity: 0;
  pointer-events: none;
  transition: all .22s var(--ease);
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5625rem .875rem;
  font-size: .8125rem;
  color: var(--text);
  text-decoration: none;
  border-radius: .875rem;
  transition: background .15s;
}
.nav-dropdown-menu li a:hover { background: var(--cream-dark); }
.nav-dropdown-menu li a .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--burgundy);
  opacity: .45;
  flex-shrink: 0;
}

/* CTA button */
.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.125rem;
  background: var(--espresso-mid);
  color: var(--cream);
  border-radius: 9999px;
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .25s var(--ease);
}
.nav-cta:hover {
  background: var(--burgundy);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(140,31,31,.28);
}
.nav-cta:active { transform: scale(.98); }
.nav-cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  font-size: .875rem;
  transition: transform .25s var(--ease);
}
.nav-cta:hover .nav-cta-arrow { transform: translate(2px,-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .25rem;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--espresso-mid);
  transition: all .3s var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(253,250,245,.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-mobile-overlay.open { opacity: 1; pointer-events: all; }
.nav-mobile-overlay a {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 400;
  color: var(--espresso-mid);
  text-decoration: none;
  letter-spacing: -.025em;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: all .4s var(--ease);
}
.nav-mobile-overlay.open a { opacity: 1; transform: translateY(0); }
.nav-mobile-overlay.open a:nth-child(1) { transition-delay: .04s; }
.nav-mobile-overlay.open a:nth-child(2) { transition-delay: .09s; }
.nav-mobile-overlay.open a:nth-child(3) { transition-delay: .14s; }
.nav-mobile-overlay.open a:nth-child(4) { transition-delay: .19s; }
.nav-mobile-overlay.open a:nth-child(5) { transition-delay: .24s; }
.nav-mobile-overlay.open a:nth-child(6) { transition-delay: .29s; }
.nav-mobile-overlay.open a:nth-child(7) { transition-delay: .34s; }
.nav-mobile-overlay a:hover { color: var(--burgundy); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 9999px;
  transition: all .25s var(--ease);
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(.975) translateY(1px); }

.btn-primary {
  padding: .9375rem 2rem;
  background: var(--espresso-mid);
  color: var(--cream);
  box-shadow: 0 2px 10px rgba(58,37,24,.18);
}
.btn-primary:hover {
  background: var(--burgundy);
  box-shadow: 0 5px 18px rgba(140,31,31,.28);
  transform: translateY(-1px);
}

.btn-secondary {
  padding: .9375rem 2rem;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--cream-dark);
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-outline-light {
  padding: .9375rem 2rem;
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(253,250,245,.3);
}
.btn-outline-light:hover {
  background: rgba(253,250,245,.1);
  border-color: rgba(253,250,245,.6);
  transform: translateY(-1px);
}

.btn-gold {
  padding: .9375rem 2rem;
  background: var(--gold);
  color: var(--espresso-mid);
  box-shadow: 0 2px 10px rgba(196,151,58,.25);
}
.btn-gold:hover {
  background: #B8862C;
  box-shadow: 0 5px 18px rgba(196,151,58,.35);
  transform: translateY(-1px);
}

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: transform .25s var(--ease);
}
.btn:hover .btn-icon { transform: translate(2px,-1px); }

/* Inverted on dark backgrounds */
.btn-primary-light {
  padding: .9375rem 2rem;
  background: var(--cream);
  color: var(--espresso-mid);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.btn-primary-light:hover {
  background: var(--gold);
  box-shadow: 0 5px 18px rgba(196,151,58,.3);
  transform: translateY(-1px);
}

/* ============================================================
   Sections
   ============================================================ */
.section        { padding: var(--section-py) 0; }
.section-dark   { background: var(--espresso); color: var(--cream); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: var(--cream); }
.section-warm   { background: var(--cream-dark); }
.section-deeper { background: var(--cream-deeper); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 45fr 55fr;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    calc(var(--section-py) + 5rem)
    4rem
    var(--section-py)
    max(2rem, calc((100vw - 1400px) / 2 + 2.5rem));
  gap: 2rem;
}
.hero-content-inner { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, rgba(253,250,245,.3) 25%, transparent 50%);
  z-index: 1;
}

/* ============================================================
   Editorial Hero (FinancialHero 21st.dev adaptation)
   Two floating cards over subtle grid background
   ============================================================ */
.hero-editorial {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding:
    calc(var(--section-py) + 5rem)
    max(2rem, calc((100vw - 1400px) / 2 + 2.5rem))
    var(--section-py);
  overflow: hidden;
  background: var(--cream);
}

/* Subtle grid pattern */
.hero-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,37,24,0.06) 1px, transparent 1px),
    linear-gradient(to right, rgba(58,37,24,0.06) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Soft vertical fade overlay so grid disappears at edges */
.hero-editorial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    var(--cream) 0%,
    rgba(253,250,245,0.55) 22%,
    rgba(253,250,245,0.55) 78%,
    var(--cream) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-editorial > * { position: relative; z-index: 2; }

.hero-editorial-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Floating cards container */
.hero-cards {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

/*
   Two-layer transform strategy:
   - .hero-card     → entry animation + hover/active transforms (controlled by interactions)
   - .hero-card-inner → infinite idle float (subtle bob + sway), so it composes with the outer transform
   This avoids the entry animation fighting the idle animation, and lets us animate cleanly on hover.
*/
.hero-card {
  --rest-x: 0px;
  --rest-y: 0px;
  --rest-rot: 0deg;
  --rest-scale: 1;
  position: absolute;
  width: clamp(260px, 24vw, 360px);
  aspect-ratio: 3/4;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 36px 72px -18px rgba(58,37,24,0.32),
    0 14px 28px -10px rgba(58,37,24,0.18),
    0 0 0 1px rgba(58,37,24,0.04);
  transform:
    translateX(var(--rest-x))
    translateY(var(--rest-y))
    rotate(var(--rest-rot))
    scale(var(--rest-scale));
  transition:
    transform .8s var(--ease-spring),
    box-shadow .5s var(--ease),
    filter .5s var(--ease),
    opacity .5s var(--ease);
  will-change: transform;
  cursor: pointer;
}

.hero-card-inner {
  width: 100%;
  height: 100%;
  transform: translateY(0);
  will-change: transform;
}

.hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
  will-change: transform;
}

/* Resting positions for each card.
   Using animation-fill-mode: backwards so the entry animation only holds the
   "from" frame during its delay, then releases control back to the static
   transform (which uses --rest-* vars). That way hover/:has() can re-target
   those vars and the transition kicks in smoothly. */
.hero-card--back  {
  --rest-x:  80px;
  --rest-y:  20px;
  --rest-rot: -7deg;
  z-index: 1;
  animation: heroCardBackIn 1.2s var(--ease-spring) .15s backwards;
}
.hero-card--front {
  --rest-x: -80px;
  --rest-y: -20px;
  --rest-rot: 7deg;
  z-index: 2;
  animation: heroCardFrontIn 1.2s var(--ease-spring) 0s backwards;
}

/* Entry animations — fly in from outside, settle at rest position */
@keyframes heroCardFrontIn {
  from {
    opacity: 0;
    transform: translateX(-200px) translateY(20px) rotate(14deg) scale(.92);
  }
  to {
    opacity: 1;
    transform: translateX(var(--rest-x)) translateY(var(--rest-y)) rotate(var(--rest-rot)) scale(var(--rest-scale));
  }
}
@keyframes heroCardBackIn {
  from {
    opacity: 0;
    transform: translateX(200px) translateY(-20px) rotate(-14deg) scale(.92);
  }
  to {
    opacity: 1;
    transform: translateX(var(--rest-x)) translateY(var(--rest-y)) rotate(var(--rest-rot)) scale(var(--rest-scale));
  }
}

/* Idle float — applied on inner wrapper so it COMPOSES with outer transform.
   Front and back use opposite phases so they breathe in dialogue. */
.hero-card--front .hero-card-inner {
  animation: heroFloatFront 6.5s ease-in-out 1.4s infinite;
}
.hero-card--back .hero-card-inner {
  animation: heroFloatBack 6.5s ease-in-out 1.55s infinite;
}

@keyframes heroFloatFront {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-5px) rotate(.4deg); }
}
@keyframes heroFloatBack {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(4px) rotate(-.4deg); }
}

/* HOVER on the active card — subtle delta over its base position.
   We do NOT recenter the card (no --rest-x: 0) because that would shift it
   horizontally away from a cursor entering from the side. Each card gets a
   small Y lift, a partial rotation correction (~half straighten) and a
   tiny scale, so the card stays under the cursor. The real "I see you"
   feedback comes from the OTHER card receding (see :has rules below). */
.hero-card:hover,
.hero-card:focus-visible {
  --rest-scale: 1.02;
  z-index: 4;
  box-shadow:
    0 44px 88px -20px rgba(58,37,24,0.34),
    0 16px 32px -10px rgba(58,37,24,0.18),
    0 0 0 1px rgba(58,37,24,0.06);
  outline: none;
}
.hero-card--front:hover,
.hero-card--front:focus-visible {
  --rest-y: -26px;   /* base -20px → -6px additional lift */
  --rest-rot: 4deg;  /* eases from 7° toward 0 without snapping flat */
}
.hero-card--back:hover,
.hero-card--back:focus-visible {
  --rest-y: 14px;    /* base +20px → -6px additional lift */
  --rest-rot: -4deg; /* eases from -7° toward 0 */
}
.hero-card:hover img,
.hero-card:focus-visible img {
  transform: scale(1.03);
}
/* Pause idle float while interacting so the lift feels clean */
.hero-card:hover .hero-card-inner,
.hero-card:focus-visible .hero-card-inner {
  animation-play-state: paused;
  transform: translateY(0) rotate(0deg);
  transition: transform .4s var(--ease);
}

/* The OTHER card reacts: small recede + slight dim. Kept subtle on purpose
   so the whole hero doesn't feel like it's shifting around. */
.hero-cards:has(.hero-card--front:hover) .hero-card--back,
.hero-cards:has(.hero-card--front:focus-visible) .hero-card--back {
  --rest-x: 100px;  /* base 80 → +20 extra */
  --rest-y: 28px;   /* base 20 → +8 extra */
  --rest-rot: -9deg;/* base -7 → -2 extra */
  --rest-scale: .96;
  opacity: .72;
  filter: saturate(.9);
}
.hero-cards:has(.hero-card--back:hover) .hero-card--front,
.hero-cards:has(.hero-card--back:focus-visible) .hero-card--front {
  --rest-x: -100px;
  --rest-y: -28px;
  --rest-rot: 9deg;
  --rest-scale: .96;
  opacity: .72;
  filter: saturate(.9);
}
/* Also pause the floating animation on the receding card so it freezes elegantly */
.hero-cards:has(.hero-card:hover) .hero-card:not(:hover) .hero-card-inner,
.hero-cards:has(.hero-card:focus-visible) .hero-card:not(:focus-visible) .hero-card-inner {
  animation-play-state: paused;
}

/* Decorative little badge (rating) over the cards */
.hero-cards-badge {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1.125rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow: 0 12px 24px -8px rgba(58,37,24,.18);
  z-index: 4;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0;
  animation: heroBadgeIn .8s var(--ease) .55s forwards;
}
.hero-cards-badge .stars { color: var(--gold); letter-spacing: .05em; }

@keyframes heroBadgeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Tablet / mobile */
@media (max-width: 960px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    padding: calc(var(--section-py) + 4rem) 1.5rem 3rem;
    gap: 2.5rem;
    text-align: center;
    min-height: auto;
  }
  .hero-editorial-text { align-items: center; }
  .hero-editorial-text .body-lg { margin-left: auto; margin-right: auto; }
  .hero-cards { min-height: 420px; }
  .hero-card { width: 56vw; max-width: 300px; }
  .hero-card--front { transform: translateX(-50px) translateY(-15px) rotate(7deg); }
  .hero-card--back  { transform: translateX(50px)  translateY(15px)  rotate(-7deg); }
  @keyframes heroCardFrontIn {
    from { opacity: 0; transform: translateX(-120px) translateY(20px) rotate(14deg); }
    to   { opacity: 1; transform: translateX(-50px)  translateY(-15px) rotate(7deg); }
  }
  @keyframes heroCardBackIn {
    from { opacity: 0; transform: translateX(120px) translateY(-20px) rotate(-14deg); }
    to   { opacity: 1; transform: translateX(50px)  translateY(15px)  rotate(-7deg); }
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-card--back,
  .hero-card--front,
  .hero-card--back .hero-card-inner,
  .hero-card--front .hero-card-inner,
  .hero-cards-badge {
    animation: none;
  }
  .hero-card { transition-duration: .3s; }
}

/* ============================================================
   Trust Bar
   ============================================================ */
.trust-bar {
  padding: 1.125rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream-dark);
}
.trust-bar-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .06em;
  white-space: nowrap;
}
.trust-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .7;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Card (Double-Bezel)
   ============================================================ */
.card-outer {
  background: rgba(58,37,24,.04);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 3px;
  transition: all .4s var(--ease);
}
.card-outer:hover {
  box-shadow: 0 20px 48px rgba(58,37,24,.1);
  transform: translateY(-3px);
  border-color: rgba(58,37,24,.18);
}
.card-inner {
  background: var(--cream);
  border-radius: calc(2rem - 3px);
  padding: 2rem;
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.8);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 1.375rem;
  margin-bottom: 1.5rem;
  transition: transform .6s var(--ease);
}
.card-outer:hover .card-img { transform: scale(1.04); }

.card-tag {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--gold-light);
  color: var(--gold);
  border-radius: 9999px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ============================================================
   Services Bento Grid
   ============================================================ */
.services-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  grid-auto-rows: auto;
  gap: 1rem;
}
.svc-1 { grid-column: 1 / 3; }
.svc-2 { grid-column: 3;     }
.svc-3 { grid-column: 1;     }
.svc-4 { grid-column: 2 / 4; }
.svc-5 { grid-column: 1 / 3; }
.svc-6 { grid-column: 3;     }

/* ============================================================
   Gallery Masonry
   ============================================================ */
.gallery-masonry { columns: 3; column-gap: .875rem; }
.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: .875rem;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-masonry-item img {
  width: 100%;
  display: block;
  transition: transform .6s var(--ease);
}
.gallery-masonry-item:hover img { transform: scale(1.04); }

/* ============================================================
   Split Section
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  overflow: hidden;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-img {
  position: relative;
  overflow: hidden;
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.split-section:hover .split-img img { transform: scale(1.03); }

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5.5rem);
  gap: 1.5rem;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial-card {
  background: rgba(253,250,245,.07);
  border: 1px solid rgba(253,250,245,.12);
  border-radius: 1.5rem;
  padding: 1.875rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: all .3s var(--ease);
}
.testimonial-card:hover {
  border-color: rgba(253,250,245,.2);
  transform: translateY(-2px);
}

.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: .05em; margin-bottom: .875rem; }

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(253,250,245,.85);
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(253,250,245,.5);
}
.testimonial-platform {
  font-size: .75rem;
  color: rgba(253,250,245,.3);
  margin-top: .25rem;
}

/* Google Trust Badge */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1.25rem;
  background: rgba(253,250,245,.08);
  border: 1px solid rgba(253,250,245,.15);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(253,250,245,.75);
  backdrop-filter: blur(8px);
}
.google-badge-stars { color: #FBBC04; letter-spacing: .05em; }

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: var(--espresso);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,31,31,.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  min-height: 56dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,14,10,.82) 0%,
    rgba(26,14,10,.35) 55%,
    rgba(26,14,10,.08) 100%
  );
}
.page-hero .container { position: relative; z-index: 1; }

/* ============================================================
   Treatment Steps
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.step-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--burgundy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.step-card:hover::before   { transform: scaleX(1); }
.step-card:hover           { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(58,37,24,.09); }
.step-number {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 300;
  color: var(--burgundy);
  opacity: .2;
  line-height: 1;
  margin-bottom: .625rem;
}

/* ============================================================
   Benefits List
   ============================================================ */
.benefits-list { display: flex; flex-direction: column; gap: .875rem; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1.125rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: all .25s var(--ease);
}
.benefit-item:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}
.benefit-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: .75rem;
  background: var(--gold-light);
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.125rem;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
  text-decoration: none;
  color: inherit;
  transition: all .3s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(58,37,24,.1);
}
.blog-card-img { height: 230px; overflow: hidden; }
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.625rem; }
.blog-card-date {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* ============================================================
   Contact Form
   ============================================================ */
.form-group  { display: flex; flex-direction: column; gap: .375rem; }
.form-label  { font-size: .8125rem; font-weight: 500; color: var(--text); }
.form-input,
.form-textarea,
.form-select {
  padding: .9375rem 1.125rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: .875rem;
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(140,31,31,.08);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   About / Qui Som
   ============================================================ */
.team-card {
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .35s var(--ease);
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(58,37,24,.09);
}
.team-img { height: 320px; overflow: hidden; }
.team-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.team-card:hover .team-img img { transform: scale(1.04); }
.team-info { padding: 1.625rem; }

/* ============================================================
   Values Grid
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.value-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(253,250,245,.1);
  background: rgba(253,250,245,.04);
  transition: all .3s var(--ease);
}
.value-card:hover {
  border-color: rgba(253,250,245,.2);
  transform: translateY(-2px);
}
.value-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition:
    opacity .85s var(--ease),
    transform .85s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--espresso);
  color: rgba(253,250,245,.55);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.footer-brand p { font-size: .875rem; line-height: 1.75; max-width: 28ch; }
.footer-social  { display: flex; gap: .625rem; margin-top: 1.75rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 2.125rem; height: 2.125rem;
  border-radius: 50%;
  background: rgba(253,250,245,.07);
  color: rgba(253,250,245,.55);
  text-decoration: none;
  font-size: 1rem;
  transition: all .2s;
}
.footer-social a:hover {
  background: rgba(253,250,245,.14);
  color: var(--cream);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(253,250,245,.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.footer-col a {
  font-size: .875rem;
  color: rgba(253,250,245,.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-contact-line {
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(253,250,245,.35);
  margin-top: .375rem;
}
.footer-bottom {
  border-top: 1px solid rgba(253,250,245,.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .8125rem;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: rgba(253,250,245,.35);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a:hover { color: rgba(253,250,245,.65); }

/* ============================================================
   Divider
   ============================================================ */
.divider {
  width: 3rem; height: 1px;
  background: linear-gradient(to right, var(--burgundy), var(--gold));
  border: none;
  margin: 1rem 0;
}
.divider-center { margin-inline: auto; }

/* ============================================================
   Responsive — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-bento { grid-template-columns: 1fr 1fr; }
  .svc-1,.svc-4,.svc-5 { grid-column: 1 / 3; }
  .svc-2,.svc-3,.svc-6 { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Responsive — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-py: clamp(3rem, 9vw, 5rem); }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 58dvh auto;
  }
  .hero-image { order: -1; }
  .hero-image::before {
    background: linear-gradient(to top, var(--cream) 0%, rgba(253,250,245,.1) 50%, transparent 100%);
  }
  .hero-content {
    padding: 2.5rem 1.5rem 3rem;
    order: 1;
  }

  .nav-links,.nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-pill { justify-content: space-between; padding: .625rem 1.25rem; }

  .split-section { grid-template-columns: 1fr; min-height: auto; direction: ltr; }
  .split-img     { min-height: 300px; }
  .split-content { padding: 2.5rem 1.5rem; }

  .gallery-masonry { columns: 2; }
  .services-bento  { grid-template-columns: 1fr; }
  .svc-1,.svc-2,.svc-3,.svc-4,.svc-5,.svc-6 { grid-column: 1; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .page-hero { min-height: 50dvh; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .footer-grid     { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid      { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
}
