/* ==========================================================================
   LUNÉVIA AESTHETICS — Design system
   Source: LUNEVIA Master Brand Book 2026 v2 (§05–07, §11–12, §19)
   Layout concept: quiet editorial column on ivory, generous negative space,
   black sections for authority, champagne only as hairlines and accents.
   Ratio: 70% ivory/linen · 20% black/charcoal · ≤10% champagne.
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin subset; Spanish glyphs verified) ---- */
@font-face {
  font-family: "GFS Didot";
  src: url("../fonts/gfs-didot-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face { /* Approved Didot-style alternative (§22) */
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* Color: Brand Book §05 / §19. No other colors are used. */
  --lv-black:     #0B0B0A;  /* text, primary buttons, dark sections   */
  --lv-ivory:     #F6F1E8;  /* primary background                     */
  --lv-linen:     #E8DED0;  /* secondary surfaces, photo placeholders */
  --lv-sand:      #D3C3AE;  /* hairlines, supporting neutral          */
  --lv-gold:      #BE9855;  /* DECORATIVE ONLY on light (2.39:1). Text allowed on black (7.32:1) */
  --lv-gold-deep: #7C5D2E;  /* small text/lines on ivory (5.39:1), linen (4.56:1) */
  --lv-charcoal:  #282622;  /* body copy alternative (13.4:1 on ivory) */

  /* Type families */
  --font-display: "GFS Didot", "Bodoni Moda", Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale: mobile → desktop (§07 hierarchy table) */
  --fs-h1:      clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);      /* 40 → 72px Didot */
  --fs-h2:      clamp(1.875rem, 1.45rem + 1.7vw, 3rem);     /* 30 → 48px Didot */
  --fs-h3:      clamp(1.5rem, 1.32rem + 0.7vw, 1.875rem);   /* 24 → 30px Didot */
  --fs-h4:      1.25rem;                                    /* 20px Didot (service names) */
  --fs-lead:    clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); /* 17 → 19px Inter */
  --fs-body:    clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);   /* 16 → 17px Inter */
  --fs-small:   0.875rem;                                   /* 14px Inter */
  --fs-eyebrow: 0.75rem;                                    /* 12px (11px on mobile below) */
  --fs-button:  0.875rem;                                   /* 14px Inter Medium */
  --lh-tight: 1.08;
  --lh-head:  1.18;
  --lh-body:  1.65;
  --track-eyebrow: 0.14em;
  --track-button:  0.12em;
  --track-display: 0.02em;

  /* Space (4px base) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --measure: 38rem;          /* ≈ 65 characters of body text */
  --wide: 76rem;

  /* Shape */
  --radius: 2px;             /* §12: 0–4px */
  --border: 1px solid currentColor;
  --hairline: 1px solid var(--lv-sand);

  /* Motion (§18: fades, 10–20px rises, 400–700ms, no bounce/spin) */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 500ms;
  --dur-slow: 700ms;
  --rise: 16px;

  /* Layers */
  --z-header: 50; --z-bar: 60; --z-menu: 70;

  color-scheme: light;
}

/* ---------- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lv-ivory);
  color: var(--lv-charcoal);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--lv-gold); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--lv-linen); color: var(--lv-black); }

:focus-visible {
  outline: 2px solid var(--lv-gold-deep);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.on-dark :focus-visible { outline-color: var(--lv-gold); }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  background: var(--lv-black); color: var(--lv-ivory);
  padding: var(--sp-3) var(--sp-4); font-size: var(--fs-small);
}
.skip-link:focus { top: var(--sp-4); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Typography --------------------------------------------------- */
.h1, .h2, .h3, .h4, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--lv-black);
  margin: 0;
  text-wrap: balance;
  letter-spacing: var(--track-display);
}
h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2, .h2 { font-size: var(--fs-h2); line-height: var(--lh-head); }
h3, .h3 { font-size: var(--fs-h3); line-height: var(--lh-head); }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: 0.01em; }
.caps { text-transform: uppercase; letter-spacing: 0.06em; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem; /* 11px mobile */
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--lv-gold-deep);
  line-height: 1.4;
}
@media (min-width: 48em) { .eyebrow { font-size: var(--fs-eyebrow); } }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--lv-charcoal); max-width: var(--measure); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--sp-4); }
.small { font-size: var(--fs-small); line-height: 1.55; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Champagne hairline: the brand's one recurring ornament */
.rule {
  display: block; width: 3rem; height: 1px; border: 0; margin: 0;
  background: var(--lv-gold);
}
.rule--center { margin-inline: auto; }

/* ---------- Layout ------------------------------------------------------- */
.container { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 48rem; }
.section { padding-block: var(--section-y); }
.section--ivory { background: var(--lv-ivory); }
.section--linen { background: var(--lv-linen); }
.section--black, .on-dark { background: var(--lv-black); color: var(--lv-linen); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4,
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4 { color: var(--lv-ivory); }
.on-dark .eyebrow { color: var(--lv-gold); }           /* 7.32:1 on black */
.on-dark .lead { color: var(--lv-linen); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--sp-5)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--sp-4)); }
.grid { display: grid; gap: var(--grid-gap, var(--sp-6)); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 16rem)), 1fr)); }
.grid > * { min-width: 0; }
.center { text-align: center; }
.center .lead, .center .prose { margin-inline: auto; }

