/* Arosemena Oftalmólogos — hoja de estilos compartida
   Paleta e identidad visual conservadas del sitio original. */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{--navy:#0B1F3A;--navy-mid:#143259;--navy-light:#1E4A80;--gold:#B8973A;--gold-light:#D4AF5A;--cream:#F7F4EE;--cream-dark:#EDE8DE;--white:#FFFFFF;--text-dark:#0B1F3A;--text-mid:#3A4A5E;--text-muted:#6B7A8D;--serif:"Cormorant Garamond",Georgia,serif;--sans:"DM Sans",system-ui,sans-serif;}
html{scroll-behavior:smooth;}
body{font-family:var(--sans);background:var(--cream);color:var(--text-dark);line-height:1.6;overflow-x:hidden;}
a{color:inherit;}
img{max-width:100%;height:auto;}
nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(11,31,58,0.96);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:space-between;padding:0 4rem;height:72px;border-bottom:1px solid rgba(184,151,58,0.25);}
.nav-logo{display:flex;align-items:center;gap:1rem;text-decoration:none;}
.nav-logo img{height:44px;width:auto;}
.nav-logo-text{font-family:var(--serif);font-size:1.15rem;font-weight:500;color:var(--cream);letter-spacing:0.02em;}
.nav-logo-text em{color:var(--gold-light);font-style:italic;}
.nav-links{display:flex;gap:2rem;list-style:none;}
.nav-links a{font-size:0.76rem;font-weight:400;letter-spacing:0.1em;text-transform:uppercase;color:rgba(247,244,238,0.75);text-decoration:none;transition:color 0.2s;}
.nav-links a:hover,.nav-links a.active{color:var(--gold-light);}
.section-label{font-size:0.7rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);font-weight:500;margin-bottom:1rem;}
.section-title{font-family:var(--serif);font-size:clamp(2rem,3.5vw,3rem);font-weight:300;color:var(--text-dark);line-height:1.2;margin-bottom:1rem;}
.section-title em{font-style:italic;color:var(--navy-light);}
.divider{width:48px;height:1px;background:var(--gold);margin:1.5rem 0;}
.btn-primary{display:inline-block;padding:0.9rem 2.4rem;background:var(--gold);color:var(--navy);font-size:0.78rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;text-decoration:none;border:none;cursor:pointer;transition:background 0.2s,transform 0.15s;}
.btn-primary:hover{background:var(--gold-light);transform:translateY(-1px);}
.btn-outline{display:inline-block;padding:0.9rem 2.4rem;background:transparent;color:var(--text-dark);font-size:0.78rem;font-weight:400;letter-spacing:0.1em;text-transform:uppercase;text-decoration:none;border:1px solid rgba(11,31,58,0.3);transition:border-color 0.2s,color 0.2s;}
.btn-outline:hover{border-color:var(--gold);color:var(--navy-light);}
.btn-outline.on-dark{color:rgba(247,244,238,0.85);border-color:rgba(247,244,238,0.3);}
.btn-outline.on-dark:hover{border-color:var(--gold);color:var(--gold-light);}
.btn-whatsapp{display:inline-flex;align-items:center;gap:0.5rem;padding:0.9rem 2.2rem;background:#1E4A2E;color:#F7F4EE;font-size:0.78rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;text-decoration:none;border:none;cursor:pointer;transition:background 0.2s;}
.btn-whatsapp:hover{background:#2A6440;}
.btn-small{padding:0.65rem 1.4rem;font-size:0.7rem;}

/* Hero (home) */
.hero{min-height:92vh;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center;}
.hero-right{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;padding:8rem 4rem 5rem 2rem;}
.hero-logo-main{width:100%;max-width:380px;height:auto;filter:drop-shadow(0 0 40px rgba(184,151,58,0.15));}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(0.22) saturate(0.6);}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(105deg,rgba(11,31,58,0.92) 45%,rgba(11,31,58,0.4) 100%);}
.hero-content{position:relative;z-index:1;padding:8rem 6rem 5rem;max-width:700px;}
.hero-eyebrow{font-size:0.72rem;letter-spacing:0.16em;text-transform:uppercase;color:var(--gold);margin-bottom:1.5rem;}
.hero-title{font-family:var(--serif);font-size:clamp(2.4rem,4.6vw,3.8rem);font-weight:300;line-height:1.1;color:var(--cream);margin-bottom:0.6rem;}
.hero-title em{font-style:italic;color:var(--gold-light);}
.hero-subtitle{font-family:var(--serif);font-size:1.15rem;font-weight:300;color:rgba(247,244,238,0.65);margin-bottom:1.6rem;font-style:italic;}
.hero-desc{font-size:0.9rem;color:rgba(247,244,238,0.65);line-height:1.85;max-width:520px;margin-bottom:2.2rem;font-weight:300;}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap;}
@media(max-width:900px){.hero{grid-template-columns:1fr;min-height:auto;}.hero-right{display:none;}.hero-content{padding:7rem 1.5rem 4rem;}}

