/* ==========================================================
   DERMAPIEL · Centro Profesional — sistema visual
   Negro + dorado champán. Tema claro (marfil) y oscuro.
   ========================================================== */
:root {
  /* fijos: secciones oscuras (hero, promos, ubicación, footer) */
  --noir: #0d0c0a;
  --noir-2: #17140f;
  --noir-3: #221d16;
  --gold: #c8a45e;
  --gold-light: #ecd3a0;
  --gold-deep: #9a7637;
  --ivory: #f7f2e9;
  --sand: #cbbd9f;
  --wa: #25d366;

  /* tema claro (por defecto) */
  --bg: #faf7f1;
  --bg-alt: #f2ece1;
  --surface: #ffffff;
  --ink: #1a1713;
  --muted: #6e6457;
  --line: rgba(26, 23, 19, 0.12);
  --accent: #8d6a2f;          /* dorado legible sobre claro */
  --busy: #2a251e;
  --busy-ink: rgba(247, 242, 233, .85);
  --past: #efe9df;
  --past-ink: #b2a797;
  --shadow: 0 30px 60px -32px rgba(26, 23, 19, 0.35);
  color-scheme: light;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 2px;
  --wrap: min(1200px, 100% - 48px);
}
:root[data-theme="dark"] {
  --bg: #0f0e0b;
  --bg-alt: #15120e;
  --surface: #1b1813;
  --ink: #f1e9da;
  --muted: #a99e8b;
  --line: rgba(236, 211, 160, 0.14);
  --accent: #d6b673;
  --busy: #3a3229;
  --busy-ink: rgba(247, 242, 233, .7);
  --past: #181510;
  --past-ink: #5c5448;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(40px, 5.4vw, 72px); }
h2 em, h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 56ch; }

/* ---------- botones ---------- */
.btn {
  --bg-b: var(--ink); --fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px;
  background: var(--bg-b); color: var(--fg); border: 1px solid var(--bg-b); border-radius: var(--r);
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.3s var(--ease);
  isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform 0.55s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--noir); border-color: var(--gold); }
.btn:active { transform: scale(0.98); }
.btn.gold { --bg-b: var(--gold); --fg: var(--noir); }
.btn.gold::after { background: var(--ivory); }
.btn.ghost { --bg-b: transparent; --fg: var(--ivory); border-color: rgba(247, 242, 233, 0.45); }
.btn.ghost.dark { --fg: var(--ink); border-color: var(--line); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- intro: revelación del logo ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--noir); display: grid; place-items: center; transition: opacity 0.9s var(--ease), visibility 0.9s; }
.intro video { width: 100%; height: 100%; object-fit: cover; }
.intro.out { opacity: 0; visibility: hidden; }
.intro-skip { position: absolute; right: 28px; bottom: 28px; background: none; border: 1px solid rgba(200,164,94,.4); color: var(--gold); padding: 10px 18px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; }