/* ---------- Buttons (§12) ------------------------------------------------ */
.btn {
  --btn-bg: var(--lv-black); --btn-fg: var(--lv-ivory); --btn-bd: var(--lv-black);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 3rem;                 /* 48px tap target */
  padding: 0.875rem 1.75rem;
  font-family: var(--font-ui);
  font-size: var(--fs-button);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--track-button);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  box-shadow: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:hover { --btn-bg: var(--lv-charcoal); --btn-bd: var(--lv-gold); text-decoration: none; }
.btn:active { --btn-bg: var(--lv-black); }

/* Secondary: transparent, 1px black border, black text; champagne on hover */
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--lv-black); --btn-bd: var(--lv-black); }
.btn--secondary:hover { --btn-bg: transparent; --btn-fg: var(--lv-black); --btn-bd: var(--lv-gold-deep); box-shadow: inset 0 -2px 0 var(--lv-gold); }

/* On black fields */
.btn--light { --btn-bg: var(--lv-ivory); --btn-fg: var(--lv-black); --btn-bd: var(--lv-ivory); }
.btn--light:hover { --btn-bg: var(--lv-linen); --btn-fg: var(--lv-black); --btn-bd: var(--lv-gold); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--lv-ivory); --btn-bd: var(--lv-ivory); }
.btn--outline-light:hover { --btn-bg: transparent; --btn-fg: var(--lv-gold); --btn-bd: var(--lv-gold); }

.btn--sm { min-height: 2.75rem; padding: 0.625rem 1.125rem; font-size: 0.8125rem; } /* 44px, 13px */
.btn--block { width: 100%; }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }

/* Text link with arrow: VER TRATAMIENTOS → */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 2.75rem;
  font-size: var(--fs-button); font-weight: 500; letter-spacing: var(--track-button); text-transform: uppercase;
  color: var(--lv-black); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover { border-bottom-color: var(--lv-gold); }
.on-dark .link-arrow { color: var(--lv-ivory); }

/* ---------- First-visit courtesy (§25: black on ivory, never a sale) ---- */
.courtesy {
  position: relative; display: block; padding-left: 2.25rem;
  font-size: var(--fs-small); color: var(--lv-black); line-height: 1.5;
}
.courtesy::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 1.5rem; height: 1px; background: var(--lv-gold); }
.courtesy strong { margin-right: 0.5rem; }
.center .courtesy { display: inline-block; text-align: left; }
.courtesy strong { font-weight: 500; letter-spacing: 0.02em; }
.courtesy .note { color: var(--lv-charcoal); }
.on-dark .courtesy, .on-dark .courtesy .note { color: var(--lv-linen); }

/* ---------- Image placeholders (no stock photos) ------------------------- */
.ph {
  position: relative; width: 100%; max-width: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  background:
    radial-gradient(120% 90% at 70% 15%, rgba(246, 241, 232, 0.9), rgba(246, 241, 232, 0) 60%),
    var(--lv-linen);
  border-radius: var(--radius);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: var(--sp-4); bottom: var(--sp-4); right: var(--sp-4);
  font-size: 0.6875rem; letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--lv-gold-deep); /* 4.56:1 on linen */
}
.ph--dark { background: radial-gradient(120% 90% at 70% 15%, rgba(40, 38, 34, 1), rgba(11, 11, 10, 1) 65%); box-shadow: inset 0 0 0 1px rgba(211, 195, 174, 0.25); }
.ph--dark::after { color: var(--lv-gold); }
.ph--wide { --ratio: 16 / 9; }
.ph--square { --ratio: 1 / 1; }
.ph--tall { --ratio: 3 / 4; }

/* ---------- Service row (price · duration · rebooking) ------------------ */
.svc {
  display: grid; gap: var(--sp-3) var(--sp-5);
  grid-template-columns: 1fr auto;
  padding-block: var(--sp-5);
  border-top: var(--hairline);
}
.svc:last-child { border-bottom: var(--hairline); }
.svc__name { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.3; color: var(--lv-black); margin: 0; }
.svc__alt { font-size: var(--fs-small); color: var(--lv-charcoal); margin-top: 2px; }
.svc__desc { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--lv-charcoal); max-width: var(--measure); }
.svc__price {
  font-family: var(--font-ui); font-size: 1.25rem; font-weight: 500; color: var(--lv-black);
  font-variant-numeric: tabular-nums lining-nums; text-align: right; white-space: nowrap;
}
.svc__price small { display: block; font-size: 0.75rem; font-weight: 400; color: var(--lv-charcoal); letter-spacing: 0.02em; }
.svc__meta {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin: 0; font-size: var(--fs-small);
}
.svc__meta div { display: flex; gap: var(--sp-2); align-items: baseline; }
.svc__meta dt { font-size: 0.6875rem; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--lv-gold-deep); }
.svc__meta dd { margin: 0; color: var(--lv-black); font-variant-numeric: tabular-nums; }
.svc__cta { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 48em) {
  .svc { grid-template-columns: 1fr auto auto; align-items: start; }
  .svc__cta { grid-column: 3; grid-row: 1; justify-self: end; }
  .svc__meta, .svc__desc { grid-column: 1 / 3; }
}
.on-dark .svc { border-color: rgba(211, 195, 174, 0.35); }
.on-dark .svc__name, .on-dark .svc__price, .on-dark .svc__meta dd { color: var(--lv-ivory); }
.on-dark .svc__alt, .on-dark .svc__desc, .on-dark .svc__price small { color: var(--lv-linen); }
.on-dark .svc__meta dt { color: var(--lv-gold); }

