/* Reyes Plan Med & Spa — hoja de estilos del sitio (negro y oro) */
:root {
  color-scheme: dark;
  --bg: #0d0c0a;            /* fondo principal: negro cálido */
  --bg-deep: #070706;       /* secciones alternas */
  --card: #15130f;          /* tarjetas */
  --sand: #1d1a15;
  --ink: #f2eadb;           /* texto: marfil */
  --ink-soft: #bcb2a0;
  --muted: #8a8172;
  --gold: #c9a45c;
  --gold-light: #e6c987;
  --gold-grad: linear-gradient(135deg, #e6c987 0%, #c9a45c 45%, #9c7a3c 100%);
  --gold-soft: rgba(201, 164, 92, .14);
  --line: rgba(201, 164, 92, .18);
  --line-strong: rgba(201, 164, 92, .4);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --header-h: 76px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: #0d0c0a; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(860px, 100% - 32px); margin-inline: auto; }

/* Tipografía */
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-top: .8rem; }
h1 em, h2 em { font-style: italic; color: var(--gold); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 36rem; }
.muted { color: var(--muted); }
.mt-08 { margin-top: .8rem; } .mt-1 { margin-top: 1.4rem; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2.2rem; }
.lead-c { margin: 1.2rem auto 2rem; } .jc { justify-content: center; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: transform .2s, filter .2s, background .2s, border-color .2s; cursor: pointer; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-grad); color: #0d0c0a; box-shadow: 0 10px 30px -12px rgba(201, 164, 92, .55); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line-strong); color: var(--gold-light); }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-gold { color: var(--gold-light); font-weight: 600; font-size: .88rem; border-bottom: 1px solid rgba(201,164,92,.4); padding-bottom: 2px; display: inline-flex; gap: .4rem; align-items: center; }
.link-gold:hover { color: var(--gold); border-color: var(--gold); }

/* Fotos con tono unificado */
.photo { position: relative; overflow: hidden; background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05) brightness(.92); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(201,164,92,.06), rgba(13,12,10,.35)); pointer-events: none; }
.photo:hover img { transform: scale(1.04); filter: saturate(.95) contrast(1.05) brightness(1); }