/* Page hero (interior pages, no photo) */
.page-hero{background:var(--navy);padding:9.5rem 6rem 4rem;}
.page-hero .section-label{color:var(--gold);}
.page-hero h1{font-family:var(--serif);font-weight:300;font-size:clamp(2rem,4vw,3.1rem);color:var(--cream);line-height:1.15;margin-bottom:0.8rem;}
.page-hero h1 em{font-style:italic;color:var(--gold-light);}
.page-hero .lede{font-size:0.95rem;color:rgba(247,244,238,0.68);max-width:640px;line-height:1.8;}
@media(max-width:900px){.page-hero{padding:6.5rem 1.5rem 3rem;}}

/* Breadcrumbs */
.breadcrumb{padding:0.9rem 6rem;font-size:0.72rem;letter-spacing:0.04em;color:rgba(247,244,238,0.55);background:var(--navy-mid);}
.breadcrumb a{color:rgba(247,244,238,0.75);text-decoration:none;}
.breadcrumb a:hover{color:var(--gold-light);}
.breadcrumb span.sep{margin:0 0.5rem;color:rgba(247,244,238,0.35);}
@media(max-width:900px){.breadcrumb{padding:0.8rem 1.5rem;}}

/* Generic content section */
.content-section{padding:5rem 6rem;max-width:920px;margin:0 auto;}
.content-section.wide{max-width:1200px;}
.content-section h2{font-family:var(--serif);font-weight:400;font-size:1.9rem;color:var(--text-dark);margin:2.4rem 0 1rem;line-height:1.25;}
.content-section h2:first-child{margin-top:0;}
.content-section h3{font-family:var(--sans);font-weight:600;font-size:1.02rem;color:var(--text-dark);margin:1.8rem 0 0.6rem;}
.content-section p{font-size:0.95rem;color:var(--text-mid);line-height:1.85;margin-bottom:1.1rem;}
.content-section ul,.content-section ol{margin:0 0 1.2rem 1.3rem;color:var(--text-mid);font-size:0.95rem;line-height:1.85;}
.content-section li{margin-bottom:0.4rem;}
.content-section strong{color:var(--text-dark);font-weight:600;}
@media(max-width:900px){.content-section{padding:2.5rem 1.5rem;}}