.badge {
  display: inline-block; padding: 2px 8px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--lv-black); border: 1px solid var(--lv-black); border-radius: var(--radius);
  vertical-align: middle;
}
.on-dark .badge { color: var(--lv-ivory); border-color: var(--lv-ivory); }

/* ---------- Category card (homepage services) ---------------------------- */
.card { display: flex; flex-direction: column; gap: var(--sp-4); text-decoration: none; color: inherit; }
.card .ph { transition: opacity var(--dur) var(--ease); }
.card:hover .ph { opacity: 0.92; }
.card__title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--lv-black); line-height: 1.2; }
.card__from { font-size: var(--fs-small); color: var(--lv-charcoal); }
.card__from b { font-weight: 500; color: var(--lv-black); font-variant-numeric: tabular-nums; }
.on-dark .card__title, .on-dark .card__from b { color: var(--lv-ivory); }
.on-dark .card__from { color: var(--lv-linen); }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-header);
  background: var(--lv-ivory);
  border-bottom: var(--hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 4rem;
}
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { width: 132px; height: auto; }
@media (min-width: 64em) { .site-header__inner { min-height: 5rem; } .brand img { width: 156px; } }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: clamp(1rem, 0.2rem + 1.4vw, 2rem); }
.nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--lv-black); text-decoration: none; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--lv-gold); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
}
.lang a, .lang span[aria-current] {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; min-height: 2.75rem; text-decoration: none; color: var(--lv-charcoal);
}
.lang span[aria-current] { color: var(--lv-black); text-decoration: underline; text-decoration-color: var(--lv-gold); text-underline-offset: 0.35em; }
.lang .sep { width: 1px; height: 0.875rem; background: var(--lv-sand); }
.header-book { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 0; color: var(--lv-black); cursor: pointer;
}
.menu-btn svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 64em) {
  .nav { display: block; }
  .header-book { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Mobile menu panel */
.menu-panel {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--lv-ivory);
  padding: calc(env(safe-area-inset-top, 0px) + var(--sp-4)) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + var(--sp-6));
  display: flex; flex-direction: column; gap: var(--sp-6);
  overflow-y: auto;
}
.menu-panel[hidden] { display: none; }
.menu-panel__top { display: flex; justify-content: space-between; align-items: center; }
.menu-panel ul { list-style: none; display: flex; flex-direction: column; }
.menu-panel li a {
  display: flex; align-items: center; min-height: 3.5rem;
  font-family: var(--font-display); font-size: 1.75rem; color: var(--lv-black); text-decoration: none;
  border-bottom: var(--hairline);
}

/* ---------- Mobile sticky booking bar ----------------------------------- */
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-2);
  padding: var(--sp-2) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + var(--sp-2));
  background: var(--lv-ivory);
  border-top: var(--hairline);
}
.book-bar .btn { min-height: 3rem; }
.book-bar .btn--wa { padding-inline: var(--sp-4); }
body.has-book-bar { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 64em) { .book-bar { display: none; } body.has-book-bar { padding-bottom: 0; } }

/* Floating WhatsApp (desktop; on mobile it lives in the booking bar) */
.wa-float {
  position: fixed; right: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sp-5)); z-index: var(--z-bar);
  display: none; place-items: center; width: 3rem; height: 3rem; padding: 0;
  background: var(--lv-black); color: var(--lv-ivory);
  border: 1px solid var(--lv-gold); border-radius: 50%; text-decoration: none;
  box-shadow: 0 4px 14px rgba(11, 11, 10, 0.18);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(11, 11, 10, 0.24); }
.wa-float:focus-visible { outline: 2px solid var(--lv-gold-deep); outline-offset: 3px; }
.wa-float svg { width: 1.375rem; height: 1.375rem; }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 64em) { .wa-float { display: inline-grid; } }

/* Back to top: quiet, appears after scrolling far */
.nowrap { white-space: nowrap; }
.to-top {
  position: fixed; right: var(--gutter); z-index: var(--z-bar);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 4.25rem + var(--sp-3));
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  background: rgba(246, 241, 232, 0.92); color: var(--lv-charcoal);
  border: 1px solid var(--lv-sand); border-radius: 50%; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transform: translateY(0.5rem);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease), visibility 0s linear var(--dur-slow), border-color var(--dur-fast) var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { border-color: var(--lv-gold-deep); }
.to-top:focus-visible { outline: 2px solid var(--lv-gold-deep); outline-offset: 3px; }
.to-top svg { width: 1.125rem; height: 1.125rem; }
@media (min-width: 64em) { .to-top { right: calc(var(--gutter) + 0.125rem); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--sp-5) + 3rem + var(--sp-3)); } }
@media print { .to-top { display: none; } }