/* ---------- navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 20px 0; transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.nav .brand { flex: none; }
.nav.solid { background: rgba(13, 12, 10, 0.92); backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 10px 30px -20px #000; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand img { width: 52px; height: 52px; transition: width .5s var(--ease), height .5s var(--ease); }
.nav.solid .brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: "Playfair Display", var(--serif); font-weight: 500; font-size: 21px; letter-spacing: 0.14em; white-space: nowrap; color: var(--gold-light); }
.brand-text small { font-size: 8.5px; letter-spacing: 0.32em; color: var(--sand); margin-top: 6px; }
.nav-links { display: flex; gap: 26px; margin-inline: auto; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; color: rgba(247, 242, 233, 0.82); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav .btn { padding: 13px 22px; white-space: nowrap; }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(200,164,94,.4); background: transparent; color: var(--gold-light); display: grid; place-items: center; transition: background .4s var(--ease), color .4s; }
.theme-btn:hover { background: var(--gold); color: var(--noir); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.nav.open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; background: var(--noir); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100% !important; object-fit: cover; object-position: 70% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,12,10,.95) 0%, rgba(13,12,10,.72) 40%, rgba(13,12,10,.1) 75%), linear-gradient(0deg, rgba(13,12,10,.85) 0%, rgba(13,12,10,0) 40%);
}
.hero-inner { position: relative; padding: 180px 0 110px; }
.hero h1 { font-size: clamp(46px, 6vw, 92px); max-width: 13ch; margin: 26px 0 26px; }
.hero h1 em { color: var(--gold-light); }
.hero .lead { color: rgba(247, 242, 233, 0.78); max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta { display: flex; gap: 46px; margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(200,164,94,.25); font-size: 12px; letter-spacing: 0.12em; color: rgba(247,242,233,.7); flex-wrap: wrap; }
.hero-meta b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 0; color: var(--gold-light); margin-bottom: 4px; }
.scroll-cue { position: absolute; right: 48px; bottom: 110px; writing-mode: vertical-rl; font-size: 10px; letter-spacing: .4em; color: rgba(247,242,233,.6); display: flex; align-items: center; gap: 16px; }
.scroll-cue::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--noir); color: var(--gold); border-block: 1px solid rgba(200,164,94,.18); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 45s linear infinite; font-family: var(--serif); font-style: italic; font-size: 26px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 12px; margin-left: 60px; color: var(--gold-deep); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
section { position: relative; }
.sec { padding: clamp(90px, 12vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.sec-head h2 { margin-top: 20px; }

/* esencia */
.essence { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: stretch; }
.essence-media { position: relative; min-height: 640px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.essence-media .main { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 40% 35%; }
.essence > div:last-child { align-self: center; padding: 20px 0; }
.essence-media .float { position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover; right: -8%; bottom: -10%; border: 10px solid var(--bg); box-shadow: var(--shadow); }
.essence-badge { position: absolute; left: -26px; top: 40px; background: var(--noir); color: var(--gold-light); padding: 22px 26px; font-family: var(--serif); font-size: 20px; line-height: 1.2; font-style: italic; box-shadow: var(--shadow); }
.essence-badge small { display: block; font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: .3em; color: var(--sand); margin-top: 8px; text-transform: uppercase; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-top: 46px; }
.pillar { border-top: 1px solid var(--line); padding-top: 20px; }
.pillar h3 { font-size: 26px; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pillar .n { font-family: var(--serif); color: var(--accent); font-size: 15px; font-style: italic; }

/* franja de impacto */
.essence-band { position: relative; margin-top: clamp(90px, 10vw, 140px); min-height: 520px; display: flex; align-items: center; background: var(--noir); overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.essence-band .band-img { position: absolute; right: 0; top: 0; width: 72%; height: 100% !important; object-fit: cover; object-position: 70% 40%; }
.essence-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--noir) 30%, rgba(13,12,10,.85) 45%, rgba(13,12,10,0) 75%); }
.band-copy { position: relative; z-index: 2; width: min(560px, 100%); padding: clamp(40px, 6vw, 80px); color: var(--ivory); }
.band-copy blockquote { margin: 22px 0 34px; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; font-weight: 400; }
.band-copy blockquote em { color: var(--gold); }
.band-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 38px; border-top: 1px solid rgba(200,164,94,.3); padding-top: 24px; }
.band-stats b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--gold-light); line-height: 1; }
.band-stats span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); line-height: 1.5; }

/* ---------- doctora ---------- */
.doctora { background: var(--bg-alt); overflow: hidden; }
.doc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.doc-photo { position: relative; }
.doc-photo::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--gold); border-radius: var(--r); }
.doc-photo img { position: relative; width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 20%; border-radius: var(--r); box-shadow: var(--shadow); }
.doc-seal { position: absolute; z-index: 2; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--noir); padding: 10px; box-shadow: var(--shadow); }
.doc-seal img { width: 100%; height: 100%; aspect-ratio: auto; box-shadow: none; }
.doc-role { margin: 14px 0 0; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.doc-titles { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.doc-titles span { border: 1px solid var(--gold); color: var(--ink); padding: 9px 16px; border-radius: 40px; font-size: 12px; letter-spacing: .08em; }
.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 34px 0 38px; }
.doc-cols h3 { font-size: 24px; margin-bottom: 12px; }
.doc-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.doc-cols li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.doc-cols li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 11px; }
.doc-quote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; border-left: 2px solid var(--gold); padding-left: 22px; margin: 0 0 34px; color: var(--ink); }

