/* Smiles del Sur — estilos */
:root {
  --ink: #26363a;          /* pizarra del logo */
  --ink-2: #4c5b60;
  --muted: #6c787c;
  --line: #ece6dc;
  --bg: #fffdf9;
  --tint: #fbf6ee;
  --card: #ffffff;
  --gold-1: #fbd96a;
  --gold-2: #eeae3c;
  --gold-3: #c07a22;
  --gold-soft: #fdf1d8;
  --gold-text: #9a5f12;
  --grad: linear-gradient(120deg, var(--gold-1), var(--gold-2) 60%, #e39b33);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(38, 54, 58, .04), 0 12px 32px -12px rgba(38, 54, 58, .14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "La Belle Aurore", cursive;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { display: flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold-2); }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.script { font-family: var(--script); color: var(--ink); font-size: 1.6rem; line-height: 1.25; }
.script .ic { color: var(--gold-2); stroke-width: 1.5; vertical-align: -3px; }
.pillars { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.pillars i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn--gold { background: var(--grad); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(212, 142, 40, .7); }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(212, 142, 40, .8); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.04rem; }
.btn--icon { width: 48px; padding: 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link:hover .ic { transform: translateX(3px); }
.link .ic { transition: transform .2s; }

.bubble { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-3); flex: none; }
.bubble .ic { width: 24px; height: 24px; }
.bubble--lg { width: 72px; height: 72px; }
.bubble--lg .ic { width: 34px; height: 34px; }
.glass { background: rgba(38, 54, 58, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(38, 54, 58, .4); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-2); transform: scaleX(0); transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__cta { display: none; }
.header__cta { margin-left: 12px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: min(760px, calc(100svh - var(--header-h))); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 40%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(255, 253, 249, .75) 7%, rgba(255, 253, 249, 0) 18%); z-index: 1; }
.hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(0deg, var(--bg), transparent); z-index: 1; }
.hero__script { position: absolute; z-index: 2; top: 7%; right: 4%; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); font-size: 1.9rem; transform: rotate(-6deg); }
.hero__badge { position: absolute; z-index: 2; right: 3%; bottom: 17%; display: flex; gap: 14px; align-items: center; padding: 14px 20px; font-size: .92rem; line-height: 1.35; }
.hero__badge .ic { width: 30px; height: 30px; color: var(--gold-1); }
.hero__in { position: relative; z-index: 3; padding-block: 56px 90px; }
.hero__copy { max-width: 510px; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 3.9rem); }
.hero h1 span { display: block; margin-top: .15em; font-weight: 500; font-size: .62em; color: var(--ink-2); line-height: 1.12; }
.hero .lead { margin-top: 22px; max-width: 470px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .pillars { margin-top: 30px; }

/* Features */
.features { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -54px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature p { font-size: .92rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* Secciones */
#servicios { padding-top: clamp(56px, 7vw, 96px); }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--tint { background: var(--tint); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.section__intro { max-width: 400px; color: var(--muted); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(38, 54, 58, .04), 0 22px 40px -16px rgba(38, 54, 58, .22); }
.service__img { margin: 0 -22px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service__img img { transform: scale(1.05); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; position: relative; border-radius: 50%; background: #fff; color: var(--gold-3); box-shadow: 0 6px 16px -6px rgba(38, 54, 58, .3); }
.service__icon .ic { width: 26px; height: 26px; }
.service h3 { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.service p { font-size: .94rem; color: var(--muted); line-height: 1.5; flex: 1; }
.service .link { align-self: flex-start; margin-top: 6px; font-size: .94rem; }
.service--cta { padding: 28px 24px; justify-content: center; background: linear-gradient(160deg, #fff 0%, var(--gold-soft) 100%); }
.service--cta h3 { font-size: 1.4rem; }
.service--cta .script { font-size: 1.9rem; }
.service--cta .btn { align-self: flex-start; margin-top: 6px; }

/* Nosotros */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding: 0 16% 12% 0; }
.about__main { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 88%; border-radius: 28px; box-shadow: var(--shadow); }
.about__second { position: absolute; right: 0; bottom: 0; width: 52%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; border: 6px solid var(--tint); box-shadow: var(--shadow); }
.about__quote { position: absolute; left: -18px; bottom: 20%; margin: 0; padding: 16px 22px; max-width: 250px; }
.about__quote .script { color: #fff; font-size: 1.4rem; }
.about__quote cite { display: block; margin-top: 6px; font-style: normal; font-size: .8rem; opacity: .85; }
.about__copy .lead { margin-top: 20px; }
.about__copy > p:not(.lead):not(.eyebrow) { margin-top: 14px; }
.checks { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 18px; }
.checks li { display: flex; gap: 16px; }
.checks .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; color: var(--gold-3); box-shadow: var(--shadow); }
.checks strong { display: block; color: var(--ink); }
.checks span { font-size: .94rem; color: var(--muted); }

/* Galería */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 16px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .85rem; font-weight: 600; }
.g1 { grid-column: 1; grid-row: 1 / 3; }
.g5 { grid-column: 3; grid-row: 1 / 3; }
.g2 { grid-column: 2; grid-row: 1; }
.g3 { grid-column: 2; grid-row: 2; }
.g4 { display: none; }

/* Turnos */
.booking-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.booking-grid > * { min-width: 0; }
.booking { padding: 30px; display: flex; flex-direction: column; min-height: 560px; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 8px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); font-weight: 500; }
.steps li:not(:last-child)::after { content: ""; flex: 1; height: 1.5px; background: var(--line); min-width: 10px; }
.steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; flex: none; }
.steps li.is-active { color: var(--ink); }
.steps li.is-active span, .steps li.is-done span { background: var(--grad); border-color: transparent; color: var(--ink); }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { display: block; animation: fade .35s ease; }
.step legend { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; padding: 0; margin-bottom: 18px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s; text-align: left; }
.choice:hover { border-color: var(--gold-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--gold-2); background: #fffaf0; box-shadow: 0 0 0 3px rgba(238, 174, 60, .18); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.choice strong { display: block; color: var(--ink); font-size: .96rem; font-weight: 600; }
.choice small { color: var(--muted); font-size: .84rem; line-height: 1.35; display: block; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips .choice { padding: 10px 16px; border-radius: 999px; }
.agenda-estado { padding: 14px 16px; border-radius: 12px; background: var(--tint); color: var(--ink-2); font-size: .94rem; }
.agenda-estado a { color: var(--gold-text); font-weight: 600; }
.dias { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.choice--dia { flex: none; width: 74px; flex-direction: column; align-items: center; gap: 0; padding: 10px 6px; text-align: center; scroll-snap-align: start; }
.choice--dia small { margin: 0; text-transform: capitalize; font-size: .78rem; }
.choice--dia strong { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.horarios { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.choice--hora { justify-content: center; padding: 10px 6px; border-radius: 12px; }
.choice--hora strong { font-variant-numeric: tabular-nums; }
.actions--center { justify-content: center; margin-top: 6px; }
.link--btn { background: none; border: 0; border-bottom: 1.5px solid currentColor; cursor: pointer; font: inherit; font-weight: 600; padding: 0 0 2px; }
.step-done__cuando { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span, .field__label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field__label { margin-bottom: 10px; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(238, 174, 60, .18); }
.field input[aria-invalid="true"] { border-color: #c2412d; }
.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.field--full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: center; font-size: .94rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold-3); }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 20px; padding: 20px; border-radius: 14px; background: var(--tint); }
.summary dt { color: var(--muted); font-size: .9rem; }
.summary dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.note { font-size: .9rem; color: var(--muted); }
.form-error { color: #b23a26; font-size: .92rem; min-height: 1.4em; margin-top: 12px; }
.booking__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.booking__nav #next { margin-left: auto; }
.step-done { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 14px; }
.step-done h3 { font-family: var(--serif); font-size: 1.6rem; }
.step-done a { color: var(--gold-text); font-weight: 600; }

/* Tarjeta del asistente (sección Turnos) */
.ai-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px -6px rgba(38, 54, 58, .3); flex: none; overflow: hidden; }
.ai-avatar img { width: 82%; height: auto; }
.ai-avatar--sm { width: 30px; height: 30px; box-shadow: none; }
.ai-teaser { padding: 26px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(170deg, #fff 55%, var(--gold-soft)); }
.ai-teaser__head { display: flex; align-items: center; gap: 14px; }
.ai-teaser__head h3 { font-family: var(--serif); font-size: 1.3rem; }
.ai-teaser__lead { color: var(--ink-2); }
.ai-teaser__demo { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ai-teaser .field__label { margin: 0; }
.ai-teaser .btn { align-self: stretch; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1b2a2e; transform: translateY(-1px); }
.live { display: inline-flex; align-items: center; gap: 6px; color: #2c6b3c; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3aa35a; box-shadow: 0 0 0 3px rgba(58, 163, 90, .18); }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--bot { background: #f3f1ec; color: var(--ink); border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg a { color: var(--gold-text); font-weight: 600; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__chips button, .cw-sug { padding: 8px 14px; border: 1.5px solid var(--gold-2); border-radius: 999px; background: #fff; font-size: .86rem; cursor: pointer; color: var(--ink); text-align: left; transition: background .2s; }
.chat__chips button:hover, .cw-sug:hover { background: var(--gold-soft); }
.chat__legal { font-size: .74rem; color: var(--muted); text-align: center; }

/* Equipo */
.equipo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.miembro { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding-bottom: 20px; display: grid; gap: 4px; align-content: start; }
.miembro__foto { aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--tint); margin-bottom: 14px; display: grid; place-items: center; }
.miembro__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.miembro:hover .miembro__foto img { transform: scale(1.04); }
.miembro--sin-foto .miembro__foto { background: linear-gradient(150deg, var(--gold-soft), #fff 70%); }
.miembro__logo { position: relative; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px -14px rgba(38, 54, 58, .35); }
.miembro__logo img { width: 74%; height: auto; }
.miembro__icono { position: absolute; right: 2px; bottom: 6px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--ink); border: 3px solid #fff; box-shadow: 0 6px 14px -6px rgba(212, 142, 40, .8); }
.miembro__icono .ic { width: 26px; height: 26px; stroke-width: 1.6; }
.miembro h3, .miembro p { padding: 0 20px; }
.miembro h3 { font-family: var(--serif); font-size: 1.25rem; }
.miembro__esp { color: var(--gold-text); font-weight: 600; font-size: .92rem; }
.miembro__donde { color: var(--muted); font-size: .88rem; }

/* Aviso de seña */
.aviso-sena { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f1d9a8; color: var(--ink-2); font-size: .9rem; }
.aviso-sena strong { color: var(--gold-text); }

/* Sedes y horarios */
.sedes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: start; }
.sede { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 18px; }
.sede header { display: grid; gap: 6px; justify-items: start; }
.sede h3 { font-family: var(--serif); font-size: 1.5rem; }
.sede__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.sede__dir { color: var(--ink-2); }
.sede__clinica { padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: .92rem; }
.sede__clinica strong { color: var(--ink); display: block; margin-bottom: 2px; }
.sede__clinica small { color: var(--muted); }
.sede__profs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sede__profs li { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.sede__profs li:first-child { border-top: 0; padding-top: 0; }
.sede__profs strong { color: var(--ink); }
.sede__profs em { font-style: normal; font-size: .8rem; color: var(--gold-text); font-weight: 600; }
.sede__profs span { font-size: .9rem; color: var(--ink-2); }
.sede__profs small { font-size: .8rem; color: var(--muted); }
.sedes__cta { display: flex; justify-content: center; margin-top: 32px; }

/* Reserva: filtros de sede y profesional */
.filtro { margin-bottom: 16px; }
.filtro .field__label { margin-bottom: 8px; }
.choice--prof { padding: 10px 14px; border-radius: 14px; }
.choice--prof small { margin-top: 0; }
.step-done__donde { color: var(--ink-2); font-size: .95rem; margin-top: -6px; }

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .lead { margin-top: 18px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { border-color: #f1d9a8; box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-3); font-size: 1.3rem; font-weight: 400; transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; color: var(--ink-2); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact .lead { margin-top: 18px; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list strong { display: block; color: var(--ink); }
.contact__list a, .contact__list span { color: var(--muted); }
.contact__list a { color: var(--gold-text); font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.socials a:hover { border-color: var(--gold-2); color: var(--gold-3); }
.contact__card { position: relative; border-radius: 28px; overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.contact__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__over { position: absolute; inset: auto 0 0 0; padding: 90px 30px 30px; background: linear-gradient(0deg, rgba(20, 30, 33, .88), rgba(20, 30, 33, 0)); color: #fff; }
.contact__over .script { color: #fff; }
.contact__over h3 { color: #fff; font-family: var(--serif); font-size: 1.7rem; margin-top: 6px; max-width: 420px; }
.contact__over .actions { margin-top: 20px; }

/* Footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); background: var(--tint); text-align: center; }
.footer__in { display: grid; justify-items: center; gap: 14px; }
.footer img { height: 90px; width: auto; }
.footer__tag { font-family: var(--script); font-size: 1.5rem; color: var(--ink); }
.footer__legal { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.footer__legal a { color: var(--ink); }

/* Asistente flotante */
.cw-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(38, 54, 58, .6); transition: transform .2s, background .2s; }
.fab .ic { width: 24px; height: 24px; color: var(--gold-1); }
.fab:hover { transform: translateY(-2px); }
.fab__close, .fab.is-active .fab__open, .fab.is-active .fab__label { display: none; }
.fab.is-active .fab__close { display: block; }
.fab.is-active { width: 58px; padding: 0; justify-content: center; }
.fab__dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #e0533d; border: 2px solid #fff; }
.cw-teaser { position: relative; max-width: 260px; padding: 14px 36px 14px 16px; border-radius: 18px 18px 4px 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 36px -14px rgba(38, 54, 58, .45); font-size: .92rem; color: var(--ink); cursor: pointer; animation: pop .35s ease; }
.cw-teaser strong { display: block; }
.cw-teaser__close { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 50%; }
.cw-teaser__close .ic { width: 16px; height: 16px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.cw { position: fixed; right: 20px; bottom: 92px; z-index: 69; width: 390px; height: min(640px, calc(100svh - 124px)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(38, 54, 58, .45); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .2s ease, transform .2s ease; }
.cw.is-open { opacity: 1; transform: none; }
.cw__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.cw__title { flex: 1; min-width: 0; }
.cw__title h2 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.cw__title p { font-size: .8rem; color: var(--muted); }
.cw__icon { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
.cw__icon:hover { background: var(--tint); }
.cw__log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.cw-row { display: flex; gap: 8px; align-items: flex-end; animation: pop .25s ease; }
.cw-row--user { justify-content: flex-end; }
.cw-col { display: flex; flex-direction: column; gap: 3px; max-width: 86%; }
.cw-row--user .cw-col { align-items: flex-end; }
.cw-msgs { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cw-row--user .cw-msgs { align-items: flex-end; }
.cw-col .msg { max-width: 100%; }
.cw-msgs .msg--bot + .msg--bot { border-top-left-radius: 6px; }
.cw-col time { font-size: .7rem; color: var(--muted); padding: 0 4px; }
.cw-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 38px; animation: pop .3s ease; }
.cw-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--grad); color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: none; box-shadow: 0 6px 14px -8px rgba(212, 142, 40, .8); }
.cw-cta--wa { background: #1fa855; color: #fff; box-shadow: 0 6px 14px -8px rgba(31, 168, 85, .8); }
.cw-cta .ic { width: 18px; height: 18px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.cw__form { display: flex; align-items: flex-end; gap: 8px; margin: 8px 12px 6px; padding: 6px 6px 6px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; transition: border-color .2s; }
.cw__form:focus-within { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(238, 174, 60, .15); }
.cw__form textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: none; background: none; padding: 9px 0; font-size: 1rem; line-height: 1.4; max-height: 120px; }
.cw__send { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--grad); color: var(--ink); cursor: pointer; }
.cw__send:disabled { opacity: .5; cursor: wait; }
.cw__legal { padding: 0 16px 10px; font-size: .7rem; color: var(--muted); text-align: center; }

/* Animaciones de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.btn) { padding: 10px 9px; }
  .nav a:not(.btn)::after { left: 9px; right: 9px; }
}
/* Menú hamburguesa desde 1180 px: con 7 secciones el menú horizontal no entra */
@media (max-width: 1180px) {
  .burger { display: grid; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(38, 54, 58, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 18px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 52px; }

  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero__media { position: relative; inset: auto; height: 58vw; min-height: 300px; max-height: 480px; }
  .hero__media::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(255, 253, 249, 0) 30%); }
  .hero__script { font-size: 1.4rem; top: 6%; }
  .hero__badge { bottom: 16%; font-size: .82rem; padding: 10px 14px; }
  .hero__in { padding-block: 8px 80px; }
  .about, .contact, .booking-grid { grid-template-columns: 1fr; }
  .sedes { grid-template-columns: 1fr; }
  .equipo { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about__media { max-width: 560px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; }
  .g1 { grid-column: 1 / -1; grid-row: 1; }
  .g2 { grid-column: 1; grid-row: 2; }
  .g3 { grid-column: 2; grid-row: 2; }
  .g4 { display: block; grid-column: 1; grid-row: 3; }
  .g5 { grid-column: 2; grid-row: 3; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .services { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service { padding: 0 16px 18px; }
  .service__img { margin: 0 -16px; }
  .service h3 { font-size: 1.05rem; }
  .service p { font-size: .88rem; }
  .features { grid-template-columns: 1fr; gap: 12px; margin-top: -40px; }
  #servicios { padding-top: 44px; }
  .miembro h3 { font-size: 1.05rem; }
  .obras { padding: 18px; }
  .obras__lista { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .obra { grid-template-rows: 52px auto; }
  .obra img { max-height: 44px; }
  .miembro__logo { width: 112px; height: 112px; }
  .miembro__icono { width: 38px; height: 38px; }
  .miembro__icono .ic { width: 20px; height: 20px; }
  .miembro h3, .miembro p { padding: 0 14px; }
  .miembro__esp, .miembro__donde { font-size: .82rem; }
  .sede { padding: 20px; }
  .feature { padding: 16px; }
  .booking { padding: 20px; min-height: 0; }
  .steps { gap: 4px; }
  .steps li { font-size: 0; gap: 4px; }
  .steps li.is-active { font-size: .8rem; }
  .choices, .fields { grid-template-columns: 1fr; }
  .about__quote { left: 0; bottom: 14%; max-width: 200px; padding: 12px 16px; }
  .about__quote .script { font-size: 1.15rem; }
  .fab__label { display: none; }
  .fab { padding: 0; width: 58px; justify-content: center; }
  .cw-launcher { right: 16px; bottom: 16px; }
  .cw { inset: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; border: 0; transform: translateY(24px); }
  html.cw-open, html.cw-open body { overflow: hidden; }
  html.cw-open .cw-launcher { display: none; }
  .cw__head { padding-top: max(14px, env(safe-area-inset-top)); }
  .cw__legal { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .faq__item summary { padding: 16px 18px; }
  .faq__item p { padding: 0 18px 18px; }
  .hero__badge, .hero__script { display: none; }
  .contact__card { min-height: 420px; }
}
@media (max-width: 420px) {
  .services { grid-template-columns: 1fr; }
  .actions .btn { flex: 1; }
}

/* Obras sociales y prepagas */
.obras { margin-top: 28px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.obras h3 { font-family: var(--serif); font-size: 1.35rem; }
.obras > p { color: var(--muted); margin-top: 4px; font-size: .94rem; }
.obras { scroll-margin-top: calc(var(--header-h) + 16px); }
.obras__lista { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.obra { display: grid; grid-template-rows: 64px auto; align-items: center; justify-items: center; gap: 6px; padding: 14px 12px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: border-color .2s, box-shadow .2s; }
.obra:hover { border-color: #f1d9a8; box-shadow: var(--shadow); }
.obra img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.obra span { font-size: .74rem; color: var(--muted); line-height: 1.25; }
.obra--texto strong { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.obra--texto span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.socials--footer { justify-content: center; margin-top: 4px; }

/* Redes sociales */
.redes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.red { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.red:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -18px rgba(38, 54, 58, .45); }
.red--ig { background: linear-gradient(120deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%); }
.red--fb { background: linear-gradient(120deg, #1877f2, #0b5fcc); }
.red__icono { flex: none; width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.red__icono .ic { width: 32px; height: 32px; }
.red__txt { flex: 1; display: grid; }
.red__txt strong { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.red__txt span { opacity: .9; }
.red__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; white-space: nowrap; }
.feed { margin-top: 26px; }
.feed__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feed__grid a { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--tint); }
.feed__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feed__grid a:hover img { transform: scale(1.05); }
.feed__video { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-size: .8rem; }
.feed__cta { display: flex; justify-content: center; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; }
.pill .ic { width: 18px; height: 18px; }
.pill--ig { background: linear-gradient(120deg, #f58529, #dd2a7b 50%, #8134af); }
.pill--fb { background: #1877f2; }
.socials { gap: 10px; flex-wrap: wrap; }
.socials a.pill { width: auto; height: auto; border: 0; }
.nav__redes { display: inline-flex; gap: 4px; margin-left: 6px; }
.nav .nav__redes a { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; color: var(--ink); }
.nav .nav__redes a:hover { background: var(--tint); color: #dd2a7b; }
.nav .nav__redes a::after { display: none; }
@media (max-width: 1180px) {
  .nav__redes { margin: 14px 0 0; gap: 10px; }
  .nav .nav__redes a { width: 46px; height: 46px; border: 1px solid var(--line) !important; }
}
@media (max-width: 760px) {
  .redes { grid-template-columns: 1fr; }
  .red { padding: 16px; gap: 12px; }
  .red__icono { width: 48px; height: 48px; }
  .red__txt strong { font-size: 1.2rem; }
  .red__cta { padding: 8px 12px; font-size: .85rem; }
  .feed__grid { grid-template-columns: repeat(2, 1fr); }
}