/* ---------- Forms -------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--fs-small); font-weight: 500; color: var(--lv-black); }
.field .hint { font-size: 0.8125rem; color: var(--lv-charcoal); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem;
  padding: 0.75rem 0.875rem;
  font: inherit; font-size: 1rem; /* 16px: no iOS zoom */
  color: var(--lv-black); background: var(--lv-ivory);
  border: 1px solid var(--lv-charcoal);  /* 13:1 boundary */
  border-radius: var(--radius);
}
.textarea { min-height: 7.5rem; resize: vertical; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--lv-gold-deep); outline-offset: 1px; }
.field--error .input { border-width: 2px; }
.field__error { font-size: 0.8125rem; color: var(--lv-black); display: flex; gap: var(--sp-2); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border: 1px solid currentColor; border-radius: 50%; font-size: 0.6875rem; font-weight: 600; flex: none; }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-small); }
.check input { width: 1.25rem; height: 1.25rem; margin: 2px 0 0; accent-color: var(--lv-black); flex: none; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { border-top: 1px solid rgba(211, 195, 174, 0.3); background: var(--lv-black); color: var(--lv-linen); padding-block: var(--sp-9) var(--sp-7); font-size: var(--fs-small); }
.site-footer a { color: var(--lv-linen); text-decoration: none; }
.site-footer a:hover { color: var(--lv-ivory); text-decoration: underline; text-decoration-color: var(--lv-gold); }
.footer-legal p a { text-decoration: underline; text-decoration-color: rgba(232, 222, 208, 0.45); text-underline-offset: 0.2em; }
.site-footer h2 { font-family: var(--font-ui); font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--lv-gold); }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }
.site-footer li a { display: inline-flex; min-height: 2.25rem; align-items: center; }
.footer-legal { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid rgba(211, 195, 174, 0.3); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); justify-content: space-between; color: var(--lv-sand); }
.license { color: var(--lv-linen); }
.license b { font-weight: 500; color: var(--lv-ivory); letter-spacing: 0.04em; }

/* ---------- Motion (§18) ------------------------------------------------- */
/* Content is visible at rest; JS adds .js-reveal only to elements below the fold. */
.js-reveal { opacity: 0; transform: translateY(var(--rise)); }
.js-reveal.is-in { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Page patterns (homepage and inner pages)
   ========================================================================== */
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-4) var(--sp-7); }
.section-head > :first-child { max-width: 40rem; min-width: 0; }

/* Hero: copy first on mobile so the CTA sits above the fold */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
.hero__copy { min-width: 0; }
.hero__copy .lead { max-width: 32rem; }
.hero__media .ph { --ratio: 4 / 5; }
@media (min-width: 56em) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(3rem, 6vw, 6rem); }
  .hero__media .ph { --ratio: 4 / 5; }
}

/* Hero studio photo: the same layout on every screen. The photo runs edge to edge under the
   header (never wider than its 1530px source, so it is never upscaled), copy sits below.
   object-fit: cover crops instead of stretching, so the image is never distorted. */
.hero:has(.hero-photo) { padding-top: 0; overflow-x: clip; }
.hero:has(.hero-photo) .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
.hero__media:has(.hero-photo) { order: -1; margin-inline: calc(50% - min(50vw, 765px)); }
.hero-photo { margin: 0; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 42%;
  background: var(--lv-linen);
}
@media (min-width: 40em) { .hero-photo img { aspect-ratio: 16 / 9; max-height: min(78vh, 861px); } }
@media (min-width: 64em) {
  .hero:has(.hero-photo) .hero__grid { gap: clamp(2.5rem, 4vw, 4rem); }
  /* Copy below the photo in two editorial columns: headline left, details right */
  .hero:has(.hero-photo) .hero__copy {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: clamp(3rem, 7vw, 7rem); row-gap: var(--sp-5); align-items: start;
  }
  .hero:has(.hero-photo) .hero__copy > * { margin: 0; }
  .hero:has(.hero-photo) .hero__copy > .eyebrow { grid-column: 1; grid-row: 1; }
  .hero:has(.hero-photo) .hero__copy > h1 { grid-column: 1; grid-row: 2 / span 3; }
  .hero:has(.hero-photo) .hero__copy > :nth-child(3) { grid-column: 2; grid-row: 2; padding-top: 0.5rem; }
  .hero:has(.hero-photo) .hero__copy > :nth-child(4) { grid-column: 2; grid-row: 3; }
  .hero:has(.hero-photo) .hero__copy > :nth-child(5) { grid-column: 2; grid-row: 4; }
}
@media (min-width: 1530px) { .hero-photo img { border-radius: 0 0 var(--radius) var(--radius); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: lv-hero-in 1.4s var(--ease) both; }
}
@keyframes lv-hero-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: none; } }

/* Proof row */
.proof { border-block: var(--hairline); }
.proof__list {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0; padding-block: var(--sp-2);
}
.proof__list li { display: flex; flex-direction: column; gap: 2px; padding: var(--sp-4) var(--sp-3); min-width: 0; }
.proof__list b { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.3; color: var(--lv-black); }
.proof__list span { font-size: 0.8125rem; color: var(--lv-charcoal); }
@media (min-width: 56em) {
  .proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof__list li + li { border-left: var(--hairline); padding-left: var(--sp-5); }
  .proof__list b { font-size: 1.25rem; }
}

/* Category cards: 1 col phone, 2 tablet, 4 desktop */
.cards-4 { grid-template-columns: 1fr; --grid-gap: var(--sp-6); }
@media (min-width: 36em) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Image + copy split */
.split { display: grid; gap: var(--sp-7); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); }
  .split--reverse .split__media { order: 2; }
}

/* Key facts (price, duration...) */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-5); margin: 0; padding-block: var(--sp-5); border-block: var(--hairline); width: 100%; }
.facts dt { font-size: 0.6875rem; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--lv-gold-deep); }
.facts dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 500; color: var(--lv-black); }
@media (min-width: 36em) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Three pillars */
.pillars { list-style: none; --grid-gap: var(--sp-6); }
.pillars li { display: flex; flex-direction: column; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--lv-gold); }