/* servicios */
.services { background: var(--bg); }
.tabs { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 40px; }
.tab { flex: none; border: 0; background: none; padding: 10px 22px; border-radius: 30px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: background .4s var(--ease), color .4s; }
.tab[aria-selected="true"] { background: var(--noir); color: var(--gold-light); }
:root[data-theme="dark"] .tab[aria-selected="true"] { background: var(--gold); color: var(--noir); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-img { aspect-ratio: 4/3; overflow: hidden; }
.svc-img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.07); }
.svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.svc h3 { font-size: 29px; margin: 10px 0 10px; }
.svc p { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; flex: 1; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.svc-price { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--accent); }
.svc-link { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.svc-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.svc-link:hover svg { transform: translateX(4px); }

/* promos (siempre oscuras) */
.promos { background: var(--noir); color: var(--ivory); overflow: hidden; }
.promos .sec-head .lead { color: rgba(247,242,233,.7); }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: rgba(200,164,94,.18); border: 1px solid rgba(200,164,94,.18); }
.promo { background: var(--noir); padding: 40px 30px; display: flex; flex-direction: column; gap: 14px; transition: background .6s var(--ease); }
.promo:hover { background: var(--noir-2); }
.promo-img { margin: -40px -30px 10px; aspect-ratio: 4/3; overflow: hidden; }
.promo-img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo:hover .promo-img img { transform: scale(1.06); }
.promo .pct { font-family: var(--serif); font-size: 62px; line-height: 1; color: var(--gold-light); }
.promo h3 { font-size: 25px; }
.promo p { margin: 0; color: rgba(247,242,233,.65); font-size: 14px; flex: 1; }
.promo a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.promo-note { margin-top: 18px; font-size: 12px; color: rgba(247,242,233,.45); }

/* proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: s; }
.step { padding-top: 26px; border-top: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 54px; color: var(--gold); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- agenda pública ---------- */
.agenda { background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.agenda-box { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 4px; overflow: hidden; }
.agenda-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.agenda-top h3 { font-size: 30px; }
.legend { display: flex; gap: 20px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.legend .l-free { border: 1px solid var(--gold); background: var(--surface); }
.legend .l-busy { background: var(--busy); }
.legend .l-past { background: var(--past); border: 1px solid var(--line); }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 22px 30px; border-bottom: 1px solid var(--line); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; scroll-snap-align: start; min-width: 78px; padding: 12px 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 3px; text-align: center; transition: all .35s var(--ease); }
.day small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.day b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.day span { display: block; font-size: 10px; color: var(--accent); letter-spacing: .05em; }
.day[aria-pressed="true"] { background: var(--noir); border-color: var(--gold); color: var(--gold-light); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] span { color: var(--sand); }
.slot-group { padding: 24px 30px 0; }
.slot-group + .slot-group { padding-top: 10px; }
.slot-group h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.slots-wrap { padding-bottom: 30px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.slot { border: 1px solid var(--gold); background: var(--surface); color: var(--ink); border-radius: 3px; padding: 13px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: all .3s var(--ease); }
.slot b { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.slot small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.slot.free:hover { background: var(--gold); color: var(--noir); transform: translateY(-2px); }
.slot.free:hover small { color: var(--noir); }
.slot.busy { background: var(--busy); border-color: var(--busy); color: var(--busy-ink); cursor: not-allowed; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 6px, transparent 6px 12px); }
.slot.busy small { color: var(--sand); }
.slot.past { background: var(--past); border-color: var(--line); color: var(--past-ink); cursor: not-allowed; }
.slot.past small { color: var(--past-ink); }
.agenda-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 30px; background: var(--bg); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.agenda-foot strong { color: var(--ink); }
.demo-flag { font-size: 11px; color: var(--accent); }
.hours-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 26px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.hours-table div { background: var(--surface); padding: 16px 20px; font-size: 13.5px; color: var(--muted); }
.hours-table b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 25px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--accent); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; max-width: 60ch; }

