/* seo-geo.css - Plantillas SEO/GEO hermanas: especialista y precio. No altera index.php. */
.sg-page {
    --sg-ink: #44230e;
    --sg-dark: #693708;
    --sg-brown: #81450a;
    --sg-primary: #b66b12;
    --sg-gold: #e5af2f;
    --sg-cream: #fff9ed;
    --sg-paper: #ffffff;
    --sg-line: #efdfc7;
    --sg-soft: #f6ecda;
    color: var(--sg-ink);
    background: #fff;
    font-family: var(--careon-font, 'Cairo', sans-serif);
    line-height: 1.7;
    overflow: clip;
}
.sg-page *, .sg-page *::before, .sg-page *::after { box-sizing: border-box; }
.sg-page p { margin: 0 0 1rem; color: #644934; line-height: 1.78; }
.sg-page p:last-child { margin-bottom: 0; }
.sg-page a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.sg-page a:focus-visible, .sg-page summary:focus-visible { outline: 3px solid #da9a26; outline-offset: 3px; }
.sg-page h1, .sg-page h2, .sg-page h3 { font-family: var(--title-font, 'Cairo', sans-serif); color: var(--sg-dark); letter-spacing: -.025em; margin: 0; line-height: 1.22; overflow-wrap: break-word; }
.sg-container { width: min(100% - 48px, 1320px); margin: 0 auto; }
.sg-section { position: relative; padding: 92px 0; }
.sg-overline, .sg-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #9e610e; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.sg-overline::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--sg-gold); }
.sg-section-heading { max-width: 860px; margin-bottom: 44px; }
.sg-section-heading--center { text-align: center; margin-inline: auto; }
.sg-section-heading--center .sg-overline { justify-content: center; }
.sg-section-heading h2, .sg-medico h2, .sg-curriculum h2, .sg-contacto h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); margin-bottom: 22px; }
.sg-section-heading p { max-width: 780px; margin: 0 auto 12px; }
.sg-body-copy p { margin-bottom: 16px; }
.sg-page strong { color: #6e3f0a; font-weight: 750; }
.sg-page .sg-body-copy a, .sg-page .sg-section-heading a, .sg-page .sg-geo__question a, .sg-page .sg-feature p a, .sg-page .sg-faq__answer a { color: #aa650b; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Banner: la imagen de fondo puede cambiar según el PHP; nada se inserta mediante JavaScript. */
.sg-banner { position: relative; isolation: isolate; padding: 85px 0 88px; background: linear-gradient(105deg, #fff9ed 5%, rgba(255,249,237,.96) 48%, rgba(255,244,217,.84) 100%), var(--sg-fondo, none) center / cover no-repeat; }
.sg-banner::before { content: ''; position: absolute; z-index: -1; width: 600px; height: 600px; top: -340px; right: -100px; background: radial-gradient(circle, rgba(229,175,47,.28), transparent 69%); pointer-events: none; }
.sg-banner::after { content: ''; position: absolute; left: -160px; bottom: -310px; width: 520px; height: 520px; border-radius: 50%; border: 65px solid rgba(229,175,47,.07); pointer-events: none; }
.sg-banner__grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(360px, .87fr); gap: clamp(40px, 5vw, 90px); align-items: center; }
.sg-breadcrumb { margin-bottom: 38px; }
.sg-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; padding: 0; margin: 0; list-style: none; font-size: .86rem; font-weight: 650; }
.sg-breadcrumb li { color: var(--sg-brown); overflow-wrap: anywhere; }
.sg-breadcrumb li + li::before { content: '/'; color: #a28b6f; display: inline-block; padding-right: 11px; }
.sg-breadcrumb a { color: #71512f; text-decoration: none; }
.sg-breadcrumb a:hover { color: var(--sg-primary); }
.sg-banner .sg-eyebrow { background: #fff4d7; border: 1px solid #efd7a1; border-radius: 100px; padding: 8px 14px; letter-spacing: .055em; margin-bottom: 22px; }
.sg-banner h1 { font-size: clamp(2.3rem, 4.1vw, 4.3rem); line-height: 1.13; max-width: 760px; margin-bottom: 24px; }
.sg-banner .sg-lead { font-size: 1.05rem; max-width: 700px; }
.sg-banner .sg-lead p { color: #62462a; margin-bottom: 15px; }
.sg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 29px; }
.sg-page .sg-button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; text-decoration: none; font-size: .94rem; font-weight: 750; border-radius: 10px; line-height: 1.3; border: 1px solid transparent; }
.sg-button--primary { color: #fff !important; background: var(--sg-brown); box-shadow: 0 9px 24px rgba(129,69,10,.19); }
.sg-button--primary:hover { background: #603006; transform: translateY(-2px); }
.sg-button--outline { color: var(--sg-brown) !important; background: #fff; border-color: #e1c494 !important; }
.sg-button--outline:hover { background: #fff1d8; }
.sg-banner__card { border: 1px solid rgba(224,193,137,.65); border-radius: 26px; box-shadow: 0 25px 70px rgba(105,55,8,.12); background: #fff; overflow: hidden; transform: translateY(5px); }
.sg-banner__portrait { width: 100%; height: clamp(235px, 22vw, 315px); background: #ead5b0; }
.sg-banner__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.sg-banner__card-body { padding: 25px 30px 29px; }
.sg-chip { display: inline-block; background: #fff3da; color: #8d510b; font-size: .8rem; font-weight: 750; padding: 6px 12px; border-radius: 50px; margin-bottom: 15px; }
.sg-banner__card h2 { font-size: clamp(1.3rem, 2vw, 1.75rem); margin-bottom: 14px; }
.sg-banner__card p { font-size: .93rem; }
.sg-sedes-resumen { border-top: 1px solid #f0e5d3; margin-top: 19px; padding-top: 16px; }
.sg-sedes-resumen p { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .88rem; }
.sg-sedes-resumen i { color: var(--sg-primary); width: 16px; }

/* Médico */
.sg-medico { background: #fff; }
.sg-medico__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.sg-medico__content { max-width: 680px; }
.sg-medico__media { position: relative; min-height: 420px; border-radius: 24px; background: var(--sg-soft); }
.sg-medico__media img { display: block; width: 100%; height: 520px; max-height: 52vw; object-fit: cover; object-position: center 35%; border-radius: 24px; }
.sg-medico__badge { position: absolute; right: -16px; bottom: 28px; display: flex; align-items: center; gap: 14px; background: var(--sg-brown); border-radius: 15px; padding: 16px 19px; color: #fff; max-width: 245px; box-shadow: 0 15px 30px rgba(85,39,5,.19); font-weight: 750; font-size: .85rem; line-height: 1.45; }
.sg-medico__badge i { color: #f6cf72; font-size: 1.5rem; }
.sg-cedulas { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 9px; }
.sg-cedulas li { display: flex; gap: 12px; align-items: start; font-size: .95rem; color: #634a2f; }
.sg-cedulas i { color: #b66b12; margin-top: 5px; }

/* Reseñas verificables */
.sg-resenas { background: #fffaf1; }
.sg-resenas__widget { background: #fff; border-radius: 22px; padding: 24px; border: 1px solid #f1e2c7; }

/* Curriculum: sticky solo mientras dura ESTA sección; nunca fixed en toda la página. */
.sg-curriculum { background: #fcf6ea; }
.sg-curriculum__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 95px); align-items: start; }
.sg-curriculum__intro { position: sticky; top: 105px; align-self: start; }
.sg-curriculum__seal { display: flex; gap: 14px; align-items: center; margin-top: 32px; padding: 18px 22px; border-left: 3px solid var(--sg-gold); background: #fff; border-radius: 10px; font-size: .93rem; font-weight: 700; }
.sg-curriculum__seal i { font-size: 1.6rem; color: var(--sg-primary); }
.sg-curriculum__list { display: grid; gap: 13px; }
.sg-curriculum__item { display: flex; gap: 18px; padding: 23px; background: #fff; border: 1px solid var(--sg-line); border-radius: 16px; box-shadow: 0 6px 23px rgba(76,46,16,.035); }
.sg-curriculum__icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 13px; background: #fff2d3; color: var(--sg-primary); }
.sg-curriculum__item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sg-curriculum__item p, .sg-curriculum__item li { font-size: .93rem; margin-bottom: 5px; }
.sg-curriculum__item ul { padding-left: 18px; margin: 0; }

/* Grids por elemento; contenido estático en HTML */
.sg-enfermedades { background: #fff; }
.sg-tratamientos { background: #fcf7ed; }
.sg-grid { display: grid; gap: 19px; }
.sg-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg-feature { padding: 29px 28px; background: #fff; border: 1px solid var(--sg-line); border-radius: 18px; box-shadow: 0 7px 25px rgba(87,46,11,.035); }
.sg-feature__icon { width: 53px; height: 53px; display: grid; place-items: center; color: var(--sg-primary); background: var(--sg-cream); border-radius: 15px; margin-bottom: 20px; font-size: 1.15rem; }
.sg-feature h3 { font-size: 1.18rem; margin-bottom: 12px; }
.sg-feature h3 a { color: var(--sg-dark); text-decoration: none; }
.sg-feature h3 a:hover { color: var(--sg-primary); }
.sg-feature p { font-size: .94rem; }
.sg-feature__link { display: inline-flex; align-items: center; gap: 9px; color: #9f5905; font-size: .91rem; font-weight: 750; text-decoration: none; margin-top: 18px; }

/* SEO + GEO: una sola columna, sin desplegables ni animaciones. */
.sg-geo { background: #fff; }
.sg-geo__questions { display: grid; gap: 15px; width: min(100%, 1080px); margin: auto; }
.sg-geo__question { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 19px; align-items: start; padding: 25px 29px; border: 1px solid var(--sg-line); border-radius: 15px; background: #fff; box-shadow: 0 6px 25px rgba(62,38,12,.025); }
.sg-geo__number { font-weight: 800; font-size: 1.1rem; color: #ba7b23; background: #fff3dc; width: 43px; height: 43px; border-radius: 12px; display: grid; place-items: center; }
.sg-geo__question h3 { font-size: 1.18rem; margin-bottom: 11px; }
.sg-geo__question p { font-size: .96rem; }

/* FAQs accesibles sin JavaScript, primera respuesta abierta. */
.sg-faq { background: #fff9ef; }
.sg-faq__items { max-width: 1000px; margin: 0 auto; display: grid; gap: 13px; }
.sg-faq__item { border: 1px solid var(--sg-line); border-radius: 14px; background: #fff; overflow: hidden; }
.sg-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 19px; padding: 22px 25px; cursor: pointer; list-style: none; }
.sg-faq__item summary::-webkit-details-marker { display: none; }
.sg-faq__item summary h3 { font-size: 1.12rem; line-height: 1.4; }
.sg-faq__toggle { flex: 0 0 33px; height: 33px; display: grid; place-items: center; background: #fff2da; color: #94530e; border-radius: 50%; }
.sg-faq__item[open] .sg-faq__toggle { transform: rotate(45deg); background: var(--sg-brown); color: #fff; }
.sg-faq__answer { padding: 0 25px 23px; }
.sg-faq__answer p { margin-bottom: 0; font-size: .98rem; }

/* Enlaces de interés: enlaces HTML reales, sin inserción dinámica mediante JS. */
.sg-enlaces { background: #ffffff; }
.sg-enlaces__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sg-enlaces__item { display: flex; align-items: center; gap: 15px; padding: 20px 18px; background: #fffaf1; border: 1px solid #f0dfbf; border-radius: 15px; text-decoration: none; min-width: 0; }
.sg-enlaces__item span { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #f8e4bc; color: #98550a; }
.sg-enlaces__item strong { font-size: .95rem; line-height: 1.4; flex: 1; }
.sg-enlaces__item > i { font-size: .9rem; color: #a96c18; }
.sg-enlaces__item:hover { border-color: #d5a357; background: #fff5e2; }

/* Contacto: tarjetas por canal y una por cada sede real en base.json. */
.sg-contacto { background: linear-gradient(135deg, #673608, #895012); }
.sg-contacto__intro { text-align: center; max-width: 850px; margin: 0 auto 35px; }
.sg-contacto .sg-overline { color: #ffdf91; }
.sg-contacto h2 { color: #fff; }
.sg-contacto__intro p { color: #f5e8d5; }
.sg-contacto__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 17px; }
.sg-contacto__card { padding: 27px 24px; background: #fff; border-radius: 16px; min-width: 0; }
.sg-contacto__card > span { display: grid; place-items: center; width: 48px; height: 48px; background: #fff3d9; color: #a15b0b; border-radius: 12px; margin-bottom: 16px; }
.sg-contacto__card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.sg-contacto__card p { overflow-wrap: anywhere; font-size: .91rem; }
.sg-contacto__card a { color: #925007; font-size: .92rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
    .sg-banner__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 33px; }
    .sg-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sg-enlaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .sg-section { padding: 75px 0; }
    .sg-banner { padding: 55px 0 75px; }
    .sg-banner__grid, .sg-medico__grid, .sg-curriculum__grid { grid-template-columns: minmax(0, 1fr); }
    .sg-banner__copy { max-width: 760px; }
    .sg-banner__card { width: min(100%, 570px); }
    .sg-medico__media { max-width: 640px; }
    .sg-medico__media img { max-height: none; height: 430px; }
    .sg-curriculum__intro { position: static; }
}
@media (max-width: 600px) {
    .sg-container { width: min(100% - 30px, 1320px); }
    .sg-section { padding: 56px 0; }
    .sg-banner { padding: 38px 0 57px; }
    .sg-breadcrumb { margin-bottom: 28px; }
    .sg-banner h1 { font-size: clamp(2rem, 8.4vw, 2.8rem); }
    .sg-banner__card-body { padding: 23px; }
    .sg-actions { align-items: stretch; }
    .sg-actions .sg-button { flex: 1 1 100%; }
    .sg-medico__media { min-height: 0; }
    .sg-medico__media img { height: 350px; }
    .sg-medico__badge { right: 9px; bottom: 10px; }
    .sg-grid--three { grid-template-columns: minmax(0, 1fr); }
    .sg-enlaces__grid { grid-template-columns: minmax(0, 1fr); }
    .sg-feature { padding: 23px; }
    .sg-curriculum__item { padding: 18px; }
    .sg-geo__question { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
    .sg-geo__number { width: 38px; height: 38px; }
    .sg-faq__item summary { padding: 18px; }
    .sg-faq__answer { padding: 0 18px 19px; }
    .sg-contacto__cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .sg-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* ======================================================================
   DISTRIBUCIÓN DEFINITIVA: misma composición visual de las plantillas
   SEO/GEO anteriores; conserva la paleta café-dorado de Oftalmología.
   ====================================================================== */
.sg-page { --sg-reference-dark: #112326; --sg-reference-copy: #3c5453; }
.sg-page p { color: var(--sg-reference-copy); font-size: .97rem; line-height: 2; }
.sg-page h1, .sg-page h2, .sg-page h3 { color: var(--sg-reference-dark); }
.sg-container { width: min(100% - 58px, 1320px); }
.sg-overline { display: none; }
.sg-section { padding: 100px 0; }
.sg-section-heading { max-width: 1160px; margin: 0 auto 45px; }
.sg-section-heading h2, .sg-medico h2, .sg-curriculum h2, .sg-contacto h2 { font-size: clamp(2.05rem, 3.5vw, 3.2rem); line-height: 1.25; font-weight: 800; }
.sg-section-heading p { max-width: 1140px; }
.sg-page .sg-section-heading a, .sg-page .sg-body-copy a, .sg-page .sg-geo__question a { color: #a66a19; }

/* Migas separadas del banner, igual que la página de referencia. */
.sg-breadcrumb { background: #f5f7fa; margin: 0; padding: 15px 0; }
.sg-breadcrumb ol { color: #3b4e4d; font-size: .87rem; font-weight: 600; }
.sg-breadcrumb li { color: #17262a; }
.sg-breadcrumb li + li { font-weight: 800; }
.sg-breadcrumb li + li::before { color: #516666; }

/* Hero central de ancho completo, imagen con overlay, H1 blanco y card. */
.sg-banner { min-height: 770px; padding: 78px 0 72px; background: linear-gradient(180deg, rgba(53,35,19,.80), rgba(29,24,21,.91)), var(--sg-fondo, none) center center / cover no-repeat; }
.sg-banner::before, .sg-banner::after { display: none; }
.sg-banner__grid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 27px; }
.sg-banner__copy { max-width: 1120px; text-align: center; }
.sg-banner h1 { max-width: 1100px; color: #fff; font-size: clamp(2.8rem, 5.15vw, 4.75rem); line-height: 1.13; font-weight: 800; margin: 0 auto 28px; }
.sg-banner .sg-lead { max-width: 1000px; margin: 0 auto; font-size: .97rem; }
.sg-banner .sg-lead p { color: #fff; line-height: 1.95; font-size: .96rem; margin-bottom: 13px; }
.sg-banner .sg-lead a { color: #f6d583; text-decoration: underline; text-underline-offset: 3px; }
.sg-banner .sg-lead strong { color: #fff; }
.sg-banner__card { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 0 20px; max-width: 790px; width: 100%; padding: 25px 26px 0; margin: 0 auto; background: #fff; border: 1px solid rgba(245,228,201,.75); border-radius: 18px; box-shadow: 0 18px 35px rgba(0,0,0,.18); transform: none; text-align: left; }
.sg-banner__portrait { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: #e9edf0; }
.sg-banner__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 50%; }
.sg-banner__card-body { padding: 1px 0 20px; }
.sg-banner__card h2 { color: var(--sg-brown); font-size: 1.56rem; line-height: 1.28; margin: 0 0 7px; font-weight: 800; }
.sg-chip { display: inline-block; background: transparent; color: #8b5b20; font-size: .85rem; font-weight: 750; padding: 0; margin: 0 0 10px; border-radius: 0; }
.sg-banner__card p { color: #3e5352; font-size: .88rem; line-height: 1.75; }
.sg-sedes-resumen { grid-column: 1 / -1; margin: 0; padding: 15px 0 18px; border-top: 1px solid #e6e6e6; }
.sg-sedes-resumen p { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 7px; color: #506260; font-size: .83rem; line-height: 1.6; }
.sg-sedes-resumen i { color: var(--sg-primary); margin-top: 3px; }
.sg-actions { margin: 0 auto; justify-content: center; gap: 14px; }
.sg-page .sg-button { min-width: 218px; border-radius: 60px; padding: 14px 23px; font-weight: 750; }
.sg-button--outline { background: transparent; border: 1px solid rgba(255,255,255,.86) !important; color: #fff !important; }
.sg-button--outline:hover { background: rgba(255,255,255,.14); }
.sg-button--whatsapp { background: #20c769; color: #fff !important; box-shadow: 0 6px 15px rgba(13,135,72,.21); }
.sg-button--whatsapp:hover { background: #18ab58; transform: translateY(-2px); }

/* Texto a la izquierda y fotografía del médico a la derecha. */
.sg-medico { background: #fff; }
.sg-medico__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 58px; align-items: center; }
.sg-medico__content { max-width: none; }
.sg-medico__content h2 { margin-bottom: 28px; }
.sg-medico__content p { text-align: justify; }
.sg-medico__media { min-height: 0; background: transparent; }
.sg-medico__media img { height: 610px; max-height: none; object-fit: cover; border-radius: 12px; }
.sg-medico__badge { display: none; }

/* Currículum como bloque central, sin posición fija permanente. */
.sg-curriculum { background: #fff; }
.sg-curriculum__grid { display: block; }
.sg-curriculum__intro { position: static; max-width: 1170px; text-align: center; margin: 0 auto 45px; }
.sg-curriculum__intro p { margin: 0 auto 14px; }
.sg-curriculum__seal { justify-content: center; max-width: 500px; margin: 24px auto 0; background: #f9f3e8; }
.sg-curriculum__list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.sg-curriculum__item { border-radius: 16px; background: #fff; border: 1px solid #ebe4d8; border-top: 3px solid var(--sg-primary); box-shadow: 0 9px 27px rgba(50,50,50,.05); }

/* Enfermedades: tarjetas con número grande y línea superior. */
.sg-enfermedades { background: #f5f8fa; }
.sg-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px; }
.sg-feature--disease { background: #fff; border: 1px solid #e9ecef; border-top: 4px solid var(--sg-primary); border-radius: 17px; box-shadow: 0 11px 35px rgba(35,59,61,.05); padding: 30px 26px; }
.sg-feature__number { display: inline-block; color: #c38b2c; font-size: 2.65rem; line-height: 1; font-weight: 850; margin: 0 0 20px; }
.sg-feature--disease h3 { font-size: 1.24rem; margin-bottom: 19px; }
.sg-feature--disease p { text-align: justify; }

/* Tratamientos: fotografía arriba, numeración y tarjeta blanca debajo. */
.sg-tratamientos { background: linear-gradient(135deg,#eef4f8,#f9fbfc); }
.sg-feature--treatment { display: flex; flex-direction: column; border: 0; border-left: 3px solid var(--sg-primary); border-radius: 0 0 18px 18px; padding: 0; overflow: hidden; box-shadow: 0 12px 32px rgba(38,58,62,.10); }
.sg-feature__media { height: 235px; position: relative; background: #dfddd8; overflow: hidden; }
.sg-feature__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(30,41,43,.14),rgba(22,34,40,.50)); pointer-events: none; }
.sg-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-feature__media .sg-feature__number { position: absolute; z-index: 1; top: 16px; left: 17px; font-size: 1.7rem; color: #fff; margin: 0; }
.sg-feature__media-icon { position: absolute; z-index: 1; bottom: 17px; right: 17px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.65); color: #fff; border-radius: 11px; }
.sg-feature__body { padding: 26px 26px 32px; flex: 1; }
.sg-feature--treatment h3 { font-size: 1.21rem; margin-bottom: 18px; }
.sg-feature--treatment p { text-align: justify; }

/* SEO + GEO: bloques blancos con separación horizontal, 1 pregunta por fila. */
.sg-geo { background: #fff; }
.sg-geo__questions { display: block; width: 100%; max-width: none; }
.sg-geo__question { display: block; padding: 31px 0; background: #fff; border: 0; border-bottom: 1px solid #e6eaeb; border-radius: 0; box-shadow: none; }
.sg-geo__number { display: none; }
.sg-geo__question h3 { font-size: 1.28rem; margin-bottom: 16px; }
.sg-geo__question p { color: #3e5858; line-height: 1.95; }

/* FAQs en dos columnas: introducción a la izquierda, acordeón a la derecha. */
.sg-faq { background: #eef9fb; }
.sg-faq__grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.75fr); gap: 35px; align-items: start; }
.sg-faq__intro { position: sticky; top: 124px; }
.sg-faq__intro h2 { font-size: clamp(1.95rem,2.7vw,2.7rem); margin-bottom: 25px; }
.sg-faq__intro p { line-height: 2.05; }
.sg-faq__items { max-width: none; width: 100%; margin: 0; }
.sg-faq__item { background: #fff; border: 1px solid #e2edef; border-radius: 16px; box-shadow: 0 8px 20px rgba(42,79,88,.035); }
.sg-faq__item summary { padding: 18px 20px; gap: 16px; }
.sg-faq__number { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--sg-brown); color: #fff; border-radius: 10px; font-weight: 850; font-size: .9rem; }
.sg-faq__item summary h3 { flex: 1; font-size: 1.08rem; line-height: 1.45; }
.sg-faq__toggle { background: transparent; color: var(--sg-primary); width: 22px; flex-basis: 22px; }
.sg-faq__item[open] .sg-faq__toggle { background: transparent; color: var(--sg-primary); }
.sg-faq__answer { padding: 0 30px 24px 78px; }

/* Contacto final: blanco y exactamente tres tarjetas por canal. */
.sg-contacto { background: #fff; }
.sg-contacto__intro { max-width: 1110px; margin-bottom: 48px; }
.sg-contacto h2 { color: var(--sg-reference-dark); }
.sg-contacto__intro p { color: #3c5453; }
.sg-contacto__cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.sg-contacto__card { background: #f6f9fb; border: 1px solid #e7eef1; border-radius: 16px; padding: 30px 28px; text-align: center; }
.sg-contacto__card > span { border-radius: 50%; background: var(--sg-brown); color: #fff; width: 57px; height: 57px; margin: 0 auto 20px; font-size: 1.26rem; }
.sg-contacto__card h3 { font-size: 1.28rem; margin-bottom: 15px; }
.sg-contacto__card p { font-size: .91rem; }
.sg-contacto__locations { display: grid; gap: 13px; }
.sg-contacto__locations > div + div { padding-top: 13px; border-top: 1px solid #dee6e9; }
.sg-contacto__locations p { margin: 0 0 6px; }

@media (max-width: 1100px) {
    .sg-banner__grid { display: flex; gap: 22px; }
    .sg-medico__grid { gap: 35px; }
    .sg-grid--three, .sg-curriculum__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sg-faq__grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
}
@media (max-width: 900px) {
    .sg-section { padding: 78px 0; }
    .sg-banner { min-height: 0; padding: 65px 0; }
    .sg-banner__card { max-width: 790px; }
    .sg-medico__grid { grid-template-columns: 1fr; }
    .sg-medico__media img { height: 480px; }
    .sg-faq__grid { grid-template-columns: 1fr; }
    .sg-faq__intro { position: static; }
    .sg-contacto__cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .sg-container { width: min(100% - 30px,1320px); }
    .sg-section { padding: 60px 0; }
    .sg-banner { padding: 50px 0 55px; }
    .sg-banner h1 { font-size: clamp(2rem,8.1vw,3.3rem); }
    .sg-banner__card { grid-template-columns: 72px minmax(0,1fr); gap: 13px; padding: 19px 17px 0; }
    .sg-banner__portrait { width: 72px; height: 72px; }
    .sg-banner__card-body { padding: 0 0 15px; }
    .sg-banner__card h2 { font-size: 1.18rem; }
    .sg-sedes-resumen { padding: 13px 0; }
    .sg-actions { width: 100%; }
    .sg-page .sg-button { min-width: 0; width: 100%; }
    .sg-grid--three, .sg-curriculum__list, .sg-contacto__cards { grid-template-columns: 1fr; }
    .sg-feature--disease { padding: 25px 22px; }
    .sg-feature--treatment { padding: 0; }
    .sg-feature__media { height: 210px; }
    .sg-geo__question { padding: 25px 0; }
    .sg-faq__item summary { padding: 16px 15px; gap: 12px; }
    .sg-faq__number { flex-basis: 36px; width: 36px; height: 36px; }
    .sg-faq__answer { padding: 0 16px 19px 63px; }
}