/* Alert / urgent box */
.alert-box{border-left:3px solid #A23B2E;background:#FBF0EE;padding:1.4rem 1.6rem;margin:1.6rem 0 2rem;}
.alert-box p{color:#7A2A20;margin-bottom:0;font-size:0.9rem;line-height:1.7;}
.alert-box strong{color:#5A1E16;}
.note-box{border-left:3px solid var(--gold);background:var(--cream-dark);padding:1.3rem 1.6rem;margin:1.6rem 0 2rem;}
.note-box p{margin-bottom:0;font-size:0.87rem;color:var(--text-mid);}

/* Pillar cards (home) */
.pillars{display:grid;grid-template-columns:1fr 1fr;gap:0;}
.pillar-card{padding:4.5rem 4rem;}
.pillar-card.general{background:var(--cream-dark);}
.pillar-card.neuro{background:var(--navy);}
.pillar-card.neuro *{color:var(--cream);}
.pillar-card .section-label{margin-bottom:0.8rem;}
.pillar-card h2{font-family:var(--serif);font-weight:300;font-size:1.8rem;margin-bottom:1rem;color:var(--text-dark);}
.pillar-card.neuro h2{color:var(--cream);}
.pillar-card p{font-size:0.88rem;line-height:1.8;color:var(--text-mid);margin-bottom:1.4rem;}
.pillar-card.neuro p{color:rgba(247,244,238,0.65);}
.pillar-card ul{list-style:none;margin:0 0 1.6rem;}
.pillar-card li{font-size:0.82rem;color:var(--text-mid);padding:0.4rem 0;border-bottom:1px solid rgba(11,31,58,0.08);}
.pillar-card.neuro li{color:rgba(247,244,238,0.6);border-bottom:1px solid rgba(184,151,58,0.15);}
.pillar-card li a{text-decoration:none;color:inherit;}
.pillar-card li a:hover{color:var(--gold);}
@media(max-width:900px){.pillars{grid-template-columns:1fr;}.pillar-card{padding:3rem 1.5rem;}}

/* Condition grid on pillar pages */
.condition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.5px;background:var(--cream-dark);margin:2rem 0 3rem;}
.condition-card{background:var(--white);padding:2rem 1.7rem;text-decoration:none;display:block;transition:background 0.2s;}
.condition-card:hover{background:var(--navy);}
.condition-card:hover *{color:var(--cream) !important;}
.condition-card .ctag{font-size:0.65rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--gold);margin-bottom:0.7rem;display:block;}
.condition-card h3{font-family:var(--serif);font-size:1.15rem;font-weight:400;color:var(--text-dark);margin:0 0 0.5rem;}
.condition-card p{font-size:0.8rem;color:var(--text-muted);line-height:1.6;margin:0;}

/* Sede select on condition pages */
.sede-list{margin:1.5rem 0 2rem;border:1px solid rgba(11,31,58,0.12);}
.sede-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding:1.1rem 1.4rem;border-bottom:1px solid rgba(11,31,58,0.1);}
.sede-row:last-child{border-bottom:none;}
.sede-row-info{flex:1;min-width:200px;}
.sede-row-name{font-family:var(--serif);font-size:1.02rem;color:var(--text-dark);}
.sede-row-loc{font-size:0.76rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.04em;margin-top:0.15rem;}
.sede-row-actions{display:flex;gap:0.6rem;flex-wrap:wrap;}

/* Sedes section (home, reused from #sedes) */
.sedes-section{background:var(--navy);padding:6rem;}
.sedes-grid{margin-top:3rem;}
.sedes-row-top{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:2rem;}
.sedes-row-bottom{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;max-width:66%;margin:0 auto;}
.sede-card{border:1px solid rgba(184,151,58,0.2);padding:2rem;transition:border-color 0.2s;}
.sede-card:hover{border-color:rgba(184,151,58,0.55);}
.sede-badge{display:inline-block;font-size:0.63rem;letter-spacing:0.13em;text-transform:uppercase;color:var(--navy);background:var(--gold);padding:0.3rem 0.7rem;margin-bottom:1.4rem;font-weight:600;margin-right:0.4rem;}
.sede-name{font-family:var(--serif);font-size:1.2rem;font-weight:400;color:var(--gold-light);margin-bottom:0.2rem;line-height:1.3;}
.sede-location{font-size:0.72rem;letter-spacing:0.08em;text-transform:uppercase;color:rgba(247,244,238,0.4);margin-bottom:1.4rem;}
.sede-divider{height:1px;background:rgba(184,151,58,0.15);margin:1rem 0;}
.sede-schedule{display:flex;flex-direction:column;gap:0.5rem;margin-bottom:1.4rem;}
.schedule-row{display:flex;justify-content:space-between;align-items:baseline;gap:0.5rem;}
.schedule-day{font-size:0.77rem;color:rgba(247,244,238,0.5);font-weight:300;}
.schedule-time{font-size:0.77rem;color:rgba(247,244,238,0.85);text-align:right;}
.sede-address{font-size:0.77rem;color:rgba(247,244,238,0.4);line-height:1.6;margin-bottom:1rem;}
.sede-btnrow{display:flex;gap:0.6rem;flex-wrap:wrap;}
.sede-tel{display:flex;align-items:center;gap:0.4rem;font-size:0.78rem;color:var(--gold-light);text-decoration:none;}
@media(max-width:900px){.sedes-section{padding:4rem 1.5rem;}.sedes-row-top,.sedes-row-bottom{grid-template-columns:1fr;max-width:100%;}}

/* CTA band */
.cta-band{background:var(--navy);padding:4.5rem 6rem;text-align:center;}
.cta-band .section-title{color:var(--cream);}
.cta-band p{color:rgba(247,244,238,0.6);max-width:520px;margin:0.8rem auto 2rem;font-size:0.9rem;line-height:1.8;}
.cta-band .btn-row{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;}
@media(max-width:900px){.cta-band{padding:3rem 1.5rem;}}