/* Credentials list */
.creds { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.creds li { display: flex; gap: var(--sp-3); align-items: baseline; font-size: var(--fs-small); color: var(--lv-black); }
.creds li::before { content: ""; width: 0.75rem; height: 1px; background: var(--lv-gold); flex: none; transform: translateY(-0.25em); }

/* Numbered steps (a real sequence) */
.steps { list-style: none; display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
.steps li { display: flex; flex-direction: column; gap: var(--sp-2); padding-top: var(--sp-4); border-top: var(--hairline); min-width: 0; }
.steps__n { font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-eyebrow); color: var(--lv-gold-deep); }
@media (min-width: 36em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Membership plans */
.plans { list-style: none; display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.plan { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); border: 1px solid var(--lv-sand); border-radius: var(--radius); background: var(--lv-ivory); min-width: 0; }
.plan__price { font-family: var(--font-display); font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.75rem); line-height: 1; color: var(--lv-black); }
.plan__price span { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--lv-charcoal); margin-left: 4px; }
.plan__compare { font-size: var(--fs-small); color: var(--lv-charcoal); margin-top: auto; padding-top: var(--sp-3); border-top: var(--hairline); }
.plan--feature { background: var(--lv-black); border-color: var(--lv-black); color: var(--lv-linen); }
.plan--feature h3, .plan--feature .plan__price { color: var(--lv-ivory); }
.plan--feature .plan__price span, .plan--feature .plan__compare { color: var(--lv-linen); }
.plan--feature .plan__compare { border-top-color: rgba(211, 195, 174, 0.35); }
@media (min-width: 48em) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Instagram grid */
.ig-grid { display: grid; gap: var(--sp-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48em) { .ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); } }
.ig-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--lv-linen); }
.ig-tile img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.ig-tile.is-loaded img { opacity: 1; }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 10, 0); transition: background var(--dur-fast) var(--ease); }
.ig-tile:hover img { transform: scale(1.03); }
.ig-tile:hover::after { background: rgba(11, 11, 10, 0.08); }
.ig-tile:focus-visible { outline: 2px solid var(--lv-gold-deep); outline-offset: 3px; }
.ig-tile__badge { position: absolute; top: var(--sp-2); right: var(--sp-2); z-index: 1; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(11, 11, 10, 0.55); color: var(--lv-ivory); }
.ig-tile__badge svg { width: 0.875rem; height: 0.875rem; }

/* Footer grid */
.footer-grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
.footer-grid > * { min-width: 0; }
@media (min-width: 36em) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.footer-legal a { color: var(--lv-sand); }

/* ---------- Inner pages -------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1rem + 3vw, 3.5rem); border-bottom: var(--hairline); }
.page-hero h1 { font-size: var(--fs-h2); line-height: var(--lh-head); }
.page-hero .lead { max-width: 36rem; }
.page-hero--dark { border-bottom: 0; }

/* Category jump links */
.jump { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; }
.jump a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--sp-4);
  border: 1px solid var(--lv-charcoal); border-radius: var(--radius);
  font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--lv-black); text-decoration: none; background: transparent;
}
.jump a:hover { border-color: var(--lv-gold-deep); box-shadow: inset 0 -2px 0 var(--lv-gold); }
.svc-cat { scroll-margin-top: 6rem; }
.svc-cats { display: flex; flex-direction: column; gap: clamp(3.5rem, 2.5rem + 4vw, 6rem); }

/* Pending-information marker (visible on purpose until William/Camila confirm) */
.tbd {
  display: inline-block; padding: 1px 6px; vertical-align: middle;
  font-family: var(--font-ui); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5;
  color: var(--lv-black); background: var(--lv-linen); border: 1px dashed var(--lv-gold-deep); border-radius: var(--radius);
  white-space: nowrap;
}
.on-dark .tbd { background: var(--lv-charcoal); color: var(--lv-ivory); border-color: var(--lv-gold); }
.badge--soft { border-style: dashed; }
.svc__soon { font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--lv-charcoal); padding-block: var(--sp-2); }
.on-dark .svc__soon { color: var(--lv-linen); }

/* Compact price list (waxing, add-ons) */
.pl-wrap { overflow-x: auto; }
.pl { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.pl th, .pl td { text-align: left; padding: var(--sp-3) var(--sp-3) var(--sp-3) 0; border-top: var(--hairline); vertical-align: baseline; }
.pl tbody tr:last-child th, .pl tbody tr:last-child td { border-bottom: var(--hairline); }
.pl thead th { border-top: 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--lv-gold-deep); padding-bottom: var(--sp-2); }
.pl td:last-child, .pl th:last-child { text-align: right; padding-right: 0; }
.pl tbody th { font-weight: 400; }
.pl__name { font-family: var(--font-display); font-size: 1.125rem; color: var(--lv-black); }
.pl__alt { display: block; font-size: 0.8125rem; color: var(--lv-charcoal); }
.pl__price { font-size: 1.0625rem; font-weight: 500; color: var(--lv-black); white-space: nowrap; }

/* Callout box */
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4) var(--sp-6); padding: var(--sp-5) var(--sp-6); border: 1px solid var(--lv-sand); border-radius: var(--radius); background: var(--lv-ivory); }
.callout > div { min-width: 0; max-width: 40rem; }
.section--ivory .callout, .callout--linen { background: var(--lv-linen); border-color: var(--lv-linen); }

/* Info list (contact, policies at a glance) */
.info { display: grid; gap: 0; margin: 0; }
.info > div { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: var(--sp-4); padding-block: var(--sp-4); border-top: var(--hairline); }
.info > div:last-child { border-bottom: var(--hairline); }
.info dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--lv-gold-deep); padding-top: 3px; }
.info dd { margin: 0; color: var(--lv-black); }
@media (max-width: 30em) { .info > div { grid-template-columns: 1fr; gap: var(--sp-1); } }