/* ===== Cabecera ===== */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 36px; padding: .45rem 16px; background: var(--gold-grad); color: #0d0c0a; font-size: .8rem; font-weight: 600; text-align: center; line-height: 1.3; }
.promo-bar b { font-weight: 800; }
.promo-bar .go { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.solid { background: rgba(13, 12, 10, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.logo-text span { font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: .3rem; }
.menu { display: flex; align-items: center; gap: 1.8rem; font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.menu > a, .menu .drop > button { position: relative; padding: .4rem 0; background: none; border: 0; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.menu > a::after, .menu .drop > button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--gold); transition: right .3s; }
.menu > a:hover, .menu .drop > button:hover, .menu > a[aria-current="page"] { color: var(--ink); }
.menu > a:hover::after, .menu .drop > button:hover::after, .menu > a[aria-current="page"]::after { right: 0; }
.menu .hot { color: var(--gold-light); }
.menu .hot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: .1rem; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,164,92,.7); } 70% { box-shadow: 0 0 0 8px rgba(201,164,92,0); } 100% { box-shadow: 0 0 0 0 rgba(201,164,92,0); } }
.drop { position: relative; }
.drop > button svg { width: 12px; height: 12px; transition: transform .25s; }
.drop-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: 560px; padding: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; background: rgba(21, 19, 15, .98); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.drop:hover .drop-panel, .drop.open .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop:hover > button svg, .drop.open > button svg { transform: rotate(180deg); }
.drop-panel a { display: block; padding: .7rem .8rem; border-radius: 10px; }
.drop-panel a:hover { background: var(--gold-soft); }
.drop-panel a b { display: block; color: var(--ink); font-weight: 600; font-size: .88rem; }
.drop-panel a small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; margin-top: .15rem; }
.drop-panel .all { grid-column: 1 / -1; margin-top: .4rem; border-top: 1px solid var(--line); padding-top: .9rem; color: var(--gold-light); font-weight: 600; font-size: .85rem; }
.nav-cta { padding: .7rem 1.2rem; font-size: .85rem; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

/* ===== Secciones ===== */
main { display: block; }
section { padding: 110px 0; }
.alt { background: var(--bg-deep); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3.2rem; flex-wrap: wrap; }
.section-head p { max-width: 30rem; color: var(--ink-soft); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* Portada (inicio) */
.hero { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; aspect-ratio: 1; right: -300px; top: -250px; background: radial-gradient(circle, rgba(201,164,92,.13), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4.5rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); margin: 1.4rem 0 1.5rem; }
.hero .lead { margin-bottom: 2.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.trust span { display: inline-flex; align-items: center; gap: .5rem; }
.trust svg { width: 16px; height: 16px; color: var(--gold); }
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-visual::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(201,164,92,.5); border-radius: 240px 240px 14px 14px; }
.hero-visual .photo { aspect-ratio: 4/5.2; border-radius: 240px 240px 14px 14px; }
.hero-visual .photo img { object-position: 68% 30%; }
.badge { position: absolute; left: -2.5rem; bottom: 10%; background: rgba(21, 19, 15, .92); backdrop-filter: blur(10px); padding: 1.1rem 1.3rem; border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); border: 1px solid var(--line); display: flex; gap: .9rem; align-items: center; max-width: 270px; z-index: 2; }
.badge .dot { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; color: var(--gold); }
.badge .dot svg { width: 20px; height: 20px; }
.badge p { font-size: .82rem; line-height: 1.35; color: var(--ink-soft); }
.badge b { color: var(--ink); display: block; font-size: .9rem; }

/* Portada de páginas internas */
.page-hero { padding: 150px 0 70px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 0%, rgba(201,164,92,.12), transparent 55%), var(--bg); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 1rem 0 1.2rem; }
.page-hero.split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.page-hero .photo { aspect-ratio: 4/3.4; border-radius: 200px 200px 16px 16px; border: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .78rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span[aria-hidden] { color: var(--line-strong); }

/* Cinta */
.ribbon { border-block: 1px solid var(--line); background: var(--bg-deep); overflow: hidden; padding: 1.3rem 0; }
.ribbon-track { display: flex; width: max-content; animation: slide 45s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--ink-soft); padding: 0 1.6rem; white-space: nowrap; display: flex; align-items: center; gap: 3.2rem; }
.ribbon span::after { content: "✦"; font-style: normal; font-size: .9rem; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Especialidades (tarjetas con foto) */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cat-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.cat-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cat-card .photo { aspect-ratio: 16/10; }
.cat-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.cat-card small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.cat-card h3 { font-size: 1.6rem; }
.cat-card p { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.cat-card .more { margin-top: .8rem; color: var(--gold-light); font-size: .85rem; font-weight: 600; }

/* Nosotros (collage) */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.collage { position: relative; padding: 0 3.5rem 3.5rem 0; }
.collage .main { aspect-ratio: 4/5; border-radius: var(--radius); }
.collage .small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3/4; border-radius: 14px; border: 6px solid var(--bg); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); }
.seal { position: absolute; left: -22px; top: 30px; width: 110px; height: 110px; border-radius: 50%; background: var(--gold-grad); color: #0d0c0a; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-size: .95rem; line-height: 1.1; font-weight: 600; box-shadow: 0 14px 40px -12px rgba(201,164,92,.6); z-index: 2; }
.seal b { display: block; font-size: 1.9rem; font-style: italic; }
.prose p { color: var(--ink-soft); margin-top: 1.2rem; font-size: 1.02rem; }
.sign { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-light); }