/* Related links */
.related-links{margin-top:2.5rem;padding-top:2rem;border-top:1px solid rgba(11,31,58,0.1);}
.related-links h3{font-family:var(--serif);font-weight:400;font-size:1.1rem;margin-bottom:1rem;}
.related-links ul{list-style:none;margin:0;display:flex;flex-wrap:wrap;gap:0.6rem 1.6rem;}
.related-links a{font-size:0.85rem;color:var(--navy-light);text-decoration:none;border-bottom:1px solid rgba(30,74,128,0.3);}
.related-links a:hover{border-color:var(--navy-light);}

/* Sources list */
.sources-list{margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(11,31,58,0.08);}
.sources-list p.label{font-size:0.68rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:0.6rem;}
.sources-list ul{margin:0 0 0 1.2rem;font-size:0.78rem;color:var(--text-muted);line-height:1.7;}

/* Doctor page */
.doctor-hero{background:var(--white);display:grid;grid-template-columns:1fr 1.15fr;gap:0;}
.doctor-hero-photo{position:relative;overflow:hidden;min-height:520px;}
.doctor-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 5%;display:block;}
.doctor-hero-content{padding:6rem;display:flex;flex-direction:column;justify-content:center;}
.doctor-credentials{display:flex;flex-direction:column;gap:1.4rem;margin-top:1rem;}
.credential-item{display:flex;gap:1rem;align-items:flex-start;}
.credential-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);margin-top:9px;flex-shrink:0;}
.credential-text{font-size:0.87rem;color:var(--text-mid);line-height:1.6;}
.credential-text strong{display:block;font-weight:600;color:var(--text-dark);margin-bottom:0.1rem;}
@media(max-width:900px){.doctor-hero{grid-template-columns:1fr;}.doctor-hero-photo{height:380px;min-height:0;order:1;}.doctor-hero-content{padding:2.5rem 1.5rem;order:2;}}

/* Contact page / form */
.contact-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:4rem;padding:5rem 6rem;max-width:1200px;margin:0 auto;}
.contact-form label{display:block;font-size:0.72rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--text-mid);margin-bottom:0.4rem;margin-top:1.2rem;}
.contact-form label:first-child{margin-top:0;}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:0.8rem 1rem;border:1px solid rgba(11,31,58,0.2);background:var(--white);font-family:var(--sans);font-size:0.9rem;color:var(--text-dark);}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold);}
.contact-form textarea{min-height:130px;resize:vertical;}
.contact-form .required{color:#A23B2E;}
.contact-form button{margin-top:1.8rem;}
.form-status{margin-top:1rem;padding:0.9rem 1.1rem;font-size:0.85rem;display:none;}
.form-status.success{background:#EAF3EC;color:#1E4A2E;border-left:3px solid #1E4A2E;}
.form-status.error{background:#FBF0EE;color:#7A2A20;border-left:3px solid #A23B2E;}
.form-status.visible{display:block;}
.contact-side .contacto-card{border:1px solid rgba(11,31,58,0.15);padding:1.4rem 1.6rem;margin-bottom:1rem;display:block;text-decoration:none;}
.contact-side .contacto-card-label{font-size:0.62rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold);margin-bottom:0.4rem;display:block;}
.contact-side .contacto-card-name{font-family:var(--serif);font-size:1rem;color:var(--text-dark);display:block;}
.contact-side .contacto-card-phone{font-size:0.8rem;color:var(--text-muted);display:block;margin-top:0.2rem;}
.form-note{font-size:0.76rem;color:var(--text-muted);line-height:1.7;margin-top:0.6rem;}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr;padding:2.5rem 1.5rem;gap:2.5rem;}}

