/* Centro Diagnóstico Urquiza (CIRAMI) · v6
   Referencias: artro.com.ar (hero con foto + accesos) y cdrossi.com (panel con pestañas, tarjetas, guía práctica).
   Marca: Ciruela #3F003E · Magenta #78075B · Rubor #FBE3F5. Tipografía: Nunito Sans. */

@font-face { font-family: "Nunito Sans"; font-weight: 200 1000; font-display: swap; src: url("fonts/nunito-sans-latin.woff2") format("woff2"); }

:root {
  --plum: #3F003E;
  --plum-700: #2E002D;
  --plum-600: #520851;
  --magenta: #78075B;
  --blush: #FBE3F5;
  --blush-2: #F6EAF3;
  --ink: #1D1A22;
  --ink-2: #555060;
  --ink-3: #8A8494;
  --line: #E7E2E8;
  --gray: #F6F4F7;
  --white: #FFFFFF;
  --ok: #1E7A4B;
  --ok-bg: #E6F4EC;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(29,26,34,.06), 0 2px 8px rgba(29,26,34,.05);
  --shadow: 0 2px 4px rgba(29,26,34,.04), 0 12px 32px -8px rgba(63,0,62,.16);
  --max: 1200px;
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -80px; z-index: 300; background: var(--plum); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent; font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-600); }
.btn-white { background: #fff; color: var(--plum); }
.btn-white:hover { background: var(--blush); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-outline { color: var(--plum); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--plum); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.row-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; background: #fff; transition: border-color .18s, background .18s; }
.row-link:hover { border-color: var(--plum); background: var(--blush-2); }
.row-link .ico { color: var(--magenta); width: 18px; height: 18px; }
.row-link .arrow { margin-left: auto; color: var(--ink-3); }
.row-link.is-primary { background: var(--plum); border-color: var(--plum); color: #fff; }
.row-link.is-primary .ico, .row-link.is-primary .arrow { color: #fff; }
.row-link.is-primary:hover { background: var(--plum-600); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; background: var(--blush); color: var(--magenta); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge .ico { width: 13px; height: 13px; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--plum); color: #EBD9E7; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info { display: flex; gap: 22px; }
.topbar-info span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; opacity: .85; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar-wa { background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 999px; }
@media (max-width: 860px) { .topbar-info span + span, .topbar-info { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(29,26,34,.2); }
.header .container { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo img { width: 46px; height: auto; }
.logo b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.logo small { display: block; font-size: 12px; color: var(--magenta); font-weight: 700; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--magenta); background: var(--blush-2); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
@media (max-width: 1220px) {
  .burger { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -16px rgba(29,26,34,.3); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .header-cta { order: 3; }
}
@media (max-width: 560px) { .header-cta { display: none; } .logo small { display: none; } .header .container { min-height: 64px; } }

/* ---------- Hero (artro) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; padding: 88px 0 140px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% 25%; background: var(--plum); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(46,0,45,.94) 0%, rgba(63,0,62,.82) 38%, rgba(63,0,62,.35) 70%, rgba(63,0,62,.15) 100%); }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 700; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #F7B5E3; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.03em; margin: 22px 0 18px; max-width: 13ch; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: #F1E2EE; max-width: 46ch; }
.hero-cards { display: grid; gap: 16px; margin-top: 40px; max-width: 820px; }
@media (min-width: 760px) { .hero-cards { grid-template-columns: 1fr 1fr; } }
.hero-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.hero-card h2 { color: #fff; font-size: 21px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.hero-card h2 .ico { width: 22px; height: 22px; color: #F7B5E3; }
.hero-card p { color: #EBD9E7; font-size: 15px; margin-bottom: 18px; }
.hero-card .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- Panel con pestañas (cdrossi) ---------- */
.finder { position: relative; z-index: 5; margin-top: -88px; }
.finder-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--gray); padding: 6px; gap: 6px; }
.tab { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 15px; font-weight: 800; color: var(--ink-2); cursor: pointer; transition: background .18s, color .18s; }
.tab .ico { color: var(--ink-3); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--plum); box-shadow: var(--shadow-sm); }
.tab[aria-selected="true"] .ico { color: var(--magenta); }
@media (max-width: 640px) { .tab { flex-direction: column; gap: 2px; font-size: 13px; min-height: 60px; } }
.panel { display: grid; gap: 28px; padding: 28px; }
@media (min-width: 900px) { .panel { grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 32px 36px; } }
.panel[hidden] { display: none; }
.panel h3 { font-size: 22px; margin: 10px 0 6px; }
.panel-desc { color: var(--ink-2); margin-bottom: 18px; }
.search { display: flex; gap: 8px; }
.search-field { position: relative; flex: 1; }
.search-field .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search-field input { width: 100%; min-height: 48px; padding: 0 14px 0 44px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.search-field input:focus { outline: 0; border-color: var(--plum); box-shadow: 0 0 0 3px var(--blush); }
.panel-links { display: grid; gap: 8px; margin-top: 14px; }
.popular h4 { font-size: 13px; font-weight: 800; color: var(--ink-3); margin-bottom: 10px; }
.popular li + li { border-top: 1px solid var(--line); }
.popular a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 4px; text-decoration: none; color: var(--ink); font-weight: 700; }
.popular a:hover { color: var(--magenta); }
.popular a span { font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--gray); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-gray { background: var(--gray); }
.head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.head-left { text-align: left; margin-left: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; color: var(--magenta); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.head p { color: var(--ink-2); font-size: 18px; margin-top: 12px; }

/* ---------- Tarjetas de servicio (cdrossi) ---------- */
.services { display: grid; gap: 24px; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.service-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--blush-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service-media img { transform: scale(1.04); }
.service-icon { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--magenta); box-shadow: var(--shadow-sm); }
.service-icon .ico { width: 24px; height: 24px; }
.service h3 { font-size: 22px; margin: 18px 0 6px; color: var(--plum); }
.service p { color: var(--ink-2); font-size: 15px; }
.service .more { margin-top: 12px; font-weight: 800; font-size: 15px; color: var(--magenta); display: inline-flex; align-items: center; gap: 6px; }
.service:hover .more { text-decoration: underline; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; position: relative; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blush); color: var(--magenta); display: grid; place-items: center; }
.step-icon .ico { width: 26px; height: 26px; }
.step-num { font-size: 13px; font-weight: 800; color: var(--ink-3); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }
.center-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Información práctica (cdrossi) ---------- */
.info { display: grid; gap: 20px; }
@media (min-width: 960px) { .info { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.info-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blush-2); color: var(--magenta); display: grid; place-items: center; flex: none; }
.info-head h3 { font-size: 19px; margin-bottom: 6px; }
.checks li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checks li:last-child { border-bottom: 0; }
.checks .ico { color: var(--ok); width: 18px; height: 18px; margin-top: 3px; }
.preps li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.preps li:last-child { border-bottom: 0; }
.preps .badge { margin-bottom: 4px; }
.preps p { font-size: 14px; color: var(--ink-2); }
.info-card .panel-links { margin-top: auto; padding-top: 18px; }
.note { font-size: 14px; color: var(--ink-2); background: var(--gray); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 4px; }
.note strong { color: var(--ink); }

/* ---------- Equipo ---------- */
.team-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .team-wrap { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.team-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--blush-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctors { display: grid; gap: 12px; margin-top: 28px; }
.doctor { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.doctor b { display: block; font-size: 17px; }
.doctor span { color: var(--ink-2); font-size: 14px; }

/* ---------- Preguntas (artro) ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } .faq-aside { position: sticky; top: 110px; } }
.faq-aside p { color: var(--ink-2); margin: 12px 0 24px; font-size: 17px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.faq details[open] { border-color: #D9C6D6; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gray); display: grid; place-items: center; color: var(--plum); transition: transform .25s, background .2s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--blush); }
.faq details > div { padding: 0 20px 20px; color: var(--ink-2); }

/* ---------- Sede (cdrossi) ---------- */
.place { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .place { grid-template-columns: 1fr 1fr; } }
.place-photo { position: relative; min-height: 260px; background: var(--blush-2); }
.place-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-body { padding: 32px; }
.place-body h3 { font-size: 26px; margin: 8px 0 4px; }
.place-body > p { color: var(--ink-2); }
.place-list { margin: 22px 0 26px; display: grid; gap: 14px; }
.place-list li { display: flex; gap: 12px; }
.place-list .ico { color: var(--magenta); margin-top: 2px; }
.place-list small { display: block; font-size: 12px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.place-list a { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.place-list a:hover { color: var(--magenta); }
.place-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map { margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; background: var(--gray); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Banda coberturas ---------- */
.band { background: linear-gradient(110deg, var(--plum) 0%, var(--magenta) 100%); color: #fff; border-radius: var(--r-lg); padding: 40px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; padding: 44px 52px; } }
.band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.band p { color: #F1E2EE; margin-top: 8px; max-width: 56ch; }

/* ---------- Footer ---------- */
.footer { background: var(--plum-700); color: #D9C3D5; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer .logo { color: #fff; }
.footer .logo img { background: #fff; border-radius: 10px; padding: 4px; }
.footer .logo small { color: #F7B5E3; }
.footer p.about { margin-top: 16px; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer a { color: #D9C3D5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: #B9A2B5; }
.footer-bottom strong { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px 0 16px; min-height: 54px; border-radius: 999px; background: #1FA855; color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 10px 28px -6px rgba(0,0,0,.35); transition: transform .2s; }
.wa:hover { transform: translateY(-2px); }
.wa .ico { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa { padding: 0; width: 56px; justify-content: center; } .wa span { display: none; } }

/* =========================================================
   Páginas internas
   ========================================================= */
.page-hero { position: relative; isolation: isolate; color: #fff; padding: 56px 0 64px; overflow: hidden; }
.page-hero .hero-bg { object-position: center 40%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(46,0,45,.95), rgba(63,0,62,.78) 60%, rgba(63,0,62,.55)); }
.crumbs { font-size: 14px; color: #E5CFE1; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 700; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.03em; }
.page-hero p { color: #F1E2EE; font-size: 18px; margin-top: 10px; max-width: 56ch; }

/* Estudios */
.toolbar { position: sticky; top: 76px; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 14px 0; }
@media (max-width: 560px) { .toolbar { top: 64px; } }
.toolbar .container { display: grid; gap: 12px; }
@media (min-width: 900px) { .toolbar .container { grid-template-columns: 1fr auto; align-items: center; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 800; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.chip span { background: var(--gray); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip[aria-pressed="true"] span { background: rgba(255,255,255,.2); }
.catalog-wrap { display: grid; gap: 32px; padding: 40px 24px 96px; }
@media (min-width: 1000px) { .catalog-wrap { grid-template-columns: 1fr 340px; gap: 48px; align-items: start; } .aside { position: sticky; top: 170px; } }
.status { font-size: 14px; color: var(--ink-3); margin-bottom: 8px; min-height: 1.5em; }
.cat-group { margin-bottom: 40px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.cat-head h2 { font-size: 26px; }
.cat-group > p { color: var(--ink-2); margin-bottom: 16px; }
.cat-sub { font-size: 13px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 10px; }
.study { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; transition: border-color .18s, box-shadow .18s; }
.study:hover { border-color: #D9C6D6; }
.study[open] { border-color: #D9C6D6; box-shadow: var(--shadow-sm); }
.study.is-target { border-color: var(--magenta); box-shadow: 0 0 0 3px var(--blush); }
.study summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 14px; padding: 16px 18px; }
.study summary::-webkit-details-marker { display: none; }
.study-name { font-weight: 800; font-size: 16px; }
.study .badge { justify-self: end; }
.study .chev { color: var(--ink-3); transition: transform .25s; }
.study[open] .chev { transform: rotate(180deg); }
@media (max-width: 640px) { .study summary { grid-template-columns: 1fr auto; } .study .badge { grid-row: 2; grid-column: 1; justify-self: start; } .study .chev { grid-row: 1 / span 2; grid-column: 2; } }
.study-body { padding: 0 18px 18px; }
.study-body dl { margin: 0 0 16px; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .study-body dl { grid-template-columns: 180px 1fr; } }
.study-body dt { font-size: 14px; font-weight: 800; color: var(--ink-3); }
.study-body dd { margin: 0; font-size: 15px; }
.empty { display: none; text-align: center; padding: 48px 24px; border: 1.5px dashed var(--line); border-radius: var(--r); }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--ink-2); margin-bottom: 18px; }

/* Turno */
.turno-wrap { display: grid; gap: 28px; padding: 48px 24px 96px; }
@media (min-width: 1000px) { .turno-wrap { grid-template-columns: 1fr 380px; gap: 40px; align-items: start; } .turno-aside { position: sticky; top: 100px; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 32px; }
@media (max-width: 560px) { .form-card { padding: 22px; } }
.form-card fieldset { border: 0; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.form-card fieldset:last-of-type { border-bottom: 0; padding-bottom: 0; }
.form-card legend { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; margin-bottom: 18px; padding: 0; }
.form-card legend i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label, .lbl { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--plum); box-shadow: 0 0 0 3px var(--blush); }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px #FBE4E2; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.opt { font-weight: 600; color: var(--ink-3); }
.prep-box { display: flex; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--blush-2); color: var(--plum); font-size: 14px; }
.prep-box:empty { display: none; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.radio-cards label { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-weight: 800; cursor: pointer; }
.radio-cards input { accent-color: var(--plum); width: 18px; height: 18px; }
.radio-cards label:has(input:checked) { border-color: var(--plum); background: var(--blush-2); }
.form-error { background: #FDECEA; color: #8C1D18; border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 16px; font-weight: 700; font-size: 15px; }
.form-foot { font-size: 14px; color: var(--ink-2); text-align: center; margin-top: 12px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.aside-card h3 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.aside-card h3 .ico { color: var(--magenta); }
.bubble-wrap { background: #EFE7DD; border-radius: var(--r); padding: 14px; }
.bubble { background: #D9FDD3; border-radius: 10px 10px 10px 2px; padding: 12px 14px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 14px; color: #111B21; }
.aside-card .btn { margin-top: 12px; }
.aside-plum { background: var(--plum); border-color: var(--plum); color: #EBD9E7; }
.aside-plum h3 { color: #fff; }
.aside-plum h3 .ico { color: #F7B5E3; }
.aside-plum .checks li { border-color: rgba(255,255,255,.14); }
.aside-plum .checks .ico { color: #9FE3BE; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .wa, .toolbar, .footer { display: none !important; } }

/* Ajustes tras revisión */
.nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 1221px) { .nav a { padding: 10px 8px; font-size: 14px; } .logo small { display: none; } }
.doctor .avatar { color: #fff; font-size: 17px; }
.hero h1 { max-width: 15ch; }
.panel > *, .finder-card, .info-card, .place-body { min-width: 0; }
@media (max-width: 640px) {
  .panel { padding: 22px 18px; }
  .popular a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .popular a span { white-space: normal; }
  .search .btn { padding: 0 14px; }
  .hero { padding: 56px 0 120px; }
}
.popular .row-link { flex-direction: row; align-items: center; padding: 12px 14px; }

/* =========================================================
   v7 · Fusión v4 + v6
   Hero en tarjeta con foto real + pedido rápido (v4),
   tarjetas de estudio con los más pedidos (v4), director (v4),
   resto del sistema v6.
   ========================================================= */
.lorem { background: #FFF7D6; outline: 1px dashed #E0B800; border-radius: 4px; padding: 0 3px; }

/* Hero en tarjeta */
.hero7 { padding: 28px 0 0; background: linear-gradient(180deg, var(--gray) 0%, #fff 100%); }
.hero7-card { position: relative; display: grid; gap: 32px; align-items: center; padding: 48px 48px 132px; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #FFFFFF 0%, var(--blush) 55%, #EBCFE4 100%); overflow: hidden; }
@media (min-width: 960px) { .hero7-card { grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 64px 64px 140px; } }
.hero7-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--plum); font-size: 14px; font-weight: 800; box-shadow: var(--shadow-sm); }
.hero7-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.hero7 h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -.035em; color: var(--plum); margin: 20px 0 16px; max-width: 13ch; }
.hero7-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 46ch; }
.hero7-checks { display: grid; gap: 8px; margin-top: 22px; }
.hero7-checks li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.hero7-checks .ico { color: var(--magenta); width: 20px; height: 20px; }
.hero7-first { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 800; color: var(--plum); text-decoration: none; }
.hero7-first .ico { color: var(--magenta); }
.hero7-first:hover { text-decoration: underline; }
.hero7-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; max-height: 460px; box-shadow: 0 30px 60px -30px rgba(63,0,62,.55); }
.hero7-media img { width: 100%; height: 100%; object-fit: cover; }
.hero7-badge { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: 10px 14px; font-size: 14px; font-weight: 800; color: var(--plum); box-shadow: var(--shadow-sm); }
.hero7-badge .ico { color: var(--magenta); }
.hero7-badge small { display: block; font-weight: 600; color: var(--ink-2); font-size: 12px; }
@media (max-width: 959px) { .hero7-card { padding: 32px 22px 28px; } .hero7-media { max-height: 300px; aspect-ratio: 16 / 11; } }

/* Pedido rápido flotante */
.quick { position: relative; z-index: 5; margin: -96px auto 0; max-width: calc(var(--max) - 96px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px 24px; display: grid; gap: 14px; align-items: end; }
@media (min-width: 900px) { .quick { grid-template-columns: 1.4fr 1fr auto; } }
@media (max-width: 959px) { .quick { margin: 16px 0 0; } }
.quick .field { margin: 0; }
.quick-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.quick-note .ico { width: 16px; height: 16px; color: var(--ok); }
.quick .btn { min-height: 48px; }

/* Tarjetas de estudio con los más pedidos */
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.svc .service-media { border-radius: 0; aspect-ratio: 16 / 10; }
.svc .service-media.is-dark { background: #04070C; }
.svc .service-media.is-dark img { object-fit: contain; }
.svc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 22px; color: var(--plum); }
.svc-body > p { color: var(--ink-2); font-size: 15px; margin: 6px 0 12px; }
.svc-list li { border-top: 1px solid var(--line); }
.svc-list a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); }
.svc-list a:hover b { color: var(--magenta); }
.svc-list b { display: block; font-size: 15px; }
.svc-list span { font-size: 13px; color: var(--ink-2); }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.svc-foot a.more { font-weight: 800; font-size: 14px; color: var(--magenta); text-decoration: none; }
.svc-foot a.more:hover { text-decoration: underline; }
.svc-pink { display: flex; gap: 10px; align-items: flex-start; background: var(--blush); border-radius: 12px; padding: 10px 12px; margin-top: 12px; font-size: 13px; color: var(--plum); }
.svc-pink b { display: block; }

/* Cómo sacar turno: foto + pasos */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.split-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--blush-2); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.vsteps { display: grid; gap: 14px; margin: 28px 0 28px; }
.vstep { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.vstep .step-icon { width: 46px; height: 46px; flex: none; }
.vstep h3 { font-size: 17px; margin-bottom: 2px; }
.vstep p { color: var(--ink-2); font-size: 15px; }
.vstep small { display: block; font-size: 12px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }

/* Director */
.director { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; margin-top: 26px; box-shadow: var(--shadow-sm); }
.director .avatar { width: 64px; height: 64px; font-size: 20px; color: #fff; }
.director b { display: block; font-size: 19px; }
.director span { color: var(--magenta); font-weight: 700; font-size: 14px; }
.bio { margin-top: 16px; color: var(--ink-2); }

/* Banda de coberturas con chips */
.band-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.band-chips li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }

/* Sin pestañas en v7 */
.finder { display: none; }
.hero7 h1 { max-width: 15ch; }

/* =========================================================
   v8 · Más lila (paleta del manual) + catálogo mejorado
   Manual: «el ciruela da identidad; los lilas suavizan;
   el magenta aparece poco».
   ========================================================= */
:root {
  --lila: #D1C3D2;
  --bruma: #E4CDDF;
  --tint: #F6EEF4;      /* Fondo tintado (manual) */
  --ink: #2A0A29;       /* Texto (manual) */
  --ink-2: #6B5468;     /* Texto secundario (manual) */
  --ink-3: #8E7489;     /* Borde de control (manual) */
  --line: #E8DCE6;
  --gray: var(--tint);
  --blush-2: #F3E8F1;
}
body { background: #FDFAFC; }

/* Header con acento lila */
.header { border-bottom: 3px solid var(--lila); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--tint); color: var(--plum); box-shadow: inset 0 -2px 0 var(--magenta); }

/* Hero ciruela con arcos lila */
.hero8 { background: linear-gradient(180deg, var(--tint) 0%, #FDFAFC 100%); }
.hero8 .hero7-card { background: linear-gradient(125deg, #2A0029 0%, var(--plum) 42%, #5B0549 78%, var(--magenta) 100%); color: #fff; box-shadow: 0 40px 80px -40px rgba(63,0,62,.6); }
.arcs8 { position: absolute; right: -140px; top: 50%; width: 760px; height: 760px; transform: translateY(-50%); pointer-events: none; z-index: 0; }
.arcs8 circle { stroke: var(--lila); opacity: .13; }
.hero8 .hero7-card > * { position: relative; z-index: 1; }
.hero8 h1 { color: #fff; }
.hero8 .hero7-lead { color: #E9DCE8; }
.hero8 .hero7-pill { background: rgba(209,195,210,.16); color: #fff; border: 1px solid rgba(209,195,210,.35); box-shadow: none; }
.hero8 .hero7-pill .dot { background: var(--lila); }
.hero8 .hero7-checks li { color: #fff; }
.hero8 .hero7-checks .ico { color: var(--lila); }
.hero8 .hero7-first { color: var(--lila); }
.hero8 .hero7-first .ico { color: var(--lila); }
.hero8 .hero7-media { border: 6px solid rgba(209,195,210,.28); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.hero8 .quick { border-top: 4px solid var(--lila); }
@media (max-width: 959px) { .arcs8 { width: 520px; height: 520px; right: -220px; top: 30%; } }

/* Lilas que suavizan: íconos, bordes, badges */
.info-icon, .step-icon { background: var(--bruma); color: var(--plum); }
.service-icon { color: var(--plum); border: 2px solid var(--lila); }
.svc, .info-card, .vstep, .director, .faq details, .place { border-color: var(--line); }
.svc:hover, .info-card:hover { border-color: var(--lila); }
.badge { background: var(--tint); color: var(--plum); border: 1px solid var(--bruma); }
.badge-ok { background: #E7F1E9; color: var(--ok); border-color: #CFE3D3; }
.eyebrow { color: var(--magenta); }
.avatar { background: linear-gradient(135deg, var(--plum), var(--magenta)); }
.director { border-left: 5px solid var(--lila); }
.note { background: var(--tint); }
.faq summary .plus { background: var(--bruma); }
.faq details[open] { border-color: var(--lila); }
.faq details[open] .plus { background: var(--plum); color: #fff; }
.row-link:hover { border-color: var(--lila); background: var(--tint); }
.svc-list a:hover b { color: var(--magenta); }
.split-photo, .team-photo { box-shadow: 14px 14px 0 var(--bruma); }
.place-photo { border-right: 5px solid var(--lila); }
.band { background: linear-gradient(110deg, var(--plum) 0%, #5B0549 60%, var(--magenta) 100%); position: relative; overflow: hidden; }
.footer { border-top: 6px solid var(--lila); }

/* =========================================================
   Catálogo de estudios v8
   ========================================================= */
.toolbar8 { padding: 16px 0; border-bottom: 1px solid var(--line); background: rgba(253,250,252,.96); }
.toolbar8 .container { display: grid; gap: 12px; grid-template-columns: 1fr; }
.toolbar8 .search-field input { min-height: 54px; font-size: 17px; border-color: var(--lila); border-radius: 12px; padding-right: 48px; }
.search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--tint); color: var(--plum); display: grid; place-items: center; cursor: pointer; }
.search-clear .ico { position: static; transform: none; width: 18px; height: 18px; color: var(--plum); }
.tb-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.chip .ico { width: 17px; height: 17px; }
.chip { border-color: var(--lila); }
.chip:hover { background: var(--tint); }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); }
.chip span { background: var(--tint); color: var(--plum); min-width: 24px; text-align: center; }
.prep-filter { display: flex; align-items: center; gap: 10px; }
.prep-filter label { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.prep-filter select { min-height: 42px; border: 1.5px solid var(--lila); border-radius: 999px; padding: 0 36px 0 16px; font: inherit; font-size: 14px; font-weight: 700; color: var(--plum); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233F003E' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; cursor: pointer; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.results-bar .status { margin: 0; }
.reset { border: 0; background: none; color: var(--magenta); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; text-decoration: underline; }
.cat-head { gap: 16px; }
.cat-head .info-icon { width: 54px; height: 54px; }
.cat-count { font-size: 14px; color: var(--ink-2); font-weight: 700; }
.cat-intro { background: var(--tint); border-left: 4px solid var(--lila); border-radius: 0 10px 10px 0; padding: 10px 14px; color: var(--ink-2); margin: 12px 0 16px; font-size: 15px; }
.cat-sub { color: var(--plum); opacity: .7; }
.study { border-color: var(--line); }
.study:hover { border-color: var(--lila); }
.study[open] { border-color: var(--lila); box-shadow: 0 12px 30px -16px rgba(63,0,62,.35); }
.study summary { grid-template-columns: 1fr auto auto; }
.study-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.study-alias { font-size: 13px; color: var(--ink-2); }
.study-name mark { background: var(--bruma); color: var(--plum); border-radius: 3px; padding: 0 1px; }
.badge-sin { background: #E7F1E9; color: var(--ok); border-color: #CFE3D3; }
.badge-ayuno { background: #FFF1DE; color: #8A5300; border-color: #F3D9B0; }
.badge-agua { background: #E5F0FA; color: #1D5A8C; border-color: #C8DDF0; }
.badge-otra { background: var(--tint); color: var(--plum); border-color: var(--bruma); }
.study-body { padding: 0 18px 20px; }
.specs { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: 18px; }
@media (min-width: 700px) { .specs { grid-template-columns: 1fr 1fr; } }
.spec { display: flex; gap: 12px; background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.spec small { display: block; font-size: 12px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.spec-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; background: #fff; color: var(--plum); display: grid; place-items: center; }
.spec-ico .ico { width: 18px; height: 18px; }
.spec-prep { grid-column: 1 / -1; background: var(--bruma); }
.spec-warn { grid-column: 1 / -1; background: #FFF4E5; }
.spec-warn .spec-ico { color: #8A5300; }
.study-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.aside-card { border-color: var(--line); }
@media (max-width: 640px) { .study summary { grid-template-columns: 1fr auto; } .study .badge { grid-row: 2; grid-column: 1; justify-self: start; margin-top: 4px; } .study .chev { grid-row: 1 / span 2; grid-column: 2; } .tb-filters { flex-direction: column; align-items: stretch; } .prep-filter select { flex: 1; } }
.page-hero::before { background: linear-gradient(90deg, rgba(42,0,41,.95), rgba(63,0,62,.82) 55%, rgba(120,7,91,.6)); }
.hero8 .hero7-card > .arcs8 { position: absolute; z-index: 0; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.toolbar8 .container > *, .tb-filters > * { min-width: 0; }
.tb-filters .chips { max-width: 100%; }
@media (max-width: 640px) { .toolbar8 { padding: 10px 0; } .toolbar8 .search-field input { min-height: 48px; font-size: 16px; } .chip { min-height: 38px; padding: 0 12px; } }
.search-clear[hidden] { display: none; }
.chip[aria-pressed="true"] span { background: rgba(255,255,255,.22); color: #fff; }

/* =========================================================
   v9 · Portada v6 + secciones v8 · header transparente
   ========================================================= */
.finder.finder9 { display: block; }

/* Header transparente sobre la foto; sólido al scrollear */
.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .3s, box-shadow .3s; }
.masthead .topbar { background: transparent; border-bottom: 1px solid rgba(255,255,255,.14); max-height: 44px; overflow: hidden; transition: max-height .3s, opacity .3s, border-color .3s; }
.masthead .header { position: static; background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.masthead .logo { color: #fff; }
.masthead .logo img { background: #fff; border-radius: 10px; padding: 3px; }
.masthead .logo small { color: var(--lila); }
.masthead .nav a { color: #fff; }
.masthead .nav a:hover, .masthead .nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 -2px 0 var(--lila); }
.masthead .header-cta { background: #fff; color: var(--plum); }
.masthead .header-cta:hover { background: var(--blush); }
.masthead .burger { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
/* Sólido */
.masthead.is-solid { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 24px -14px rgba(42,10,41,.35); }
.masthead.is-solid .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.masthead.is-solid .header { border-bottom: 3px solid var(--lila); }
.masthead.is-solid .logo { color: var(--ink); }
.masthead.is-solid .logo small { color: var(--magenta); }
.masthead.is-solid .logo img { padding: 0; }
.masthead.is-solid .nav a { color: var(--ink); }
.masthead.is-solid .nav a:hover, .masthead.is-solid .nav a[aria-current="page"] { background: var(--tint); color: var(--plum); box-shadow: inset 0 -2px 0 var(--magenta); }
.masthead.is-solid .header-cta { background: var(--plum); color: #fff; }
.masthead.is-solid .burger { background: #fff; border-color: var(--line); color: var(--ink); }
@media (max-width: 1220px) {
  .masthead .nav { background: #fff; }
  .masthead .nav a, .masthead.is-solid .nav a { color: var(--ink); }
  .masthead .nav a:hover { background: var(--tint); color: var(--plum); box-shadow: none; }
}
/* Espacio para el header fijo en las páginas */
.hero9 { padding-top: 196px; }
.page-hero { padding-top: 168px; }
@media (max-width: 860px) { .hero9 { padding-top: 140px; } .page-hero { padding-top: 132px; } }
.toolbar { top: 79px; }
@media (max-width: 560px) { .toolbar { top: 67px; } }
html { scroll-padding-top: 100px; }

/* Hero v6 con foto local */
.hero9 .hero-bg { object-position: 75% 40%; }
.hero9::before { background: linear-gradient(90deg, rgba(42,0,41,.95) 0%, rgba(63,0,62,.86) 40%, rgba(63,0,62,.5) 72%, rgba(120,7,91,.35) 100%); }
.hero9 .dot { background: var(--lila); }
.hero9 .hero-card h2 .ico { color: var(--lila); }
.hero-hours { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #EBD9E7; font-weight: 700; font-size: 15px; }
.hero-hours .ico { color: var(--lila); width: 18px; height: 18px; }

/* Tarjeta de radiografía: imagen chica sobre fondo negro */
.service-media.is-dark { background: #04070C; }
.service-media.is-dark img { object-fit: contain; }

/* Pestañas: en celular, sólo ícono + texto corto en una línea */
@media (max-width: 640px) { .tab span { font-size: 12px; line-height: 1.2; text-align: center; } }

/* WhatsApp flotante */
.wa { right: 22px; bottom: 22px; background: #1FA855; border: 3px solid #fff; box-shadow: 0 12px 30px -6px rgba(31,168,85,.55), 0 4px 10px rgba(0,0,0,.15); }
.wa::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,168,85,.5); animation: waPulse 2.6s infinite; pointer-events: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.45); } 70% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0); } }
@media (prefers-reduced-motion: reduce) { .wa::before { animation: none; } }
@media (max-width: 560px) { .wa { right: 16px; bottom: 16px; width: 60px; min-height: 60px; } .wa .ico { width: 28px; height: 28px; } }
.nav-cta-m { display: none; }
@media (max-width: 1220px) { .nav-cta-m { display: block; padding-top: 14px; } .masthead .nav .nav-cta-m a { color: #fff; border: 0; justify-content: center; font-size: 16px; } }
.masthead.is-solid .topbar { border-bottom-width: 0; }
@media (max-width: 1220px) { .masthead .nav .nav-cta-m a, .masthead.is-solid .nav .nav-cta-m a { display: flex; justify-content: center; border-radius: var(--r-sm); border-bottom: 0; background: var(--plum); color: #fff; padding: 14px; box-shadow: none; } }

/* v9.1 · SEO: el H1 incluye la etiqueta «Diagnóstico por imágenes en Santiago del Estero» */
.hero h1.hero-h1 { max-width: none; margin: 0 0 18px; }
.hero-h1 .hero-pill { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
.hero-h1 .hero-title { display: block; margin-top: 22px; max-width: 15ch; }
.hero-card-title { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.hero-card-title .ico { width: 22px; height: 22px; color: var(--lila); }
.empty-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.hero-card p.hero-card-title { color: #fff; font-size: 21px; margin-bottom: 6px; }


/* =========================================================
   v11 · Navegación en celular
   Panel lateral, barra de acciones abajo, filtros que no se cortan
   ========================================================= */
.nav-head, .nav-contact, .nav-home-m, .nav-overlay, .mbar { display: none; }

@media (max-width: 1220px) {
  /* El filtro de desenfoque rompe el posicionamiento del panel: en celular el header es sólido liso */
  .masthead, .masthead.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .masthead.is-solid { background: #fff; }
  .burger, .masthead .burger { width: 48px; height: 48px; }

  .nav, .masthead .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(88vw, 380px); margin: 0;
    display: flex; flex-direction: column; background: #fff; border: 0; border-radius: 20px 0 0 20px;
    box-shadow: -20px 0 50px -20px rgba(29,26,34,.45); z-index: 2; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(104%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s;
  }
  .nav.open, .masthead .nav.open { transform: none; visibility: visible; transition: transform .28s ease; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(29,12,36,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }

  .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 6px 24px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .nav-close { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
  .nav-home-m { display: block; }

  .nav ul, .masthead .nav ul { flex-direction: column; padding: 6px 12px 8px; gap: 2px; }
  .nav a, .masthead .nav a, .masthead.is-solid .nav a { display: flex; align-items: center; min-height: 56px; padding: 0 14px; border: 0; border-radius: 12px; font-size: 18px; font-weight: 800; color: var(--ink); }
  .nav a:hover, .masthead .nav a:hover, .nav a:active { background: var(--tint); color: var(--plum); box-shadow: none; }
  .nav a[aria-current="page"], .masthead .nav a[aria-current="page"] { background: var(--tint); color: var(--plum); box-shadow: inset 4px 0 0 var(--magenta); }
  .nav .nav-cta-m { padding-top: 10px; }
  .masthead .nav .nav-cta-m a { background: var(--plum); color: #fff; justify-content: center; min-height: 56px; }

  .nav-contact { display: grid; gap: 10px; margin-top: auto; padding: 16px 24px 28px; border-top: 1px solid var(--line); background: var(--blush-2, #faf3f8); }
  .nav-contact a, .masthead .nav .nav-contact a { min-height: 60px; gap: 14px; padding: 0 14px; border: 1.5px solid var(--lila); border-radius: 14px; background: #fff; font-size: 17px; }
  .nav-contact .ico { width: 24px; height: 24px; flex: none; color: var(--magenta); }
  .nav-contact small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }

  /* Barra de acciones fija abajo: reemplaza al botón flotante de WhatsApp */
  .wa { display: none !important; }
  .mbar { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(29,26,34,.4); }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 14px; font-size: 16px; font-weight: 800; text-decoration: none; }
  .mbar .ico { width: 22px; height: 22px; }
  .mbar-main { background: var(--plum); color: #fff; }
  .mbar-wa { background: #1faa59; color: #fff; }
  .mbar-tel { background: var(--tint); color: var(--plum); }
  body.has-mbar { padding-bottom: 76px; }
  body.menu-open .mbar { display: none; }
}
@media (max-width: 420px) { .mbar-wa span, .mbar-tel span { display: none; } .mbar a.mbar-wa, .mbar a.mbar-tel { width: 54px; padding: 0; } }
@media (max-width: 360px) { .topbar-wa { display: none; } }

/* Filtros de estudios: se acomodan en filas (antes se cortaban hacia la derecha) y la barra no queda fija en el celular */
@media (max-width: 640px) {
  .toolbar.toolbar8 { position: static; }
  .tb-filters .chips, .chips { flex-wrap: wrap; overflow: visible; }
  .chip { min-height: 44px; }
  .prep-filter { width: 100%; }
  .prep-filter select { min-height: 48px; }
}

/* =====================================================================
   v11 · carrusel del hero, embarazo 5D, guía para pacientes, animaciones
   ===================================================================== */
.hero-slides { position: absolute; inset: 0; z-index: -2; background: var(--plum); overflow: hidden; }
.hero-slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 5s ease-out; }
.hero-slides .slide.is-active { opacity: 1; transform: scale(1); }
.hero-ctrl { position: absolute; right: 24px; bottom: 112px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(42,0,41,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s, transform .2s; }
.hero-dots button[aria-current="true"] { background: #fff; transform: scale(1.3); }
.hero-pause { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; }
.hero-pause:hover { background: rgba(255,255,255,.32); }
.hero-pause svg { width: 12px; height: 12px; }
@media (max-width: 760px) { .hero-ctrl { right: 16px; bottom: 96px; } }

.hero-preg { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; transition: background .2s; }
.hero-preg:hover { background: rgba(255,255,255,.26); }
.hero-preg-tag { background: #F7B5E3; color: var(--plum); border-radius: 999px; padding: 3px 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hero-preg .ico { width: 16px; height: 16px; }

/* Animaciones de entrada (solo si hay JS; se apagan con "reducir movimiento") */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slides .slide { transition: opacity .01s; transform: none; }
}

/* ---------- Embarazo ---------- */
.preg { position: relative; isolation: isolate; color: #fff; background: linear-gradient(125deg, #2A0029 0%, var(--plum) 45%, #5B0549 80%, var(--magenta) 100%); overflow: hidden; }
.preg-arcs { position: absolute; z-index: -1; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%; border: 60px solid rgba(209,195,210,.08); box-shadow: 0 0 0 60px rgba(209,195,210,.05), 0 0 0 120px rgba(209,195,210,.04); }
.preg .eyebrow { color: #F7B5E3; }
.preg h2 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.03em; }
.preg-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .preg-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.preg-lead { font-size: 19px; color: #F1E2EE; margin-top: 16px; max-width: 52ch; }
.preg-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.preg-list li { display: flex; gap: 12px; align-items: flex-start; color: #F1E2EE; font-size: 16px; }
.preg-list li b { color: #fff; }
.preg-list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(247,181,227,.22); color: #F7B5E3; margin-top: 1px; }
.preg .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.preg-visual { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 440px; }
.preg-main { position: relative; grid-row: 1 / 3; margin: 0; border-radius: 22px; overflow: hidden; border: 5px solid rgba(209,195,210,.3); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.preg-main img { width: 100%; height: 100%; object-fit: cover; }
.preg-main figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.94); color: var(--plum); display: grid; line-height: 1.2; }
.preg-main figcaption small { font-size: 11px; color: var(--ink-2); font-weight: 600; }
.ph { display: grid; place-content: center; text-align: center; gap: 4px; padding: 14px; border-radius: 18px; border: 2px dashed rgba(209,195,210,.55); background: rgba(255,255,255,.06); color: #E9DCE8; font-weight: 800; font-size: 14px; }
.ph small { font-weight: 600; font-size: 12px; opacity: .85; }
@media (max-width: 640px) { .preg-visual { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 120px; min-height: 0; } .preg-main { grid-column: 1 / 3; grid-row: 1; } }

.stages { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 860px) { .stages { grid-template-columns: repeat(3, 1fr); } }
.stage { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; transition: transform .25s, background .25s; }
.stage:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.stage.is-star { background: #fff; color: var(--ink); border-color: #fff; }
.stage.is-star h3 { color: var(--plum); }
.stage.is-star p { color: var(--ink-2); }
.stage.is-star li { background: var(--blush); color: var(--magenta); }
.stage.is-star .more { color: var(--magenta); }
.stage-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #F7B5E3; color: var(--plum); font-weight: 900; }
.stage h3 { color: #fff; font-size: 21px; margin-top: 6px; }
.stage p { color: #E9DCE8; font-size: 15px; }
.stage ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.stage li { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 800; }
.stage .more { margin-top: auto; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; color: #F7B5E3; }
.stage .more .ico { width: 16px; height: 16px; transition: transform .2s; }
.stage:hover .more .ico { transform: translateX(4px); }
.preg-note { margin-top: 26px; font-size: 14px; color: #D9C7D6; max-width: 80ch; }

/* ---------- Guía: estudios en simple ---------- */
.explain { display: grid; gap: 22px; }
@media (min-width: 900px) { .explain { grid-template-columns: repeat(3, 1fr); } }
.explain-card { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--lila); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.explain-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.explain-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--bruma); color: var(--magenta); }
.explain-icon .ico { width: 28px; height: 28px; }
.explain-card h3 { margin: 16px 0 10px; font-size: 23px; color: var(--plum); }
.explain-card dt { margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta); }
.explain-card dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15.5px; }
.explain-card .more { margin-top: auto; padding-top: 20px; font-weight: 800; color: var(--magenta); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.explain-card .more:hover { text-decoration: underline; }
.explain-card .more .ico { width: 16px; height: 16px; }

.helper { margin-top: 48px; padding: 36px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--lila); }
.helper-head h3 { font-size: clamp(22px, 2.4vw, 28px); color: var(--plum); }
.helper-head p { color: var(--ink-2); margin-top: 6px; }
.helper-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hchip { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--lila); background: #fff; color: var(--plum); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .18s; }
.hchip:hover { border-color: var(--plum); }
.hchip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.helper-out { margin-top: 24px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); min-height: 96px; }
.helper-empty { color: var(--ink-3); }
.helper-out h4 { font-size: 20px; color: var(--plum); margin-bottom: 6px; }
.helper-out p { color: var(--ink-2); }
.helper-out .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.helper-out .tags span { padding: 3px 12px; border-radius: 999px; background: var(--blush); color: var(--magenta); font-size: 13px; font-weight: 800; }
.helper-out .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.helper-out .fine { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.helper-out.is-new { animation: popIn .35s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Nosotros: números y testimonios ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.stats li { padding: 16px 12px; text-align: center; border-radius: var(--r); background: var(--tint); border: 1px solid var(--lila); }
.stats b { display: block; font-size: clamp(24px, 3vw, 34px); color: var(--plum); letter-spacing: -.02em; line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.quotes { display: grid; gap: 20px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--lila); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.quote figcaption { margin-top: 16px; font-size: 14px; font-weight: 800; color: var(--magenta); }
.quote .lorem, .lorem { background: #FFF7D6; color: #5c4a00; }

/* ---------- v11b · aclaraciones (seña / radiografía sin turno) y mini-turnero ---------- */
.notes2 { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .notes2 { grid-template-columns: 1fr 1fr; } }
.note2 { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--lila); background: #fff; }
.note2 h3 { font-size: 19px; color: var(--plum); margin-bottom: 6px; }
.note2 p { color: var(--ink-2); font-size: 15px; }
.note2-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bruma); color: var(--magenta); }
.note2-ico .ico { width: 26px; height: 26px; }
.note2-sena { background: linear-gradient(135deg, #fff 0%, var(--tint) 100%); }
.note2-rx { border-color: #9FD3B7; background: linear-gradient(135deg, #fff 0%, var(--ok-bg) 100%); }
.note2-rx .note2-ico { background: #CDEBDA; color: var(--ok); }
.note2-rx h3 { color: #145C38; }

.tq { margin-top: 32px; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--lila); box-shadow: var(--shadow); }
.tq-head h3 { font-size: clamp(22px, 2.4vw, 28px); color: var(--plum); }
.tq-head p { color: var(--ink-2); margin-top: 6px; }
.tq-grid { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 720px) { .tq-grid { grid-template-columns: 2fr 1fr; } }
.tq .field label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.tq select, .tq input[type=date] { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--lila); border-radius: var(--r-sm); font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.tq select:focus, .tq input:focus { border-color: var(--plum); outline: none; box-shadow: 0 0 0 3px var(--bruma); }
.tq-prep { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.r-horarios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; min-height: 44px; }
.r-hora { padding: 10px 16px; border: 2px solid var(--plum); border-radius: 10px; background: #fff; color: var(--plum); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; min-height: 44px; transition: background .15s, color .15s; }
.r-hora:hover { background: var(--blush); }
.r-hora[aria-checked=true] { background: var(--plum); color: #fff; }
.r-nota { margin: 0; color: var(--ink-3); font-size: 14px; align-self: center; }
.tq-aviso { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--tint); border-left: 4px solid var(--plum); font-size: 14px; }
.tq-rx { background: var(--ok-bg); border-left-color: var(--ok); }
.tq-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tq-foot .btn[aria-disabled=true] { opacity: .55; }
.tq-err { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8A1F1F; font-size: 14px; font-weight: 700; }

.doubt { text-align: center; margin-top: 22px; font-size: 16px; color: var(--ink-2); }
.doubt a { font-weight: 800; color: var(--magenta); }

/* ---------- v11c · más lila y ciruela (pedido del Dr. Cirami) ---------- */
.section-lila { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--bruma) 0%, var(--tint) 55%, #FDFAFC 100%); }
.section-lila::before { content: ""; position: absolute; z-index: -1; left: -220px; top: -200px; width: 520px; height: 520px; border-radius: 50%; border: 50px solid rgba(120,7,91,.06); box-shadow: 0 0 0 50px rgba(120,7,91,.04); }
.section-lila .eyebrow { color: var(--magenta); }
.section-lila .head h2 { color: var(--plum); }
.section-lila .service h3 { color: var(--plum); }
.section-lila .service-media { box-shadow: 0 18px 36px -18px rgba(63,0,62,.45); border: 4px solid #fff; }
.section-lila .quote { border-color: var(--lila); box-shadow: var(--shadow-sm); }

/* Cómo sacar turno: fondo ciruela, como la sección de embarazo */
.section-plum { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(125deg, #2A0029 0%, var(--plum) 48%, #5B0549 85%, var(--magenta) 100%); }
.section-plum::before { content: ""; position: absolute; z-index: -1; right: -200px; bottom: -220px; width: 600px; height: 600px; border-radius: 50%; border: 56px solid rgba(209,195,210,.08); box-shadow: 0 0 0 56px rgba(209,195,210,.05); }
.section-plum .eyebrow { color: #F7B5E3; }
.section-plum .head h2 { color: #fff; }
.section-plum .head p { color: #E9DCE8; }
.section-plum .step { border-color: transparent; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
.section-plum .step-num { color: var(--magenta); }
.section-plum .note2 { border-color: transparent; }
.section-plum .tq { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.section-plum .doubt { color: #E9DCE8; }
.section-plum .doubt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.section-plum .center-cta .btn-primary { background: #fff; color: var(--plum); }
.section-plum .center-cta .btn-primary:hover { background: var(--blush); }

/* Guía: detalle lila en las tarjetas */
.section-guia { background: #fff; }
.explain-card { border-top: 5px solid var(--magenta); }
.explain-card:nth-child(2) { border-top-color: var(--plum); }
.explain-card:nth-child(3) { border-top-color: #A15C95; }
.explain-card dt { color: var(--magenta); }
.helper { background: linear-gradient(135deg, var(--bruma) 0%, var(--tint) 100%); }

/* Nosotros: marco lila y director destacado */
.section-lila .team-photo img { border: 6px solid #fff; box-shadow: 0 30px 60px -28px rgba(63,0,62,.55); }
.section-lila .director { border-left: 5px solid var(--plum); }
.section-lila .stats li { background: #fff; }

/* Preguntas: franja lila suave y pregunta abierta resaltada */
#preguntas.section-gray { background: linear-gradient(180deg, #FDFAFC 0%, var(--bruma) 100%); }
#preguntas details[open] { border-color: var(--magenta); box-shadow: 0 10px 24px -16px rgba(63,0,62,.45); }

/* Preguntas frecuentes: oscuro, de ciruela a lila oscuro (alterna con las secciones claras) */
#preguntas.section-gray { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(135deg, #2A0029 0%, #43103F 38%, #5A2D5E 72%, #7A5080 100%); }
#preguntas.section-gray::before { content: ""; position: absolute; z-index: -1; right: -200px; top: -180px; width: 560px; height: 560px; border-radius: 50%; border: 56px solid rgba(209,195,210,.07); box-shadow: 0 0 0 56px rgba(209,195,210,.045); }
#preguntas.section-gray::after { content: ""; position: absolute; z-index: -1; left: -160px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%; border: 44px solid rgba(209,195,210,.06); }
#preguntas .eyebrow { color: #F7B5E3; }
#preguntas .faq-aside h2 { color: #fff; }
#preguntas .faq-aside p { color: #E9DCE8; }
#preguntas .faq-aside .btn-primary { background: #fff; color: var(--plum); }
#preguntas .faq-aside .btn-primary:hover { background: var(--blush); }
#preguntas .faq details { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
#preguntas .faq details:hover { background: rgba(255,255,255,.12); }
#preguntas .faq details[open] { background: rgba(255,255,255,.14); border-color: #F7B5E3; }
#preguntas .faq summary { color: #fff; }
#preguntas .faq summary .plus { background: rgba(247,181,227,.2); color: #F7B5E3; }
#preguntas .faq details[open] .plus { background: #F7B5E3; color: var(--plum); }
#preguntas .faq details > div { color: #F1E2EE; }
#preguntas .faq details > div a { color: #F7B5E3; font-weight: 700; }

/* Ajustes de celular v11 */
@media (max-width: 560px) {
  .helper { padding: 24px 18px; }
  .helper-chips { flex-direction: column; }
  .hchip { width: 100%; text-align: left; min-height: 50px; padding: 0 16px; }
  .stats { gap: 8px; }
  .stats b { font-size: 22px; }
  .stats li { padding: 14px 6px; }
  .tq { padding: 24px 18px; }
  .tq-foot .btn { width: 100%; }
  .note2 { padding: 20px 18px; gap: 12px; }
  .note2-ico { width: 42px; height: 42px; }
  .preg .btns .btn { width: 100%; }
}

/* v11d · fotos 5D + IA */
.preg-sub { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 4px solid rgba(209,195,210,.3); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.preg-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preg-sub figcaption { position: absolute; left: 8px; bottom: 8px; padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.94); color: var(--plum); font-size: 12px; font-weight: 700; }
.preg-main video, .preg-sub video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .preg-main video, .preg-sub video { animation: none; } }
.hero-hours { flex-wrap: wrap; row-gap: 4px; }
.hero-hours a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #F7B5E3; }
.hero-hours a:hover { color: #F7B5E3; }
.tq .tq-aviso, .tq .tq-aviso strong { color: var(--plum); }
.tq .r-nota, .tq .tq-prep { color: #5a4a58; }

/* v11f · acceso a resultados */
.masthead .nav .nav-res a { border: 2px solid rgba(255,255,255,.7); color: #fff; padding: 8px 14px; margin-left: 6px; }
.masthead .nav .nav-res a:hover { background: #fff; color: var(--plum); }
.masthead.is-solid .nav .nav-res a { border-color: var(--plum); color: var(--plum); }
.masthead.is-solid .nav .nav-res a:hover { background: var(--plum); color: #fff; }
@media (max-width: 1220px) { .masthead .nav .nav-res a, .masthead.is-solid .nav .nav-res a { margin: 12px 0 0; text-align: center; border: 2px solid var(--plum); border-radius: 10px; color: var(--plum); } }

/* resultados */
.res-band { display: flex; align-items: center; gap: 20px; padding: 26px 30px; margin: 56px 0 0; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.res-band h2 { font-size: 22px; margin: 0 0 4px; color: var(--plum); }
.res-band p { margin: 0; color: var(--ink-2); }
.res-band .btn { margin-left: auto; white-space: nowrap; }
.res-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--plum); color: #fff; display: grid; place-items: center; }
.res-ico .ico { width: 26px; height: 26px; }
@media (max-width: 640px) { .res-band { flex-direction: column; align-items: flex-start; padding: 22px; } .res-band .btn { margin-left: 0; width: 100%; justify-content: center; } }
@media (min-width: 1221px) { .logo b { white-space: nowrap; } }
@media (max-width: 1400px) and (min-width: 1221px) { .nav a { padding: 10px 8px; font-size: 14px; } .logo small { display: none; } .masthead .nav .nav-res a { padding: 7px 12px; } }
.notes2.is-reducido { grid-template-columns: 1fr; }
.section-plum .head a, .section-plum .head-center a { color: #F7B5E3; text-decoration: underline; text-underline-offset: 3px; }
.btn-block { white-space: normal; text-align: center; } .form-card, .turno-aside { min-width: 0; }

/* v11g · hero en celular: la foto se ve nítida arriba y se funde con el degradado violeta */
@media (max-width: 900px) {
  .hero { padding-top: calc(clamp(420px, 82vw, 560px) - 170px); background: #3F003E; }
  .hero::before { background: linear-gradient(180deg, rgba(46,0,45,.55) 0%, rgba(46,0,45,0) 22%, rgba(46,0,45,0) 40%, rgba(63,0,62,.55) 62%, #3F003E 80%); }
  .hero-slides { inset: 0 0 auto 0; height: clamp(420px, 82vw, 560px); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero-slides .slide { object-position: center 35%; }
  .hero-slides .slide.s3 { object-position: 60% 30%; }
  .hero-ctrl { top: 186px; bottom: auto; right: 16px; }
}

/* v11h · ajustes responsive */
.res-band { margin-bottom: 28px; }
@media (max-width: 560px) {
  .place-body { padding: 24px 20px; }
  .place-body .info-list a, .place-body dd, .place-body li a { overflow-wrap: anywhere; }
  .place-btns { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .place-btns .btn { width: 100%; justify-content: center; }
}
@media (max-width: 420px) { .place-body [href^="mailto:"] { font-size: 14px; } }
.r-aviso:empty { display: none; }
.form-card input:disabled { background: #F3EDF3; cursor: not-allowed; }
@media (max-width: 380px) { .topbar a { font-size: 12.5px; white-space: nowrap; } .topbar .container { gap: 6px; padding-left: 12px; padding-right: 12px; } .topbar a svg { width: 14px; height: 14px; } }