/* FAQ / aftercare accordions */
.faq { border-top: var(--hairline); }
.faq details { border-bottom: var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  min-height: 3.5rem; padding-block: var(--sp-3);
  font-family: var(--font-display); font-size: 1.1875rem; color: var(--lv-black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-ui); font-size: 1.25rem; font-weight: 300; color: var(--lv-gold-deep); flex: none; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding-bottom: var(--sp-5); max-width: var(--measure); }
.faq .faq__body > * + * { margin-top: var(--sp-3); }
.faq ul { padding-left: 1.1rem; }
.faq li + li { margin-top: var(--sp-1); }

/* Long-form legal text */
.legal { max-width: 44rem; }
.legal h2 { font-size: var(--fs-h3); margin-top: var(--sp-7); }
.legal h3 { font-family: var(--font-ui); font-size: 1rem; font-weight: 600; margin-top: var(--sp-5); letter-spacing: 0; }
.legal p, .legal ul { margin-top: var(--sp-3); }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: var(--sp-2); }
.legal .updated { font-size: var(--fs-small); color: var(--lv-charcoal); }
.legal h2 { scroll-margin-top: 6rem; }
.legal h2 .num { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-eyebrow, 0.16em); color: var(--lv-gold-deep); display: block; margin-bottom: var(--sp-2); }
.legal-summary { background: var(--lv-linen); border: var(--hairline); border-radius: var(--radius); padding: var(--sp-5) var(--sp-5) var(--sp-5); }
.legal-summary > .eyebrow { margin: 0 0 var(--sp-2); }
.legal-summary ul { list-style: none; padding: 0; margin-top: var(--sp-3); }
.legal-summary li { position: relative; padding-left: 1.5rem; }
.legal-summary li::before { content: ""; position: absolute; left: 0.125rem; top: 0.6em; width: 0.5rem; height: 0.5rem; border: 1px solid var(--lv-gold-deep); border-radius: 50%; }
.legal-toc { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: var(--hairline); }
.legal-toc ol { list-style: none; padding: 0; margin-top: var(--sp-3); display: grid; gap: var(--sp-2) var(--sp-6); counter-reset: toc; }
@media (min-width: 40em) { .legal-toc ol { grid-template-columns: 1fr 1fr; } }
.legal-toc li { counter-increment: toc; margin: 0 !important; font-size: var(--fs-small); }
.legal-toc li::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--lv-gold-deep); margin-right: var(--sp-2); font-size: 0.75rem; }
.legal-toc a { color: var(--lv-charcoal); text-decoration-color: var(--lv-sand); }
.legal-note { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: var(--hairline); font-size: var(--fs-small); }
.legal dl.defs { margin-top: var(--sp-3); }
.legal dl.defs div { padding: var(--sp-3) 0; border-bottom: var(--hairline); }
.legal dl.defs dt { font-weight: 600; }
.legal dl.defs dd { margin: var(--sp-1) 0 0; }

/* Shop placeholders */
.concerns { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); list-style: none; }
.concerns li { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }

/* Forms */
.form-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 40em) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--lv-black) 50%), linear-gradient(135deg, var(--lv-black) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--sp-4) var(--sp-5); border: 1px solid var(--lv-black); border-radius: var(--radius); background: var(--lv-ivory); color: var(--lv-black); }
.form-status[data-state="error"] { border-width: 2px; }

/* Dark page variant (Para Él) */
.page--dark .page-hero { background: var(--lv-black); }
.on-dark .svc, .on-dark .pl th, .on-dark .pl td { border-color: rgba(211, 195, 174, 0.35); }
.on-dark .btn--secondary { --btn-fg: var(--lv-ivory); --btn-bd: var(--lv-ivory); }
.on-dark .btn--secondary:hover { --btn-fg: var(--lv-gold); --btn-bd: var(--lv-gold); box-shadow: none; }
.on-dark .prose, .on-dark p { color: var(--lv-linen); }
.on-dark .badge { color: var(--lv-ivory); border-color: var(--lv-ivory); }
@media (min-width: 48em) { .plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; } }

/* Category icons (stand-ins until the brand photo shoot) */
.ph--icon { display: grid; place-items: center; background: var(--lv-ivory); box-shadow: inset 0 0 0 1px var(--lv-sand); }
.ph--icon.ph--dark { background: var(--lv-black); box-shadow: none; }
.ph__icon { width: 62%; height: auto; stroke-width: 1.5px; --icon-line: var(--lv-black); --icon-accent: var(--lv-gold); transition: transform var(--dur-slow) var(--ease); }
.ph__icon * { vector-effect: non-scaling-stroke; }
.ph--dark .ph__icon { --icon-line: var(--lv-ivory); }
.card:hover .ph__icon { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .card:hover .ph__icon { transform: none; } }
@media (max-width: 35.99em) { .ph--icon { --ratio: 16 / 10; } .ph__icon { width: 44%; } }

/* Category cards with icon badge (homepage "Elige por dónde empezar") */
.cat-cards { --grid-gap: var(--sp-5); }
.cat-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
  padding: var(--sp-7) var(--sp-5) var(--sp-6); text-align: center; text-decoration: none; color: inherit;
  background: var(--lv-ivory); border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-card::before { /* inset frame */
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--lv-sand); border-radius: var(--radius); pointer-events: none;
  transition: border-color var(--dur) var(--ease);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card:hover::before { border-color: var(--lv-gold); }