/* Doctor + gallery + services + examenes (home only, reused blocks) */
.doctor-section{background:var(--white);display:grid;grid-template-columns:1fr 1fr;gap:0;}
.doctor-content{padding:6rem;display:flex;flex-direction:column;justify-content:center;}
.doctor-photo{position:relative;overflow:hidden;min-height:560px;}
.doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 5%;display:block;}
.doctor-photo-caption{position:absolute;bottom:0;left:0;right:0;background:rgba(11,31,58,0.88);padding:1.25rem 1.5rem;border-top:1px solid rgba(184,151,58,0.3);}
.doctor-photo-caption p{font-family:var(--serif);font-size:1rem;color:var(--cream);font-style:italic;}
.doctor-photo-caption span{font-size:0.7rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold);margin-top:0.2rem;display:block;}
.gallery-strip{display:grid;grid-template-columns:1fr 1fr;height:420px;}
.gallery-item{position:relative;overflow:hidden;}
.gallery-item img{width:100%;height:100%;object-fit:cover;object-position:center 15%;display:block;}
.gallery-item-label{position:absolute;bottom:0;left:0;right:0;padding:2.5rem 1.25rem 1.25rem;background:linear-gradient(rgba(0,0,0,0) 0%,rgba(5,15,30,0.88) 50%,rgba(5,15,30,1) 100%);}
.gallery-item-label p{font-family:var(--serif);font-size:1.05rem;color:#ffffff;font-style:italic;font-weight:400;}
.gallery-item-label span{font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;color:#D4AF5A;font-weight:500;}
.examenes-section{background:var(--cream-dark);display:grid;grid-template-columns:1.2fr 1fr;gap:0;}
.examenes-content{padding:6rem;}
.examenes-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(11,31,58,0.08);margin-top:2rem;}
.examen-item{background:var(--cream-dark);padding:1.2rem 1rem;}
.examen-name{font-size:0.85rem;font-weight:500;color:var(--text-dark);margin-bottom:0.2rem;}
.examen-desc{font-size:0.75rem;color:var(--text-muted);line-height:1.5;}
.examenes-visual{position:relative;overflow:hidden;min-height:460px;}
.examenes-visual img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(0.75) saturate(0.9);}
.examenes-visual-overlay{position:absolute;inset:0;background:linear-gradient(to right,rgba(11,31,58,0.5),transparent);}
@media(max-width:900px){.doctor-section{display:flex;flex-direction:column;}.doctor-content{padding:2.5rem 1.5rem;order:1;}.doctor-photo{height:380px;min-height:0;order:2;}.gallery-strip{grid-template-columns:1fr;height:auto;}.gallery-item{height:320px;}.examenes-section{grid-template-columns:1fr;}.examenes-content{padding:2.5rem 1.5rem;}.examenes-visual{min-height:240px;}}

footer{background:#060F1A;padding:3rem 6rem;}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2rem;}
.footer-logo{display:flex;align-items:center;gap:0.75rem;margin-bottom:0.9rem;}
.footer-logo img{height:32px;width:auto;opacity:0.7;}
.footer-logo-text{font-family:var(--serif);font-size:1rem;color:rgba(247,244,238,0.55);}
.footer-logo-text em{color:rgba(184,151,58,0.75);font-style:italic;}
.footer-desc{font-size:0.78rem;color:rgba(247,244,238,0.4);line-height:1.7;max-width:280px;}
.footer-col h4{font-size:0.68rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold);margin-bottom:0.9rem;}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:0.55rem;}
.footer-col a{font-size:0.82rem;color:rgba(247,244,238,0.55);text-decoration:none;}
.footer-col a:hover{color:var(--gold-light);}
.footer-bottom{border-top:1px solid rgba(184,151,58,0.15);padding-top:1.5rem;}
.footer-copy{font-size:0.72rem;color:rgba(247,244,238,0.4);letter-spacing:0.02em;}
@media(max-width:900px){footer{padding:2.5rem 1.5rem;}.footer-top{grid-template-columns:1fr;gap:1.8rem;}}

.nav-hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px;}
.nav-hamburger span{display:block;width:24px;height:2px;background:rgba(247,244,238,0.8);border-radius:2px;transition:all 0.3s;}
.nav-mobile{display:none;position:fixed;top:72px;left:0;right:0;background:rgba(11,31,58,0.98);z-index:99;padding:1.5rem 2rem;border-bottom:1px solid rgba(184,151,58,0.2);max-height:80vh;overflow-y:auto;}
.nav-mobile.open{display:block;}
.nav-mobile ul{list-style:none;display:flex;flex-direction:column;gap:0;}
.nav-mobile ul li a{display:block;padding:0.9rem 0;font-size:0.86rem;letter-spacing:0.1em;text-transform:uppercase;color:rgba(247,244,238,0.85);text-decoration:none;border-bottom:1px solid rgba(184,151,58,0.1);}
@media(max-width:900px){.nav-hamburger{display:flex;}.nav-links{display:none;}nav{padding:0 1.5rem;}}

:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}

