:root{--ink:#1e232b;--gold:#ffb766;--blue:#8ec9f1;--cream:#f4f1eb}html{scroll-padding-top:125px}.site-header{position:sticky!important;top:0;z-index:80;background:#1e232bef!important;backdrop-filter:blur(20px);transition:padding .35s,box-shadow .35s;border-bottom:1px solid #ffffff18}.site-header.compact{padding-top:10px!important;padding-bottom:10px!important;box-shadow:0 8px 40px #0003}.site-header.compact .wordmark img{width:38px;height:38px}.wordmark img{transition:width .35s,height .35s}.site-header a,.site-header summary{font-family:Arial,sans-serif}main{overflow:clip}.cinematic{max-width:none;min-height:min(850px,88vh);display:flex;align-items:center;overflow:hidden;padding:75px 0;isolation:isolate}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;transform:scale(var(--hero-scale,1.02));will-change:transform}.cinematic:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#101a23a6,transparent 70%);z-index:-1}.cinematic .hero-copy{width:100%;margin:auto}.cinematic h1{max-width:650px;font-size:clamp(55px,6.6vw,96px);line-height:1.04;letter-spacing:-3px}.cinematic .hero-copy>p:not(.eyebrow){color:#e2e6e9}.cinematic .vertical-label{right:20px;color:#eee}.cinematic .hero-actions{margin-top:35px}.entry-strip{padding-top:0;padding-bottom:0;background:#242e3a;max-width:none;padding-left:max(32px,calc((100vw - 1220px)/2));padding-right:max(32px,calc((100vw - 1220px)/2))}.entry-strip a{padding:28px;border-top:0;transition:background .3s}.entry-strip h2{font-size:25px}.about-story{display:grid;grid-template-columns:.9fr 1fr;gap:35px 90px;align-items:center}.about-story .doctor-portrait{grid-row:span 2;height:570px;width:100%;border-radius:220px 220px 22px 22px;background:#ddd9d0}.about-story .doctor-portrait .portrait-circle{display:none}.about-story .doctor-portrait figcaption{color:white}.about-story>div:last-child{align-self:start}.about-story>div:nth-child(2){align-self:end}.about-story h2{font-size:60px}.about-story .large-copy{font-size:20px}.discovery{display:grid;grid-template-columns:1fr 1fr;gap:100px;padding-top:130px;padding-bottom:130px}.discovery-heading{position:sticky;top:180px;align-self:start}.discovery-heading h2{font-size:clamp(42px,4.8vw,68px);margin-bottom:30px}.discovery-heading em{color:#e8c397}.discovery-heading p:not(.eyebrow){color:#bac9d6;max-width:350px}.discovery-cards{display:grid;gap:32px}.discovery-card{position:sticky;top:130px;min-height:360px;border-radius:26px;padding:40px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none;overflow:hidden;isolation:isolate;border:1px solid #bfa68766;box-shadow:0 25px 60px #0003;background:#354354}.discovery-card:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 100% 0%,#d9a97666,transparent 60%),repeating-radial-gradient(ellipse at 100% 100%,transparent 0 48px,#ffffff13 49px 50px);transition:transform .7s}.discovery-card:hover:before{transform:scale(1.12)}.discovery-card:nth-child(2){background:#ddc5a3;color:#222c37;top:150px}.discovery-card:nth-child(3){background:#94bdcf;color:#182630;top:170px}.discovery-card span{font-size:12px;letter-spacing:2px}.discovery-card h3{font:42px/1.12 Georgia;letter-spacing:-1px}.discovery-card b{font:14px Arial}.facility-feature.wrap{min-height:620px;display:grid;grid-template-columns:1fr .65fr;gap:80px;padding-top:60px;padding-bottom:60px;isolation:auto}.facility-feature>img{position:relative;grid-column:2;grid-row:1;inset:auto;height:490px;width:100%;max-width:330px;justify-self:end;z-index:auto;object-fit:cover;border-radius:140px 140px 28px 28px}.facility-feature>.wrap{grid-column:1;grid-row:1;padding:0}.facility-feature:after{display:none}.facility-feature h2{font-size:52px}.page-intro{position:relative;padding-top:70px;padding-bottom:55px}.page-intro:before{content:'';position:absolute;width:100px;height:1px;background:var(--gold);bottom:20px}.page-intro h1{max-width:980px;font-size:clamp(45px,6vw,78px)}.catalog-hint{margin-top:25px;color:#bac9d6;font-size:14px}.services-layout{grid-template-columns:290px 1fr;gap:60px}.service-index{position:sticky;top:110px;align-self:start;border:1px solid #ffffff20;border-radius:22px;padding:23px;background:#26313dcf;backdrop-filter:blur(18px);max-height:calc(100vh - 125px);overflow:auto}.service-index>div{display:contents}.search-label{font-size:12px;display:block;margin-bottom:8px;color:#d4dce3}.service-index input{width:100%;min-width:0;border:1px solid #637c90;border-radius:12px;background:#19232e;color:white;padding:12px;font:14px Arial;outline-offset:3px}.zone-links{display:grid;gap:3px;margin-top:12px}.zone-links a{font-size:13px;padding:8px 10px;text-decoration:none;border-radius:7px;line-height:1.3}.zone-links a:hover,.zone-links a.active{background:#ffb766;color:#17212c}.service-index .eyebrow{margin-bottom:14px;font-size:10px}.service-index #search-count{font-size:11px;color:#bfcbd7;margin:8px 0}.service-group{scroll-margin-top:115px;margin-bottom:40px}.service-group h2{font-size:35px}.faq{border:1px solid #536475;border-radius:15px;overflow:hidden;margin-bottom:12px;background:#27333f;transition:background .25s,box-shadow .25s}.faq summary{padding:22px 55px 22px 23px;font-size:17px}.faq summary:after{right:23px;top:17px}.faq[open]{background:#303e4d;box-shadow:0 15px 35px #0002}.faq>div{padding:0 23px 24px}.faq[open]>div{animation:answer-in .35s ease}.faq summary:hover{color:#ffcf98}.faq-layout aside{top:130px}.faq-layout{gap:65px}.treatment-info{display:grid;grid-template-columns:290px 1fr;gap:25px 60px}.treatment-index{grid-row:1/4}.treatment-info>.eyebrow{display:none}.treatment-info h2{font-size:40px;margin-bottom:0}.treatment-list{grid-column:2}.extra-grid{gap:15px}.extra-grid a{background:#293744;border:1px solid #ffffff20;border-radius:15px;padding:24px}.review-grid{columns:unset;display:grid;grid-template-columns:repeat(2,1fr);gap:25px}.review{padding:38px;border-radius:24px;background:linear-gradient(135deg,#344554,#252e39);margin:0;border:1px solid #ffffff25;transition:transform .3s}.review:nth-child(even){transform:translateY(30px)}.review blockquote{font:20px/1.6 Georgia;margin-bottom:30px}.review:hover{box-shadow:0 20px 50px #0003}.review>p{border-top:1px solid #ffffff20;padding-top:18px}.gallery{grid-template-columns:repeat(4,1fr)}.gallery-item{border-radius:18px}.scroll-films{display:flex;flex-direction:column;align-items:center;gap:90px;padding-bottom:70px;margin-bottom:50px}.scroll-films figure{position:sticky;top:120px;display:grid;grid-template-columns:minmax(190px,340px) minmax(180px,320px);align-items:center;gap:60px;padding:28px;width:min(850px,100%);border-radius:30px;background:linear-gradient(120deg,#3c4b58e8,#202a34f5);border:1px solid #ffffff30;box-shadow:0 25px 60px #0005;backdrop-filter:blur(24px)}.scroll-films video{aspect-ratio:9/16;max-height:62vh;border-radius:23px;object-fit:cover;background:transparent;box-shadow:0 8px 24px #0003}.scroll-films figcaption{display:flex;flex-direction:column;font:34px/1.2 Georgia;gap:25px;color:#f5e1c6}.scroll-films figcaption a{font:13px Arial;color:#bee1f8}.contact-studio{padding:45px;border:1px solid #ffffff26;border-radius:30px;background:radial-gradient(ellipse at top right,#435263,#232d38 65%);align-items:center;margin-bottom:90px;grid-template-columns:1.3fr .7fr}.contact-studio>img{width:100%;height:450px;max-width:280px;justify-self:end;border-radius:130px 130px 20px 20px;object-fit:cover}.contact-whatsapp{display:grid;gap:12px;text-decoration:none;border-bottom:1px solid #ffffff30;padding-bottom:30px;margin-bottom:28px}.contact-whatsapp span{font:11px Arial;letter-spacing:2px;color:#8ec9f1}.contact-whatsapp strong{font-size:clamp(20px,2.5vw,32px);color:#ffca8a;font-weight:400}.contact-whatsapp small{font-size:13px}.contact-studio h2{font-size:25px;margin-bottom:20px}.contact-big{font-size:19px}.contact-mail{font-size:14px}.renewed-footer{background:#141f2a!important;padding:50px max(24px,calc((100vw - 1220px)/2)) 25px!important;border-top:1px solid #63839c}.footer-invitation{display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid #ffffff25;padding-bottom:35px;margin-bottom:35px}.footer-invitation p{letter-spacing:3px;font-size:10px}.footer-invitation h2{font:clamp(38px,5vw,68px)/1.1 Georgia!important;color:#f2e8dc!important;margin:12px 0 0!important;letter-spacing:-2px!important}.footer-invitation>a{display:flex;gap:30px;align-items:center;text-decoration:none;color:#ffca8a;font-size:15px}.footer-invitation>a span{font-size:32px}.renewed-footer>.container{padding:0;max-width:none}.renewed-footer .doctor-footer-top{grid-template-columns:90px 1fr 80px;gap:35px}.renewed-footer .doctor-footer-logo{width:78px}.renewed-footer .doctor-footer-top h2{font-size:14px}.renewed-footer .doctor-social a{padding:7px;background:transparent}.renewed-footer .doctor-social svg{width:18px;height:18px}.renewed-footer .cert-title{text-align:left;font-size:11px;margin:25px 0 15px;letter-spacing:1px}.renewed-footer .cert-logos{display:flex;gap:35px;justify-content:flex-start}.renewed-footer .cert-logos img{width:65px;height:46px}.renewed-footer .ramon-logo{width:200px;margin:20px 0}.renewed-footer .developer-credit{text-align:right;border-top:1px solid #ffffff20;padding-top:20px}.renewed-footer .developer-credit>img{margin:8px 0 8px auto;width:105px}.whatsapp-float{position:fixed;bottom:22px;right:24px;display:flex;align-items:center;gap:9px;z-index:90;padding:12px 17px;border:1px solid #ffffff65;border-radius:40px;background:#194d42;color:white;text-decoration:none;box-shadow:0 7px 30px #0005;font:13px Arial;transition:transform .25s}.whatsapp-float:hover{transform:translateY(-4px);background:#216551}.whatsapp-float svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7}.reveal{opacity:0;transform:translateY(35px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.65,.25,1)}.reveal.visible{opacity:1;transform:translateY(0)}[hidden]{display:none!important}body[data-page]{background:#1e232b;color:#f3f1eb}body[data-page] .page-title{background:radial-gradient(ellipse at top right,#405365,#1e232b);border-bottom:1px solid #ffffff30}body[data-page] .page-title h1{font-family:Georgia,serif;letter-spacing:-2px}body[data-page] .panel,body[data-page] .summary-panel,body[data-page] .sidebar,body[data-page] .notice,body[data-page] .anatomy,body[data-page] .zone-visual{background:#283644;color:#f4f1eb;border:1px solid #607182;border-radius:22px}body[data-page] .small,body[data-page] .lead{color:#c2d1df}body[data-page] .summary-panel{background:linear-gradient(140deg,#40576a,#253240);border-top:2px solid #ffb766}body[data-page] input,body[data-page] select{border-radius:11px}body[data-page] .button{border-radius:30px}body[data-page] main{overflow:visible}body[data-page] .demo{display:none}@keyframes answer-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(max-width:1000px){.discovery{gap:45px}.about-story{gap:35px}.cinematic h1{font-size:65px}.cinematic .hero-copy>p{max-width:360px}.services-layout{gap:30px;grid-template-columns:250px 1fr}.treatment-info{grid-template-columns:250px 1fr;gap:25px}.scroll-films figure{gap:25px}.renewed-footer .doctor-footer-top{grid-template-columns:70px 1fr 70px}}
@media(max-width:650px){html{scroll-padding-top:100px}.cinematic{min-height:760px;padding:260px 0 55px;display:block}.hero-art{object-position:65% center}.cinematic:after{background:linear-gradient(0deg,#14202bf5 5%,#15212ba6 48%,transparent)}.cinematic h1{font-size:53px;letter-spacing:-2px}.cinematic .hero-copy>p:not(.eyebrow){font-size:13px;max-width:300px}.cinematic .hero-actions{gap:15px}.entry-strip{padding:12px 22px;grid-template-columns:1fr}.entry-strip a{padding:16px 0;border-bottom:1px solid #ffffff20}.entry-strip h2{font-size:22px;margin-top:7px}.about-story{grid-template-columns:1fr}.about-story .doctor-portrait{height:400px;grid-row:auto;max-width:320px;justify-self:center}.about-story h2{font-size:42px}.discovery{grid-template-columns:1fr;padding-top:65px;padding-bottom:65px;gap:30px}.discovery-heading{position:static}.discovery-card{min-height:310px;padding:30px}.facility-feature.wrap{grid-template-columns:1fr;gap:25px;min-height:0}.facility-feature>img{grid-column:1;grid-row:2;height:330px;width:70%;max-width:230px;justify-self:end}.facility-feature>.wrap{grid-column:1;grid-row:1}.facility-feature h2{font-size:39px}.services-layout,.treatment-info{display:block}.service-index{position:sticky;top:78px;z-index:20;max-height:none;margin-bottom:25px;padding:15px;border-radius:15px}.service-index .eyebrow,.search-label{display:none}.zone-links{display:flex;overflow-x:auto;gap:5px;max-height:45px}.zone-links a{flex-shrink:0;font-size:12px;white-space:nowrap}.service-index #search-count{margin:4px 0;font-size:10px}.service-group h2{font-size:30px}.faq summary{font-size:16px;padding:20px 42px 20px 18px}.review-grid{grid-template-columns:1fr}.review:nth-child(even){transform:none}.review{padding:28px}.scroll-films{gap:60px}.scroll-films figure{padding:16px;gap:16px;grid-template-columns:1fr;top:95px;max-width:360px}.scroll-films video{height:49vh;width:auto;max-width:100%;margin:auto}.scroll-films figcaption{font-size:23px;flex-direction:row;align-items:center}.gallery{grid-template-columns:repeat(2,1fr)}.contact-studio{display:flex;flex-direction:column;padding:25px;margin:0 22px 50px}.contact-studio>img{height:300px;width:190px;align-self:flex-end}.contact-studio>div{width:100%}.footer-invitation{align-items:flex-start;flex-direction:column;gap:20px}.renewed-footer .doctor-footer-top{grid-template-columns:55px 1fr;text-align:left;gap:18px}.renewed-footer .doctor-footer-logo{width:55px}.renewed-footer .doctor-social{grid-column:2;justify-self:start}.renewed-footer .cert-logos{gap:18px;justify-content:space-between}.renewed-footer .cert-logos img{width:52px;height:42px}.renewed-footer{padding-bottom:85px!important}.whatsapp-float{right:15px;bottom:15px;padding:11px}.whatsapp-float span{display:none}.extra-grid{grid-template-columns:1fr}.faq-layout aside{position:static}}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}.hero-art{transform:none!important}.scroll-films figure,.discovery-card{position:relative;top:auto}html{scroll-behavior:auto}}
body[data-page] .calc-panel,body[data-page] .clinical-note{background:#293746;color:#f4f1eb;border:1px solid #637588;border-radius:20px}body[data-page] .calc-panel h2,body[data-page] .calc-panel label{color:#f4f1eb}body[data-page] .calc-panel .small{color:#cbd9e5}body[data-page] .calc-panel a{color:#9ed4f5}body[data-page] .calc-panel fieldset{color:#f4f1eb}body[data-page] .calc-panel legend{color:#efc899}body[data-page] .clinical-note{border-left:3px solid #ffb766}body[data-page] .calc-panel input,body[data-page] .calc-panel select{background:#172634;color:#f7f5ef;border:1px solid #7790a5}body[data-page] .calc-panel input::placeholder{color:#acbbc8}
body[data-page] main h1,body[data-page] main h2,body[data-page] main h3,body[data-page] main summary,body[data-page] main legend{color:#f4f1eb}body[data-page] .facts,body[data-page] .compare-table,body[data-page] .reference,body[data-page] .callout{background:#293746;color:#f4f1eb;border-radius:15px}body[data-page] .facts strong,body[data-page] .timeline p,body[data-page] .sidebar p{color:#c9d7e3}body[data-page] .catalog-list .active{background:#ffb766;color:#1e232b}body[data-page] .catalog-list button{color:#f4f1eb}body[data-page] .catalog-list button.active{color:#1e232b}body[data-page] .disclosure{color:#d3dfea}body[data-page] .compare-table th,body[data-page] .compare-table td{background:#293746;color:#edf1f5}body[data-page] .kicker{color:#ffbc77}
.review-toggle{background:transparent;border:0;border-bottom:1px solid #8ec9f1;color:#b9dff6;font:13px Arial;padding:6px 0;margin:0 0 20px;cursor:pointer}.review.collapsed blockquote{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.service-group details[id]{scroll-margin-top:140px}
@media print{.whatsapp-float,.site-header,.footer-invitation{display:none!important}.reveal{opacity:1;transform:none}}

/* Sobre mí: ajuste localizado de densidad solicitado por Marck. */
.about-compact .page-intro{padding-top:32px;padding-bottom:30px}.about-compact .page-intro h1{font-size:clamp(36px,4vw,52px)}.about-compact .page-intro .eyebrow{margin-bottom:12px}.about-compact .page-intro .lead{font-size:16px;margin-top:14px}.about-compact .page-intro:before{bottom:12px}.about-compact .about-layout{grid-template-columns:280px 1fr;gap:55px;padding-top:15px;padding-bottom:45px;max-width:1100px}.about-compact .about-layout figure{border-radius:100px 100px 18px 18px}.about-compact .about-layout img{height:350px;width:100%;object-fit:contain;object-position:bottom}.about-compact .about-layout h2{font-size:34px;margin-bottom:18px}.about-compact .about-layout .eyebrow{margin-bottom:12px}.about-compact .about-layout p{font-size:15px;line-height:1.65;margin-bottom:16px}.about-compact .about-layout .large-copy{font-size:18px}.about-compact .contact-band{padding-top:30px;padding-bottom:30px}.about-compact .contact-band h2{font-size:32px}
@media(max-width:650px){.about-compact .about-layout{grid-template-columns:1fr;gap:25px}.about-compact .about-layout figure{max-width:225px;width:100%;justify-self:center}.about-compact .about-layout img{height:280px}.about-compact .about-layout h2{font-size:29px}.about-compact .page-intro{padding-top:28px}.about-compact .page-intro h1{font-size:38px}}

/* Galería publicada: mismo recorrido vertical que los videos aprobados. */
.scroll-gallery{display:flex;flex-direction:column;align-items:center;gap:90px;padding:10px 0 70px;margin-bottom:50px;isolation:isolate}
.scroll-gallery .gallery-item{position:sticky;top:115px;flex-shrink:0;width:min(850px,100%);height:auto;aspect-ratio:auto;padding:24px 24px 58px;border:1px solid #ffffff30;border-radius:30px;background:linear-gradient(120deg,#3c4b58f5,#202a34);box-shadow:0 25px 60px #0005;overflow:hidden;text-align:center}
.scroll-gallery .gallery-item img{width:100%;height:min(60vh,620px);object-fit:contain;border-radius:15px;transform:none}
.scroll-gallery .gallery-item:hover img{transform:none}
.scroll-gallery .gallery-item>span{background:none;padding:15px 25px;font-size:13px;color:#f5e1c6;align-items:center}
.scroll-gallery .gallery-item>span b{font-size:22px}
.scroll-gallery .gallery-item:focus-visible{outline:3px solid #8ec9f1;outline-offset:5px}
@media(max-width:650px){.scroll-gallery{gap:60px;padding-bottom:45px}.scroll-gallery .gallery-item{top:95px;padding:14px 14px 50px;border-radius:24px}.scroll-gallery .gallery-item img{height:52vh;border-radius:12px}.scroll-gallery .gallery-item>span{padding:12px 18px}}
@media(prefers-reduced-motion:reduce){.scroll-gallery .gallery-item{position:relative;top:auto}.scroll-gallery{gap:30px}.reveal{opacity:1;transform:none}}
@media print{.scroll-gallery .gallery-item{position:relative;top:auto;box-shadow:none;break-inside:avoid}}

/* Identidad tipográfica y acciones: revisión solicitada. */
body,body[data-page]{font-family:Arial,Helvetica,sans-serif}.site-header .wordmark span{font-family:Georgia,serif;font-size:23px;font-weight:400;letter-spacing:-.5px}.site-header .wordmark small{font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.5;letter-spacing:.1px;white-space:normal;max-width:280px}.site-header nav>a,.site-header summary{font-family:Georgia,serif;font-size:16px}.site-header .nav-contact{display:inline-flex;align-items:center;gap:9px}.site-header nav{gap:20px}.action-icon{display:inline-block;width:21px;height:21px;flex:0 0 21px;vertical-align:middle;transition:transform .3s ease,opacity .3s}.pill,.text-link,.button{font-family:Arial,Helvetica,sans-serif}.pill{gap:18px;padding:15px 23px;border-radius:16px}.pill .action-icon{padding:0;order:-1}.text-link{display:inline-flex;align-items:center;gap:10px}.text-link .action-icon{order:-1}.hero-actions>.text-link{padding:15px 23px;border:1px solid #c0d4e080;border-radius:16px;background:#13253288;text-decoration:none;color:#f2f3f5}.pill:hover .action-icon,.text-link:hover .action-icon,.nav-contact:hover .action-icon{transform:scale(1.14)}.hero-actions>a:hover{box-shadow:0 8px 28px #0003}.entry-strip .action-icon{float:right}.editorial-links .action-icon,.extra-grid .action-icon{margin-left:auto}.contact-whatsapp>.action-icon{display:none}.whatsapp-float{background:#25d366;color:#083b20;border:1px solid #66e391;font-weight:600}.whatsapp-float svg{fill:white;stroke:none;width:27px;height:27px}.whatsapp-float:hover{background:#20c760}.values-original{padding-top:25px;padding-bottom:55px}.values-original>article{padding:32px;border:1px solid #617485;border-radius:22px;background:#2b3947;margin-bottom:22px}.values-original h2{font-size:33px;letter-spacing:-.7px;color:#efc899;margin-bottom:20px}.values-original p{font-size:16px;line-height:1.8;color:#e4eaf0}.values-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px}.values-pair article{padding:30px;border:1px solid #536777;border-radius:22px}.about-compact .about-layout{align-items:start}.about-compact .about-layout p{font-size:15px;line-height:1.7}.hero-line{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}.hero-line>span{display:block;animation:hero-type-in 1.2s cubic-bezier(.16,1,.3,1) both}.cinematic em .hero-line:first-child>span{animation-delay:.18s}.cinematic em .hero-line:nth-child(2)>span{animation-delay:.36s}.cinematic .hero-copy>.eyebrow{animation:hero-fade-in .9s ease both}.cinematic .hero-actions{animation:hero-fade-in 1s .65s both}.cinematic .hero-copy>p:not(.eyebrow){animation:hero-fade-in 1s .45s both}.cinematic .hero-art{animation:hero-image-in 1.8s ease-out both}.cinematic h1{overflow:visible}.hero-line span{will-change:transform,opacity}
@keyframes hero-type-in{from{transform:translateY(110%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes hero-fade-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes hero-image-in{from{opacity:0;filter:brightness(.7)}to{opacity:1;filter:brightness(1)}}
@media(max-width:1250px){.site-header nav{gap:14px}.site-header nav>a,.site-header summary{font-size:15px}.site-header .wordmark span{font-size:21px}.site-header .wordmark small{font-size:10px;max-width:240px}}
@media(max-width:650px){.site-header .wordmark span{font-size:19px}.site-header .wordmark small{font-size:10px;max-width:210px;line-height:1.4}.site-header{gap:10px;padding-left:18px;padding-right:18px}.site-header .wordmark{gap:8px}.site-header nav>a,.site-header summary{font-size:17px}.values-pair{grid-template-columns:1fr}.values-original>article,.values-pair article{padding:23px}.values-original p{font-size:15px}.values-original h2{font-size:29px}.hero-actions>.text-link,.hero-actions>.pill{padding:13px 16px;font-size:12px}.action-icon{width:19px;height:19px;flex-basis:19px}}
@media(prefers-reduced-motion:reduce){.hero-line>span,.cinematic .hero-copy>.eyebrow,.cinematic .hero-actions,.cinematic .hero-copy>p:not(.eyebrow),.cinematic .hero-art{animation:none;opacity:1;transform:none;filter:none}}

@media(max-width:650px){.site-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;padding:14px 18px!important;gap:10px}.site-header .wordmark{min-width:0;white-space:normal}.site-header .wordmark img{width:40px;height:40px;flex-shrink:0}.site-header .wordmark span{font-size:18px}.site-header .wordmark small{font-size:10px;max-width:180px}.site-header .menu-toggle{font-size:12px;padding:8px}.site-header #site-nav{grid-column:1/-1}.site-header.compact{padding-top:10px!important;padding-bottom:10px!important}}

/* Botones coherentes: fondo alterno y escala 1.03, sin efectos de brillo. */
.site-header details a{font-family:Georgia,serif;font-size:16px;line-height:1.4;border-radius:10px;transition:background-color .22s,color .22s,transform .22s}
.site-header details>div{border-radius:0 0 15px 15px}
.cta-button,.hero-actions>.cta-button,body[data-page] .cta-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:13px 21px;background:#ffb766;color:#182633;border:1px solid #ffb766;border-radius:16px;text-decoration:none;font:14px/1.4 Arial,Helvetica,sans-serif;box-shadow:none;transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;transform-origin:center;max-width:100%;white-space:normal}
.cta-button .action-icon,.text-link.cta-button .action-icon,.pill.cta-button .action-icon{width:22px;height:22px;flex:0 0 22px;margin:0;order:0;transform:none;transition:none}
.site-header .nav-contact.cta-button{font-family:Georgia,serif;font-size:16px;padding:10px 16px;min-height:43px;gap:9px}
.editorial-links{display:grid;gap:14px}.editorial-links .information-button{display:flex;justify-content:flex-start;width:100%;padding:21px 24px;border:1px solid #667f91;background:#2c3d4c;color:#f4f1eb;font-size:18px;border-radius:16px;gap:18px}
.editorial-links .information-button .action-icon{width:24px;height:24px;flex-basis:24px;margin:0;color:#ffc987}
.service-detail .cta-button,.treatment-list .cta-button{margin-top:8px}.discovery-heading .cta-button{margin-top:10px}
button:not(:disabled),.button,.entry-strip>a,.discovery-card,.extra-grid>a,.zone-links>a,.whatsapp-float,.review-toggle,.site-header nav>a,.site-header nav>details>summary{transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;transform-origin:center}
.site-header nav>a:not(.cta-button),.site-header nav>details>summary{padding:8px 10px;border-radius:9px}
@media(hover:hover){
.cta-button:hover,.hero-actions>.cta-button:hover,body[data-page] .cta-button:hover,.editorial-links .information-button:hover,.site-header .nav-contact.cta-button:hover{background:#8ec9f1;color:#152635;border-color:#8ec9f1;transform:scale(1.03);box-shadow:none}
.cta-button:hover .action-icon,.pill.cta-button:hover .action-icon,.text-link.cta-button:hover .action-icon,.nav-contact.cta-button:hover .action-icon{transform:none;color:inherit}
button:not(:disabled):hover,.button:hover,.entry-strip>a:hover,.extra-grid>a:hover,.zone-links>a:hover,.review-toggle:hover,.site-header nav>a:not(.cta-button):hover,.site-header nav>details>summary:hover,.site-header details a:hover{background:#8ec9f1;color:#152635;border-color:#8ec9f1;transform:scale(1.03);box-shadow:none}
.whatsapp-float:hover{background:#8ec9f1;color:#152635;border-color:#8ec9f1;transform:scale(1.03);box-shadow:none}.whatsapp-float:hover svg{fill:#152635}
.discovery-card:hover{background:#8ec9f1;color:#152635;transform:scale(1.03)}.discovery-card:hover:before{transform:none}.gallery-item:hover>span{color:#152635}.scroll-gallery .gallery-item:hover{background:#8ec9f1;transform:scale(1.03)}
}
.cta-button:focus-visible,.information-button:focus-visible{outline:3px solid #8ec9f1;outline-offset:4px}
@media(max-width:650px){.cta-button,.hero-actions>.cta-button{font-size:13px;padding:12px 16px;gap:10px}.site-header details a{font-size:17px}.editorial-links .information-button{padding:18px;font-size:16px}.site-header nav>a:not(.cta-button),.site-header nav>details>summary{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){.cta-button:hover,.hero-actions>.cta-button:hover,body[data-page] .cta-button:hover,.editorial-links .information-button:hover,.site-header .nav-contact.cta-button:hover,button:not(:disabled):hover,.button:hover,.entry-strip>a:hover,.extra-grid>a:hover,.zone-links>a:hover,.review-toggle:hover,.site-header nav>a:not(.cta-button):hover,.site-header nav>details>summary:hover,.site-header details a:hover,.whatsapp-float:hover,.discovery-card:hover,.scroll-gallery .gallery-item:hover{transform:none}}

/* Iconos antes del texto, incluido el nodo de texto anónimo de flex. */
.cta-button .action-icon,.text-link.cta-button .action-icon,.pill.cta-button .action-icon,.site-header .nav-contact .action-icon,.editorial-links .information-button .action-icon{order:-1!important;margin:0 2px 0 0!important;flex-shrink:0}
.action-icon[data-icon]{shape-rendering:geometricPrecision;pointer-events:none}
.extra-grid a{justify-content:flex-start;align-items:center;gap:14px}
.extra-grid .action-icon[data-icon]{order:-1;margin:0;flex-shrink:0}
.contact-mail{display:inline-flex;align-items:center;gap:10px;max-width:100%;overflow-wrap:anywhere}
.contact-mail .action-icon[data-icon]{order:-1;flex-shrink:0}
.renewed-footer{padding-top:28px!important;padding-bottom:30px!important}.renewed-footer .doctor-footer-top{grid-template-columns:78px minmax(0,1fr);gap:12px 28px;align-items:start}.renewed-footer .doctor-footer-logo{grid-row:1/3}.renewed-footer .doctor-social{grid-column:2;justify-self:start;align-self:start;justify-content:flex-start;gap:12px}.renewed-footer .doctor-footer-top h2{margin-bottom:10px}.renewed-footer .cert-title{margin-top:22px}.renewed-footer .developer-credit{display:flex;align-items:center;justify-content:flex-start;gap:12px 20px;text-align:left;flex-wrap:wrap;padding-top:18px;padding-right:170px;margin-top:20px}.renewed-footer .developer-credit>img{margin:0;width:105px}.renewed-footer .developer-credit p{margin:0}.renewed-footer .developer-credit>div{font-size:11px}.renewed-footer .ramon-logo{margin:18px 0 0}.renewed-footer .doctor-footer-top p{margin-bottom:6px}
@media(max-width:650px){.renewed-footer{padding-bottom:90px!important}.renewed-footer .doctor-footer-top{grid-template-columns:55px minmax(0,1fr);gap:12px 18px}.renewed-footer .developer-credit{padding-right:35px;gap:12px}.renewed-footer .doctor-social{grid-column:2}}

/* Primera prueba de portada en video con material real del consultorio. */
.cinematic-video{background:#18232d}.hero-video{position:absolute;top:0;right:0;width:68%;height:100%;object-fit:cover;object-position:center;z-index:-2;filter:brightness(.78) saturate(.7);mask-image:linear-gradient(to right,transparent,#000 32%);-webkit-mask-image:linear-gradient(to right,transparent,#000 32%)}.cinematic-video:after{background:linear-gradient(90deg,#15222c 0%,#17242edb 30%,#17242e65 55%,#15222c25 100%)}.hero-video-toggle{position:absolute;bottom:22px;right:26px;z-index:4;border:1px solid #c1cdd07a;background:#172632cf;color:#fff;font:12px Arial;padding:9px 15px;border-radius:20px;cursor:pointer}.hero-video-toggle:focus-visible{outline:2px solid #8ec9f1;outline-offset:4px}
@media(max-width:650px){.hero-video{width:100%;mask-image:none;-webkit-mask-image:none;object-position:center;filter:brightness(.6) saturate(.7)}.cinematic-video:after{background:linear-gradient(0deg,#14202bf5 5%,#15212bb3 55%,#15212b30)}.hero-video-toggle{right:auto;left:22px;bottom:12px;font-size:11px;padding:7px 12px}.cinematic-video{padding-bottom:75px}}

/* Tres recorridos reales alternan bajo el difuminado aprobado. */
.cinematic-video>.hero-video{opacity:0;transition:opacity 1.4s ease;pointer-events:none}.cinematic-video>.hero-video.current{opacity:1}
@media(prefers-reduced-motion:reduce){.cinematic-video>.hero-video{transition:none}}

/* Contraste de Contacto, galería compacta y equilibrio de footer en escritorio. */
.site-header nav>a.nav-contact.cta-button,.site-header nav>a.nav-contact.cta-button .action-icon{color:#182633!important}
.scroll-gallery .gallery-item{width:min(680px,100%);padding:18px 18px 48px}.scroll-gallery .gallery-item img{height:min(50vh,480px)}
.gallery-index{display:flex;flex-wrap:wrap;gap:9px;margin:0 auto 30px;max-width:850px;scroll-margin-top:110px}.gallery-index a{display:grid;place-items:center;width:43px;height:40px;background:#2c3d4c;color:#f4f1eb;border:1px solid #627b8f;border-radius:10px;text-decoration:none;font:14px Arial;transition:background-color .25s,transform .25s}.gallery-index a:hover,.gallery-index a:focus-visible{background:#8ec9f1;color:#182633;transform:scale(1.03)}.scroll-gallery .gallery-item[id]{scroll-margin-top:135px}
@media(min-width:851px){.renewed-footer>.container{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0 65px;align-items:start}.renewed-footer .doctor-footer-top{grid-column:1;grid-row:1/4;margin:0}.renewed-footer .cert-title{grid-column:2;grid-row:1;margin:0 0 15px}.renewed-footer .cert-logos{grid-column:2;grid-row:2;justify-content:space-between;gap:22px}.renewed-footer .ramon-logo{grid-column:2;grid-row:3;margin:18px auto 0;width:200px}.renewed-footer .developer-credit{grid-column:1/-1;grid-row:4;margin-top:25px}.renewed-footer .doctor-footer-top p{max-width:420px}}
@media(max-width:650px){.scroll-gallery .gallery-item{width:100%;padding:14px 14px 44px}.scroll-gallery .gallery-item img{height:43vh}.gallery-index{gap:7px;margin-bottom:24px}.gallery-index a{width:38px;height:38px}.scroll-gallery .gallery-item[id]{scroll-margin-top:110px}}
@media(prefers-reduced-motion:reduce){.gallery-index a:hover{transform:none}}

/* Crédito enlazado y tipografía del footer coherente con la identidad del sitio. */
.renewed-footer{font-family:Georgia,'Times New Roman',serif}
.renewed-footer .doctor-footer-top h2,.renewed-footer .cert-title{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:0;font-size:18px;line-height:1.3}
.renewed-footer p,.renewed-footer a{font-family:Georgia,'Times New Roman',serif}
.renewed-footer .doctor-footer-top p{font-size:14px;line-height:1.6}
.renewed-footer .developer-credit p{font-size:13px}
.renewed-footer .developer-logo-link{display:inline-flex;align-items:center;flex:0 0 auto;border-radius:5px;transition:transform .25s ease,background-color .25s ease}
.renewed-footer .developer-logo-link img{display:block;width:105px;height:auto;margin:0}
.renewed-footer .developer-logo-link:hover{transform:scale(1.03);background-color:#ffffff0c}
.renewed-footer .developer-logo-link:focus-visible{outline:2px solid #8ec9f1;outline-offset:6px}
@media(prefers-reduced-motion:reduce){.renewed-footer .developer-logo-link{transition:none}.renewed-footer .developer-logo-link:hover{transform:none}}

/* WhatsApp conserva su identidad; crédito centrado como una sola unidad. */
a.whatsapp-float,a.whatsapp-float:hover,a.whatsapp-float:focus-visible,a.whatsapp-float:active{color:#fff!important;background:#25d366!important}
a.whatsapp-float span{color:#fff!important}
.renewed-footer .developer-credit{justify-content:center;text-align:center;padding-right:0;padding-left:0;gap:12px 18px}
@media(max-width:650px){.renewed-footer .developer-credit{justify-content:center;padding-right:0;padding-left:0}}

a.whatsapp-float svg,a.whatsapp-float:hover svg,a.whatsapp-float:focus-visible svg,a.whatsapp-float svg path{color:#fff!important;fill:#fff!important;stroke:none!important}

/* Acceso directo al explorador y resumen PDF. */
@media(min-width:1101px){.site-header nav{gap:15px}.site-header nav>a,.site-header summary{font-size:15px}.site-header{gap:16px;padding-left:24px;padding-right:24px}}
#explorador{scroll-margin-top:110px}#download{display:inline-flex;gap:12px;align-items:center}#pdf-status{margin-top:14px}#back-procedure{display:inline-block;padding:8px 0;color:#8ec9f1}

/* QA: el menú expandido sigue accesible en pantallas de poca altura. */
@media(max-width:1100px){.site-header #site-nav.open{max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain;padding:4px 5px 12px;margin:0 -5px;scroll-padding-block:12px}}

/* QA: textos heredados de la versión clara sobre las herramientas oscuras. */
body[data-page] .section-head p,body[data-page] .path p,body[data-page] .zone-link small{color:#c2d1df}
body[data-page] .path strong,body[data-page] .review-row .code,body[data-page] .anatomy-label{color:#ffb766}
body[data-page] .error{color:#ffb4b4}
