/* =====================================================================
   Dra. Cinthya Arias · Quiropráctica - Praxista
   Hoja de estilos compartida por todas las páginas
   ===================================================================== */
/* ---------- Fuentes propias (sin depender de Google Fonts) ---------- */
@font-face { font-family: "Italiana"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/italiana-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
:root {
  /* Paleta tomada del logo: oro metálico del monograma + malva de la columna */
  --porcelain: #F7F1EE;
  --linen: #EEE3DE;
  --blush: #E6D4CE;
  --mauve: #7A5552;
  --mauve-deep: #5B3E3C;
  --espresso: #2B1E1F;
  --espresso-2: #352627;
  --gold: #B8925A;
  --gold-hi: #DDBF86;
  --gold-ink: #86622F;
  --ink-soft: #6A5553;
  --rule: rgba(122, 85, 82, .2);
  --rule-dark: rgba(221, 191, 134, .16);
  --on-dark: #F3E9E4;
  --on-dark-soft: #C7B3AD;
  --error-dark: #F2AB9F;
  --f-display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gold-foil: linear-gradient(135deg, #CDAA6E 0%, #B08848 48%, #DCC08A 100%);
  --wrap: 1240px;
  --arch: 999px 999px 26px 26px;
  /* Layout: retícula editorial asimétrica alineada a la izquierda; los arcos repiten la curva de la "C";
     la columna vertebral interactiva es el único gesto audaz, todo lo demás es sobrio */
  color-scheme: light;
}
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--porcelain); color: var(--espresso);
  font-family: var(--f-body); font-weight: 400; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { /* grano sutil de papel */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: .005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--espresso); color: var(--on-dark); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { scroll-margin-top: 90px; }

/* ---------- Tipografía ---------- */
.t-hero { font-size: clamp(52px, 7.6vw, 108px); line-height: .96; letter-spacing: -.01em; }
.t-1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; }
.t-2 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.05; }
.t-3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; }
.lead { font-size: clamp(18px, 1.55vw, 21px); font-weight: 300; line-height: 1.7; color: var(--ink-soft); max-width: 34em; }
.body-text p + p { margin-top: 18px; }
.body-text { color: var(--ink-soft); max-width: 36em; }
.brandline { display: inline-block; font-size: 12.5px; letter-spacing: .3em; color: var(--gold-ink); }
.kicker { display: block; font-size: 14px; font-weight: 500; color: var(--gold-ink); margin-bottom: 18px; }
.dark .kicker { color: var(--gold-hi); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font: 500 15px/1 var(--f-body); letter-spacing: .04em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-foil); color: var(--espresso); box-shadow: 0 12px 26px -16px rgba(134, 98, 47, .8); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -16px rgba(134, 98, 47, .95); }
.btn-line { border-color: var(--gold-ink); color: var(--espresso); background: transparent; }
.btn-line:hover { background: rgba(184, 146, 90, .1); }
.btn-line.on-dark, .dark .btn-line { border-color: rgba(221, 191, 134, .6); color: var(--on-dark); }
.btn-line.on-dark:hover, .dark .btn-line:hover { background: rgba(221, 191, 134, .1); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.text-link:hover { color: var(--gold-ink); }
.dark .text-link { border-color: var(--gold-hi); color: var(--on-dark); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 241, 238, .84); backdrop-filter: saturate(1.2) blur(16px); -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.hdr { display: flex; align-items: center; gap: 26px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand .mono { height: 48px; width: auto; }
.brand .wordmark { height: 35px; width: auto; }
.nav { display: flex; gap: 28px; list-style: none; }
.nav a { position: relative; text-decoration: none; font-size: 15px; color: var(--ink-soft); padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--espresso); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--espresso); }
.menu-btn svg { width: 28px; height: 28px; }
.menu-panel {
  position: fixed; inset: 0; z-index: 90; background: var(--espresso); color: var(--on-dark);
  display: flex; flex-direction: column; padding: 22px 24px 32px; overflow-y: auto;
}
.menu-panel[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top img { height: 46px; }
.menu-close { background: none; border: 1px solid rgba(221, 191, 134, .4); color: var(--on-dark); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.menu-close svg { width: 20px; height: 20px; }
.menu-links { list-style: none; margin: 40px 0 auto; display: grid; gap: 4px; }
.menu-links a { display: block; font-family: var(--f-display); font-size: 40px; line-height: 1.25; text-decoration: none; color: var(--on-dark); }
.menu-links a[aria-current="page"] { color: var(--gold-hi); }
.menu-foot { margin-top: 36px; display: grid; gap: 14px; }
.menu-foot .socials a { border-color: rgba(221, 191, 134, .35); color: var(--on-dark); }

/* ---------- Fotos con respaldo de marca ---------- */
.photo { position: relative; overflow: hidden; background: var(--linen); margin: 0; isolation: isolate; }
.photo > img.ph { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; opacity: 0; transition: opacity .7s ease; }
.photo .fb { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.photo.loaded > img.ph { opacity: 1; }
.photo.loaded .fb { display: none; }
.photo.arch { border-radius: var(--arch); }
.photo.round { border-radius: 26px; }
.tone-mauve { background: radial-gradient(120% 70% at 50% 18%, rgba(221, 191, 134, .2), transparent 60%), radial-gradient(ellipse at 50% 35%, #8E6864 0%, #6F4C49 52%, #4D3432 100%); }
.tone-espresso { background: radial-gradient(90% 60% at 50% 25%, #3F2D2D, var(--espresso) 70%); }
.tone-linen { background: radial-gradient(90% 70% at 50% 30%, #F6EEEA, var(--linen) 70%); }
.tone-blush { background: radial-gradient(90% 70% at 50% 30%, #EFE1DC, var(--blush) 75%); }
.fb .mk { width: 42%; max-width: 260px; filter: drop-shadow(0 18px 24px rgba(20, 12, 12, .3)); }
.tone-linen .fb .mk, .tone-blush .fb .mk { filter: none; }
.fb .word { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 34px); color: var(--on-dark); }
.tone-linen .fb .word, .tone-blush .fb .word { color: var(--mauve-deep); }
.frame-line::after { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid rgba(221, 191, 134, .55); pointer-events: none; z-index: 2; }
.photo.arch.frame-line::after { border-radius: 999px 999px 16px 16px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(84px, 10vw, 150px); }
.section.tight { padding-block: clamp(64px, 7vw, 100px); }
.alt { background: var(--linen); }
.dark { background: var(--espresso); color: var(--on-dark); color-scheme: dark; }
.dark .lead, .dark .body-text { color: var(--on-dark-soft); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head .lead { justify-self: end; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* ---------- Hero de inicio ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(70px, 9vw, 130px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero .lead { margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-size: 14.5px; color: var(--ink-soft); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 146, 90, .18); }
.status.open i { background: #5E8A63; box-shadow: 0 0 0 4px rgba(94, 138, 99, .18); }
.hero-art { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.hero-art .photo { aspect-ratio: 4 / 5.3; box-shadow: 0 50px 90px -56px rgba(43, 30, 31, .75); }
.hero-art .photo::after { animation: draw 1.7s cubic-bezier(.6, .1, .2, 1) both; }
.hero-art .photo .fb, .hero-art .photo.loaded > img.ph { animation: rise 1.4s .25s cubic-bezier(.2, .7, .2, 1) both; }
.hero-badge {
  position: absolute; left: -38px; bottom: 54px; z-index: 3; display: flex; align-items: center; gap: 14px;
  background: var(--porcelain); border: 1px solid var(--rule); border-radius: 18px; padding: 14px 18px 14px 14px;
  box-shadow: 0 24px 40px -28px rgba(43, 30, 31, .55); max-width: 270px;
}
.hero-badge img { width: 44px; }
.hero-badge b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.hero-badge span { font-size: 13px; color: var(--ink-soft); }
@keyframes draw { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- Hero de páginas internas ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 110px) clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--rule); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero .lead { margin-top: 26px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-bottom: 26px; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--espresso); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.page-hero .photo { aspect-ratio: 4 / 4.6; max-width: 400px; justify-self: end; width: 100%; }

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: clamp(80px, 10vw, 140px); }
.manifesto p { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.14; max-width: 20em; }
.manifesto .sign { display: flex; align-items: center; gap: 16px; margin-top: 44px; font-size: 15px; color: var(--on-dark-soft); }
.manifesto .sign img { width: 54px; }

/* ---------- Explorador de columna ---------- */
.spine-x { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.spine-stage { position: relative; display: grid; justify-items: center; padding: 26px 0; }
.spine-stage::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(transparent, var(--rule) 12%, var(--rule) 88%, transparent); }
.spine-col { position: relative; display: grid; gap: 5px; }
.region { all: unset; box-sizing: border-box; position: relative; display: grid; gap: 4px; justify-items: center; padding: 10px 70px; border-radius: 22px; cursor: pointer; transition: background-color .25s; }
.region:hover { background: rgba(184, 146, 90, .07); }
.region:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.region .rname { position: absolute; left: -6px; top: 50%; transform: translate(-100%, -50%); font-size: 13px; color: var(--ink-soft); white-space: nowrap; transition: color .2s; }
.region .rcount { position: absolute; right: -6px; top: 50%; transform: translate(100%, -50%); font-size: 12px; color: var(--ink-soft); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.region[aria-selected="true"] .rname { color: var(--gold-ink); font-weight: 500; }
.region[aria-selected="true"] .rcount { opacity: 1; }
.vb { position: relative; display: block; height: 13px; border-radius: 5px; background: linear-gradient(180deg, #A47F7A, var(--mauve) 60%, #67433F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transition: background .35s, transform .35s; }
.vb::after { content: ""; position: absolute; right: -15px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #B8928D; transition: background .35s; }
.region[data-r="c"] .vb { width: 40px; height: 11px; }
.region[data-r="t"] .vb { width: 52px; height: 12px; }
.region[data-r="l"] .vb { width: 66px; height: 16px; border-radius: 6px; }
.region[data-r="s"] .vb.sac { width: 70px; height: 46px; border-radius: 10px 10px 34px 34px; }
.region[data-r="s"] .vb.coc { width: 18px; height: 12px; border-radius: 4px 4px 9px 9px; }
.region[data-r="s"] .vb::after { display: none; }
.region[aria-selected="true"] .vb { background: var(--gold-foil); transform: scaleX(1.06); }
.region[aria-selected="true"] .vb::after { background: var(--gold); }
.spine-panel { min-height: 420px; }
.spine-panel .rtitle { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.spine-panel .rtitle > span { font-size: 15px; color: var(--gold-ink); font-weight: 500; }
.spine-panel .desc { margin-top: 18px; }
.sym { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 30px; list-style: none; border-top: 1px solid var(--rule); }
.sym li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; display: flex; gap: 12px; align-items: baseline; }
.sym li::before { content: ""; flex: none; width: 10px; height: 7px; border-radius: 3px; background: var(--mauve); transform: translateY(-2px); }
.spine-panel .help { margin-top: 26px; padding: 20px 22px; border-radius: 18px; background: var(--linen); font-size: 16px; color: var(--ink-soft); }
.spine-panel .help b { color: var(--espresso); font-weight: 500; }
.spine-panel .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.spine-tabs { display: none; }

/* ---------- Servicios ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--rule); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; padding: 34px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.svc .n { font-family: var(--f-display); font-size: 30px; color: var(--gold-ink); line-height: 1.1; }
.svc h3 { font-size: clamp(27px, 2.5vw, 34px); line-height: 1.1; }
.svc p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; max-width: 36em; }
.svc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.duration { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--gold-ink); font-weight: 500; white-space: nowrap; }
.tag-first { display: inline-block; margin-left: 10px; vertical-align: middle; font: 500 12px/1 var(--f-body); letter-spacing: .04em; color: var(--mauve); border: 1px solid rgba(122, 85, 82, .4); border-radius: 999px; padding: 5px 10px; }

.svc-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 90px); padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--rule); }
.svc-detail:first-of-type { border-top: 0; padding-top: 0; }
.svc-detail aside { position: sticky; top: 120px; align-self: start; }
.svc-detail aside .duration { display: block; margin-top: 14px; }
.svc-detail aside .btn { margin-top: 26px; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 34px; }
.svc-cols h4 { font-family: var(--f-body); font-weight: 500; font-size: 15px; color: var(--gold-ink); margin-bottom: 12px; }
.ticks { list-style: none; display: grid; gap: 10px; font-size: 16px; color: var(--ink-soft); }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--gold); margin-top: 13px; }

/* ---------- Condiciones ---------- */
.cond-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; list-style: none; }
.cond-index a { display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule); text-decoration: none; font-size: 14.5px; background: rgba(255, 255, 255, .4); }
.cond-index a:hover { border-color: var(--gold); }
.cond { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 90px); padding-block: clamp(48px, 5vw, 76px); border-top: 1px solid var(--rule); }
.cond .region-tag { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--gold-ink); font-weight: 500; }
.notice { margin-top: clamp(40px, 5vw, 64px); padding: 22px 26px; border-radius: 18px; border: 1px solid var(--rule); background: rgba(255, 255, 255, .45); font-size: 15.5px; color: var(--ink-soft); max-width: 60em; }
.notice b { color: var(--espresso); font-weight: 500; }

/* ---------- Doctora ---------- */
.portrait { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.portrait .photo { aspect-ratio: 4 / 5; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 50px; padding-top: 34px; border-top: 1px solid var(--rule); }
.principles dt { font-family: var(--f-display); font-size: clamp(22px, 1.75vw, 28px); line-height: 1.1; }
.principles dd { margin: 10px 0 0; font-size: 15.5px; color: var(--ink-soft); }
.dark .principles { border-color: var(--rule-dark); }
.dark .principles dd { color: var(--on-dark-soft); }
.cred { list-style: none; border-top: 1px solid var(--rule); margin-top: 30px; }
.cred li { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.cred b { font-weight: 500; color: var(--gold-ink); }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.gallery .photo { border-radius: 22px; }
.gallery .photo:first-child { grid-row: span 2; border-radius: var(--arch); }

/* ---------- Primera visita ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { position: relative; padding: 32px 28px 0 0; border-top: 1px solid var(--gold); }
.steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 15px; height: 11px; border-radius: 4px; background: var(--mauve); }
.steps .n { font-family: var(--f-display); font-size: 60px; line-height: 1; color: var(--gold-ink); }
.dark .steps .n { color: var(--gold-hi); }
.steps h3 { font-family: var(--f-body); font-weight: 500; font-size: 18px; margin-top: 18px; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--ink-soft); }
.dark .steps p { color: var(--on-dark-soft); }
.timeline { list-style: none; border-left: 1px solid var(--gold); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 46px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 10px; width: 15px; height: 11px; border-radius: 4px; background: var(--mauve); }
.timeline .when { font-size: 14px; font-weight: 500; color: var(--gold-ink); }
.timeline h3 { font-size: clamp(28px, 2.6vw, 36px); margin-top: 6px; }
.timeline p { margin-top: 10px; color: var(--ink-soft); max-width: 38em; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: rgba(255, 255, 255, .55); border: 1px solid var(--rule); border-radius: 22px; padding: 28px; }
.card h3 { font-size: 28px; line-height: 1.15; }
.card .ticks { margin-top: 18px; }
.dark .card { background: var(--espresso-2); border-color: var(--rule-dark); }
.dark .ticks { color: var(--on-dark-soft); }

/* ---------- Instagram ---------- */
.ig-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.ig-handle { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.ig-handle img { width: 54px; height: 54px; border-radius: 50%; background: var(--espresso); padding: 9px; }
.ig-handle b { display: block; font-weight: 500; }
.ig-handle span { font-size: 14px; color: var(--ink-soft); }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ig-grid a { display: block; position: relative; text-decoration: none; }
.ig-grid .photo { aspect-ratio: 4 / 5; border-radius: 18px; transition: transform .35s ease; }
.ig-grid a:nth-child(even) .photo { transform: translateY(28px); }
.ig-grid a:hover .photo { transform: translateY(-4px); }
.ig-grid a:nth-child(even):hover .photo { transform: translateY(24px); }
.ig-grid .ig-ov { position: absolute; inset: 0; border-radius: 18px; display: grid; place-items: center; background: rgba(43, 30, 31, .35); opacity: 0; transition: opacity .3s; color: var(--on-dark); z-index: 3; }
.ig-grid a:nth-child(even) .ig-ov { transform: translateY(28px); }
.ig-grid a:hover .ig-ov, .ig-grid a:focus-visible .ig-ov { opacity: 1; }
.ig-ov svg { width: 28px; height: 28px; }

/* ---------- Reseñas ---------- */
.review-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: clamp(32px, 4vw, 52px); border-radius: 28px; background: var(--linen); }
.review-band .stars { display: flex; gap: 6px; margin-bottom: 14px; color: var(--gold); }
.review-band .stars svg { width: 22px; height: 22px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.cta-band .bg-mono { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 420px; opacity: .08; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-size: 19px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1px; background: var(--gold-ink); transition: transform .25s ease; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 0 26px; max-width: 40em; color: var(--ink-soft); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.c-list { list-style: none; border-top: 1px solid var(--rule); }
.c-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.c-list .k { font-size: 14.5px; color: var(--ink-soft); }
.c-list .v { font-size: 18px; }
.c-list .v a { text-decoration-color: rgba(134, 98, 47, .45); text-underline-offset: 4px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
.hours td { padding: 0 0 6px; vertical-align: top; }
.hours td:first-child { padding-right: 20px; white-space: nowrap; }
.hours tr.today td { color: var(--gold-ink); font-weight: 500; }
.visit-card { border-radius: var(--arch); background: var(--espresso); color: var(--on-dark); display: grid; align-content: end; justify-items: center; gap: 22px; text-align: center; padding: 70px 32px 44px; min-height: 520px; position: relative; overflow: hidden; }
.visit-card::before { content: ""; position: absolute; inset: 12px; border-radius: 999px 999px 18px 18px; border: 1px solid rgba(221, 191, 134, .35); pointer-events: none; }
.visit-card img { width: 120px; }
.visit-card h3 { font-size: 38px; line-height: 1.1; }
.visit-card p { color: var(--on-dark-soft); font-size: 15.5px; max-width: 22em; }
.visit-actions { display: grid; gap: 10px; width: min(290px, 100%); position: relative; }
.msg-form { display: grid; gap: 16px; margin-top: 10px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 13.5px; color: var(--ink-soft); }
.fld input, .fld textarea, .fld select { width: 100%; background: rgba(255, 255, 255, .6); border: 1px solid var(--rule); border-radius: 14px; padding: 13px 15px; font: 400 16px/1.4 var(--f-body); color: var(--espresso); }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 146, 90, .15); }
.fld textarea { min-height: 120px; resize: vertical; }

/* ---------- Redes ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.socials a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule); text-decoration: none; font-size: 14.5px; transition: border-color .2s, background-color .2s; }
.socials a:hover { border-color: var(--gold); background: rgba(184, 146, 90, .08); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Reservas (agenda) ---------- */
.booking-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.agenda { position: relative; margin-top: 52px; display: grid; grid-template-columns: .9fr 1.25fr 1.05fr; background: #352627; border: 1px solid rgba(221, 191, 134, .18); border-radius: 28px; box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .9); }
.col { padding: 34px clamp(22px, 2.4vw, 36px) 38px; min-width: 0; }
.col + .col { border-left: 1px solid rgba(221, 191, 134, .14); }
.col-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.col-head .n { font-family: var(--f-display); font-size: 40px; line-height: 1; color: var(--gold-hi); }
.col-head h3 { font-family: var(--f-body); font-weight: 500; font-size: 16px; letter-spacing: .02em; }
.opt-list { display: grid; gap: 10px; }
.opt-note { margin-top: 22px; font-size: 14px; color: var(--on-dark-soft); }
.opt-note a { color: var(--gold-hi); text-underline-offset: 3px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(243, 233, 228, .14); transition: border-color .2s, background-color .2s; }
.opt b { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.opt em { font-style: normal; font-size: 13.5px; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt:hover span { border-color: rgba(221, 191, 134, .45); }
.opt input:checked + span { border-color: var(--gold-hi); background: rgba(221, 191, 134, .09); }
.opt input:checked + span em { color: var(--gold-hi); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.opt .opt-sub { grid-column: 1 / -1; font-size: 12.5px; letter-spacing: .02em; color: var(--gold-hi); }
.opt .opt-sub.req { color: var(--on-dark-soft); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-title { font-family: var(--f-display); font-size: 30px; line-height: 1; }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243, 233, 228, .22); background: transparent; color: var(--on-dark); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover:not(:disabled) { border-color: var(--gold-hi); color: var(--gold-hi); }
.icon-btn:disabled { opacity: .25; cursor: not-allowed; }
.icon-btn svg { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 18px; }
.cal-dow { text-align: center; font-size: 12.5px; color: var(--on-dark-soft); padding-bottom: 6px; }
.day { position: relative; aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent; color: var(--on-dark); font: 400 16px/1 var(--f-body); font-variant-numeric: lining-nums tabular-nums; cursor: pointer; display: grid; place-items: center; transition: background-color .15s, color .15s; }
.day:hover:not(:disabled):not(.sel) { background: rgba(221, 191, 134, .12); }
.day:disabled { color: rgba(243, 233, 228, .24); cursor: default; }
.day.today::after { content: ""; position: absolute; bottom: 14%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-hi); }
.day.sel { background: var(--gold-foil); color: var(--espresso); }
.day.sel::after { background: var(--espresso); }
.slots { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(221, 191, 134, .14); }
.slots-title { font-size: 14.5px; color: var(--on-dark-soft); }
.slots-title strong { color: var(--on-dark); font-weight: 500; }
.slot-group { margin-top: 14px; }
.slot-group > span { display: block; font-size: 12.5px; color: var(--on-dark-soft); margin-bottom: 8px; }
.slot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-width: 92px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(221, 191, 134, .32); background: transparent; color: var(--on-dark); font: 400 14.5px/1 var(--f-body); font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover { border-color: var(--gold-hi); }
.slot.sel { background: var(--gold-foil); color: var(--espresso); border-color: transparent; font-weight: 500; }
.empty { margin-top: 12px; font-size: 14.5px; color: var(--on-dark-soft); }
.summary { margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .18); display: grid; gap: 8px; }
.summary div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: 14.5px; }
.summary dt { color: var(--on-dark-soft); }
.summary dd { margin: 0; color: var(--on-dark); font-weight: 500; }
.summary dd.muted { color: rgba(243, 233, 228, .4); font-weight: 400; }
.bfield { display: grid; gap: 6px; margin-bottom: 16px; }
.bfield label, .legend { font-size: 13.5px; color: var(--on-dark-soft); }
.bfield input, .bfield textarea { width: 100%; background: transparent; color: var(--on-dark); border: 0; border-bottom: 1px solid rgba(243, 233, 228, .28); padding: 8px 0 9px; font: 400 16px/1.4 var(--f-body); border-radius: 0; resize: vertical; }
.bfield textarea { min-height: 64px; }
.bfield input:focus, .bfield textarea:focus { outline: none; border-bottom-color: var(--gold-hi); }
.bfield input::placeholder, .bfield textarea::placeholder { color: rgba(243, 233, 228, .32); }
.bfield .err, .check .err, .cta-err { font-size: 13px; color: var(--error-dark); }
.bfield.invalid input { border-bottom-color: var(--error-dark); }
.seg { display: flex; gap: 8px; margin: 6px 0 18px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(243, 233, 228, .22); font-size: 14.5px; }
.seg input:checked + span { border-color: var(--gold-hi); color: var(--gold-hi); background: rgba(221, 191, 134, .08); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; font-size: 14px; color: var(--on-dark-soft); margin: 4px 0 22px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.check .err { grid-column: 2; }
.cta { width: 100%; }
.cta-note { margin-top: 12px; font-size: 13px; color: var(--on-dark-soft); text-align: center; }
.cta-err { margin-top: 10px; text-align: center; }
.done { position: absolute; inset: 0; z-index: 3; border-radius: 28px; background: rgba(43, 30, 31, .97); display: grid; place-items: center; padding: 32px; text-align: center; }
.done[hidden] { display: none; }
.done-inner { max-width: 520px; display: grid; justify-items: center; gap: 16px; }
.done img { width: 84px; }
.done h3 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; outline: none; }
.done p { color: var(--on-dark-soft); }
.done dl { margin: 6px 0 4px; display: grid; gap: 4px; font-size: 15px; }
.done dl div { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.done dt { color: var(--on-dark-soft); }
.done dd { margin: 0; font-weight: 500; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.linklike { background: none; border: 0; color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 4px; font: inherit; font-size: 14.5px; cursor: pointer; margin-top: 4px; }
.booking-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.booking-info div { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--rule-dark); }
.booking-info b { display: block; font-weight: 500; margin-bottom: 6px; color: var(--gold-hi); }
.booking-info p, .booking-info td { font-size: 15px; color: var(--on-dark-soft); }
.booking-info .hours tr.today td { color: var(--on-dark); }

/* ---------- Pie ---------- */
.site-footer { background: var(--espresso); color: var(--on-dark-soft); padding: clamp(70px, 8vw, 110px) 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; }
.foot-brand img { width: 84px; }
.foot-brand b { display: block; margin-top: 20px; font-family: var(--f-display); font-weight: 400; font-size: 30px; color: var(--on-dark); line-height: 1.1; }
.foot-brand small { display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: .28em; color: var(--gold-hi); }
.foot-brand p { margin-top: 20px; max-width: 24em; }
.site-footer h4 { font-family: var(--f-body); font-weight: 500; font-size: 14px; color: var(--on-dark); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul.socials { display: flex; }
.site-footer .hours td:last-child { white-space: nowrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer .socials a { border-color: rgba(221, 191, 134, .3); color: var(--on-dark); }
.site-footer .hours td { font-size: 14.5px; padding-bottom: 4px; }
.site-footer .hours tr.today td { color: var(--gold-hi); }
.fine { margin-top: clamp(50px, 6vw, 80px); padding-top: 24px; border-top: 1px solid rgba(243, 233, 228, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: var(--gold-hi); border: 1px solid rgba(221, 191, 134, .5); box-shadow: 0 16px 30px -12px rgba(43, 30, 31, .6); text-decoration: none; transition: transform .2s; }
.float-wa svg { width: 26px; height: 26px; }
.float-wa:hover { transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .agenda { grid-template-columns: 1fr 1.2fr; }
  .col-data { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid rgba(221, 191, 134, .14); }
  .col-data .data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ig-grid a:nth-child(even) .photo, .ig-grid a:nth-child(even) .ig-ov { transform: none; }
  .ig-grid a:nth-child(even):hover .photo { transform: translateY(-4px); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr .btn { display: none; }
  .hero-grid, .page-hero-grid, .split, .split.rev, .spine-x, .svc-detail, .cond, .portrait, .faq-grid, .contact-grid, .sec-head, .cta-grid { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .hero-art { justify-self: start; max-width: 420px; }
  .hero-badge { left: auto; right: -10px; bottom: 30px; }
  .page-hero .photo { justify-self: start; max-width: 340px; }
  .svc-detail aside { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .cards3, .booking-info { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
  .gallery .photo:first-child { grid-row: auto; grid-column: span 2; border-radius: 22px; }
  .spine-panel { min-height: 0; }
  .visit-card { min-height: 440px; max-width: 460px; }
  .cta-band .bg-mono { width: 300px; right: -80px; opacity: .06; }
}
@media (max-width: 720px) {
  .agenda { grid-template-columns: 1fr; }
  .col + .col { border-left: 0; border-top: 1px solid rgba(221, 191, 134, .14); }
  .col-data .data-grid { grid-template-columns: 1fr; }
  .booking-head { grid-template-columns: 1fr; }
  .booking-head img { display: none; }
  .principles { grid-template-columns: 1fr; gap: 22px; }
  .sym, .svc-cols { grid-template-columns: 1fr; }
  .review-band { grid-template-columns: 1fr; }
  .region { padding: 8px 64px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand .wordmark { height: 28px; }
  .brand .mono { height: 40px; }
  .hdr { min-height: 70px; gap: 14px; }
  .svc { grid-template-columns: 1fr; }
  .svc .n { display: none; }
  .svc-meta { flex-direction: row; align-items: center; justify-content: space-between; }
  .steps { grid-template-columns: 1fr; }
  .c-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badge { position: relative; right: auto; bottom: auto; margin: -36px 16px 0; }
  .agenda { border-radius: 22px; }
  .day { font-size: 15px; }
  .foot-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery .photo { aspect-ratio: 4 / 3; grid-column: auto !important; }
  .menu-links a { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* =====================================================================
   CAPA PREMIUM: movimiento, 3D y secciones nuevas
   ===================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Transiciones entre páginas */
::view-transition-old(root) { animation: .42s cubic-bezier(.7, 0, .84, 0) both vt-out; }
::view-transition-new(root) { animation: .75s cubic-bezier(.16, 1, .3, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* Intro con monograma */
.intro { display: none; }
.has-intro .intro { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: var(--espresso); animation: intro-safe 0s 3.4s forwards; }
.has-intro .intro img { width: clamp(96px, 12vw, 140px); }
.has-intro .intro i { display: block; width: 168px; height: 1px; background: var(--gold-foil); transform-origin: 0 50%; }
@keyframes intro-safe { to { visibility: hidden; } }
.motion:not(.motion-ok) .hero > .wrap, .motion:not(.motion-ok) .page-hero > .wrap { opacity: 0; }
.motion .hero-art .photo .fb, .motion .hero-art .photo.loaded > img.ph { animation: none; }

/* Texto dividido en palabras */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .03em .12em; margin: -.14em -.03em -.12em; }
.w > span { display: inline-block; transform-origin: 0 100%; will-change: transform; }
.mw, .mw > span { display: inline; }

/* Progreso, encabezado y cursor */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--gold-foil); transform: scaleX(0); transform-origin: 0 50%; }
.site-header { transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .3s ease; }
.site-header.hide { transform: translateY(-101%); }
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor i, .cursor b { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor i { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor b { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(184, 146, 90, .55); transition: width .35s, height .35s, margin .35s, background-color .35s, border-color .35s, opacity .2s; }
.cursor.big b { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(221, 191, 134, .12); border-color: var(--gold); }
.cursor.text b { opacity: 0; }

/* Brillo de las tarjetas con relieve */
[data-tilt], .card, .review-band { position: relative; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 246, 232, .42), rgba(255, 246, 232, 0) 46%); mix-blend-mode: soft-light; }
.is-tilt .glare { opacity: 1; }

/* ---------- Héroe ---------- */
.hero { min-height: calc(100svh - 82px); display: grid; align-content: center; overflow: hidden; }
.hero-art { isolation: isolate; }
.hero-art .photo { z-index: 1; }
.hero-glow { position: absolute; inset: -18% -30% -12% -60%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side at 38% 50%, rgba(221, 191, 134, .38), rgba(230, 212, 206, .25) 45%, transparent 75%); filter: blur(10px); }
.hero-3d { position: absolute; z-index: 3; left: -52%; top: -12%; width: 80%; height: 124%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-3d.ready { opacity: 1; }
.hero-3d canvas { width: 100% !important; height: 100% !important; display: block; filter: drop-shadow(0 30px 40px rgba(91, 62, 60, .28)); }
.hero-badge { z-index: 4; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--rule); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold); animation: cue 2.2s cubic-bezier(.6, .1, .2, 1) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Cinta de palabras ---------- */
.marquee { overflow: hidden; background: var(--espresso); color: var(--gold-hi); padding-block: 26px; border-block: 1px solid var(--rule-dark); }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; white-space: nowrap; will-change: transform; }
.marquee-track span { font-family: var(--f-display); font-size: clamp(40px, 5.4vw, 78px); line-height: 1; letter-spacing: .01em; }
.marquee-track .vt { display: block; width: 30px; height: 18px; border-radius: 6px; background: var(--gold-foil); position: relative; flex: none; opacity: .9; }
.marquee-track .vt::after { content: ""; position: absolute; right: -11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--gold); }

/* ---------- Explorador 3D ---------- */
.spine-hint { display: none; }
.spine-x.is-3d .spine-stage { display: block; padding: 0; }
.spine-x.is-3d .spine-stage::before { display: none; }
.spine-3d { position: relative; height: 600px; opacity: 0; transition: opacity 1.2s ease; }
.spine-3d.ready { opacity: 1; }
.spine-3d::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(221, 191, 134, .3), rgba(230, 212, 206, .18) 55%, transparent); z-index: 0; }
.spine-3d canvas { position: relative; z-index: 1; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.spine-3d canvas:active { cursor: grabbing; }
.spine-x.is-3d .spine-hint { display: block; text-align: center; font-size: 13px; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 4px; order: 2; }
.spine-x.is-3d .spine-col { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.spine-x.is-3d .region { display: inline-flex; padding: 10px 18px; border: 1px solid var(--rule); border-radius: 999px; transition: background-color .3s, border-color .3s, color .3s; }
.spine-x.is-3d .region .vb, .spine-x.is-3d .region .rcount { display: none; }
.spine-x.is-3d .region .rname { position: static; transform: none; font-size: 14.5px; }
.spine-x.is-3d .region[aria-selected="true"] { background: var(--gold-foil); border-color: transparent; }
.spine-x.is-3d .region[aria-selected="true"] .rname { color: var(--espresso); }

/* ---------- Servicios en tarjetas ---------- */
.svc-cards { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: clamp(26px, 2.6vw, 36px); border-radius: 30px; background: var(--porcelain); border: 1px solid var(--rule); text-decoration: none; color: inherit; overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; transition: box-shadow .4s ease, border-color .4s ease; will-change: transform; }
.svc-card:hover { box-shadow: 0 40px 70px -40px rgba(43, 30, 31, .45); border-color: rgba(184, 146, 90, .55); }
.svc-card h3 { font-size: clamp(30px, 2.6vw, 38px); line-height: 1.06; margin-top: auto; }
.svc-card p { color: var(--ink-soft); font-size: 16px; max-width: 30em; }
.svc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-dur { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--gold-ink); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(184, 146, 90, .4); }
.svc-tag { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--gold-foil); color: var(--espresso); }
.svc-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; }
.svc-req { color: var(--ink-soft); }
.svc-cta { margin-left: auto; font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.svc-card.featured { grid-row: span 2; background: var(--espresso); color: var(--on-dark); border-color: var(--rule-dark); min-height: 560px; position: relative; }
.svc-card.featured::before { content: ""; position: absolute; right: -90px; bottom: -70px; width: 420px; height: 420px; background: url("../img/mono-dark-big.webp") center / contain no-repeat; opacity: .1; pointer-events: none; }
.svc-card.featured h3 { font-size: clamp(40px, 3.6vw, 56px); }
.svc-card.featured p { color: var(--on-dark-soft); font-size: 17px; }
.svc-card.featured .svc-dur { color: var(--gold-hi); border-color: rgba(221, 191, 134, .45); }
.svc-card.featured .svc-go { border-color: var(--rule-dark); }
.svc-card.featured .svc-cta { border-color: var(--gold-hi); color: var(--gold-hi); }
.svc-cards .svc-card:last-child { grid-column: 2 / span 2; }
.svc-inc { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: inc; position: relative; z-index: 1; }
.svc-inc li { counter-increment: inc; position: relative; display: flex; align-items: center; gap: 16px; padding: 9px 0; font-size: 15.5px; color: var(--on-dark-soft); }
.svc-inc li::before { content: counter(inc); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(221, 191, 134, .5); font-size: 12.5px; font-weight: 500; color: var(--gold-hi); background: var(--espresso); position: relative; z-index: 1; }
.svc-inc li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 39px; height: calc(100% - 30px); width: 1px; background: linear-gradient(rgba(221, 191, 134, .5), rgba(221, 191, 134, .12)); }
.svc-inc li:nth-child(4) { color: var(--on-dark); }
.svc-inc li:nth-child(4)::before { background: var(--gold-foil); color: var(--espresso); border-color: transparent; }
.svc-foot { margin-top: 30px; color: var(--ink-soft); font-size: 16px; max-width: 52em; }
.svc-foot .text-link { margin-left: 6px; }

/* ---------- Primera visita en horizontal ---------- */
.section.hsteps { padding: 0; }
.hsteps-pin { padding-block: clamp(80px, 9vw, 120px); overflow: hidden; }
.hsteps.is-pinned .hsteps-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hsteps-track { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 56px; padding-inline: max(20px, calc((100vw - var(--wrap)) / 2)); }
.hsteps.is-pinned .hsteps-track { flex-wrap: nowrap; width: max-content; padding-right: 12vw; will-change: transform; }
.hstep { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; min-height: 330px; padding: 34px; border-radius: 30px; border: 1px solid var(--rule-dark); background: linear-gradient(160deg, rgba(243, 233, 228, .06), rgba(243, 233, 228, .015)); }
.hsteps.is-pinned .hstep { flex: 0 0 clamp(320px, 30vw, 430px); min-height: 380px; }
.hstep .n { font-family: var(--f-display); font-size: clamp(80px, 8vw, 120px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--gold-hi); }
.hstep h3 { font-size: clamp(30px, 2.6vw, 38px); line-height: 1.08; margin-top: auto; color: var(--on-dark); }
.hstep p { color: var(--on-dark-soft); font-size: 16px; }
.hstep.end { align-items: flex-start; justify-content: flex-end; background: radial-gradient(circle at 80% 0%, rgba(221, 191, 134, .22), transparent 60%), rgba(243, 233, 228, .03); border-color: rgba(221, 191, 134, .45); }
.hstep.end img { width: 86px; margin-bottom: auto; }
.hstep.end h3 { margin-top: 0; }
.hsteps-bar { height: 1px; margin-top: 44px; background: var(--rule-dark); display: none; }
.hsteps.is-pinned .hsteps-bar { display: block; }
.hsteps-bar i { display: block; height: 100%; background: var(--gold-foil); transform-origin: 0 50%; }

/* ---------- Firma gigante del pie ---------- */
.bigword { overflow: hidden; margin-top: 60px; padding-top: 10px; line-height: .92; }
.bigword span { display: block; font-family: var(--f-display); font-size: clamp(46px, 12.4vw, 164px); white-space: nowrap; letter-spacing: -.005em; color: transparent; -webkit-text-stroke: 1px rgba(221, 191, 134, .42); }

@media (max-width: 1100px) {
  .svc-cards { grid-template-columns: 1fr 1fr; }
  .svc-card.featured { grid-row: auto; grid-column: 1 / -1; min-height: 360px; }
  .svc-cards .svc-card:last-child { grid-column: auto; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-3d { left: -30%; width: 74%; }
  .spine-3d { height: 470px; }
  .scroll-cue { display: none; }
}
@media (max-width: 720px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card, .svc-card.featured { min-height: 0; }
  .svc-card.featured::before { width: 280px; height: 280px; right: -70px; bottom: -60px; }
  .marquee { padding-block: 18px; }
  .marquee-track { gap: 28px; }
  .hstep { min-height: 0; padding: 28px; }
  .spine-3d { height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue i::after { animation: none; }
  .hero-3d, .spine-3d { transition: none; }
}

@media (max-width: 600px) { .cred li { grid-template-columns: 1fr; gap: 4px; } }