/* Bilingual navigation, round brand presentation and original clinical photography. */
.language-switch{display:flex;align-items:center;gap:.45rem;color:var(--cream);font-size:.76rem;margin-left:1rem;flex-shrink:0;}
.language-switch a{padding:.45rem .35rem;color:var(--cream);text-decoration:none;border-bottom:2px solid transparent;}
.language-switch a[aria-current="page"]{color:var(--gold-light);border-bottom-color:var(--gold-light);font-weight:600;}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold-light);outline-offset:4px;}
.nav-logo img,.footer-logo img,.hero-logo-main{border-radius:50%;background:#fafafa;object-fit:contain;box-sizing:border-box;aspect-ratio:1;}
.nav-logo img{width:48px;height:48px;padding:4px;}
.footer-logo img{width:40px;height:40px;padding:4px;}
.hero-logo-main{padding:9%;}
.hero-right>div{border:0!important;background:transparent!important;padding:0!important;backdrop-filter:none!important;}
.editorial-photo{margin:1.5rem auto 2.5rem;max-width:560px;}
.editorial-photo img{display:block;width:100%;height:auto;border-radius:8px;}
.editorial-photo figcaption{font-size:.86rem;color:var(--text-mid);margin-top:.8rem;line-height:1.6;}
.content-section>.editorial-photo:first-child{float:right;width:40%;margin:0 0 2rem 2.5rem;}
.content-section:after{content:"";display:block;clear:both;}
.surgery-photo{max-width:400px;}
.team-feature{padding:5rem 6rem;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;background:var(--cream-dark);}
.team-feature h2,.biography h2{font-family:var(--serif);font-size:clamp(2rem,3vw,2.8rem);line-height:1.15;font-weight:400;margin-bottom:1.5rem;}
.team-feature p{margin-bottom:1.5rem;}
.team-feature .editorial-photo{margin:0;max-width:100%;}
.biography h3{font-family:var(--serif);font-size:1.7rem;margin:1.8rem 0 .8rem;}
.professional-links{padding-top:1.5rem;border-top:1px solid #c9c1b1;}
.location-priority{padding:1.25rem;border-left:3px solid var(--gold);background:var(--cream-dark);}
.urgent-note{padding:1.25rem;background:#fff0e8;border-left:4px solid #9d351d;margin-bottom:2rem;}
.contact-form-panel p{margin:1.25rem 0;overflow-wrap:anywhere;}
.contact-form-panel .btn-primary{white-space:normal;}
.examenes-visual img{height:auto;min-height:100%;object-fit:cover;object-position:center top;filter:none;}
.examenes-visual-overlay{display:none;}
.sede-location,.sede-address{color:#dddcd5!important;}
.footer-copy{color:#cecfcf!important;}
.hero-desc,.hero-subtitle{color:#dddcd5;}
.error-page{padding-top:6rem;}
.error-page section{margin-top:3rem;}
@media(min-width:901px) and (max-width:1250px){nav{padding:0 1.5rem;}.nav-links{gap:.8rem;}.nav-links a{font-size:.65rem;letter-spacing:.025em;}.nav-logo{gap:.5rem;}.nav-logo-text{font-size:1rem;}}
@media(max-width:900px){.team-feature{padding:3rem 1.5rem;grid-template-columns:1fr;gap:1.5rem;}.content-section>.editorial-photo:first-child{float:none;width:100%;max-width:420px;margin:0 auto 2rem;}.language-switch{margin-left:auto;margin-right:1rem;}.nav-logo{gap:.5rem;}.nav-logo-text{font-size:1rem;}.doctor-hero-photo{height:auto;}.doctor-hero-photo img{height:auto;object-fit:contain;}.examenes-visual{min-height:0;}.examenes-visual img{height:auto;min-height:0;}.editorial-photo{max-width:420px;}}
@media(max-width:370px){nav{padding:0 .8rem;}.nav-logo-text{font-size:.9rem;}.nav-logo img{width:38px;height:38px;}.language-switch{gap:.1rem;margin-right:.6rem;}.nav-hamburger{width:26px;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{transition:none!important;}}
/* Larger circular logo, as requested. */
.hero-logo-main{max-width:480px;}
.hero-right>div{width:min(100%,480px);}
.nav-logo img{width:60px;height:60px;padding:5px;}
@media(max-width:370px){.nav-logo img{width:48px;height:48px;padding:4px;}.nav-logo-text{font-size:.83rem;}.nav-logo{gap:.35rem;}.language-switch{margin-right:.4rem;}}
