/* Núcleo de Salud Médica y Especializaciones — sitio estático para Cloudflare Pages */
:root{--navy:#062e55;--navy-deep:#051d36;--navy-dark:#031a32;--blue:#086a94;--teal:#10a6b6;--teal-dark:#087e91;--cyan:#e3f5f7;--pale:#f0f8fb;--white:#fff;--text:#20364b;--muted:#617386;--yellow:#f9d82c;--border:#d9e7ec;--shadow:0 24px 70px rgba(4,46,80,.11);--radius:23px;--max:1190px;--font-heading:'Plus Jakarta Sans','Segoe UI',Arial,sans-serif;--font-body:'DM Sans','Segoe UI',Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:106px}
body{margin:0;background:#fff;color:var(--text);font-family:var(--font-body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.dialog-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
img,svg{display:block}
img{max-width:100%;height:auto}
svg{width:1.2em;height:1.2em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.svg-library{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.container{width:min(calc(100% - 64px),var(--max));margin-inline:auto}
::selection{background:#b9f1f1;color:var(--navy)}
:focus-visible{outline:3px solid #dfbc19;outline-offset:4px}
.skip-link{position:fixed;z-index:1000;top:-100px;left:12px;background:#fff;padding:12px 18px;border-radius:10px;color:var(--navy);box-shadow:var(--shadow)}
.skip-link:focus{top:12px}
.section{padding:108px 0}
.section-tag{font-size:12px;letter-spacing:.155em;font-weight:800;color:var(--teal-dark);text-transform:uppercase;display:inline-flex;align-items:center;gap:11px;line-height:1.35}
.section-tag>span{display:block;background:var(--teal);width:24px;height:2px;border-radius:4px}
.section-tag-light{color:#8de9eb}.section-tag-light>span{background:#8de9eb}
h1,h2,h3,p,figure{margin-top:0}
h1,h2,h3{font-family:var(--font-heading);color:var(--navy);letter-spacing:-.045em;line-height:1.19}
h2{font-size:clamp(32px,3.4vw,48px);font-weight:800;margin:20px 0}
h3{font-size:20px;font-weight:750}
.text-accent{color:var(--teal-dark)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:48px;border-radius:13px;font-size:13px;line-height:1.35;font-weight:800;letter-spacing:.006em;padding:13px 19px;border:1px solid transparent;white-space:nowrap;transition:background .25s,border-color .25s,transform .25s,box-shadow .25s,color .25s}
.button svg{width:17px;height:17px}
.button:hover{transform:translateY(-3px)}
.button-primary{color:white;background:var(--navy);box-shadow:0 8px 18px rgba(6,46,85,.14)}
.button-primary:hover{background:var(--teal-dark);box-shadow:0 14px 26px rgba(8,126,145,.21)}
.button-outline{background:#fff;border-color:#bed9e0;color:var(--navy)}
.button-outline:hover{background:var(--cyan);border-color:var(--teal)}
.button-white{background:#fff;color:var(--navy);border-color:#fff;min-height:55px;padding:13px 22px}
.button-white:hover{background:#e6faff}
.button-large{min-height:57px;padding:15px 21px}
.button-arrow{margin-left:2px}

/* Header */
.topbar{background:var(--navy-deep);color:#d9eef7;font-size:12px;font-weight:600;letter-spacing:.018em}
.topbar-inner{min-height:37px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.topbar-time,.topbar-phone{display:inline-flex;gap:8px;align-items:center}
.topbar svg{width:13px;height:13px;color:#8ae4e6}
.topbar-dot{width:4px;height:4px;border-radius:50%;background:#89cfd4;margin:0 5px}
.topbar-phone:hover{color:#fff}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid #eaf1f4;box-shadow:0 8px 28px rgba(14,45,67,.045);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.header-inner{height:89px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;gap:14px;min-width:0;flex-shrink:0}
.brand-emblem{width:105px;height:auto;border-radius:6px;object-fit:contain;box-shadow:0 0 0 1px #ddeaf2;flex-shrink:0}
.brand-name{font-family:var(--font-heading);font-size:14px;line-height:1.3;letter-spacing:-.025em;font-weight:800;color:var(--navy);max-width:210px}
.brand-name span{display:block;color:#577082;font-family:var(--font-body);font-size:10.7px;letter-spacing:0;margin-top:3px;font-weight:700}
.main-nav{display:flex;align-items:center;gap:17px;margin-left:auto}
.main-nav a{font-size:12.1px;color:#334c5b;font-weight:750;padding:10px 0;white-space:nowrap;position:relative}
.main-nav a:after{content:"";position:absolute;bottom:5px;left:0;width:0;height:2px;border-radius:5px;background:var(--teal);transition:width .25s}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:var(--teal-dark)}
.main-nav a:hover:after,.main-nav a[aria-current="page"]:after{width:100%}
.header-cta{font-size:11.8px;min-height:43px;padding:11px 14px}
.header-cta svg{width:17px;height:17px}
.menu-toggle{display:none;align-items:center;justify-content:center;border:1px solid var(--border);background:#fff;color:var(--navy);width:45px;height:45px;border-radius:11px}
.menu-toggle svg{width:23px;height:23px}
.menu-toggle .close-icon{display:none}

/* Hero */
.section-hero{position:relative;overflow:hidden;background:linear-gradient(127deg,#f4fafc 0%,#edf8fa 53%,#d7eef3 100%);padding:89px 0 100px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);align-items:center;gap:64px;position:relative;z-index:2}
.hero-copy{padding:10px 0}
.eyebrow{display:flex;align-items:center;gap:10px;color:var(--teal-dark);font-size:10px;font-weight:800;letter-spacing:.13em;line-height:1.6}
.eyebrow-line{width:23px;height:2px;flex-shrink:0;background:var(--teal)}
h1{font-size:clamp(43px,4.25vw,65px);max-width:610px;font-weight:800;line-height:1.13;margin:25px 0}
h1 em{font-style:normal;color:var(--teal-dark)}
.hero-subtitle{max-width:520px;color:var(--navy);font-size:19px;line-height:1.57;font-weight:600;margin:0 0 15px}
.hero-subtitle strong{font-weight:800}
.hero-description{color:#526c7b;font-size:15px;line-height:1.82;max-width:530px;margin:0 0 29px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-meta{display:flex;align-items:center;gap:12px;margin-top:39px;padding-top:24px;border-top:1px solid #cfe4e9;width:fit-content;min-width:265px}
.meta-icon{width:42px;height:42px;border:1px solid #c4e3e7;background:#fff;border-radius:12px;display:grid;place-items:center;color:var(--teal-dark)}
.meta-icon svg{width:20px;height:20px}
.hero-meta strong{display:block;font-size:13px;color:var(--navy);line-height:1.25}
.hero-meta small{display:block;font-size:12px;color:#5b7885;margin-top:4px;line-height:1.2}
.hero-visual{position:relative;isolation:isolate;max-width:520px;width:100%;justify-self:end}
.hero-visual-frame{height:548px;position:relative;overflow:hidden;border-radius:160px 18px 110px 18px;box-shadow:0 30px 75px rgba(4,41,71,.17);border:5px solid #fff;z-index:1}
.hero-visual-frame>img{width:100%;height:100%;object-fit:cover;object-position:center 50%}
.hero-visual-gradient{position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(3,32,53,.66))}
.hero-photo-label{position:absolute;left:22px;bottom:23px;display:flex;align-items:center;gap:12px;color:#fff}
.label-mark{background:rgba(255,255,255,.18);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.37);width:45px;height:45px;display:grid;place-items:center;border-radius:13px}
.label-mark svg{width:21px;height:21px}
.hero-photo-label strong{display:block;color:#fff;font-size:15px;line-height:1.35}
.hero-photo-label small{display:block;font-size:12px;color:#e5f7f9;margin-top:1px}
.hero-decoration{position:absolute;z-index:-1;border:2px solid #63c5ce;border-radius:50%;pointer-events:none}
.hero-decoration-top{width:164px;height:164px;right:-47px;top:-39px;opacity:.66}
.hero-decoration-bottom{width:118px;height:118px;left:-61px;bottom:4px;opacity:.52;border-width:16px}
.hero-ambient{position:absolute;pointer-events:none;border-radius:50%}
.hero-ambient-1{width:690px;height:690px;background:radial-gradient(circle,rgba(153,230,232,.37),transparent 64%);top:-280px;left:-210px}
.hero-ambient-2{width:630px;height:630px;border:1px solid rgba(62,181,193,.15);top:-300px;right:-280px}
.hero-bottom-line{position:absolute;bottom:0;left:0;width:100%;height:6px;background:linear-gradient(90deg,var(--navy),var(--teal) 66%,#b7e2e7)}

/* Promise strip */
.focus-ribbon{background:#fff;border-bottom:1px solid #ebf1f4}
.focus-ribbon-inner{display:flex;align-items:center;gap:22px;min-height:122px}
.focus-symbol{width:59px;height:59px;display:grid;place-items:center;flex-shrink:0;border-radius:17px;background:#e3f6f7;color:var(--teal-dark)}
.focus-symbol svg{width:29px;height:29px}
.focus-ribbon p{font-size:16px;margin:0;color:#446272;max-width:875px;line-height:1.65}
.focus-ribbon strong{color:var(--navy);font-weight:800}
.focus-ribbon a{margin-left:auto;background:#f1f8fa;width:41px;height:41px;border-radius:50%;display:grid;place-items:center;color:var(--navy);flex-shrink:0;transition:background .25s,color .25s}
.focus-ribbon a:hover{background:var(--navy);color:#fff}

/* Services */
.section-services{background:#fff}
.section-heading-centered{text-align:center;max-width:720px;margin:0 auto 47px}
.section-heading-centered .section-tag{justify-content:center}
.section-heading-centered h2{margin-top:17px}
.section-heading-centered p{font-size:16px;color:var(--muted);line-height:1.8;margin:0 auto;max-width:620px}
.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.service-card{position:relative;min-height:273px;padding:30px 29px 31px;border:1px solid #dce9ed;background:#fff;border-radius:20px;box-shadow:0 8px 32px rgba(12,66,92,.035);overflow:hidden;transition:transform .28s,box-shadow .28s,border-color .28s}
.service-card:hover{transform:translateY(-7px);box-shadow:0 24px 44px rgba(14,76,95,.1);border-color:#a4d9df}
.service-icon{display:grid;place-items:center;background:#e8f7f8;color:var(--teal-dark);width:61px;height:61px;border-radius:18px;margin-bottom:27px}
.service-icon svg{width:28px;height:28px;stroke-width:1.75}
.service-card h3{font-size:18px;margin:0 0 12px;line-height:1.38;max-width:300px}
.service-card p{font-size:14px;color:var(--muted);margin:0;line-height:1.7}
.card-rule{position:absolute;bottom:0;left:29px;width:54px;height:3px;border-radius:5px;background:var(--teal);transition:width .3s}
.service-card:hover .card-rule{width:90px}

/* ITS */
.section-its{padding-top:8px;padding-bottom:107px}
.its-panel{min-height:295px;position:relative;overflow:hidden;display:flex;align-items:center;gap:27px;padding:51px 57px;background:linear-gradient(105deg,#052b52,#06466f 66%,#077c98);border-radius:29px;color:#fff;isolation:isolate;box-shadow:0 28px 55px rgba(6,50,84,.16)}
.its-icon{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.27);width:76px;height:76px;display:grid;place-items:center;border-radius:23px;flex-shrink:0}
.its-icon svg{width:34px;height:34px}
.its-copy{max-width:530px;z-index:1}
.its-copy h2{color:white;font-size:clamp(29px,3.1vw,42px);margin:13px 0 12px}
.its-copy h2 em{font-style:normal;color:#8de9eb}
.its-copy p{font-size:15px;color:#dcecf2;margin:0;max-width:535px}
.its-panel>.button{margin-left:auto;z-index:2;flex-shrink:0}
.its-decoration{position:absolute;pointer-events:none;z-index:0;border-radius:50%;border:1px solid rgba(151,238,242,.15)}
.its-d-1{width:400px;height:400px;right:-150px;top:-220px;border-width:50px}
.its-d-2{width:390px;height:390px;bottom:-350px;left:28%;border-width:80px}

/* Photo gallery */
.gallery-section{background:linear-gradient(180deg,#f5fafc,#edf7f9);padding-top:106px;padding-bottom:111px}
.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:28px}
.gallery-heading>div:first-child{max-width:720px}
.gallery-heading h2{margin:17px 0}
.gallery-heading p{font-size:16px;color:var(--muted);margin:0;max-width:650px}
.gallery-count{display:flex;align-items:center;gap:13px;padding:17px 24px;border:1px solid #c9e4e8;background:#fff;border-radius:18px;flex-shrink:0}
.gallery-count strong{font-size:41px;font-family:var(--font-heading);font-weight:800;line-height:1;color:var(--teal-dark)}
.gallery-count span{font-size:11px;line-height:1.4;font-weight:800;color:#586d7e}
.gallery-filters{display:flex;gap:9px;flex-wrap:wrap;margin:30px 0 24px}
.filter-button{background:transparent;color:#537082;border:1px solid #cfdee6;border-radius:999px;font-size:12px;font-weight:800;padding:9px 17px;transition:all .2s}
.filter-button:hover{color:var(--navy);border-color:var(--teal)}
.filter-button.is-active{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 8px 16px rgba(6,46,85,.12)}
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:17px}
.gallery-card{border:1px solid rgba(8,127,146,.23);padding:0;position:relative;min-width:0;width:100%;height:344px;overflow:hidden;border-radius:21px;background:#dcecee;box-shadow:0 9px 24px rgba(10,48,69,.09);text-align:left;isolation:isolate;transition:box-shadow .3s,transform .3s,border-color .3s}
.gallery-card:first-child{grid-column:span 2}
.gallery-card:nth-child(5){grid-column:span 2}
.gallery-card img{width:100%;height:100%;object-fit:cover;object-position:center center;filter:saturate(.93);transition:transform .55s ease,filter .4s}
.gallery-card:first-child img{object-position:center 41%}
.gallery-card:nth-child(5) img{object-position:center 55%}
.gallery-card:hover{transform:translateY(-5px);border-color:var(--teal);box-shadow:0 16px 31px rgba(10,48,69,.14)}
.gallery-card:hover img{transform:scale(1.05);filter:saturate(1.02)}
.gallery-card::after{content:"";position:absolute;inset:48% 0 0;pointer-events:none;background:linear-gradient(transparent,rgba(3,24,42,.8));border-radius:0 0 19px 19px}
.gallery-card-caption{position:absolute;z-index:2;bottom:17px;left:20px;right:17px;display:flex;align-items:end;justify-content:space-between;gap:12px;color:#fff}
.gallery-card-caption small{display:block;font-size:10px;color:#a8ecf0;text-transform:uppercase;letter-spacing:.1em;font-weight:800;margin-bottom:4px}
.gallery-card-caption strong{font-family:var(--font-heading);display:block;font-size:16px;line-height:1.25;letter-spacing:-.02em}
.gallery-card-caption>svg{width:34px;height:34px;border:1px solid rgba(255,255,255,.55);padding:8px;border-radius:50%;background:rgba(255,255,255,.12);backdrop-filter:blur(5px)}
.gallery-card[hidden]{display:none!important}

/* Prevention */
.prevention-section{background:#f9d82c}
.prevention-inner{min-height:209px;display:flex;align-items:center;gap:27px;padding-block:35px}
.prevention-mark{height:77px;width:77px;display:grid;place-items:center;background:var(--navy);color:#fff;border-radius:21px;flex-shrink:0;transform:rotate(-8deg)}
.prevention-mark svg{width:35px;height:35px;transform:rotate(8deg)}
.prevention-copy{flex:1}
.prevention-copy span{font-size:11px;font-weight:800;letter-spacing:.13em;color:#5a4c12}
.prevention-copy h2{font-size:clamp(24px,2.8vw,36px);margin:10px 0 5px;max-width:640px;color:#132a41}
.prevention-copy p{font-weight:700;color:#48472b;font-size:15px;margin:0}
.prevention-inner .button{flex-shrink:0}

/* Location / opening hours */
.visit-section{background:white;padding-block:115px}
.visit-grid{display:grid;grid-template-columns:.91fr 1.09fr;align-items:center;gap:90px}
.visit-picture{height:565px;border-radius:25px 105px 25px 105px;position:relative;overflow:hidden;box-shadow:var(--shadow);border:5px solid #f1f7f9}
.visit-picture>img{height:100%;width:100%;object-fit:cover;object-position:center 48%}
.visit-picture:after{content:"";position:absolute;inset:70% 0 0;background:linear-gradient(transparent,rgba(4,35,60,.67))}
.visit-picture-label{position:absolute;bottom:25px;left:25px;z-index:1;color:#fff;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800}
.visit-picture-label svg{width:19px;height:19px}
.visit-text h2{max-width:480px}
.visit-text>p{font-size:16px;color:var(--muted);max-width:500px;margin-bottom:30px}
.visit-info{display:flex;gap:17px;padding:21px 0;border-top:1px solid #deebef}
.visit-info:last-of-type{border-bottom:1px solid #deebef;margin-bottom:30px}
.visit-info-icon{width:50px;height:50px;flex-shrink:0;display:grid;place-items:center;border:1px solid #d2e8eb;background:#eaf8f9;border-radius:15px;color:var(--teal-dark)}
.visit-info-icon svg{width:23px;height:23px}
.visit-info h3{font-size:15px;letter-spacing:-.015em;margin:0 0 6px}
.visit-info strong{font-size:14px;color:var(--navy);line-height:1.5}
.visit-info p{color:var(--muted);font-size:14px;margin:2px 0 0;line-height:1.6}

/* Contact and footer */
.contact-section{position:relative;overflow:hidden;padding:104px 0 116px;background:linear-gradient(110deg,#031d37,#073963 70%,#085276);color:white}
.contact-orb{position:absolute;border:1px solid rgba(136,226,231,.15);width:700px;height:700px;border-radius:50%;pointer-events:none}
.orb-one{top:-480px;left:-300px;border-width:80px}
.orb-two{right:-450px;bottom:-400px;border-width:120px}
.contact-wrap{position:relative;z-index:1}
.contact-heading{text-align:center;max-width:740px;margin:0 auto 38px}
.contact-heading .section-tag{justify-content:center}
.contact-heading h2{color:#fff;font-size:clamp(34px,3.7vw,50px);margin:18px 0}
.contact-heading h2 em{color:#91eff0;font-style:normal}
.contact-heading p{color:#c8dfe8;font-size:16px;margin:0}
.contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;max-width:870px;margin-inline:auto}
.contact-card{display:block;position:relative;padding:31px 34px 28px;border:1px solid rgba(187,232,237,.27);border-radius:21px;background:rgba(255,255,255,.075);backdrop-filter:blur(10px);transition:background .28s,border-color .28s,transform .28s}
.contact-card:hover{transform:translateY(-5px);background:rgba(255,255,255,.14);border-color:rgba(184,241,245,.69)}
.contact-card-icon{width:52px;height:52px;background:rgba(132,237,237,.18);display:grid;place-items:center;border-radius:15px;margin-bottom:23px;color:#b4ffff}
.contact-card-icon svg{width:26px;height:26px}
.contact-card>span:nth-child(2){display:block;font-size:11px;color:#a5cddc;font-weight:800;letter-spacing:.12em}
.contact-card>strong{display:block;font-size:clamp(23px,3vw,33px);color:#fff;font-family:var(--font-heading);letter-spacing:-.05em;margin:7px 0 21px;line-height:1.35}
.contact-card-action{display:flex;align-items:center;gap:7px;color:#8eecee;font-size:13px;font-weight:800}
.contact-card-action svg{width:16px;height:16px}
.site-footer{background:#031525;color:#c3d3df;padding:58px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.4fr .7fr 1fr;gap:70px;padding-bottom:47px}
.footer-brand>span{display:block;color:#fff;font-family:var(--font-heading);font-size:22px;font-weight:800;line-height:1.45;letter-spacing:-.04em}
.footer-brand>strong{display:block;color:#a4e5e7;font-size:12px;font-weight:700;letter-spacing:.035em;margin-top:2px}
.footer-brand p{max-width:330px;font-size:13px;color:#a8bdcc;line-height:1.8;margin:18px 0 0}
.footer-col{display:flex;flex-direction:column;gap:11px;font-size:13px}
.footer-col>strong{color:#fff;font-size:14px;margin-bottom:8px}
.footer-col>a{color:#aec5d5;transition:color .2s}
.footer-col>a:hover{color:#89e5e9}
.footer-col>span{color:#aec5d5}
.footer-bottom{border-top:1px solid #21405a;display:flex;justify-content:space-between;gap:20px;padding-top:22px;font-size:11px;color:#8eaabc}
.whatsapp-float{position:fixed;z-index:98;right:24px;bottom:24px;display:flex;align-items:center;gap:10px;background:#078b83;border:2px solid white;color:white;padding:13px 17px;border-radius:999px;font-size:12px;font-weight:800;box-shadow:0 10px 30px rgba(0,53,53,.25);transition:background .25s,transform .25s}
.whatsapp-float svg{width:21px;height:21px}
.whatsapp-float:hover{background:#056b6b;transform:translateY(-4px)}

/* Photo viewer */
.gallery-dialog{position:fixed;inset:0;margin:auto;width:100vw;max-width:none;height:100vh;max-height:none;border:0;background:rgba(1,15,28,.96);color:white;padding:0;overflow:hidden}
.gallery-dialog:not([open]){display:none}
.gallery-dialog::backdrop{background:rgba(1,15,28,.92)}
.lightbox-inner{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:72px 92px 50px}
.lightbox-figure{display:flex;align-items:center;flex-direction:column;justify-content:center;margin:0;max-width:100%;max-height:100%;gap:12px}
.lightbox-figure img{max-height:calc(100vh - 160px);max-width:min(100%,1050px);object-fit:contain;border-radius:10px;border:1px solid rgba(255,255,255,.2);box-shadow:0 18px 80px rgba(0,0,0,.25)}
.lightbox-figure figcaption{text-align:center;font-size:13px;font-weight:700;color:#d8ecf0}
.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;z-index:2;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:50%;width:45px;height:45px;transition:background .2s}
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{background:rgba(255,255,255,.28)}
.lightbox-close{top:22px;right:25px}
.lightbox-prev{left:26px;top:50%;transform:translateY(-50%)}
.lightbox-next{right:26px;top:50%;transform:translateY(-50%)}
.lightbox-close svg,.lightbox-prev svg,.lightbox-next svg{width:22px;height:22px}

/* Motion - content always visible if JS is unavailable */
.js .reveal{opacity:0;transform:translateY(20px);transition:opacity .62s ease,transform .62s cubic-bezier(.22,1,.36,1)}
.js .reveal.is-visible{opacity:1;transform:translateY(0)}
.services-grid>.reveal:nth-child(2),.gallery-grid>.reveal:nth-child(2){transition-delay:.05s}
.services-grid>.reveal:nth-child(3),.gallery-grid>.reveal:nth-child(3){transition-delay:.1s}
.gallery-card[hidden].reveal{transition-delay:0}

@media (max-width:1210px){
 .header-inner{gap:13px}
 .brand-emblem{width:91px}
 .brand-name{font-size:12.5px;max-width:185px}
 .brand-name span{font-size:10px}
 .main-nav{gap:13px}
 .main-nav a{font-size:11.4px}
 .header-cta{font-size:11px;padding-inline:11px}
 .hero-grid{gap:35px}
 .hero-actions .button{font-size:12px;padding-inline:15px}
 .visit-grid{gap:62px}
}
@media (max-width:1040px){
 .main-nav{position:absolute;top:100%;right:0;left:0;background:#fff;border-top:1px solid var(--border);box-shadow:0 18px 24px rgba(6,46,85,.09);display:none;flex-direction:column;align-items:stretch;padding:16px max(24px,calc((100% - var(--max))/2)) 23px;gap:0}
 .main-nav.is-open{display:flex}
 .main-nav a{font-size:14px;padding:12px 2px;border-bottom:1px solid #eff4f6}
 .main-nav a:after{display:none}
 .menu-toggle{display:grid}
 .header-cta{margin-left:auto}
 .brand-emblem{width:102px}
 .brand-name{font-size:14px;max-width:none}
 .hero-grid{gap:34px}
 h1{font-size:clamp(38px,4.8vw,55px)}
 .hero-visual-frame{height:504px}
 .hero-subtitle{font-size:17px}
 .its-panel{flex-wrap:wrap}
 .its-panel>.button{margin-left:104px}
 .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gallery-card:nth-child(5){grid-column:span 1}
 .gallery-card{height:335px}
 .visit-grid{gap:45px}
}
@media (max-width:800px){
 .container{width:min(calc(100% - 44px),var(--max))}
 .section{padding-block:80px}
 .section-hero{padding:67px 0 75px}
 .hero-grid{grid-template-columns:1fr;gap:45px}
 .hero-copy{max-width:680px;padding:0}
 h1{font-size:clamp(42px,7.3vw,60px);max-width:640px}
 .hero-visual{justify-self:center;max-width:610px}
 .hero-visual-frame{height:525px;border-radius:100px 22px 100px 22px}
 .hero-visual-frame>img{object-position:center 52%}
 .focus-ribbon-inner{padding-block:25px;min-height:auto}
 .focus-ribbon p{font-size:14px}
 .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .its-panel{padding:35px;gap:19px}
 .its-panel>.button{margin-left:95px}
 .gallery-section{padding-block:81px}
 .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gallery-card{height:335px}
 .gallery-card:first-child{grid-column:span 2}
 .gallery-card:nth-child(5){grid-column:span 1}
 .prevention-inner{flex-wrap:wrap}
 .prevention-inner .button{margin-left:102px}
 .visit-grid{grid-template-columns:1fr;gap:48px}
 .visit-picture{height:500px;max-width:640px;width:100%;justify-self:center}
 .visit-text{max-width:640px;width:100%;justify-self:center}
 .footer-grid{gap:35px;grid-template-columns:1.2fr .8fr}
 .footer-col:last-child{grid-column:span 2}
}
@media (max-width:600px){
 .container{width:calc(100% - 38px)}
 .topbar-inner{min-height:35px}
 .topbar-time{font-size:10px;gap:5px}
 .topbar-dot{margin-inline:1px}
 .topbar-phone{display:none}
 .header-inner{height:73px;gap:10px}
 .brand{gap:8px}
 .brand-emblem{width:76px;border-radius:4px}
 .brand-name{font-size:11.3px;line-height:1.24;max-width:180px}
 .brand-name span{font-size:9px;line-height:1.2}
 .header-cta{display:none}
 .menu-toggle{width:42px;height:42px;margin-left:auto;flex-shrink:0}
 .section-hero{padding:53px 0 61px}
 .eyebrow{font-size:9px;letter-spacing:.085em}
 h1{font-size:clamp(36px,9.6vw,49px);margin:20px 0}
 .hero-subtitle{font-size:17px}
 .hero-description{font-size:14px;line-height:1.75;margin-bottom:25px}
 .hero-actions{flex-direction:column;align-items:stretch;gap:10px}
 .hero-actions .button{width:100%;justify-content:center;white-space:normal;font-size:12.5px}
 .hero-meta{margin-top:29px;padding-top:20px}
 .hero-grid{gap:39px}
 .hero-visual{width:calc(100% - 16px)}
 .hero-visual-frame{height:445px;border-width:4px;border-radius:96px 17px 79px 17px}
 .hero-decoration-top{width:105px;height:105px;right:-23px;top:-20px}
 .hero-decoration-bottom{width:80px;height:80px;left:-30px;border-width:10px}
 .hero-photo-label{left:17px;bottom:17px}
 .focus-ribbon-inner{gap:13px;align-items:flex-start;padding-block:24px}
 .focus-symbol{height:46px;width:46px;border-radius:13px}
 .focus-symbol svg{width:24px;height:24px}
 .focus-ribbon a{display:none}
 .focus-ribbon p{font-size:13px}
 .section{padding-block:73px}
 h2{font-size:clamp(30px,8.3vw,40px)}
 .section-heading-centered{margin-bottom:30px}
 .section-heading-centered p{font-size:14px}
 .services-grid{grid-template-columns:1fr;gap:14px}
 .service-card{min-height:0;padding:25px 25px 30px}
 .service-icon{height:53px;width:53px;margin-bottom:17px;border-radius:14px}
 .service-icon svg{width:25px;height:25px}
 .service-card h3{font-size:18px;margin-bottom:7px}
 .service-card p{font-size:13.5px}
 .section-its{padding-top:0;padding-bottom:75px}
 .its-panel{padding:30px 25px;border-radius:21px;display:block}
 .its-icon{width:60px;height:60px;margin-bottom:18px;border-radius:16px}
 .its-icon svg{width:27px;height:27px}
 .its-copy h2{font-size:32px;margin:11px 0}
 .its-copy p{font-size:14px}
 .its-panel>.button{margin:24px 0 0;white-space:normal;width:100%;font-size:12px}
 .gallery-section{padding-block:72px}
 .gallery-heading{align-items:flex-start;gap:15px}
 .gallery-heading h2{margin:14px 0}
 .gallery-heading p{font-size:14px}
 .gallery-count{display:none}
 .gallery-filters{gap:8px;margin:26px 0 22px}
 .filter-button{font-size:11px;padding:7px 12px}
 .gallery-grid{gap:11px}
 .gallery-card{height:265px;border-radius:15px}
 .gallery-card:first-child{height:305px}
 .gallery-card-caption{left:12px;right:10px;bottom:13px;gap:5px}
 .gallery-card-caption small{font-size:9px;letter-spacing:.04em}
 .gallery-card-caption strong{font-size:13px}
 .gallery-card-caption>svg{display:none}
 .prevention-inner{padding-block:32px;gap:14px;display:grid;grid-template-columns:55px minmax(0,1fr)}
 .prevention-mark{width:50px;height:50px;border-radius:13px}
 .prevention-mark svg{width:25px;height:25px}
 .prevention-copy span{font-size:9px;letter-spacing:.08em}
 .prevention-copy h2{font-size:25px;margin:7px 0}
 .prevention-copy p{font-size:13px}
 .prevention-inner .button{grid-column:1/-1;margin:7px 0 0;white-space:normal;width:100%}
 .visit-section{padding-block:72px}
 .visit-picture{height:420px;border-radius:18px 70px 18px 70px}
 .visit-grid{gap:34px}
 .visit-text h2{margin:16px 0}
 .visit-text>p{font-size:14px}
 .visit-info{padding:18px 0}
 .visit-text>.button{white-space:normal;width:100%;font-size:12px}
 .contact-section{padding-block:76px 88px}
 .contact-heading h2{font-size:33px}
 .contact-heading p{font-size:14px}
 .contact-cards{grid-template-columns:1fr;gap:14px}
 .contact-card{padding:25px 26px}
 .contact-card-icon{width:45px;height:45px;margin-bottom:17px}
 .contact-card>strong{font-size:27px;margin:6px 0 15px}
 .footer-grid{grid-template-columns:1fr 1fr;gap:25px}
 .footer-brand{grid-column:1/-1}
 .footer-col:last-child{grid-column:auto}
 .footer-bottom{flex-direction:column;gap:4px}
 .site-footer{padding-top:48px}
 .whatsapp-float{right:15px;bottom:15px;padding:12px 15px;font-size:12px}
 .lightbox-inner{padding:74px 16px 89px}
 .lightbox-figure img{max-height:calc(100vh - 180px)}
 .lightbox-close{top:18px;right:16px;width:39px;height:39px}
 .lightbox-prev,.lightbox-next{top:auto;bottom:19px;transform:none;width:43px;height:43px}
 .lightbox-prev{left:23px}
 .lightbox-next{right:23px}
}
@media (max-width:395px){
 .brand-emblem{width:66px}
 .brand-name{font-size:10px;max-width:165px}
 .brand-name span{font-size:8.3px}
 .header-inner{gap:6px}
 .gallery-card{height:227px}
 .gallery-card:first-child{height:275px}
 .filter-button{font-size:10px;padding:7px 10px}
 .footer-grid{grid-template-columns:1fr}
 .footer-brand,.footer-col:last-child{grid-column:auto}
}
@media (prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
 .js .reveal{opacity:1;transform:none}
}

/* Actualización: logotipo oficial, especialidades y contenido dermatológico */
:root{--navy:#113f69;--navy-deep:#082e52;--teal:#149e9a;--teal-dark:#087a84;--cyan:#e4f6f4;--pale:#f3f9f9}
.brand{gap:11px}
.brand-emblem{width:82px;height:74px;object-fit:contain;object-position:center;background:#fff;box-shadow:none;border-radius:8px}
.brand::after{content:"Núcleo de Salud\A Médica y Especializaciones";white-space:pre;line-height:1.35;font-family:var(--font-heading);font-size:13px;color:var(--navy);font-weight:800;letter-spacing:-.045em}
.section-hero{background:linear-gradient(121deg,#f4fbfc 0%,#eaf7f9 52%,#e3f4f4 100%)}
.section-hero .hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:52px}
.hero-copy .hero-description{max-width:615px;line-height:1.83;font-size:14.8px}
.hero-copy h1{font-size:clamp(41px,4.4vw,61px);line-height:1.12}
.hero-copy .hero-subtitle{font-weight:800;font-size:20px;letter-spacing:-.025em}
.hero-facade{height:508px;border-radius:115px 24px 105px 24px;background:#cedcde}
.hero-facade>img{object-fit:cover;object-position:center 50%;filter:saturate(.93) contrast(1.03)}
.hero-facade .hero-photo-label{right:16px}
.specialties-section{background:#fff}
.specialties-grid{align-items:stretch}
.specialty-card{display:flex;flex-direction:column;min-height:320px;padding:30px 27px}
.specialty-card h3{font-size:19px;line-height:1.34;letter-spacing:-.034em;margin-bottom:12px}
.specialty-card p{flex:1;margin-bottom:18px;line-height:1.72}
.specialty-number{position:absolute;top:27px;right:26px;font-size:10px;color:#91aab9;font-weight:800;letter-spacing:.12em}
.specialty-link{display:inline-flex;align-items:center;gap:6px;color:var(--teal-dark);font-weight:800;font-size:12px;align-self:flex-start;transition:gap .25s}
.specialty-link:hover{gap:10px}
.specialty-link svg{width:15px;height:15px}
.vph-section{background:#f4fafb}
.vph-grid .service-card{background:#fff}

/* Dermatology explainer based on user-supplied educational slides */
.dermatology-section{background:#eef7f8;position:relative;overflow:hidden;padding:112px 0 118px}
.dermatology-section::before{content:"";position:absolute;top:-260px;right:-290px;width:650px;height:650px;border-radius:50%;border:100px solid rgba(22,160,161,.055);pointer-events:none}
.derma-intro{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:67px;align-items:center;margin-bottom:92px}
.derma-visual{background:#fff;padding:13px 13px 19px;border:1px solid #b8dce1;border-radius:24px;box-shadow:0 24px 65px rgba(14,65,87,.12);overflow:hidden}
.derma-visual img{display:block;width:100%;height:auto;max-height:580px;object-fit:contain;border-radius:14px;background:#fff}
.derma-image-caption{display:block;text-align:center;color:#5f7988;font-size:11px;font-weight:700;letter-spacing:.025em;margin:14px 5px 0}
.derma-copy h2{margin:18px 0 22px;line-height:1.16}
.derma-copy p{font-size:15px;color:#516b7b;line-height:1.86;margin-bottom:18px}
.derma-copy .derma-lead{font-size:19px;color:var(--navy);font-weight:800;line-height:1.65}
.derma-copy .button{margin-top:12px}
.derma-types{margin-bottom:70px}
.derma-types-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:25px}
.derma-types-heading h3{font-size:clamp(27px,3.1vw,40px);margin:14px 0 0;letter-spacing:-.044em}
.derma-types-heading>p{max-width:340px;margin:0 0 6px;color:var(--muted);font-size:14px}
.derma-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.derma-type{background:#fff;border-radius:18px;border:1px solid #d4e7e9;padding:25px 24px 23px;box-shadow:0 10px 25px rgba(13,70,87,.035)}
.derma-type>span{color:var(--teal-dark);font-size:12px;letter-spacing:.12em;font-weight:800}
.derma-type h4{font-family:var(--font-heading);font-size:18px;letter-spacing:-.035em;line-height:1.35;color:var(--navy);margin:18px 0 9px}
.derma-type p{color:#617483;font-size:13px;line-height:1.75;margin:0}
.derma-info-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:50px;align-items:start}
.derma-process{background:linear-gradient(151deg,#0a3c65,#082b4a 88%);border-radius:26px;padding:43px 42px 36px;color:#d3e7eb;position:relative;overflow:hidden}
.derma-process::after{content:"";position:absolute;width:270px;height:270px;border:1px solid rgba(117,218,218,.15);border-radius:50%;right:-100px;top:-90px;pointer-events:none}
.derma-process .section-tag{color:#81dfda}.derma-process .section-tag span{background:#83dadb}
.derma-process h3{color:#fff;font-size:clamp(24px,3vw,33px);margin:19px 0 26px}
.process-list{counter-reset:steps;list-style:none;padding:0;margin:0;display:grid;gap:0}
.process-list li{counter-increment:steps;display:flex;flex-direction:column;position:relative;padding:0 0 22px 48px;min-height:71px;border-left:1px solid rgba(154,211,223,.25);margin-left:15px}
.process-list li:last-child{border-left-color:transparent;padding-bottom:7px}
.process-list li::before{content:counter(steps,decimal-leading-zero);position:absolute;left:-16px;top:0;background:#1a6380;color:#d0fffd;border:1px solid #347c91;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:10px;font-weight:800}
.process-list li strong{font-family:var(--font-heading);color:#fff;line-height:1.4;font-size:15px}
.process-list li span{font-size:12.5px;line-height:1.68;margin-top:2px;color:#bad5df}
.derma-note{border-top:1px solid rgba(187,232,232,.17);padding-top:20px;margin:14px 0 0;color:#d0e7ef;font-size:12px;line-height:1.8}
.derma-faq>h3{font-size:clamp(25px,3.1vw,36px);margin:17px 0 24px}
.info-accordion{background:#fff;border:1px solid #d2e5e8;border-radius:15px;margin-bottom:11px;box-shadow:0 3px 16px rgba(16,67,83,.03);overflow:hidden}
.info-accordion summary{font-weight:800;font-family:var(--font-heading);font-size:14px;line-height:1.4;color:var(--navy);list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 21px;cursor:pointer}
.info-accordion summary::-webkit-details-marker{display:none}
.info-accordion summary:hover{background:#f7fbfb}
.accordion-mark{flex-shrink:0;width:28px;height:28px;border:1px solid #c9e6e7;border-radius:50%;display:grid;place-items:center;color:var(--teal-dark);background:#f2faf9}
.accordion-mark::before{content:"+";font-weight:600;font-size:18px;line-height:1}
.info-accordion[open] .accordion-mark::before{content:"−"}
.info-accordion[open] summary{border-bottom:1px solid #e1eff1}
.accordion-content{padding:17px 21px 22px}
.accordion-content p{font-size:13px;color:#506878;line-height:1.85;margin:0 0 12px}
.accordion-content p:last-child{margin-bottom:0}
.accordion-content strong{color:var(--navy)}
.derma-takeaway{background:#fff;border:1px solid #cce5e7;border-left:5px solid var(--teal);border-radius:16px;display:flex;align-items:flex-start;gap:19px;padding:26px 29px;margin-top:30px}
.derma-takeaway>svg{width:27px;height:27px;color:var(--teal-dark);flex-shrink:0}
.derma-takeaway strong{display:block;color:var(--navy);font-weight:800;font-size:15px;line-height:1.55}
.derma-takeaway p{margin:7px 0 5px;color:#647785;font-size:12.5px;line-height:1.6}
.derma-takeaway small{display:block;color:#718999;font-size:11px}

/* Layout tuning with supplied logotype and new content */
@media(max-width:1210px){.site-header .brand-emblem{width:75px;height:68px}.brand::after{font-size:11px}.site-header .header-inner{gap:12px}.section-hero .hero-grid{gap:30px}.derma-intro{gap:38px}.derma-info-grid{gap:28px}}
@media(max-width:1040px){.brand::after{font-size:13px}.site-header .brand-emblem{width:78px;height:70px}.derma-intro{grid-template-columns:.9fr 1.1fr}.derma-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.derma-info-grid{grid-template-columns:1fr}.derma-process{max-width:none}}
@media(max-width:800px){.section-hero .hero-grid{grid-template-columns:1fr;gap:42px}.hero-facade{height:450px;max-width:630px;border-radius:80px 20px 80px 20px}.dermatology-section{padding:85px 0}.derma-intro{grid-template-columns:1fr;gap:36px;margin-bottom:65px}.derma-visual{max-width:580px;width:100%;margin-inline:auto}.derma-visual img{max-height:610px}.derma-copy{max-width:690px}.derma-types{margin-bottom:55px}.derma-info-grid{gap:28px}.specialty-card{min-height:0}.derma-process{padding:36px}}
@media(max-width:600px){.site-header .header-inner{height:76px}.site-header .brand-emblem{width:61px;height:61px}.brand::after{font-size:11px;white-space:pre-line;max-width:180px;letter-spacing:-.03em}.hero-copy .hero-description{font-size:14px}.hero-copy h1{font-size:clamp(37px,9.2vw,48px)}.hero-facade{height:320px!important;border-radius:58px 16px 60px 16px}.hero-facade>img{object-position:center}.hero-facade .hero-photo-label strong{font-size:13px}.hero-facade .hero-photo-label small{font-size:10px}.dermatology-section{padding:72px 0 77px}.derma-intro{margin-bottom:55px}.derma-visual{padding:9px 9px 17px;border-radius:16px}.derma-image-caption{font-size:10px}.derma-copy .derma-lead{font-size:16px}.derma-copy p{font-size:13.5px}.derma-copy .button{width:100%;white-space:normal}.derma-types-heading{display:block}.derma-types-heading>p{margin:12px 0 0}.derma-type-grid{grid-template-columns:1fr;gap:11px}.derma-type{padding:22px}.derma-type h4{margin:8px 0 6px}.derma-types{margin-bottom:45px}.derma-process{padding:28px 25px}.derma-faq>h3{font-size:27px}.info-accordion summary{font-size:13px;padding:16px}.accordion-content{padding:15px 16px 19px}.derma-takeaway{gap:11px;padding:19px}.derma-takeaway>svg{width:23px;height:23px}.derma-takeaway strong{font-size:13px}.specialty-card{padding:27px 25px}.specialty-card h3{font-size:19px}.specialty-card p{font-size:13.5px}.specialty-card .specialty-number{top:21px;right:24px}}
@media(max-width:600px){
 .whatsapp-float{height:51px;width:51px;padding:0;right:14px;bottom:17px;border-radius:50%;justify-content:center}
 .whatsapp-float span{display:none}
 .whatsapp-float svg{height:23px;width:23px}
}


/* Revisión final: destacar el logotipo oficial, sin duplicar su texto. */
.site-header .header-inner{height:104px}
.site-header .brand{flex:0 0 auto;align-self:center;gap:0}
.site-header .brand::after{content:none!important}
.site-header .brand-emblem{display:block;width:118px;height:94px;max-width:118px;object-fit:contain;border:0;box-shadow:none;border-radius:2px;background:white}
html{scroll-padding-top:115px}
.hero-copy h1{font-size:clamp(38px,4.1vw,59px);line-height:1.16;max-width:640px;letter-spacing:-.048em}
.hero-copy .hero-subtitle{font-weight:750}

/* Elementos informativos tomados de la presentación dermatológica. */
.derma-objectives{margin-bottom:65px}
.derma-objectives-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.derma-objective{background:#fff;border:1px solid #d3e8ea;border-radius:18px;padding:26px 25px 28px;box-shadow:0 12px 35px rgba(13,70,87,.045);position:relative;overflow:hidden}
.derma-objective::before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#0a5685,#16a9a2)}
.derma-objective>span{font-size:11px;letter-spacing:.13em;font-weight:800;color:#0b868d}
.derma-objective h4{margin:12px 0 10px;font-size:20px;font-family:var(--font-heading);letter-spacing:-.035em;color:var(--navy)}
.derma-objective p{margin:0;color:#536f7f;font-size:14px;line-height:1.78}
.abcde-panel{border-radius:24px;border:1px solid #bcdfe4;background:#fff;padding:32px 34px 30px;margin-bottom:60px;box-shadow:0 18px 44px rgba(15,61,82,.05)}
.abcde-heading{display:flex;justify-content:space-between;gap:26px;align-items:end;margin-bottom:26px}
.abcde-heading h3{font-size:clamp(25px,3vw,35px);margin:12px 0 0}
.abcde-heading>p{max-width:375px;margin:0;color:#617986;font-size:13px;line-height:1.65}
.abcde-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.abcde-item{display:flex;flex-direction:column;align-items:flex-start;gap:9px;background:#eff8f9;border:1px solid #d7ecef;padding:21px 15px 20px;border-radius:14px;min-height:134px}
.abcde-item strong{width:42px;height:42px;border-radius:11px;background:#0a5878;color:#fff;display:grid;place-items:center;font-size:23px;font-family:var(--font-heading);line-height:1}
.abcde-item span{font-weight:750;color:#123f62;font-size:12px;line-height:1.35}
.abcde-bottom{margin:22px 0 0;color:#506878;font-size:13px;line-height:1.75}
@media(max-width:1210px){.site-header .header-inner{height:92px}.site-header .brand-emblem{width:101px;height:86px;max-width:101px}}
@media(max-width:1040px){.site-header .brand-emblem{width:100px;height:84px;max-width:100px}.derma-objectives-grid{gap:11px}.abcde-item{padding:18px 12px}}
@media(max-width:800px){.site-header .header-inner{height:87px}.derma-objectives-grid{grid-template-columns:1fr}.derma-objective{padding:22px}.abcde-heading{display:block}.abcde-heading>p{max-width:none;margin:12px 0 0}.abcde-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.site-header .header-inner{height:79px}.site-header .brand-emblem{width:80px;height:70px;max-width:80px}.hero-copy h1{font-size:clamp(33px,8.9vw,44px)}.derma-objectives{margin-bottom:48px}.derma-objective h4{margin:8px 0}.abcde-panel{padding:24px 18px 22px;margin-bottom:45px;border-radius:19px}.abcde-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.abcde-item{min-height:116px;padding:16px 11px}.abcde-item strong{width:37px;height:37px;font-size:20px}.abcde-item span{font-size:11.5px}.abcde-bottom{font-size:12.5px}}
/* En pantallas angostas, mostrar la referencia del lugar antes del texto extenso. */
@media(max-width:800px){
 .section-hero{padding-top:46px}
 .section-hero .hero-grid{gap:36px}
 .section-hero .hero-visual{order:-1;justify-self:center}
}
@media(max-width:600px){
 .section-hero{padding-top:27px}
 .section-hero .hero-grid{gap:28px}
 .section-hero .hero-visual{width:calc(100% - 12px)}
 .section-hero .hero-facade{height:259px!important;border-radius:53px 17px 50px 17px}
 .site-header .brand-emblem{width:91px;height:73px;max-width:91px}
 .site-header .header-inner{height:82px}
}

/* Nueva imagen informativa: se integra al apartado existente de especialidades. */
.specialties-showcase{max-width:1060px;margin:46px auto 0;border:1px solid rgba(8,127,146,.22);padding:8px;border-radius:23px;background:#fff;box-shadow:0 18px 47px rgba(6,49,76,.09);overflow:hidden}
.specialties-showcase img{width:100%;height:auto;display:block;border-radius:16px;object-fit:contain}
.specialties-showcase figcaption{font-size:12px;font-weight:600;line-height:1.5;color:#507180;text-align:center;padding:13px 10px 5px}
@media (max-width:600px){.specialties-showcase{margin-top:28px;padding:5px;border-radius:15px}.specialties-showcase img{border-radius:10px}.specialties-showcase figcaption{font-size:11px;padding:10px 8px 5px}}

/* Imagen aportada del consultorio, visible antes de las tarjetas de especialidades. */
.specialties-section .specialties-showcase{margin:28px auto 36px;}
@media(max-width:600px){.specialties-section .specialties-showcase{margin:22px auto 30px;}}

/* Actualización solicitada del 30 de noviembre de 2026.
   La estructura y los estilos de las secciones originales permanecen intactos. */
.site-header .brand-emblem{width:144px;max-width:144px;height:104px;object-fit:contain}
.site-header .header-inner{height:113px}
.hero-copy h1{font-size:clamp(37px,4vw,58px)}

/* Aviso destacado de anticipo, también presente en cada especialidad. */
.reservation-notice{background:#07395f;padding:29px 0 34px}
.reservation-box{background:linear-gradient(115deg,#fdfdf9,#edf8fa);border:2px solid #edda79;border-radius:24px;box-shadow:0 16px 42px rgba(0,27,49,.21);padding:24px 28px;display:flex;align-items:center;gap:24px}
.reservation-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;flex-shrink:0;background:#063a65;color:#fff}
.reservation-icon svg{width:30px;height:30px}
.reservation-copy{flex:1;min-width:0}
.reservation-copy>span{font-size:11px;font-weight:800;letter-spacing:.13em;color:#087b8b}
.reservation-copy h2{margin:6px 0 4px;color:#06365c;font-size:clamp(20px,2.15vw,28px);letter-spacing:-.035em;line-height:1.3}
.reservation-copy h2 strong{color:#007f91;white-space:nowrap;font-weight:900}
.reservation-copy p{font-size:16px;font-weight:800;color:#243f52;margin:0;letter-spacing:.012em}
.reservation-box>.button{background:#073b66;color:#fff;border-color:#073b66;flex-shrink:0}
.reservation-box>.button:hover{background:#066d8b}
.specialty-card{display:flex;flex-direction:column;align-items:flex-start}
.specialty-card .specialty-link{margin-top:16px}
.specialty-fee{margin-top:auto;display:block;font-size:11px;line-height:1.55;color:#15546b;background:#e9f6f7;border-radius:9px;padding:9px 11px;border:1px solid #d0e8ea;width:100%}
.specialty-card .specialty-fee strong{color:#035a78;font-size:12px}
.specialties-showcase{border-color:#a8d9e0;box-shadow:0 16px 48px rgba(4,57,83,.1);outline:1px solid rgba(49,184,193,.10);outline-offset:5px}
.specialties-showcase img{mask-image:linear-gradient(to bottom, transparent 0%,black 3%,black 97%,transparent 100%)}
.specialties-showcase figcaption{font-size:13px;color:#305d73;font-weight:700}

/* Nuevos folletos facilitados por el propietario, legibles en cualquier pantalla. */
.information-section{background:linear-gradient(180deg,#f1f8fa 0%,#f9fcfd 100%);padding-top:100px;padding-bottom:110px}
.information-section .section-heading{max-width:790px}
.information-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.info-card{display:grid;grid-template-columns:142px minmax(0,1fr);gap:23px;border:1px solid #cde6e9;background:#fff;border-radius:22px;padding:22px;box-shadow:0 14px 36px rgba(8,59,91,.06);overflow:clip;transition:border-color .2s,box-shadow .2s}
.info-card:hover{border-color:#9dd5da;box-shadow:0 19px 42px rgba(8,59,91,.11)}
.info-cover{display:block;border-radius:15px;overflow:hidden;align-self:start;padding:5px;background:#f8fbfc;border:1px solid #aedbe0;box-shadow:0 12px 26px rgba(8,70,96,.12);transition:transform .2s}
.info-cover:hover{transform:translateY(-3px)}
.info-cover img{display:block;width:100%;aspect-ratio:595/842;object-fit:cover;border-radius:10px;filter:drop-shadow(0 0 1px rgba(9,76,91,.15))}
.info-content{min-width:0;display:flex;flex-direction:column}
.info-meta{font-size:10px;font-weight:800;letter-spacing:.09em;color:#087a8e;text-transform:uppercase}
.info-content h3{font-size:19px;margin:10px 0;color:#0a3c60;line-height:1.35}
.info-content>p{font-size:13px;color:#597383;margin:0 0 14px;line-height:1.72}
.info-details{border-top:1px solid #e0ebee;border-bottom:1px solid #e0ebee;margin-top:auto;margin-bottom:16px}
.info-details summary{list-style:none;cursor:pointer;color:#075b79;font-size:13px;font-weight:800;padding:13px 0;display:flex;justify-content:space-between;align-items:center;gap:10px}
.info-details summary::-webkit-details-marker{display:none}
.info-details summary span{font-size:21px;line-height:1;color:#0a8793}
.info-details[open] summary span{transform:rotate(45deg)}
.info-more{padding:1px 0 15px;color:#425b6e;font-size:13px;line-height:1.65}
.info-more p{margin:4px 0 9px}
.info-more h4{font-size:14px;color:#0b4565;margin:12px 0 8px}
.info-more ul{margin:8px 0 14px;padding-left:17px}
.info-more li+li{margin-top:7px}
.info-more .info-disclaimer{font-size:11px;color:#73858f;border-left:2px solid #a8d5dd;padding-left:10px;margin-top:13px}
.info-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-top:auto}
.info-actions a{font-size:12px;font-weight:800;color:#065776;display:inline-flex;gap:5px;align-items:center}
.info-actions a:hover{text-decoration:underline}
.info-actions svg{width:15px;height:15px}
.info-reservation{font-size:11px!important;font-weight:650;line-height:1.6!important;margin-top:14px!important;border-radius:8px;background:#eff8f9;padding:8px 9px;color:#315968!important}
.info-reservation strong{color:#006885}
.vph-details{margin-top:18px;margin-bottom:8px;border-top:1px solid #dce9ed;position:relative;z-index:1}
.vph-details summary{list-style:none;color:#096a80;display:flex;gap:8px;align-items:center;justify-content:space-between;cursor:pointer;padding-top:11px;font-size:12px;font-weight:800}
.vph-details summary::-webkit-details-marker{display:none}
.vph-details summary span{font-size:20px;font-weight:600;line-height:1}
.vph-details[open] summary span{transform:rotate(45deg)}
.vph-details>div{padding:12px 0 5px}
.vph-details p{font-size:12.5px;line-height:1.73;color:#486777}

/* Redes oficiales suministradas, sin iconos emoji. */
.social-section{margin:35px auto 4px;text-align:center;padding:29px 20px 0;border-top:1px solid rgba(255,255,255,.25)}
.social-section h3{font-size:22px;color:#fff;margin:0 0 5px}
.social-section p{font-size:13px;color:#d3e9f2;margin:0 0 18px}
.social-links{display:flex;justify-content:center;gap:11px;flex-wrap:wrap}
.social-links a{border:1px solid rgba(202,242,246,.44);background:rgba(255,255,255,.1);color:white;border-radius:12px;padding:12px 18px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:7px;transition:background .2s,transform .2s}
.social-links a:hover{background:rgba(255,255,255,.2);transform:translateY(-2px)}
.social-links svg{width:14px;height:14px}
.contact-fee{text-align:center;background:#f5eec3;border:1px solid #f6da57;border-radius:14px;padding:15px 18px;color:#0a3e5e;font-weight:800;font-size:13px;line-height:1.6;margin:23px auto 0;max-width:850px}
.contact-fee strong{color:#036887}

@media(max-width:1210px){.site-header .brand-emblem{width:125px;max-width:125px;height:96px}.site-header .header-inner{height:103px}}
@media(max-width:1040px){.site-header .brand-emblem{width:120px;max-width:120px;height:92px}.site-header .header-inner{height:94px}.reservation-box{gap:18px;padding:20px}}
@media(max-width:900px){.information-list{grid-template-columns:1fr}.info-card{grid-template-columns:145px minmax(0,1fr)}.reservation-box{flex-wrap:wrap}.reservation-box>.button{margin-left:88px}}
@media(max-width:800px){.site-header .header-inner{height:90px}.site-header .brand-emblem{width:112px;max-width:112px;height:84px}.information-section{padding-top:75px;padding-bottom:80px}}
@media(max-width:600px){
 .site-header .header-inner{height:81px}.site-header .brand-emblem{width:101px;max-width:101px;height:76px}
 .reservation-notice{padding:20px 0 26px}.reservation-box{padding:17px 16px;gap:13px;border-radius:18px;align-items:flex-start}
 .reservation-icon{width:42px;height:42px;border-radius:12px}.reservation-icon svg{width:21px;height:21px}
 .reservation-copy{flex:1 1 220px}.reservation-copy>span{font-size:10px}
 .reservation-copy h2{font-size:19px}.reservation-copy h2 strong{white-space:normal}.reservation-copy p{font-size:13px}
 .reservation-box>.button{width:100%;margin-left:0;min-height:45px}
 .information-list{gap:16px}.info-card{display:block;padding:16px;border-radius:17px}
 .info-cover{float:left;width:105px;margin:0 16px 10px 0}.info-content{display:block}
 .info-content h3{font-size:18px}.info-content>p{font-size:12px}
 .info-details{clear:both;margin-top:12px}.info-actions{gap:12px}
 .info-meta{font-size:9px}.info-reservation{margin-top:12px!important}
 .social-links{gap:9px}.social-links a{font-size:12px;padding:11px 13px}
}
@media(prefers-reduced-motion: reduce){.info-card,.info-cover,.social-links a{transition:none}}


/* Ampliación de especialidades con información incorporada en cada apartado */
.deep-specialty{background:#fff;padding-block:96px;scroll-margin-top:105px}
.deep-specialty-alt{background:linear-gradient(165deg,#f0f8fa 0%,#f7fbfc 100%)}
.specialty-heading{max-width:800px;margin-bottom:30px}
.specialty-heading h2{font-size:clamp(30px,3.6vw,48px);line-height:1.14;margin:15px 0;color:var(--navy)}
.specialty-heading>p{font-size:16px;line-height:1.75;max-width:730px;color:var(--muted);margin:0}
.specialty-feature{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.5fr);gap:36px;border:1px solid #d7e9ee;border-radius:26px;padding:30px;background:#fff;box-shadow:0 18px 46px rgba(8,68,95,.07)}
.specialty-feature-visual{min-width:0;align-self:start}
.specialty-feature-cover{max-height:490px;border-radius:18px;border:1px solid #c6dce3;overflow:hidden;background:#eaf4f7;box-shadow:0 12px 25px rgba(9,58,88,.1)}
.specialty-feature-cover img{display:block;width:100%;height:100%;max-height:490px;object-fit:contain}
.specialty-feature-note{display:block;color:var(--muted);font-size:12px;padding:12px 4px}
.specialty-intro{font-size:15px;line-height:1.8;color:var(--muted);margin-bottom:24px}
.specialty-intro p{margin:0}
.specialty-accordion-stack{display:grid;gap:10px}
.specialty-accordion{border:1px solid #d6e9ed;border-radius:14px;background:#fbfdfe;overflow:hidden}
.specialty-accordion summary{cursor:pointer;list-style:none;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:15px;font-weight:800;color:var(--navy);line-height:1.45}
.specialty-accordion summary::-webkit-details-marker{display:none}
.specialty-accordion summary:focus-visible{outline:3px solid #28adb7;outline-offset:-3px}
.specialty-accordion summary .accordion-mark{flex-shrink:0}
.specialty-accordion[open]{background:#fff;border-color:#96cbd3}
.specialty-accordion-body{padding:0 20px 20px;color:#455d6c;font-size:14px;line-height:1.85}
.specialty-accordion-body p{margin:0 0 12px}
.specialty-accordion-body p:last-child{margin-bottom:0}
.specialty-points{margin:10px 0 0;padding-left:20px}
.specialty-points li{margin:7px 0}
.specialty-points li::marker{color:#0c8e9f}
.specialty-feature-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:23px}
.specialty-feature-actions .button{padding:13px 19px;font-size:13px}
.specialty-source,.vph-resource a{font-size:13px;font-weight:800;color:var(--teal-dark);display:inline-flex;gap:7px;align-items:center;text-underline-offset:3px;text-decoration:underline}
.specialty-source svg,.vph-resource a svg{width:16px;height:16px}
.specialty-policy{border-left:3px solid var(--teal);padding:11px 14px;background:#f0fafb;color:#27556b;font-size:13px;line-height:1.6;margin:23px 0 0}
.vph-resource{border:1px solid #d2e7eb;background:#f5fafb;border-radius:16px;padding:21px 26px;margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;justify-content:space-between}
.vph-resource p{font-size:14px;color:#456474;max-width:700px;margin:0;line-height:1.7}
.location-card{padding:21px 23px;border:1px solid #bedde4;background:linear-gradient(125deg,#f0f9fa,#f7fcfd);border-radius:19px;margin:4px 0 22px;box-shadow:0 8px 22px rgba(15,75,96,.06)}
.location-card-top{display:flex;gap:15px;align-items:center}
.location-card-pin{width:48px;height:48px;display:grid;place-items:center;background:#d8f2f3;color:#067d91;border-radius:13px;flex-shrink:0}
.location-card-pin svg{width:25px;height:25px}
.location-card-top strong{color:var(--navy);font-size:16px;font-weight:800}
.location-card-top p{font-size:13px;line-height:1.5;margin:4px 0 0;color:#526a7c}
.location-map-link{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;border-radius:12px;background:#073d6a;color:#fff;text-align:center;padding:13px 14px;font-weight:800;font-size:14px}
.location-map-link:hover{background:#075987;color:#fff}
.location-map-link svg{width:17px;height:17px;flex-shrink:0}
.location-text-link{display:block;margin-top:11px;color:#036f84;text-decoration:underline;overflow-wrap:anywhere;font-size:12px;text-align:center}
@media(max-width:800px){.deep-specialty{padding-block:74px}.specialty-feature{grid-template-columns:1fr}.specialty-feature-visual{max-width:370px;width:100%;margin-inline:auto}.specialty-feature-cover{max-height:390px}.specialty-feature-cover img{max-height:390px}}
@media(max-width:480px){.deep-specialty{padding-block:55px}.specialty-heading h2{font-size:clamp(28px,8vw,36px)}.specialty-feature{padding:17px;border-radius:19px;gap:18px}.specialty-feature-visual{max-width:250px}.specialty-feature-cover{max-height:310px}.specialty-feature-cover img{max-height:310px}.specialty-accordion summary{font-size:14px;padding:15px}.specialty-accordion-body{font-size:13px}.location-card{padding:17px 14px}.location-card-top strong{font-size:14px}.location-map-link{font-size:13px}}

/* Referencia de domicilio visible: agregado sin modificar la portada ni las otras secciones. */
.visit-address-direct{display:flex;align-items:center;gap:15px;margin:8px 0 20px;padding:17px 19px;border:1px solid #8dd5dd;border-radius:16px;background:#eaf8f9;color:#073b66;box-shadow:0 8px 24px rgba(16,83,105,.08);text-decoration:none}
.visit-address-direct:hover,.visit-address-direct:focus-visible{color:#073b66;border-color:#0f9aaa;background:#dff5f6;transform:translateY(-1px)}
.visit-address-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;background:#0b8296;color:white}
.visit-address-symbol svg{height:25px;width:25px}
.visit-address-body{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.visit-address-body small{font-weight:800;font-size:10px;letter-spacing:.12em;color:#0b7282}
.visit-address-body strong{font-size:18px;line-height:1.25;font-weight:800;color:#073b66}
.visit-address-body span{font-size:13px;line-height:1.45;color:#34576d}
.visit-address-arrow{width:19px;height:19px;flex:0 0 19px;color:#0b7282}
@media(max-width:480px){.visit-address-direct{gap:11px;padding:14px 12px}.visit-address-symbol{width:38px;height:38px;flex-basis:38px}.visit-address-body strong{font-size:16px}.visit-address-body span{font-size:12px}}

/* Contenido informativo integrado en especialidades (antes en documentos PDF). */
.vph-details h4,.specialty-accordion-body h4{font-size:14px;line-height:1.45;font-weight:800;color:#063764;margin:17px 0 7px}
.vph-details h4:first-child,.specialty-accordion-body h4:first-child{margin-top:3px}
.vph-details .integrated-list{margin:10px 0 16px;padding-left:20px;color:#456071;line-height:1.75}
.vph-details .integrated-list li{margin-bottom:7px}
.vph-details .integrated-list li::marker{color:#0c8e9f}
.vph-details p+p{margin-top:12px}
.specialty-accordion-body .specialty-points + p{margin-top:13px}
@media(max-width:480px){.vph-details h4,.specialty-accordion-body h4{font-size:13px}.vph-details .integrated-list{font-size:12.5px}}

/* Resúmenes visuales nativos: reemplazan las miniaturas de páginas de PDF. */
.specialty-information-card{background:linear-gradient(154deg,#effbfb 0%,#dff4f7 54%,#f2f9fc 100%);min-height:350px;border-color:#cde5e9;display:flex;align-items:stretch;position:relative}
.specialty-information-card::after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;background:rgba(24,164,172,.1);right:-120px;top:-95px;pointer-events:none}
.specialty-overview{position:relative;z-index:1;padding:36px 29px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;gap:17px}
.specialty-overview-label{color:#0c7788;font-size:10px;font-weight:800;letter-spacing:2px;line-height:1.6}
.specialty-overview h3{color:#0a426a;font-size:clamp(23px,2.5vw,33px);line-height:1.2;letter-spacing:-.04em;margin:0;max-width:280px}
.specialty-overview-rule{height:3px;width:58px;background:#0c9daa;border-radius:9px}
.specialty-overview ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.specialty-overview li{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:650;line-height:1.45;color:#2d5769}
.specialty-overview li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#0a9c9f;margin-top:7px;flex:0 0 6px}
@media(max-width:800px){.specialty-information-card{min-height:285px}.specialty-overview{padding:32px 27px}}
@media(max-width:480px){.specialty-information-card{min-height:245px}.specialty-overview{padding:29px 25px;gap:13px}.specialty-overview h3{font-size:25px}.specialty-overview li{font-size:13px}}