/* Pilares */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pillar { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.pillar:hover { transform: translateY(-4px); border-color: var(--gold); }
.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-grad); color: #0d0c0a; display: grid; place-items: center; margin-bottom: 1.4rem; }
.ico svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.pillar p { font-size: .92rem; color: var(--ink-soft); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.gallery figure { border-radius: 14px; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery .g2 { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem 1.3rem 1.2rem; background: linear-gradient(transparent, rgba(6,6,5,.9)); }
.gallery figcaption small { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.gallery figcaption span { font-family: var(--serif); font-size: 1.5rem; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.step { padding-top: 1.8rem; border-top: 1px solid rgba(201, 164, 92, .3); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 3.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Desplegables (tratamientos y preguntas) */
.acc { display: grid; gap: .8rem; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.2rem; }
.acc summary::-webkit-details-marker { display: none; }
.chev { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); transition: transform .3s, background .3s; }
.chev svg { width: 14px; height: 14px; }
details[open] > summary .chev { transform: rotate(180deg); background: var(--gold-soft); }
.acc-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.acc-item[open] { border-color: rgba(201,164,92,.5); }
.acc-item[hidden] { display: none; }
.acc-item > summary { padding: 1.35rem 1.6rem; }
.acc-item > summary:hover .acc-title { color: var(--gold-light); }
.acc-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); width: 2rem; flex: none; }
.acc-title { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); flex: 1; transition: color .2s; line-height: 1.2; }
.acc-count { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.acc-body { padding: 0 1.6rem 1.3rem; border-top: 1px solid var(--line); animation: drop .35s ease; }
.acc-body > p { color: var(--ink-soft); padding-top: 1.1rem; max-width: 62rem; }
.svc-item { border-bottom: 1px solid var(--line); }
.svc-item:last-of-type { border-bottom: 0; }
.svc-item > summary { padding: 1.05rem 0; gap: 1rem; }
.svc-name { flex: 1; font-weight: 500; }
.svc-item > summary:hover .svc-name { color: var(--gold-light); }
.svc-dur { font-size: .75rem; color: var(--ink-soft); padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.svc-item .chev { width: 26px; height: 26px; border: 0; }
.svc-detail { padding: 0 0 1.3rem; display: grid; gap: .9rem; animation: drop .3s ease; }
.svc-detail p { color: var(--ink-soft); font-size: .93rem; }
.acc-foot { padding-top: 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .82rem; color: var(--muted); }
.facts span { display: flex; gap: .45rem; align-items: center; }
.facts svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.search { flex: 1 1 340px; max-width: 520px; display: flex; align-items: center; gap: .7rem; padding: .85rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s; }
.search:focus-within { border-color: var(--gold); }
.search svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: .92rem; }
.search input::placeholder { color: var(--muted); }
.hint { font-size: .85rem; color: var(--muted); }
.no-results { display: none; text-align: center; padding: 2.5rem 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.no-results.show { display: block; }

/* Página de especialidad */
.ideal { display: grid; gap: .7rem; margin-top: 1.8rem; }
.ideal li { list-style: none; display: flex; gap: .7rem; color: var(--ink-soft); font-size: .95rem; }
.ideal li::before { content: "✦"; color: var(--gold); font-size: .8rem; margin-top: .25rem; }
.ideal-title { margin-top: 2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.treat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.treat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: .9rem; position: relative; transition: border-color .3s; }
.treat::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 0; height: 1px; background: var(--gold-grad); opacity: .6; }
.treat:hover { border-color: var(--line-strong); }
.treat h3 { font-size: 1.75rem; }
.treat p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.treat .facts { flex-direction: column; gap: .45rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.treat .facts span { align-items: flex-start; }
.treat .facts svg { margin-top: 4px; }
.treat-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.treat-actions .btn { padding: .75rem 1.2rem; font-size: .85rem; }
.others { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); transition: all .2s; }
.chip:hover { border-color: var(--gold); color: var(--gold-light); }

/* Doctora */
.doctor { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.doctor .photo { aspect-ratio: 4/5; border-radius: var(--radius); border: 1px solid var(--line); }
.creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.creds span { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .8rem; color: var(--gold-light); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
.card { background: var(--card); border-radius: var(--radius); padding: 2.4rem; border: 1px solid var(--line); }
.card h2, .card h3 { font-size: 1.9rem; margin: 0 0 1.4rem; }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); }
.field input:invalid:not(:placeholder-shown) { border-color: #b5654b; }
.form .btn { justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); }
.info-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }
.info-row small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-row a:hover { color: var(--gold); }
.house { margin-top: 1.4rem; border-radius: 14px; background: var(--sand); padding: 1.2rem; display: flex; gap: 1rem; align-items: center; font-size: .88rem; color: var(--ink-soft); }
.house-ico { flex: none; width: 56px; height: 44px; background: #fff; border-radius: 4px; position: relative; overflow: hidden; }
.house-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 40%; height: 22%; background: #d9783f; } /* fachada real: blanca con franja naranja */
.hours li { list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.hours li span:last-child { font-weight: 600; }
.hours li.closed span:last-child { color: var(--muted); font-weight: 400; }
.note { margin-top: 1.4rem; font-size: .85rem; color: var(--ink-soft); background: var(--bg); padding: 1rem 1.2rem; border-radius: 12px; border-left: 3px solid var(--gold); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.5) invert(.9) hue-rotate(180deg) contrast(.9); }
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: stretch; }
.visit-grid .map { aspect-ratio: auto; min-height: 380px; }

/* CTA final */
.cta { padding: 0 0 110px; }
.cta-box { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(201,164,92,.35); padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; background: var(--card); }
.cta-box .photo { position: absolute; inset: 0 0 0 40%; }
.cta-box .photo::after { background: linear-gradient(90deg, var(--card) 0%, rgba(21,19,15,.55) 45%, rgba(21,19,15,.15)); }
.cta-box > div:not(.photo), .cta-box > a { position: relative; z-index: 1; }
.cta-box p { margin-top: 1rem; color: var(--ink-soft); max-width: 32rem; }
.cta-box .btn { justify-self: end; background: #0d0c0a; color: var(--gold-light); border-color: rgba(201,164,92,.5); }

/* ===== Jornadas ===== */
.jornada { position: relative; overflow: hidden; background: radial-gradient(ellipse at 15% 0%, rgba(201,164,92,.16), transparent 55%), var(--bg-deep); border-block: 1px solid var(--line-strong); }
.jornada + .jornada { border-top: 0; background: radial-gradient(ellipse at 85% 0%, rgba(201,164,92,.14), transparent 55%), var(--bg); }
.jornada-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: end; margin-bottom: 3rem; }
.jornada-head p { color: var(--ink-soft); margin-top: 1.2rem; max-width: 34rem; }
.jornada-date { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; padding: .55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; color: var(--gold-light); }
.jornada-date svg { width: 16px; height: 16px; }
.countdown-box { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.6rem; text-align: center; box-shadow: 0 30px 60px -30px rgba(201,164,92,.35); }
.countdown-box small { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.countdown { display: flex; justify-content: center; gap: .6rem; }
.countdown div { min-width: 64px; padding: .7rem .4rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.countdown b { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--gold-light); font-weight: 500; }
.countdown span { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.countdown-today { font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--gold-light); }
.countdown-box .btn { margin-top: 1.3rem; width: 100%; }
.cupos { margin-top: .8rem; font-size: .78rem; color: var(--ink-soft); }
.promo-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.5rem) / 3); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.promo-track::-webkit-scrollbar { display: none; }
.promo-track.two { grid-auto-columns: calc((100% - 1.25rem) / 2); }
.promo-card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.promo-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.promo-card.cover { border-color: rgba(201,164,92,.6); }
.promo-img { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.promo-card:hover .promo-img img { transform: scale(1.03); }
.promo-img .zoom { position: absolute; right: .8rem; top: .8rem; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(13,12,10,.8); backdrop-filter: blur(6px); color: var(--gold-light); font-size: .75rem; font-weight: 600; border: 1px solid var(--line); }
.promo-img .zoom svg { width: 14px; height: 14px; }
.promo-img .tag { position: absolute; left: .8rem; top: .8rem; padding: .35rem .75rem; border-radius: 999px; background: var(--gold-grad); color: #0d0c0a; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promo-info { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.promo-info small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.promo-info h3 { font-size: 1.65rem; }
.promo-info p { font-size: .88rem; color: var(--ink-soft); flex: 1; }
.promo-info .btn { margin-top: .9rem; padding: .8rem 1.2rem; }
.promo-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.promo-arrows { display: flex; gap: .6rem; }
.promo-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--gold-light); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.promo-arrows button:hover { background: var(--gold-soft); }
.promo-arrows svg { width: 18px; height: 18px; }
.promo-legal { font-size: .78rem; color: var(--muted); max-width: 40rem; }
.no-jornadas { display: none; }
.no-jornadas.show { display: block; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(6,6,5,.92); backdrop-filter: blur(6px); }
.lb-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 60px 16px 24px; }
.lb-inner img { max-width: min(92vw, 820px); max-height: calc(100vh - 190px); border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -20px #000; }
.lb-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.lb-bar h3 { font-size: 1.5rem; }
.lb-count { font-size: .8rem; color: var(--muted); }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(13,12,10,.7); color: var(--gold-light); cursor: pointer; display: grid; place-items: center; }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ===== Pie ===== */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 70px 0 30px; font-size: .88rem; color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.foot-grid h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; font-family: var(--sans); }
.foot-grid ul { list-style: none; display: grid; gap: .55rem; }
.foot-grid a:hover { color: var(--gold-light); }
.foot-brand p { margin-top: 1rem; max-width: 22rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold-light); transition: background .2s; }
.social a:hover { background: var(--gold-soft); }
.social svg { width: 18px; height: 18px; }
.copy { padding-top: 1.5rem; font-size: .78rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.wa-float { position: fixed; right: 20px; bottom: 88px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 16px 80px; }
.notfound h1 { font-size: clamp(5rem, 16vw, 10rem); color: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 1120px) and (min-width: 861px) {
  .menu { gap: 1.1rem; font-size: .82rem; }
  .nav-cta { padding: .6rem 1rem; font-size: .8rem; }
}
@media (max-width: 980px) {
  .hero-grid, .about, .page-hero.split .wrap, .doctor, .contact-grid, .visit-grid, .jornada-head, .cta-box { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { justify-self: center; max-width: 400px; margin-left: 18px; }
  .badge { left: -1rem; }
  .collage { max-width: 520px; }
  .cat-grid, .pillar-grid, .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .steps, .treat-grid { grid-template-columns: 1fr; }
  .promo-track { grid-auto-columns: calc((100% - 1.25rem) / 2); }
  .cta-box .photo { inset: 0; }
  .cta-box .photo::after { background: rgba(21,19,15,.82); }
  .cta-box .btn { justify-self: start; }
  .page-hero .photo { max-width: 460px; }
}
@media (max-width: 860px) {
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: .5rem 16px 1.5rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
  .menu.open { display: flex; }
  .menu > a, .menu .drop > button { padding: .95rem 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .menu > a::after, .menu .drop > button::after { display: none; }
  .menu > a.hot { justify-content: flex-start; gap: .7rem; }
  .drop-panel { position: static; transform: none; width: auto; grid-template-columns: 1fr; padding: .4rem 0 .8rem; border: 0; box-shadow: none; background: none; display: none; opacity: 1; visibility: visible; }
  .drop.open .drop-panel { display: grid; transform: none; }
  .drop:hover .drop-panel { transform: none; }
  .drop-panel small { display: none !important; }
  .nav-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .cat-grid, .pillar-grid, .foot-grid, .form .row { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; }
  .gallery .g2 { grid-row: span 1; }
  .gallery figure:last-child { grid-column: span 2; }
  .gallery figcaption span { font-size: 1.2rem; }
  .collage { padding: 0 2rem 2.5rem 0; }
  .seal { left: -6px; width: 92px; height: 92px; font-size: .8rem; }
  .seal b { font-size: 1.5rem; }
  .card, .treat { padding: 1.6rem; }
  .acc-item > summary { padding: 1.15rem 1.1rem; gap: .8rem; }
  .acc-body { padding: 0 1.1rem 1rem; }
  .acc-num { width: auto; font-size: 1.2rem; }
  .acc-count, .svc-dur { display: none; }
  .ribbon span { font-size: 1.3rem; }
  .promo-bar { font-size: .74rem; }
  .promo-bar .extra { display: none; }
  .promo-track, .promo-track.two { grid-auto-columns: 86%; }
  .promo-arrows { display: none; }
  .countdown div { min-width: 0; flex: 1; }
  .countdown b { font-size: 1.7rem; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-inner { padding-bottom: 84px; }
  .page-hero { padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