.cat-card__badge {
  position: relative; display: grid; place-items: center;
  width: 8.5rem; height: 8.5rem; border-radius: 50%; margin-bottom: var(--sp-3);
  background: var(--lv-linen);
}
.cat-card__badge::after { /* fine dotted champagne ring */
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed var(--lv-gold-deep); opacity: 0.7;
}
.cat-card__badge .ph__icon { width: 78%; }
.cat-card__badge--dark { background: var(--lv-black); }
.cat-card__badge--dark .ph__icon { --icon-line: var(--lv-ivory); }
.cat-card__rule { width: 2rem; height: 1px; background: var(--lv-gold); }
.cat-card__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; color: var(--lv-black); }
.cat-card__desc { font-size: var(--fs-small); line-height: 1.6; color: var(--lv-charcoal); max-width: 22rem; }
.cat-card__from { margin-top: auto; padding-top: var(--sp-2); font-size: var(--fs-small); color: var(--lv-charcoal); }
.cat-card__from b { font-weight: 500; color: var(--lv-black); font-variant-numeric: tabular-nums; }
.cat-card:hover .ph__icon { transform: none; }
@media (prefers-reduced-motion: reduce) { .cat-card:hover { transform: none; } }
.dd-list { list-style: none; display: grid; gap: var(--sp-3); }
.dd-list li { display: flex; flex-direction: column; gap: 2px; }
.dd-list span { font-size: 0.8125rem; color: var(--lv-charcoal); }

/* ---------- Founder portrait (Sobre Camila / About Camila) --------------- */
.portrait { margin: 0; display: grid; gap: var(--sp-3); }
.portrait__frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--lv-linen); }
.portrait__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait__frame--headshot img { object-position: 50% 22%; }
.portrait figcaption { font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--lv-charcoal); }
@media (min-width: 56em) {
  .split__media--sticky { position: sticky; top: var(--sp-9); align-self: start; }
}

/* ---------- Category arches (home "Elige por dónde empezar") ------------ */
/* The arch echoes the crescent in the logo: photo inside an arch, a fine sand
   outline offset around it, text below. Phone: swipeable row with a peek. */
.cat-browse { display: grid; gap: var(--sp-6); }
.arch-scroller { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; outline-offset: 4px; }
.arch-scroller::-webkit-scrollbar { display: none; }
.arch-cards { display: grid; grid-auto-flow: column; grid-auto-columns: min(70vw, 20rem); width: max-content; gap: var(--sp-5); padding-block: var(--sp-2) var(--sp-3); }
@media (min-width: 40em) { .arch-cards { grid-auto-columns: 35vw; } }
@media (min-width: 64em) {
  .arch-scroller { margin-inline: 0; padding-inline: 0; overflow: visible; }
  .arch-cards { width: auto; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.2vw, 2.25rem); }
}
.arch-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--sp-3); color: inherit; text-decoration: none; }
.arch-card__frame {
  position: relative; display: block; aspect-ratio: 3 / 4; margin: 0.5rem 0.5rem var(--sp-2);
  border-radius: 999px 999px var(--radius) var(--radius); background: var(--lv-sand);
}
.arch-card__frame::before { /* fine offset outline, like a halo around the arch */
  content: ""; position: absolute; inset: -0.5rem; border: 1px solid var(--lv-sand);
  border-radius: 999px 999px calc(var(--radius) + 0.5rem) calc(var(--radius) + 0.5rem);
  transition: border-color var(--dur-fast) var(--ease);
}
.arch-card__frame img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
  transition: transform var(--dur-slow) var(--ease);
}
.arch-card__frame { overflow: visible; }
.arch-card__frame img { clip-path: inset(0 round 999px 999px var(--radius) var(--radius)); }
.arch-card__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.15; color: var(--lv-black); text-align: center; }
.arch-card__desc { font-size: var(--fs-small); line-height: 1.6; color: var(--lv-charcoal); text-align: center; max-width: 19rem; margin-inline: auto; }
.arch-card__from { margin-top: auto; display: flex; justify-content: center; align-items: baseline; gap: var(--sp-2); padding-top: var(--sp-3); border-top: var(--hairline); font-size: var(--fs-small); color: var(--lv-charcoal); }
.arch-card__from b { font-weight: 500; color: var(--lv-black); font-variant-numeric: tabular-nums; }
.arch-card__arrow { transition: transform var(--dur-fast) var(--ease); }
.arch-card:hover .arch-card__frame::before, .arch-card:focus-visible .arch-card__frame::before { border-color: var(--lv-gold); }
.arch-card:hover .arch-card__frame img { transform: scale(1.04); }
.arch-card:hover .arch-card__arrow, .cat-strip:hover .arch-card__arrow { transform: translateX(3px); }
.arch-card:focus-visible { outline: 2px solid var(--lv-gold-deep); outline-offset: 6px; border-radius: var(--radius); }

