/* Periáñez · Dirección editorial propia · v7 */
:root{--wrap:1200px;--blue:#204f66;--ink:#203749;--soft:#f3f6f7;--line:#dbe4e8}
body{font-size:16px;line-height:1.65}h1,h2,h3{font-weight:400;letter-spacing:-.045em}h2{font-size:clamp(32px,3.2vw,46px);line-height:1.12}p{max-width:70ch}
.section{padding-top:84px;padding-bottom:84px}.eyebrow{display:flex;align-items:center;gap:13px;font-size:10px;letter-spacing:.19em}.eyebrow:before{content:'';width:24px;height:1px;background:currentColor;flex:none}
.btn{border-radius:3px;min-height:48px;font-size:13px;gap:25px}.btn .icon,.text-link .icon{transition:transform .2s}.btn:hover .icon,.text-link:hover .icon{transform:translateX(4px)}
.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1440px;height:84px;gap:22px;padding:0 32px}.header-inner nav{gap:19px}.header-inner nav a{font-size:11px;min-height:44px;display:flex;align-items:center}.header-inner>.btn{min-height:44px;padding:10px 20px}.search{display:none}
.brand-native{display:flex;align-items:center;gap:10px;color:var(--ink);width:232px}.brand-native>svg{width:39px;height:32px;color:#65879a;flex:none}.brand-native strong{display:block;font-size:13px;font-weight:500;letter-spacing:.13em;line-height:1.5;white-space:nowrap}.brand-native small{display:block;font-size:8px;letter-spacing:.17em;line-height:1.5;color:var(--muted)}
.hero-bespoke{background:linear-gradient(120deg,#fff 48%,#f0f4f6 100%);overflow:hidden}.hero-bespoke .hero-grid{grid-template-columns:.94fr 1.06fr;gap:44px;min-height:610px;padding-top:30px;padding-bottom:30px}.hero-bespoke .hero-copy{padding:30px 0}.hero-bespoke .eyebrow{margin-bottom:15px}.hero-location{font-size:12px;color:var(--muted);margin-bottom:24px;letter-spacing:.025em}.hero-bespoke h1{font-size:clamp(52px,4.5vw,70px);line-height:1.03;margin-bottom:28px;letter-spacing:-.055em}.hero-bespoke .lead{font-size:16px;line-height:1.6;max-width:450px;margin-bottom:30px}.hero-bespoke .actions{align-items:center;gap:24px}.hero-secondary{font-size:12px;display:inline-flex;gap:10px;align-items:center;min-height:44px;color:var(--blue);border-bottom:1px solid #92a9b6}.hero-secondary .icon{width:15px;height:15px}.hero-principle{border-top:1px solid var(--line);padding-top:19px;margin:32px 0 0;font-size:12px;color:var(--muted);max-width:440px}
.hero-visual{position:relative;margin:0;padding:0 0 18px;min-width:0;isolation:isolate}.hero-image-frame{position:relative;aspect-ratio:1.7;overflow:hidden;border-radius:3px 3px 70px 3px;background:#153d51}.hero-image-frame picture{display:contents}.hero-image-frame img{width:100%;height:100%;object-fit:cover;object-position:28% center}.hero-image-frame:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0a2d467a,transparent 35%);pointer-events:none}.hero-discovery{position:absolute;left:25px;bottom:26px;z-index:2;display:inline-flex;align-items:center;gap:24px;color:#fff;font-size:12px;min-height:44px;border-bottom:1px solid #ffffff70}.hero-discovery .icon{width:18px;height:18px}.hero-visual figcaption{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:20px;color:var(--muted);font-size:11px;letter-spacing:.02em}.hero-frame-line{position:absolute;top:22px;left:-17px;bottom:70px;right:22px;border:1px solid #93aebf;border-radius:2px 2px 85px 2px;z-index:-1;pointer-events:none}.hero-bottom{display:flex;gap:28px;align-items:center;border-top:1px solid var(--line);padding-top:21px;padding-bottom:24px}.hero-bottom-label{font-size:9px;letter-spacing:.17em;color:var(--muted)}.hero-bottom>div{display:flex;gap:26px}.hero-bottom>div a{font-size:12px;min-height:30px;display:flex;align-items:center}.hero-scroll{margin-left:auto;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--blue)}
.expertise-strip{padding:29px 0;background:#fff;border-bottom:1px solid var(--line)}.expertise-strip .stat{gap:15px;border-right:1px solid var(--line);padding-right:14px;align-items:center}.expertise-strip .stat:last-child{border:0}.expertise-strip .stat>.icon{width:30px;height:30px}.expertise-strip .stat strong,.expertise-strip .stat:last-child strong{font-size:18px;line-height:1.3;margin-bottom:7px;padding:0;white-space:normal}.expertise-strip .stat span{font-size:9px;line-height:1.6;letter-spacing:.04em}
.bespoke-pathways{grid-template-columns:repeat(2,1fr);gap:0 48px;border-top:1px solid var(--line);counter-reset:path}.bespoke-pathways .path-card{display:flex;align-items:center;gap:22px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;padding:24px 0;transition:color .2s,transform .3s}.bespoke-pathways .path-card:hover{transform:translateX(4px);color:var(--blue)}.bespoke-pathways .path-number{display:block;min-height:0;padding:0;font-size:11px;color:#526d7f;flex:none;letter-spacing:.1em}.bespoke-pathways .path-card>span:last-child{padding:0;font-size:20px;min-height:0;flex:1;align-items:center;line-height:1.25}.bespoke-pathways .icon{width:21px;height:21px;margin-left:auto;flex:none}.unknown-route{border-radius:0;background:var(--soft);border:0;padding:22px 25px;margin-top:24px}
.technique-grid{max-width:1440px;grid-template-columns:1.05fr .95fr;padding:0 32px;gap:50px}.operative{min-height:400px;border-radius:3px 3px 58px 3px}.operative picture{display:contents}.operative img{width:100%;height:100%;object-fit:cover;object-position:28% center}.operative figcaption{font-size:25px;left:28px;bottom:28px}.technique-copy{padding:35px 0;align-self:center}.technique-copy h2{font-size:clamp(32px,3vw,43px)}.technique-copy p:not(.eyebrow){font-size:16px;line-height:1.65;max-width:430px}.benefits{padding-top:36px;padding-bottom:70px;gap:30px}.round-icon{width:48px;height:48px;border-color:#98b0bd}.benefits strong{font-size:13px}.benefits small{font-size:12px}
.quiet-card,.option-card,.decision-card,.support-card{box-shadow:none;border-radius:3px}.quiet-card{background:transparent;border-top:1px solid #b8cbd5;padding:28px 0}.quiet-card h3{font-size:25px}.three-grid{gap:45px}.quiet-card>.icon{margin-bottom:20px}.candidacy{background:var(--soft)}.criterion-inner{padding-top:70px;padding-bottom:70px}.criterion-inner h2{font-size:clamp(32px,3.2vw,45px)}.opinion-block{padding:84px 0}.opinion-reasons{border-radius:3px;background:#f2f6f8;padding:25px 34px}.doctor{max-width:1440px;grid-template-columns:29% 45% 26%;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f3f6f7}.doctor-photo{min-height:390px}.doctor-photo picture{display:contents}.doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.doctor-copy{padding:58px 44px}.doctor-copy h2{font-size:35px}.doctor-copy p:not(.eyebrow){font-size:15px}.credentials{padding:52px 27px;background:transparent;border-left:1px solid var(--line)}.credentials li{font-size:12px;margin-bottom:20px}.case-card{border-radius:3px;box-shadow:none;border-color:var(--line)}.faq-section{background:#f5f7f8}.faq-grid h2{font-size:40px}.faq-list summary{font-size:17px}.contact{padding:82px 0;background:linear-gradient(115deg,#173e53,#204f66 65%,#2d6179)}.contact h2{font-size:clamp(38px,4vw,56px)}.contact .eyebrow{color:#d7e4eb}
.interior-hero,.opinion-hero{background:linear-gradient(115deg,#fff,#f0f5f7)}.interior-hero-grid,.opinion-hero-grid{padding-top:55px;padding-bottom:58px}.interior-hero h1,.opinion-hero h1{font-size:clamp(40px,4vw,58px);line-height:1.08}.interior-hero .lead,.opinion-hero .lead{font-size:18px;line-height:1.6}.interior-hero .actions{margin-top:28px}.interior-hero .page-photo,.opinion-portrait{border-radius:3px 3px 50px 3px}.interior-hero .page-photo picture,.opinion-portrait picture{display:contents}.interior-hero .page-photo img,.opinion-portrait img{width:100%;height:100%;object-fit:cover}.page-jumps{display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);padding-top:21px;padding-bottom:21px}.page-jumps>span{font-size:10px;letter-spacing:.12em;color:var(--muted);flex:none}.page-jumps>div{display:flex;gap:12px 26px;flex-wrap:wrap}.page-jumps a{font-size:12px;min-height:32px;display:inline-flex;align-items:center;color:var(--blue);text-decoration:underline;text-underline-offset:4px}.content-byline{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;padding-bottom:20px}.content-byline a{text-decoration:underline;text-underline-offset:4px}
@media(min-width:901px) and (prefers-reduced-motion:no-preference){.motion-ready .bespoke-pathways{transition:transform .5s ease;transform:translateY(8px)}.motion-ready .bespoke-pathways.is-visible{transform:translateY(0)}}
@media(max-width:1200px){.header-inner{padding:0 24px;gap:14px}.brand-native{width:206px}.brand-native strong{font-size:12px}.header-inner nav{gap:12px}.header-inner nav a{font-size:10px}.hero-bespoke .hero-grid{gap:32px}.hero-bespoke .actions{gap:16px}.hero-bespoke h1{font-size:54px}.hero-bespoke .lead{font-size:15px}.doctor-copy{padding:42px 30px}.doctor-copy h2{font-size:30px}.credentials{padding:38px 24px}}
@media(max-width:1000px){.header-inner nav a{font-size:13px}.hero-bespoke .hero-grid{grid-template-columns:1fr 1fr;gap:28px;min-height:560px}.hero-bespoke h1{font-size:46px}.hero-bespoke .actions{align-items:flex-start;flex-direction:column;gap:10px}.hero-image-frame{aspect-ratio:1.5}.hero-image-frame img{object-position:24% center}.hero-principle{margin-top:20px}.expertise-strip .stat strong,.expertise-strip .stat:last-child strong{font-size:15px}.technique-grid{gap:28px;padding:0 24px}.technique-copy h2{font-size:32px}.bespoke-pathways{gap:0 30px}.bespoke-pathways .path-card>span:last-child{font-size:18px}.page-jumps{align-items:flex-start}.doctor{grid-template-columns:33% 1fr}.credentials{display:none}}
@media(max-width:800px){.hero-bespoke .hero-grid{grid-template-columns:1fr;gap:0;min-height:0;padding:0}.hero-bespoke .hero-visual{order:-1;margin:0 -32px 0;width:calc(100% + 64px);padding:0}.hero-image-frame{aspect-ratio:1.9;border-radius:0 0 50px 0}.hero-image-frame img{object-position:center center}.hero-frame-line{display:none}.hero-visual figcaption{padding:13px 32px 0;font-size:10px}.hero-discovery{left:32px;bottom:19px}.hero-bespoke .hero-copy{padding:30px 0 28px}.hero-bespoke h1{font-size:44px;max-width:600px}.hero-bespoke .lead{max-width:600px;font-size:16px}.hero-bespoke .actions{flex-direction:row;align-items:center;gap:24px}.hero-principle{max-width:none;margin-top:26px}.hero-bottom{gap:18px}.hero-bottom>div{gap:21px}.hero-scroll{display:none}.hero-bottom-label{font-size:8px}.section{padding-top:58px;padding-bottom:60px}.technique-grid{grid-template-columns:1fr;padding:0 32px;gap:0}.operative{min-height:0;aspect-ratio:1.6}.technique-copy{padding:32px 0 0}.technique-copy h2{font-size:36px}.technique-copy p:not(.eyebrow){max-width:650px}.benefits{padding-bottom:55px}.opinion-block{padding:60px 0}.faq-grid h2{font-size:33px}.contact{padding:58px 0}.page-jumps{display:block}.page-jumps>span{display:block;margin-bottom:10px}}
@media(max-width:640px){body{font-size:15px}.header-inner{height:68px;padding:0 16px;gap:7px}.brand-native{width:168px;gap:7px}.brand-native>svg{width:27px;height:26px}.brand-native strong{font-size:10px;letter-spacing:.105em}.brand-native small{font-size:6px;letter-spacing:.13em}.header-inner>.btn{font-size:11px;padding:10px 13px;min-height:44px}.menu-toggle{min-width:40px;min-height:44px;padding:9px}.header-inner nav{top:68px}.hero-bespoke .hero-visual{margin:0 -20px;width:calc(100% + 40px)}.hero-visual figcaption{padding:11px 20px 0}.hero-discovery{left:20px;bottom:18px}.hero-bespoke .hero-copy{padding-top:27px}.hero-bespoke .eyebrow{font-size:8px;letter-spacing:.17em;gap:9px;margin-bottom:10px}.hero-location{font-size:11px;margin-bottom:18px}.hero-bespoke h1{font-size:40px;line-height:1.07;letter-spacing:-.045em;margin-bottom:22px}.hero-bespoke .lead{font-size:15px;line-height:1.65;margin-bottom:22px}.hero-bespoke .actions{gap:13px;align-items:center}.hero-bespoke .actions .btn{padding:12px 16px;font-size:12px;min-height:46px;gap:15px}.hero-secondary{font-size:11px;gap:6px;min-height:44px}.hero-principle{font-size:11px;line-height:1.5;margin-top:23px;padding-top:16px}.hero-bottom{display:block;padding:18px 0 20px}.hero-bottom-label{display:block;font-size:8px;margin-bottom:6px}.hero-bottom>div{gap:28px}.hero-bottom>div a{font-size:12px;min-height:32px}.expertise-strip{padding:24px 0}.expertise-strip .stats-grid{gap:22px 15px}.expertise-strip .stat{gap:10px;padding:0;border:0}.expertise-strip .stat strong,.expertise-strip .stat:last-child strong{font-size:15px}.expertise-strip .stat>.icon{width:25px;height:25px}.expertise-strip .stat span{font-size:8px;letter-spacing:.02em}.section{padding-top:50px;padding-bottom:52px}.section-heading{margin-bottom:27px}.eyebrow{font-size:9px}.bespoke-pathways{grid-template-columns:1fr;gap:0}.bespoke-pathways .path-card{padding:21px 0;gap:22px}.bespoke-pathways .path-card>span:last-child{font-size:20px}.unknown-route{padding:20px 17px}.technique-grid{padding:0 20px}.operative{aspect-ratio:1.55;border-bottom-right-radius:40px}.operative figcaption{left:21px;bottom:21px;font-size:22px}.operative small{font-size:11px}.technique-copy h2{font-size:32px}.technique-copy p:not(.eyebrow){font-size:15px}.benefits{gap:25px 16px;padding-bottom:50px}.criterion-inner{padding-top:46px;padding-bottom:250px}.criterion-inner h2{font-size:32px}.three-grid{gap:25px}.quiet-card{padding:24px 0 0}.quiet-card h3{font-size:24px}.opinion-reasons{padding:24px}.doctor{display:block}.doctor-photo{height:360px;min-height:0}.doctor-photo img{object-position:center 23%}.doctor-copy{padding:33px 20px}.doctor-copy h2{font-size:31px}.credentials{display:flex;border:0;border-top:1px solid var(--line);padding:25px 20px;gap:15px;flex-wrap:wrap}.credentials li{width:calc(50% - 8px);font-size:11px;gap:10px;margin:0}.credentials li .icon{width:18px;height:18px}.faq-grid h2{font-size:32px}.faq-list summary{font-size:15px}.contact h2{font-size:38px}.interior-hero-grid,.opinion-hero-grid{padding-top:28px;padding-bottom:32px}.interior-hero h1,.opinion-hero h1{font-size:39px}.interior-hero .lead,.opinion-hero .lead{font-size:16px}.page-jumps{padding-top:20px;padding-bottom:20px}.page-jumps>div{gap:8px 19px}.content-byline{font-size:11px;line-height:1.6}}
@media(prefers-reduced-motion:reduce){.btn .icon,.text-link .icon,.bespoke-pathways .path-card{transition:none}.bespoke-pathways .path-card:hover{transform:none}}

@media(max-width:360px){.brand-native{width:152px}.header-inner{gap:5px}.header-inner>.btn{padding:10px 11px}.hero-bespoke h1{font-size:36px}.hero-bespoke .actions{gap:10px}.hero-secondary{font-size:10px}}

.header-inner nav a[aria-current="page"]{color:var(--blue);text-decoration:underline;text-underline-offset:6px}
.article-section{padding:68px 0}.article-row h2{font-size:34px;line-height:1.16}.article-copy p{line-height:1.7}@media(max-width:640px){.article-section{padding:40px 0}.article-row h2{font-size:30px}}

.hero-profile{display:flex;align-items:center;gap:14px;min-height:48px;width:100%;color:var(--muted)}.hero-profile picture{display:contents}.hero-profile img{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:center 14%;flex:none}.hero-profile>span:last-child{margin-left:auto;color:var(--blue)}.hero-profile:hover>span{color:var(--blue)}@media(max-width:800px){.hero-profile{gap:11px;min-height:40px}.hero-profile img{width:36px;height:36px}.hero-visual figcaption{padding-top:10px}}

.contact-email a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.footer-inner>div:last-child{flex-wrap:wrap}.footer-inner a[href^="mailto:"]{overflow-wrap:anywhere}

/* Entrada con retrato; la imagen quirúrgica permanece en Endoscopia. */
.hero-portrait-intro .hero-image-frame{aspect-ratio:1.22;background:#edf1f3}.hero-portrait-intro .hero-image-frame img{object-position:center 18%}.hero-portrait-intro .hero-image-frame:after{display:none}.hero-portrait-intro .hero-profile{min-height:32px}@media(max-width:800px){.hero-portrait-intro .hero-image-frame{aspect-ratio:1.32}.hero-portrait-intro .hero-image-frame img{object-position:center 18%}}

/* Fichas educativas con imágenes de referencia, sin recortes del mockup. */
.clinical-examples-lead{max-width:730px;color:var(--muted)}
.clinical-examples .case-grid{align-items:start}
.clinical-example-image{margin:0;background:#111e29;position:relative;aspect-ratio:1.4;overflow:hidden}
.clinical-example-image picture{display:contents}
.clinical-example-image img{display:block;width:100%;height:100%;object-fit:contain;padding:12px 12px 37px}
.clinical-example-image figcaption{position:absolute;bottom:0;left:0;right:0;padding:11px 15px;color:#d6e3eb;background:#111e29;font-size:10px;letter-spacing:.025em}
.clinical-example-copy{padding:23px!important;background:#fff}
.clinical-example-number{display:block;font-size:10px;letter-spacing:.16em;color:#718b9e;margin-bottom:10px}
.clinical-example h3{font-size:22px;line-height:1.2;margin-bottom:10px;color:var(--blue)}
.clinical-example .clinical-example-intro{font-size:14px;color:var(--muted);margin-bottom:21px}
.clinical-example-details{border-top:1px solid var(--line);margin-bottom:19px}
.clinical-example-details summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:48px;font-size:12px;color:var(--blue)}
.clinical-example-details summary::-webkit-details-marker{display:none}
.clinical-example-details summary>span{font-size:20px;transition:transform .15s ease}
.clinical-example-details[open] summary>span{transform:rotate(45deg)}
.clinical-example-details h4{font-size:12px;font-weight:600;margin:8px 0;color:var(--blue)}
.clinical-example-details p{font-size:13px;line-height:1.6;margin-bottom:17px;color:var(--muted)}
.clinical-example .text-link{font-size:12px;min-height:44px;display:flex;justify-content:space-between}
.clinical-examples-note{max-width:850px;font-size:12px;color:var(--muted);margin:24px 0 14px;line-height:1.6}
.clinical-example-credits{font-size:11px;color:var(--muted);max-width:850px}
.clinical-example-credits summary{cursor:pointer;min-height:44px;display:list-item;list-style:disclosure-closed;padding:12px 0}
.clinical-example-credits[open] summary{list-style:disclosure-open}
.clinical-example-credits ul{padding-left:18px;line-height:1.8}
.clinical-example-credits a{text-decoration:underline;text-underline-offset:3px}
.clinical-example-details summary:focus-visible,.clinical-example-credits summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:640px){.clinical-example-image{aspect-ratio:1.45}.clinical-example-copy{padding:22px!important}.clinical-example h3{font-size:24px}.clinical-example .clinical-example-intro{font-size:15px}.clinical-example-details p{font-size:14px}.clinical-examples-note{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.clinical-example-details summary>span{transition:none}}

/* Cabecera fija desde el primer píxel; espacio reservado sin saltos. */
:root{--perianez-header-height:85px;--perianez-admin-offset:0px}
html:has(body.admin-bar){--perianez-admin-offset:32px}
body{padding-top:var(--perianez-header-height)}
.site-header{position:fixed;top:var(--perianez-admin-offset);left:0;right:0}
.header-inner nav{top:100%}
html{scroll-padding-top:calc(var(--perianez-header-height) + var(--perianez-admin-offset) + 12px)}
@media(max-width:782px){html:has(body.admin-bar){--perianez-admin-offset:46px}}
@media(max-width:640px){:root{--perianez-header-height:69px}}
/* La barra de WordPress también permanece fija en su vista móvil. */
body.admin-bar #wpadminbar{position:fixed}