/* ---------- ubicación ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; min-height: 560px; background: var(--noir); color: var(--ivory); }
.visit-info { padding: clamp(60px, 8vw, 110px) clamp(24px, 6vw, 90px); }
.visit-info h2 { margin: 20px 0 34px; }
.info-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; color: rgba(247,242,233,.78); font-size: 15px; }
.info-list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.info-list b { display: block; color: var(--gold-light); font-weight: 500; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 3px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border: 1px solid rgba(200,164,94,.35); border-radius: 50%; display: grid; place-items: center; color: var(--gold); transition: all .4s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--noir); }
.socials svg { width: 18px; height: 18px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.5) sepia(.2) contrast(1.05); }

/* ---------- CTA final ---------- */
.cta-final { position: relative; padding: clamp(110px, 14vw, 180px) 0; text-align: center; color: var(--ivory); overflow: hidden; }
.cta-final > img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: rgba(13,12,10,.72); z-index: 1; }
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final h2 { max-width: 16ch; margin: 22px auto 22px; }
.cta-final h2 em { color: var(--gold-light); }
.cta-final p { color: rgba(247,242,233,.75); max-width: 52ch; margin: 0 auto 40px; }
.cta-final .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: #080706; color: rgba(247,242,233,.6); padding: 70px 0 30px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(200,164,94,.14); }
.footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-light); }
.footer .brand { margin-bottom: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; padding-right: 80px; flex-wrap: wrap; }
.made-by { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 26px 18px; border: 1px solid rgba(200,164,94,.22); border-radius: 22px; transition: border-color .4s, background .4s; }
.made-by:hover { border-color: rgba(200,164,94,.5); background: rgba(255,255,255,.03); }
.made-by-link { display: flex; align-items: center; gap: 22px; }
.made-by small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,242,233,.55); line-height: 1.6; }
.made-by small b { display: block; color: var(--ivory); letter-spacing: .12em; font-weight: 500; font-size: 13px; }
.made-by img { height: 132px; width: auto; }
.made-by-contact { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid rgba(200,164,94,.18); width: 100%; justify-content: center; font-size: 14px; letter-spacing: .08em; color: var(--ivory); }
.made-by-wa { display: inline-flex; align-items: center; gap: 7px; background: var(--wa); color: #fff !important; padding: 7px 14px; border-radius: 30px; font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: transform .3s var(--ease), filter .3s; }
.made-by-wa:hover { transform: translateY(-2px); filter: brightness(1.08); }
.made-by-wa svg { width: 16px; height: 16px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 0; background: var(--wa); color: #fff; border-radius: 60px; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6); padding: 15px; transition: gap .5s var(--ease), padding .5s var(--ease); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: max-width .6s var(--ease); }
.wa-float:hover, .wa-float.peek { gap: 10px; padding-right: 22px; }
.wa-float:hover span, .wa-float.peek span { max-width: 220px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(8, 7, 6, .62); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.modal.show { opacity: 1; visibility: visible; }
.modal-card { width: min(480px, 100%); background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 38px 34px 32px; box-shadow: 0 40px 80px -30px #000; transform: translateY(20px) scale(.98); transition: transform .5s var(--ease); max-height: calc(100svh - 40px); overflow: auto; }
.modal.show .modal-card { transform: none; }
.modal-card h3 { font-size: 34px; margin: 12px 0 6px; }
.modal-card .when { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,94,.18); }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.modal-actions .btn { flex: 1; justify-content: center; }
.modal-note { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ---------- animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .12s; } .reveal[data-d="2"] { transition-delay: .24s; } .reveal[data-d="3"] { transition-delay: .36s; }
.mask-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease); }
.mask-img.in { clip-path: inset(0 0 0 0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
}
@media (max-width: 1180px) {
  .nav-links, .nav .btn.nav-cta { display: none; }
  .burger { display: block; }
  .nav.open { background: var(--noir); }
  .nav.open .nav-links { display: flex; position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: var(--noir); padding: 10px 24px 30px; }
  .nav.open .nav-links a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(200,164,94,.15); font-size: 13px; }
}
@media (max-width: 860px) {
  .sec-head, .essence, .faq, .visit, .footer-top, .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .essence-media { min-height: 0; aspect-ratio: 4/5; }
  .essence-band { flex-direction: column; align-items: stretch; min-height: 0; }
  .essence-band .band-img { position: relative; width: 100%; height: auto !important; aspect-ratio: 16/10; }
  .essence-band::before { background: linear-gradient(180deg, rgba(13,12,10,0) 20%, var(--noir) 46%); }
  .band-copy { margin-top: -50px; }
  .band-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .band-stats b { font-size: 30px; }
  .band-stats span { font-size: 9.5px; }
  .essence-badge { left: -10px; }
  .doc-photo { margin: 0 34px 30px 0; }
  .doc-seal { right: -20px; top: -20px; width: 92px; height: 92px; }
  .hero-inner { padding: 140px 0 90px; }
  .hero-media video, .hero-media img { object-position: 72% 40%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(13,12,10,.95) 0%, rgba(13,12,10,.65) 50%, rgba(13,12,10,.3) 100%); }
  .hero-meta { gap: 26px; margin-top: 46px; }
  .scroll-cue { display: none; }
  .visit-map iframe { min-height: 340px; }
  .hours-table { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-grid, .steps, .pillars, .doc-cols { grid-template-columns: 1fr; }
  .agenda-top, .days, .slot-group, .agenda-foot { padding-inline: 18px; }
  .slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .slot { padding: 11px 4px; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-right: 0; }
  .made-by { width: 100%; }
  .made-by img { height: 104px; }
  .brand-text b { font-size: 18px; }
  .brand img { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; } .mask-img { clip-path: none; }
}

/* protección de imágenes y videos */
img, video { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