/* Secondary categories as slim strips */
.cat-strips { display: grid; gap: var(--sp-3); }
@media (min-width: 48em) { .cat-strips { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
.cat-strip {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-4) var(--sp-5); border-radius: 999px; text-decoration: none; color: inherit;
  border: 1px solid var(--lv-sand); background: var(--lv-ivory);
  transition: border-color var(--dur-fast) var(--ease);
}
.cat-strip:hover { border-color: var(--lv-gold); }
.cat-strip:focus-visible { outline: 2px solid var(--lv-gold-deep); outline-offset: 4px; }
.cat-strip--dark { background: var(--lv-black); border-color: var(--lv-black); color: var(--lv-ivory); }
.cat-strip--dark:hover { border-color: var(--lv-gold); }
.cat-strip__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid currentColor; opacity: 0.9; }
.cat-strip__icon .ph__icon, .cat-strip__mark { width: 2.1rem; height: 2.1rem; }
.cat-strip--dark .ph__icon { --icon-line: var(--lv-ivory); }
.cat-strip__mark { color: var(--lv-gold-deep); }
.cat-strip__text { display: grid; gap: 0.15rem; min-width: 0; }
.cat-strip__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.cat-strip__desc { font-size: 0.8125rem; line-height: 1.5; opacity: 0.85; }
.cat-strip__from { grid-column: 2; display: flex; gap: var(--sp-2); align-items: baseline; font-size: var(--fs-small); }
.cat-strip--dark .cat-strip__from b { color: var(--lv-ivory); font-weight: 500; }
@media (min-width: 30em) {
  .cat-strip { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cat-strip__from { grid-column: 3; white-space: nowrap; }
}
@media (min-width: 48em) and (max-width: 79.99em) {
  .cat-strip { grid-template-columns: auto minmax(0, 1fr); border-radius: 2.5rem; }
  .cat-strip__from { grid-column: 2; }
}

/* Signature facial: tall arch to match the category arches */
.arch-photo { position: relative; margin: 0.75rem; aspect-ratio: 4 / 5; }
.arch-photo::before {
  content: ""; position: absolute; inset: -0.75rem; border: 1px solid var(--lv-sand);
  border-radius: 999px 999px calc(var(--radius) + 0.75rem) calc(var(--radius) + 0.75rem);
}
.arch-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; border-radius: 999px 999px var(--radius) var(--radius); background: var(--lv-linen); }
@media (prefers-reduced-motion: reduce) { .arch-card:hover .arch-card__frame img { transform: none; } }

/* Signature facial feature tile: photo under a warm dark veil, centered title and a
   gold-outlined button, framed by a fine inset line (gold on dark only). */
.feature-tile { position: relative; isolation: isolate; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--lv-charcoal); }
.feature-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; transition: transform 1.6s var(--ease); }
.feature-tile::before { /* warm veil + soft vignette for legible ivory text */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 50%, rgba(28, 20, 14, 0.38) 0%, rgba(20, 14, 10, 0.62) 100%),
    linear-gradient(180deg, rgba(43, 31, 22, 0.25), rgba(11, 11, 10, 0.35));
}
.feature-tile::after { /* fine inset frame */
  content: ""; position: absolute; inset: clamp(0.75rem, 2vw, 1.125rem); border: 1px solid rgba(190, 152, 85, 0.55); border-radius: calc(var(--radius) / 2); pointer-events: none;
}
.feature-tile__inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: clamp(1.5rem, 3vw, 2.25rem); padding: var(--sp-7) var(--sp-6); text-align: center; color: var(--lv-ivory); }
.feature-tile__title {
  margin: 0; color: var(--lv-ivory); font-family: var(--font-display); font-weight: 400;
  font-variant-caps: small-caps; text-transform: none; letter-spacing: 0.04em; line-height: 1.05;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); text-shadow: 0 1px 24px rgba(11, 11, 10, 0.35);
}
.feature-tile__btn { --btn-bg: transparent; --btn-fg: var(--lv-ivory); --btn-bd: var(--lv-gold); border-width: 1.5px; backdrop-filter: blur(2px); }
.feature-tile__btn:hover { --btn-bg: rgba(190, 152, 85, 0.18); --btn-fg: var(--lv-ivory); --btn-bd: var(--lv-gold); }
.feature-tile:hover > img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .feature-tile:hover > img { transform: none; } }

/* Para Él hero photo: framed like the Signature tile, gold hairline on dark */
.him-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--lv-charcoal); }
.him-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.him-photo::after { content: ""; position: absolute; inset: clamp(0.75rem, 2vw, 1.125rem); border: 1px solid rgba(190, 152, 85, 0.6); border-radius: calc(var(--radius) / 2); pointer-events: none; }

/* Pre-opening announcement line (courtesy tone, never a sale banner) */
.pre-bar { background: var(--lv-linen); border-bottom: var(--hairline); }
.pre-bar p { max-width: var(--container, 72rem); margin: 0 auto; padding: 0.55rem var(--gutter); text-align: center; font-size: 0.8125rem; line-height: 1.5; color: var(--lv-charcoal); }
.pre-bar strong { font-weight: 600; color: var(--lv-black); }
.pre-bar a { color: var(--lv-black); text-decoration: underline; text-decoration-color: var(--lv-gold-deep); text-underline-offset: 0.2em; }
.ig-grid[hidden] { display: none; }
.pre-bar__short { display: none; }
@media (max-width: 39.99em) { .pre-bar__more { display: none; } .pre-bar__short { display: inline; } .pre-bar p { padding-block: 0.5rem; } }

/* Shop: "what we're preparing" as a numbered editorial list (no image boxes) */
.need-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 48em) { .need-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.need-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--sp-3); align-items: baseline; padding: var(--sp-5) 0; border-top: var(--hairline); }
.need-list__n { font-size: 0.8125rem; letter-spacing: var(--track-eyebrow); color: var(--lv-gold-deep); font-variant-numeric: tabular-nums; }
.need-list__title { margin: 0 0 var(--sp-1); font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h4, 1.375rem); line-height: 1.2; color: var(--lv-black); }
.need-list li p { margin: 0; font-size: var(--fs-small); color: var(--lv-charcoal); line-height: 1.6; }
