/* ORIGINAL: cirugia.css */
/* FELGO | Página de cirugía: estilos aislados de la portada */
.surgery-page{
  background:#f8f6ee;
  color:#12365d;
  font-family:Jost,sans-serif;
  font-weight:300
}
.surgery-page *{
  box-sizing:border-box
}
.surgery-page .site-header{
  z-index:100
}
.surgery-page .surgery-nav-current{
  border-bottom:1px solid #12365d
}
.surgery-intro{
  min-height:315px;
  padding:110px 5.5% 42px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5%;
  align-items:center;
  border-bottom:1px solid #c9d6df
}
.surgery-eyebrow{
  font-size:12px;
  letter-spacing:.19em;
  margin:0 0 24px
}
.surgery-intro h1{
  font-size:clamp(43px,5vw,78px);
  line-height:1.06;
  letter-spacing:-.055em;
  font-weight:200;
  margin:0 0 22px
}
.surgery-intro-copy>p:last-child{
  font-size:17px;
  line-height:1.55;
  max-width:520px
}
.surgery-intro-signature{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:8px
}
.surgery-intro-signature img{
  max-width:440px;
  width:76%;
  height:195px;
  object-fit:contain
}
.surgery-intro-signature span{
  font-size:10px;
  letter-spacing:.22em
}
.surgery-explorer{
  display:grid;
  grid-template-columns:19% 81%;
  min-height:610px
}
.surgery-tabs{
  padding:34px 0 38px 5%;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  border-right:1px solid #d0d9de
}
.surgery-tab{
  border:0;
  border-bottom:1px solid #cbd6df;
  background:transparent;
  text-align:left;
  color:#12365d;
  min-height:104px;
  padding:17px 24px 17px 15px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px;
  cursor:pointer;
  font:300 14px Jost,sans-serif;
  transition:background .2s
}
.surgery-tab.is-active,.surgery-tab:hover{
  background:#dce9f1
}
.surgery-tab-num{
  font-size:31px;
  line-height:1;
  font-weight:200;
  grid-column:1
}
.surgery-tab-name{
  grid-column:1;
  line-height:1.35;
  letter-spacing:.015em
}
.surgery-panels{
  min-width:0
}
.surgery-panel{
  display:grid;
  grid-template-columns:43% 57%;
  min-height:610px
}
.surgery-panel[hidden]{
  display:none!important
}
.surgery-plate{
  background:#dce9f1;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:50px 7% 65px;
  min-width:0
}
.surgery-plate img{
  max-width:100%;
  width:100%;
  max-height:470px;
  object-fit:contain
}
.surgery-plate-caption{
  position:absolute;
  bottom:25px;
  left:8%;
  font-size:10px;
  letter-spacing:.15em
}
.surgery-detail{
  padding:46px 7% 50px;
  display:flex;
  flex-direction:column;
  min-width:0
}
.surgery-detail-top{
  display:flex;
  gap:18px;
  align-items:center;
  font-size:10px;
  letter-spacing:.15em
}
.surgery-detail-top>span:first-child{
  font-size:28px;
  letter-spacing:0
}
.surgery-detail-rule{
  height:1px;
  background:#9eb3c4;
  flex:1
}
.surgery-detail h2{
  font-size:clamp(25px,2.5vw,40px);
  line-height:1.15;
  font-weight:200;
  letter-spacing:-.035em;
  margin:33px 0 19px
}
.surgery-detail>p{
  font-size:16px;
  line-height:1.65;
  max-width:530px;
  margin:0 0 35px
}
.surgery-procedures{
  border-top:1px solid #bdcbd5;
  padding-top:23px
}
.surgery-procedures h3{
  font-weight:300;
  font-size:11px;
  letter-spacing:.2em;
  margin:0 0 16px
}
.surgery-procedures ul{
  list-style:none;
  padding:0;
  margin:0;
  columns:2;
  column-gap:20px;
  font-size:15px;
  line-height:1.9
}
.surgery-procedures li{
  break-inside:avoid
}
.surgery-consult{
  display:flex;
  align-items:center;
  gap:25px;
  align-self:flex-start;
  border-bottom:1px solid #a3b7c8;
  padding:10px 0;
  margin-top:auto;
  text-decoration:none;
  color:#12365d;
  font-size:12px;
  letter-spacing:.14em
}
.surgery-consult span{
  font-size:23px
}
.surgery-end{
  border-top:1px solid #b9cbd6;
  padding:65px 6% 75px;
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  gap:25px;
  align-items:end
}
.surgery-end>span{
  font-size:11px;
  letter-spacing:.15em
}
.surgery-end h2{
  font-size:clamp(30px,3.8vw,58px);
  line-height:1.1;
  font-weight:200;
  margin:0
}
.surgery-end a{
  font-size:12px;
  letter-spacing:.15em;
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid #9eb3c4;
  padding-bottom:12px;
  white-space:nowrap
}
.surgery-end a span{
  font-size:22px;
  margin-left:20px
}
.surgery-whatsapp{
  position:fixed;
  bottom:24px;
  right:24px;
  border:1px solid #12365d;
  border-radius:50%;
  width:51px;
  height:51px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#12365d;
  background:#f8f6ee;
  text-decoration:none;
  font-size:12px;
  z-index:40
}
.surgery-page .whatsapp-float{
  display:none
}
@media(max-width:1100px){
  .surgery-explorer{
    grid-template-columns:23% 77%
  }
  .surgery-panel{
    grid-template-columns:41% 59%
  }
  .surgery-detail{
    padding:35px 6%
  }
  .surgery-procedures ul{
    columns:1
  }
  .surgery-tab{
    padding-right:12px
  }
}
@media(max-width:720px){
  .surgery-intro{
    padding:100px 7% 30px;
    grid-template-columns:1fr;
    gap:20px;
    min-height:0
  }
  .surgery-intro h1{
    font-size:47px
  }
  .surgery-intro-copy>p:last-child{
    font-size:15px
  }
  .surgery-intro-signature img{
    height:110px;
    width:60%
  }
  .surgery-explorer{
    display:block
  }
  .surgery-tabs{
    display:flex;
    flex-direction:row;
    overflow-x:auto;
    gap:0;
    padding:0 5%;
    border-right:0;
    border-bottom:1px solid #cbd6df;
    scrollbar-width:thin
  }
  .surgery-tab{
    min-width:155px;
    min-height:93px;
    padding:13px 15px;
    flex:0 0 auto;
    border-bottom:0;
    border-right:1px solid #d0d9de;
    font-size:12px
  }
  .surgery-tab-num{
    font-size:25px
  }
  .surgery-panel{
    display:flex;
    flex-direction:column;
    min-height:0
  }
  .surgery-plate{
    padding:30px 12% 42px;
    min-height:310px
  }
  .surgery-plate img{
    height:250px;
    max-width:350px
  }
  .surgery-detail{
    padding:30px 7% 46px
  }
  .surgery-detail h2{
    font-size:32px;
    margin:22px 0 15px
  }
  .surgery-detail>p{
    font-size:15px;
    margin-bottom:25px
  }
  .surgery-procedures ul{
    columns:2;
    font-size:14px
  }
  .surgery-consult{
    margin-top:30px
  }
  .surgery-end{
    display:block;
    padding:48px 7% 70px
  }
  .surgery-end h2{
    margin:25px 0;
    font-size:38px
  }
  .surgery-whatsapp{
    bottom:15px;
    right:15px
  }
}
@media(max-width:390px){
  .surgery-procedures ul{
    columns:1
  }
  .surgery-intro h1{
    font-size:40px
  }
}
/* Intro editorial: una sola pantalla, sin modificar su composición */
@media (min-width:721px){
  .surgery-intro{
    min-height:calc(100svh - 92px);
    padding:clamp(42px,6vh,90px) 5.5%;
    align-items:center;
  }
  .surgery-intro-copy>p:last-child{
    max-width:620px;
    font-size:clamp(15px,1.22vw,19px);
    line-height:1.58;
  }
  .surgery-intro-signature img{
    height:clamp(195px,29vh,340px);
  }
}
@media (max-width:720px){
  .surgery-intro{
    min-height:calc(100svh - 76px);
    padding-top:36px;
    padding-bottom:32px;
    align-content:center;
  }
  .surgery-intro-copy>p:last-child{
    line-height:1.55;
  }
}
/* Firma quirúrgica original: logo completo y tres valores de la maqueta */
.surgery-intro-signature{
  align-items:center;
  gap:clamp(30px,5vh,58px)
}
.surgery-logo-lockup{
  width:min(100%,390px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px
}
.surgery-intro-signature .surgery-logo-lockup img{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  max-height:none;
  object-fit:contain
}
.surgery-intro-signature .surgery-logo-subtitle{
  font-size:clamp(11px,1vw,15px);
  letter-spacing:.29em;
  line-height:1.3;
  text-align:center;
  white-space:nowrap
}
.surgery-signature-values{
  width:min(100%,265px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  font-size:clamp(11px,.9vw,14px);
  letter-spacing:.16em;
  line-height:1.35
}
.surgery-signature-values:before{
  content:"";
  width:48px;
  height:1px;
  background:#c4d1d9;
  margin-bottom:15px
}
@media(max-width:720px){
  .surgery-intro-signature{
    gap:22px;
    padding:12px 0
  }
  .surgery-logo-lockup{
    width:min(75%,300px)
  }
  .surgery-signature-values{
    width:auto;
    align-items:center;
    text-align:center;
    font-size:11px
  }
  .surgery-signature-values:before{
    margin-left:auto;
    margin-right:auto
  }
}
/* Ajuste final: portada editorial independiente de altura de pantalla.
La cabecera es fixed, por lo que no se descuenta su altura dos veces. */
@media (min-width:721px){
  .surgery-intro{
    min-height:100svh;
    padding-top:clamp(115px,13vh,155px);
    padding-bottom:clamp(55px,8vh,100px);
  }
}
@media (max-width:720px){
  .surgery-intro{
    min-height:100svh;
    padding-top:105px;
    padding-bottom:42px;
  }
}
/* Mismo botón de WhatsApp que la portada, con icono auténtico. */
.surgery-page .surgery-whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #12365d;
  border-radius:50%;
  background:#f8f6ee;
  color:#12365d;
  box-shadow:0 6px 18px rgba(8,51,92,.08);
  z-index:150;
  transition:background-color .2s,color .2s,transform .2s;
}
.surgery-page .surgery-whatsapp:hover{
  background:#12365d;
  color:#f8f6ee;
  transform:translateY(-2px)
}
.surgery-page .surgery-whatsapp svg{
  display:block;
  width:23px;
  height:23px;
  fill:currentColor
}
.surgery-page .surgery-whatsapp:focus-visible{
  outline:2px solid #12365d;
  outline-offset:4px
}
@media(max-width:720px){
  .surgery-page .surgery-whatsapp{
    right:16px;
    bottom:16px;
    width:46px;
    height:46px
  }
}
/* Ajuste de escala de la firma y flecha de navegación, versión aprobada */
.surgery-intro{
  position:relative;
}
.surgery-logo-lockup{
  width:min(100%,560px);
}
.surgery-intro-signature .surgery-logo-subtitle{
  font-size:clamp(17px,1.65vw,27px);
  letter-spacing:.25em;
  line-height:1.45;
}
.surgery-intro-signature{
  gap:clamp(28px,4.5vh,50px);
}
.surgery-signature-values{
  width:min(100%,440px);
  gap:6px;
}
.surgery-signature-values span{
  font-size:clamp(14px,1.32vw,21px);
  letter-spacing:.22em;
  line-height:1.35;
}
.surgery-signature-values:before{
  width:74px;
  margin-bottom:16px;
}
.surgery-scroll-cue{
  position:absolute;
  bottom:clamp(22px,4vh,48px);
  left:50%;
  transform:translateX(-50%);
  width:50px;
  height:100px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  color:#12365d;
  text-decoration:none;
  z-index:2;
}
.surgery-scroll-cue span{
  position:relative;
  display:block;
  width:1.5px;
  height:88px;
  background:currentColor;
}
.surgery-scroll-cue span:after{
  content:"";
  position:absolute;
  bottom:1px;
  left:50%;
  width:17px;
  height:17px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateX(-50%) rotate(45deg);
  transform-origin:center;
}
.surgery-scroll-cue:hover{
  opacity:.6;
}
#procedimientos-quirurgicos{
  scroll-margin-top:70px;
}
@media(min-width:721px){
  .surgery-intro{
    padding-bottom:clamp(115px,15vh,170px)
  }
  .surgery-intro-copy>p:last-child{
    max-width:680px
  }
  .surgery-intro-signature{
    transform:translateY(-12px)
  }
}
@media(max-width:720px){
  .surgery-logo-lockup{
    width:min(90%,390px)
  }
  .surgery-intro-signature .surgery-logo-subtitle{
    font-size:clamp(12px,3.2vw,18px);
    letter-spacing:.17em;
    white-space:normal
  }
  .surgery-signature-values{
    width:auto;
    align-items:center;
    text-align:center;
    gap:3px
  }
  .surgery-signature-values span{
    font-size:12px;
    letter-spacing:.14em
  }
  .surgery-scroll-cue{
    height:54px;
    bottom:12px
  }
  .surgery-scroll-cue span{
    height:45px
  }
  .surgery-intro{
    padding-bottom:95px
  }
}
@media(prefers-reduced-motion:no-preference){
  html{
    scroll-behavior:smooth
  }
}
/* Refinamiento: logotipo y subtítulo elevados respecto a los valores.
Flecha idéntica a la portada: mismo SVG, sin recreación CSS. */
@media (min-width:721px){
  .surgery-logo-lockup{
    transform:translateY(-27px);
  }
  .surgery-intro-signature{
    transform:translateY(-12px);
  }
}
.surgery-scroll-cue{
  width:28px;
  height:58px;
  bottom:31px;
  align-items:stretch;
  justify-content:center;
  transform:translateX(-50%);
}
.surgery-scroll-cue svg{
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}
.surgery-scroll-cue span{
  display:none;
}
.surgery-scroll-cue:hover{
  opacity:1;
  transform:translate(-50%,5px);
}
@media(max-width:560px){
  .surgery-scroll-cue{
    width:22px;
    height:46px;
    bottom:24px;
  }
}
/* 11 oct: proporciones afinadas contra la portada real de FELGO. */
@media (min-width:721px){
  .surgery-logo-lockup{
    width:min(100%,460px);
    transform:translateY(-15px)
  }
  .surgery-intro-signature{
    transform:translateY(-5px);
    gap:clamp(24px,3.7vh,40px)
  }
  .surgery-intro-signature .surgery-logo-subtitle{
    font-size:clamp(15px,1.35vw,21px);
    letter-spacing:.24em
  }
  .surgery-signature-values{
    width:min(100%,355px);
    gap:4px
  }
  .surgery-signature-values span{
    font-size:clamp(13px,1.13vw,17px);
    letter-spacing:.19em
  }
  .surgery-signature-values:before{
    width:60px;
    margin-bottom:12px
  }
}
/* Misma flecha, dimensiones y color que .hero-cover-arrow en styles.css. */
.surgery-scroll-cue{
  width:44px;
  height:110px;
  bottom:8%;
  align-items:center;
  justify-content:center;
  color:#526c80
}
.surgery-scroll-cue svg{
  width:20px;
  height:92px;
  flex:none
}
.surgery-scroll-cue:hover{
  transform:translateX(-50%) translateY(4px)
}
@media(max-width:900px){
  .surgery-scroll-cue{
    bottom:7%;
    height:78px
  }
  .surgery-scroll-cue svg{
    height:72px
  }
}
@media(max-width:560px){
  .surgery-scroll-cue{
    bottom:3%
  }
}
/* Composición editorial: una sola alineación vertical para la firma FELGO. */
@media (min-width:721px){
  .surgery-intro-signature{
    width:min(100%,460px);
    justify-self:center;
    align-items:flex-start;
  }
  .surgery-logo-lockup{
    width:100%;
    align-items:flex-start;
  }
  .surgery-intro-signature .surgery-logo-subtitle{
    display:block;
    width:100%;
    text-align:left;
    padding-left:0;
    letter-spacing:.24em;
  }
  .surgery-signature-values{
    width:100%;
    align-items:flex-start;
    text-align:left;
  }
}
/* Composición final: firma elevada al eje de la referencia FELGO / CIRUGÍA.
El logotipo, su descriptor y los valores mantienen ejes y ritmos independientes. */
@media (min-width: 721px) {
  .surgery-intro {
    align-items: center;
  }
  .surgery-intro-signature {
    position: relative;
    align-self: stretch;
    justify-self: center;
    width: min(100%, 460px);
    display: block;
    transform: none;
    min-height: 410px;
  }
  .surgery-logo-lockup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    display: flex;
    align-items: flex-start;
  }
  .surgery-intro-signature .surgery-logo-lockup img {
    width: 100%;
    height: auto;
    display: block;
  }
  .surgery-intro-signature .surgery-logo-subtitle {
    width: 100%;
    text-align: left;
    padding-left: 0;
    margin-top: 5px;
  }
  .surgery-signature-values {
    position: absolute;
    top: clamp(270px, 32vh, 335px);
    left: 0;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
}
@media (min-width: 721px) and (max-height: 750px) {
  .surgery-signature-values {
    top: 245px;
  }
}
@media (max-width: 720px) {
  .surgery-intro-signature {
    display: flex;
    position: static;
  }
  .surgery-logo-lockup, .surgery-signature-values {
    position: static;
    transform: none;
  }
}
/* Corrección de recorte: la firma nunca debe sobresalir del inicio de la sección. */
@media (min-width: 721px) {
  .surgery-intro-signature {
    overflow: visible;
  }
  .surgery-logo-lockup {
    top: 62px;
  }
  .surgery-signature-values {
    top: clamp(275px, 33vh, 345px);
  }
}
@media (min-width: 721px) and (max-height: 750px) {
  .surgery-logo-lockup {
    top: 48px;
  }
  .surgery-signature-values {
    top: 265px;
  }
}
/* 2026-10-11: firma editorial sin descriptor duplicado.
La retícula mantiene el bloque dentro del hero, sin offsets absolutos. */
@media (min-width:721px) {
  .surgery-intro-signature {
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
    align-self:center;
    justify-self:center;
    width:min(100%,460px);
    min-height:0;
    gap:0;
    transform:translateY(-32px);
  }
  .surgery-logo-lockup {
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    display:block;
    transform:none;
  }
  .surgery-intro-signature .surgery-logo-lockup img {
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
  }
  .surgery-signature-values {
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    margin-top:clamp(65px,10vh,112px);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    text-align:left;
    transform:none;
  }
  .surgery-signature-values:before {
    width:58px;
    margin-bottom:14px;
  }
  .surgery-signature-values span {
    font-size:clamp(12px,1.06vw,16px);
    line-height:1.38;
    letter-spacing:.19em;
  }
}
@media (max-width:720px) {
  .surgery-intro-signature {
    gap:0;
    transform:none;
    align-items:center;
  }
  .surgery-logo-lockup {
    width:min(90%,360px);
  }
  .surgery-signature-values {
    margin-top:42px;
    position:static;
    align-items:flex-start;
    text-align:left;
    width:min(90%,360px);
  }
  .surgery-signature-values:before {
    margin-left:0;
    margin-right:0;
  }
}
/* Móvil: la firma FELGO antecede al titular, sin alterar la composición de escritorio. */
@media (max-width:720px) {
  .surgery-intro {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:clamp(30px,7vw,48px);
    padding-top:clamp(100px,23vw,125px);
  }
  .surgery-intro-signature {
    order:0;
    align-self:stretch;
    width:100%;
    gap:0;
    padding:0;
    transform:none;
    align-items:flex-start;
  }
  .surgery-logo-lockup {
    width:min(78%,320px);
    margin:0;
    transform:none;
  }
  .surgery-intro-signature .surgery-logo-lockup img {
    width:100%;
    height:auto;
    display:block;
  }
  .surgery-signature-values {
    width:auto;
    margin-top:clamp(24px,6vw,38px);
    align-items:flex-start;
    text-align:left;
  }
  .surgery-signature-values span {
    font-size:clamp(10px,2.6vw,12px);
    letter-spacing:.15em;
  }
  .surgery-intro-copy {
    order:1;
    width:100%;
  }
  .surgery-scroll-cue {
    order:2;
  }
}
/* FELGO | Entrada editorial asimétrica, revisión final */
@media (min-width: 721px) {
  .surgery-intro {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
    column-gap: clamp(45px, 6.5vw, 120px);
    align-items: center;
    padding: clamp(130px, 16vh, 185px) clamp(48px, 5.6vw, 115px) clamp(125px, 15vh, 165px);
    overflow: hidden;
  }
  .surgery-intro-copy {
    width: 100%;
    max-width: 790px;
    align-self: center;
    transform: translateY(10px);
  }
  .surgery-eyebrow {
    margin-bottom: clamp(27px, 4vh, 48px);
  }
  .surgery-intro h1 {
    font-size: clamp(54px, 5.2vw, 94px);
    line-height: 1.05;
    letter-spacing: -.055em;
    margin-bottom: clamp(34px, 5vh, 55px);
  }
  .surgery-intro-copy > p:last-child {
    max-width: 690px;
    font-size: clamp(16px, 1.23vw, 21px);
    line-height: 1.66;
  }
  .surgery-intro-signature {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-self: center;
    justify-self: end;
    width: min(100%, 435px);
    min-height: 0;
    gap: 0;
    transform: translateY(-25px);
    padding: 0;
  }
  .surgery-logo-lockup {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }
  .surgery-intro-signature .surgery-logo-lockup img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .surgery-signature-values {
    position: static;
    width: 100%;
    margin-top: clamp(55px, 9vh, 98px);
    transform: none;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
  }
  .surgery-signature-values::before {
    width: 54px;
    margin: 0 0 20px;
  }
  .surgery-signature-values span {
    font-size: clamp(12px, 1.06vw, 16px);
    letter-spacing: .18em;
    line-height: 1.35;
  }
}
@media (max-width: 720px) {
  .surgery-intro {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(30px, 7vw, 48px);
    padding: 105px 7% 115px;
  }
  .surgery-intro-signature {
    order: 0;
    align-items: flex-start;
    width: 100%;
    transform: none;
  }
  .surgery-logo-lockup {
    width: min(76%, 320px);
  }
  .surgery-signature-values {
    width: 100%;
    margin-top: 26px;
    align-items: flex-start;
    text-align: left;
  }
  .surgery-signature-values::before {
    margin-left: 0;
    margin-right: 0;
  }
  .surgery-intro-copy {
    order: 1;
    transform: none;
  }
  .surgery-intro h1 {
    font-size: clamp(42px, 10vw, 64px);
  }
  .surgery-scroll-cue {
    bottom: 15px;
  }
}
/* Composición editorial asimétrica aprobada: firma arriba, valores abajo */
@media(min-width:721px){
  .surgery-intro{
    position:relative;
    display:block;
    box-sizing:border-box;
    height:calc(100svh - 76px);
    min-height:620px;
    padding:0;
    overflow:hidden
  }
  .surgery-intro-copy{
    position:absolute;
    inset:0 auto 0 0;
    width:62%;
    max-width:none;
    padding:0;
    transform:none
  }
  .surgery-eyebrow{
    position:absolute;
    top:8%;
    left:5.6vw;
    margin:0;
    font-size:clamp(12px,1vw,16px)
  }
  .surgery-intro h1{
    position:absolute;
    top:28%;
    left:5.6vw;
    margin:0;
    font-size:clamp(62px,5.6vw,105px);
    line-height:1.08;
    letter-spacing:-.055em;
    font-weight:200
  }
  .surgery-intro-copy>p:last-child{
    position:absolute;
    top:59%;
    left:5.6vw;
    width:min(77%,600px);
    margin:0;
    font-size:clamp(14px,1.07vw,18px);
    line-height:1.55
  }
  .surgery-intro-signature{
    position:absolute;
    inset:0 5.6vw 0 auto;
    width:39%;
    height:100%;
    display:block;
    padding:0;
    margin:0;
    transform:none
  }
  .surgery-logo-lockup{
    position:absolute;
    top:8%;
    right:0;
    width:min(100%,360px);
    margin:0;
    transform:none
  }
  .surgery-intro-signature .surgery-logo-lockup img{
    width:100%;
    height:auto;
    max-height:none
  }
  .surgery-signature-values{
    position:absolute;
    bottom:9%;
    right:0;
    width:auto;
    margin:0;
    display:flex;
    flex-direction:row;
    gap:.55em;
    align-items:center;
    white-space:nowrap;
    text-align:right;
    transform:none
  }
  .surgery-signature-values::before{
    display:none
  }
  .surgery-signature-values span{
    font-size:clamp(10px,.91vw,14px);
    letter-spacing:.09em;
    line-height:1.4
  }
  .surgery-signature-values span:not(:last-child)::after{
    content:"·";
    margin-left:.55em
  }
  .surgery-scroll-cue{
    bottom:20px;
    left:50%;
    transform:translateX(-50%)
  }
}
@media(max-width:720px){
  .surgery-intro{
    display:flex;
    flex-direction:column;
    min-height:calc(100svh - 70px);
    height:auto;
    padding:95px 7% 95px;
    gap:38px;
    justify-content:flex-start
  }
  .surgery-intro-signature{
    order:0;
    width:100%;
    align-items:flex-start;
    gap:0
  }
  .surgery-logo-lockup{
    width:min(72%,290px)
  }
  .surgery-intro-copy{
    order:1;
    width:100%
  }
  .surgery-eyebrow{
    margin-bottom:22px
  }
  .surgery-intro h1{
    font-size:clamp(43px,10vw,64px)
  }
  .surgery-intro-copy>p:last-child{
    font-size:15px;
    line-height:1.55
  }
  .surgery-signature-values{
    position:static;
    width:100%;
    margin:0 0 8px;
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    gap:.4em;
    text-align:left;
    align-items:flex-start
  }
  .surgery-signature-values::before{
    display:none
  }
  .surgery-signature-values span{
    font-size:10px;
    letter-spacing:.07em
  }
  .surgery-signature-values span:not(:last-child)::after{
    content:"·";
    margin-left:.4em
  }
}
/* ORIGINAL: cirugia-layout-fix.css */
/* Corrección estructural de la portada de cirugía. Reglas aisladas para evitar
colisiones con las versiones históricas de cirugia.css. */
@media (min-width: 721px) {
  .surgery-page .surgery-intro {
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0, 57%) minmax(0, 43%) !important;
    align-items:stretch !important;
    gap:0 !important;
    height:calc(100svh - 76px) !important;
    min-height:620px !important;
    padding:0 !important;
    overflow:hidden !important;
  }
  .surgery-page .surgery-intro-copy {
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    max-width:none !important;
    height:100% !important;
    padding:0 3% 0 9% !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:flex-start !important;
    transform:none !important;
    margin:0 !important;
  }
  .surgery-page .surgery-eyebrow {
    position:absolute !important;
    top:9% !important;
    left:9% !important;
    margin:0 !important;
    font-size:clamp(11px,.9vw,14px) !important;
    letter-spacing:.18em !important;
  }
  .surgery-page .surgery-intro h1 {
    position:static !important;
    inset:auto !important;
    margin:0 0 clamp(26px,4vh,46px) !important;
    font-size:clamp(52px,5.2vw,94px) !important;
    line-height:1.06 !important;
    letter-spacing:-.055em !important;
    font-weight:200 !important;
  }
  .surgery-page .surgery-intro-copy > p:last-child {
    position:static !important;
    inset:auto !important;
    width:100% !important;
    max-width:690px !important;
    margin:0 !important;
    font-size:clamp(15px,1.13vw,19px) !important;
    line-height:1.6 !important;
  }
  .surgery-page .surgery-intro-signature {
    position:relative !important;
    inset:auto !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    padding:0 !important;
    margin:0 !important;
    transform:none !important;
    min-height:0 !important;
  }
  .surgery-page .surgery-logo-lockup {
    position:absolute !important;
    top:9% !important;
    right:13% !important;
    width:min(72%,380px) !important;
    max-width:none !important;
    margin:0 !important;
    transform:none !important;
  }
  .surgery-page .surgery-intro-signature .surgery-logo-lockup img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
  }
  .surgery-page .surgery-signature-values {
    position:absolute !important;
    top:auto !important;
    bottom:11% !important;
    left:auto !important;
    right:13% !important;
    display:flex !important;
    flex-direction:row !important;
    justify-content:flex-end !important;
    align-items:center !important;
    width:max-content !important;
    max-width:92% !important;
    gap:.45em !important;
    margin:0 !important;
    padding:0 !important;
    white-space:nowrap !important;
    text-align:right !important;
    transform:none !important;
  }
  .surgery-page .surgery-signature-values::before {
    display:none !important;
  }
  .surgery-page .surgery-signature-values span {
    font-size:clamp(10px,.88vw,14px) !important;
    letter-spacing:.09em !important;
    line-height:1.4 !important;
  }
  .surgery-page .surgery-signature-values span:not(:last-child)::after {
    content:"·" !important;
    margin-left:.45em !important;
  }
  .surgery-page .surgery-scroll-cue {
    position:absolute !important;
    bottom:24px !important;
    left:50% !important;
    transform:translateX(-50%) !important;
  }
}
@media (max-width: 720px) {
  .surgery-page .surgery-intro {
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:stretch !important;
    gap:40px !important;
    height:auto !important;
    min-height:calc(100svh - 70px) !important;
    padding:105px 7% 105px !important;
    overflow:visible !important;
  }
  .surgery-page .surgery-intro-signature {
    position:static !important;
    order:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
  }
  .surgery-page .surgery-logo-lockup {
    position:static !important;
    width:min(74%,290px) !important;
    margin:0 !important;
    transform:none !important;
  }
  .surgery-page .surgery-intro-signature .surgery-logo-lockup img {
    width:100% !important;
    height:auto !important;
    max-height:none !important;
  }
  .surgery-page .surgery-signature-values {
    position:static !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    width:100% !important;
    gap:.4em !important;
    margin:16px 0 0 !important;
    transform:none !important;
    text-align:left !important;
  }
  .surgery-page .surgery-signature-values::before {
    display:none !important;
  }
  .surgery-page .surgery-signature-values span {
    font-size:10px !important;
    letter-spacing:.07em !important;
  }
  .surgery-page .surgery-signature-values span:not(:last-child)::after {
    content:"·" !important;
    margin-left:.4em !important;
  }
  .surgery-page .surgery-intro-copy {
    position:static !important;
    order:1 !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
  }
  .surgery-page .surgery-eyebrow {
    position:static !important;
    margin:0 0 23px !important;
  }
  .surgery-page .surgery-intro h1 {
    position:static !important;
    font-size:clamp(42px,10vw,64px) !important;
    margin:0 0 28px !important;
  }
  .surgery-page .surgery-intro-copy > p:last-child {
    position:static !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    font-size:15px !important;
    line-height:1.6 !important;
  }
}
/* FELGO · ajuste de proporción de portada (octubre 2026).
La firma se sitúa dentro del área segura, separada del borde y del header.
Se preservan el logo original, la composición editorial y la flecha. */
@media (min-width: 721px) {
  .surgery-page .surgery-intro {
    min-height: 660px !important;
    height: 100svh !important;
    grid-template-columns: minmax(0, 57%) minmax(0, 43%) !important;
  }
  .surgery-page .surgery-intro-signature {
    overflow: visible !important;
  }
  .surgery-page .surgery-logo-lockup {
    top: clamp(135px, 18.5vh, 205px) !important;
    right: 13% !important;
    width: min(75%, 410px) !important;
    overflow: visible !important;
  }
  .surgery-page .surgery-intro-signature .surgery-logo-lockup img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .surgery-page .surgery-signature-values {
    right: 13% !important;
    bottom: clamp(92px, 13.5vh, 145px) !important;
    max-width: 84% !important;
    gap: .48em !important;
  }
  .surgery-page .surgery-signature-values span {
    font-size: clamp(13px, 1.08vw, 18px) !important;
    letter-spacing: .105em !important;
    line-height: 1.45 !important;
  }
}
@media (min-width: 721px) and (max-height: 760px) {
  .surgery-page .surgery-logo-lockup {
    top: 115px !important;
    width: min(69%, 365px) !important;
  }
  .surgery-page .surgery-signature-values {
    bottom: 92px !important;
  }
}
@media (max-width: 720px) {
  .surgery-page .surgery-logo-lockup {
    width: min(78%, 315px) !important;
  }
  .surgery-page .surgery-signature-values span {
    font-size: clamp(11px, 2.8vw, 13px) !important;
  }
}
/* Restitución de la referencia editorial FELGO / CIRUGÍA sobre el título. */
@media (min-width: 721px) {
  .surgery-page .surgery-intro-copy .surgery-eyebrow {
    position: static !important;
    inset: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 clamp(25px, 3.5vh, 38px) !important;
    font-size: clamp(11px, .9vw, 14px) !important;
    letter-spacing: .18em !important;
    line-height: 1.4 !important;
  }
}
@media (max-width: 720px) {
  .surgery-page .surgery-intro-copy .surgery-eyebrow {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 22px !important;
    letter-spacing: .18em !important;
  }
}
/* ORIGINAL: cirugia-ilustraciones.css */
/* Ilustraciones anatómicas integradas en el azul: edición editorial */
.surgery-page .surgery-explorer {
  isolation: isolate;
}
.surgery-page .surgery-panel {
  overflow: visible;
}
.surgery-page .surgery-plate {
  background: #dce9f1;
  overflow: visible;
  padding: 0;
  isolation: isolate;
  z-index: 1;
}
.surgery-page .surgery-plate img {
  display: block;
  width: 124%;
  max-width: none;
  height: 113%;
  max-height: none;
  object-fit: contain;
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: none;
}
.surgery-page #surgery-panel-0 .surgery-plate img {
  width: 139%;
  height: 116%;
  left: 51%;
  top: 48%;
}
.surgery-page #surgery-panel-1 .surgery-plate img {
  width: 129%;
  height: 112%;
  top: 48%;
}
.surgery-page #surgery-panel-2 .surgery-plate img {
  width: 125%;
  height: 117%;
  left: 49%;
}
.surgery-page #surgery-panel-3 .surgery-plate img {
  width: 133%;
  height: 116%;
}
.surgery-page #surgery-panel-4 .surgery-plate img {
  width: 127%;
  height: 113%;
}
.surgery-page .surgery-plate-caption {
  z-index: 2;
}
.surgery-page .surgery-detail {
  position: relative;
  z-index: 2;
  background: #f8f6ee;
}
@media (max-width: 720px) {
  .surgery-page .surgery-plate {
    min-height: 340px;
    overflow: hidden;
  }
  .surgery-page .surgery-plate img,
  .surgery-page #surgery-panel-0 .surgery-plate img,
  .surgery-page #surgery-panel-1 .surgery-plate img,
  .surgery-page #surgery-panel-2 .surgery-plate img,
  .surgery-page #surgery-panel-3 .surgery-plate img,
  .surgery-page #surgery-panel-4 .surgery-plate img {
    width: 110%;
    max-width: none;
    height: 108%;
    max-height: none;
    top: 48%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
}
/* ORIGINAL: cirugia-composicion-final.css */
/* FELGO · anatomía editorial, sin invadir el menú ni el texto */
.surgery-page .surgery-explorer{
  isolation:isolate;
  overflow:hidden
}
.surgery-page .surgery-tabs{
  position:relative;
  z-index:5;
  background:#f8f6ee
}
.surgery-page .surgery-panels{
  position:relative;
  min-width:0;
  z-index:1
}
.surgery-page .surgery-panel{
  overflow:hidden;
  min-width:0
}
.surgery-page .surgery-plate{
  --blue-x:18%;
  --blue-y:13%;
  --blue-w:70%;
  --blue-h:76%;
  background:#f8f6ee!important;
  position:relative;
  isolation:isolate;
  overflow:hidden!important;
  min-width:0;
  padding:0!important;
}
.surgery-page .surgery-plate::before{
  content:"";
  position:absolute;
  z-index:0;
  left:var(--blue-x);
  top:var(--blue-y);
  width:var(--blue-w);
  height:var(--blue-h);
  background:#dce9f1;
  pointer-events:none;
}
.surgery-page .surgery-plate img,
.surgery-page #surgery-panel-0 .surgery-plate img,
.surgery-page #surgery-panel-1 .surgery-plate img,
.surgery-page #surgery-panel-2 .surgery-plate img,
.surgery-page #surgery-panel-3 .surgery-plate img,
.surgery-page #surgery-panel-4 .surgery-plate img{
  position:absolute;
  z-index:1;
  display:block;
  width:98%;
  height:84%;
  max-width:none;
  max-height:none;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  object-fit:contain;
  pointer-events:none;
}
.surgery-page #surgery-panel-0 .surgery-plate{
  --blue-x:25%;
  --blue-y:12%;
  --blue-w:61%;
  --blue-h:78%
}
.surgery-page #surgery-panel-1 .surgery-plate{
  --blue-x:9%;
  --blue-y:22%;
  --blue-w:78%;
  --blue-h:60%
}
.surgery-page #surgery-panel-2 .surgery-plate{
  --blue-x:30%;
  --blue-y:10%;
  --blue-w:56%;
  --blue-h:83%
}
.surgery-page #surgery-panel-3 .surgery-plate{
  --blue-x:13%;
  --blue-y:15%;
  --blue-w:77%;
  --blue-h:71%
}
.surgery-page #surgery-panel-4 .surgery-plate{
  --blue-x:24%;
  --blue-y:24%;
  --blue-w:68%;
  --blue-h:62%
}
.surgery-page .surgery-plate-caption{
  z-index:2;
  left:8%;
  bottom:22px
}
.surgery-page .surgery-detail{
  position:relative;
  z-index:3;
  background:#f8f6ee
}
@media(max-width:720px){
  .surgery-page .surgery-plate{
    height:370px;
    min-height:370px
  }
  .surgery-page .surgery-plate img,
  .surgery-page #surgery-panel-0 .surgery-plate img,
  .surgery-page #surgery-panel-1 .surgery-plate img,
  .surgery-page #surgery-panel-2 .surgery-plate img,
  .surgery-page #surgery-panel-3 .surgery-plate img,
  .surgery-page #surgery-panel-4 .surgery-plate img{
    width:96%;
    height:88%;
    top:47%;
    left:50%
  }
  .surgery-page .surgery-plate-caption{
    bottom:14px
  }
}
/* ORIGINAL: cirugia-refinamiento.css */
/* FELGO / Cirugía — composición editorial refinada */
.surgery-page .surgery-explorer{
  grid-template-columns:minmax(220px,20%) minmax(0,80%);
  min-height:560px;
  border-bottom:1px solid #cbd6df;
}
.surgery-page .surgery-tabs{
  padding:25px 0 25px 5%;
}
.surgery-page .surgery-tab{
  min-height:98px;
  padding:15px 25px 15px 16px;
  align-content:center;
}
.surgery-page .surgery-panel{
  grid-template-columns:minmax(0,43%) minmax(0,57%);
  min-height:560px;
}
.surgery-page .surgery-plate{
  height:auto;
  min-height:560px;
  overflow:hidden!important;
}
.surgery-page .surgery-detail{
  padding:36px 7% 36px;
}
.surgery-page .surgery-detail h2{
  margin-top:28px;
  margin-bottom:16px;
}
.surgery-page .surgery-detail>p{
  margin-bottom:24px;
}
.surgery-page .surgery-plate::before{
  transition:all .35s ease;
}
/* Cada especialidad tiene una geometría distinta; el dibujo permanece dentro de su panel. */
.surgery-page #surgery-panel-0 .surgery-plate{
  --blue-x:29%;
  --blue-y:8%;
  --blue-w:66%;
  --blue-h:84%;
}
.surgery-page #surgery-panel-1 .surgery-plate{
  --blue-x:0%;
  --blue-y:34%;
  --blue-w:88%;
  --blue-h:46%;
}
.surgery-page #surgery-panel-2 .surgery-plate{
  --blue-x:36%;
  --blue-y:0%;
  --blue-w:64%;
  --blue-h:100%;
}
.surgery-page #surgery-panel-3 .surgery-plate{
  --blue-x:0%;
  --blue-y:9%;
  --blue-w:68%;
  --blue-h:80%;
}
.surgery-page #surgery-panel-4 .surgery-plate{
  --blue-x:13%;
  --blue-y:43%;
  --blue-w:87%;
  --blue-h:57%;
}
.surgery-page #surgery-panel-0 .surgery-plate img{
  width:106%;
  height:82%;
  left:51%;
  top:47%;
}
.surgery-page #surgery-panel-1 .surgery-plate img{
  width:100%;
  height:91%;
  left:49%;
  top:47%;
}
.surgery-page #surgery-panel-2 .surgery-plate img{
  width:102%;
  height:91%;
  left:49%;
  top:49%;
}
.surgery-page #surgery-panel-3 .surgery-plate img{
  width:102%;
  height:88%;
  left:51%;
  top:47%;
}
.surgery-page #surgery-panel-4 .surgery-plate img{
  width:103%;
  height:86%;
  left:50%;
  top:46%;
}
@media (min-width:1350px){
  .surgery-page .surgery-explorer{
    grid-template-columns:minmax(240px,19%) minmax(0,81%)
  }
  .surgery-page .surgery-panel{
    grid-template-columns:minmax(0,42%) minmax(0,58%)
  }
}
@media (max-width:1100px) and (min-width:721px){
  .surgery-page .surgery-explorer{
    grid-template-columns:24% 76%
  }
  .surgery-page .surgery-panel{
    grid-template-columns:43% 57%
  }
  .surgery-page .surgery-tabs{
    padding-left:3%
  }
  .surgery-page .surgery-tab{
    padding-right:12px
  }
  .surgery-page .surgery-plate{
    min-height:560px
  }
}
@media (max-width:720px){
  .surgery-page .surgery-explorer{
    display:block;
    min-height:0
  }
  .surgery-page .surgery-tabs{
    padding:0 5%;
  }
  .surgery-page .surgery-tab{
    min-height:92px;
    padding:12px 15px
  }
  .surgery-page .surgery-panel{
    display:flex;
    min-height:0
  }
  .surgery-page .surgery-plate{
    height:350px;
    min-height:350px
  }
  .surgery-page .surgery-plate img,
  .surgery-page #surgery-panel-0 .surgery-plate img,
  .surgery-page #surgery-panel-1 .surgery-plate img,
  .surgery-page #surgery-panel-2 .surgery-plate img,
  .surgery-page #surgery-panel-3 .surgery-plate img,
  .surgery-page #surgery-panel-4 .surgery-plate img{
    width:100%;
    height:85%;
    left:50%;
    top:46%
  }
  .surgery-page .surgery-detail{
    padding:30px 7% 44px
  }
}
/* ORIGINAL: cirugia-direccion-arte.css */
/* FELGO | Dirección de arte: proporción, flechas y planos azules */
.surgery-page .surgery-explorer{
  grid-template-columns:minmax(245px,20%) minmax(0,80%);
  min-height:720px
}
.surgery-page .surgery-panel{
  grid-template-columns:minmax(0,45%) minmax(0,55%);
  min-height:720px
}
.surgery-page .surgery-plate{
  min-height:720px;
  height:auto
}
.surgery-page .surgery-tabs{
  padding-top:45px;
  padding-bottom:45px
}
.surgery-page .surgery-tab{
  min-height:120px;
  padding:18px 26px 18px 16px
}
/* Flecha abierta: el mismo lenguaje de CONSULTAR UN CASO */
.surgery-page .surgery-tab:focus-visible{
  outline:2px solid #12365d;
  outline-offset:-2px
}
.surgery-page .surgery-detail{
  padding:55px 7% 56px
}
.surgery-page .surgery-detail h2{
  margin-top:38px;
  margin-bottom:23px
}
.surgery-page .surgery-detail>p{
  margin-bottom:34px
}
.surgery-page .surgery-plate::before{
  transition:background .2s ease
}
/* Cinco composiciones: plano vertical, banda baja, plano lateral, campo alto y bloque desplazado */
.surgery-page #surgery-panel-0 .surgery-plate{
  --blue-x:18%;
  --blue-y:6%;
  --blue-w:72%;
  --blue-h:86%
}
.surgery-page #surgery-panel-1 .surgery-plate{
  --blue-x:0%;
  --blue-y:42%;
  --blue-w:100%;
  --blue-h:48%
}
.surgery-page #surgery-panel-2 .surgery-plate{
  --blue-x:40%;
  --blue-y:0%;
  --blue-w:60%;
  --blue-h:94%
}
.surgery-page #surgery-panel-3 .surgery-plate{
  --blue-x:0%;
  --blue-y:9%;
  --blue-w:76%;
  --blue-h:91%
}
.surgery-page #surgery-panel-4 .surgery-plate{
  --blue-x:10%;
  --blue-y:27%;
  --blue-w:90%;
  --blue-h:58%
}
.surgery-page #surgery-panel-0 .surgery-plate img{
  width:105%;
  height:84%;
  left:50%;
  top:47%
}
.surgery-page #surgery-panel-1 .surgery-plate img{
  width:95%;
  height:87%;
  left:50%;
  top:46%
}
.surgery-page #surgery-panel-2 .surgery-plate img{
  width:100%;
  height:90%;
  left:50%;
  top:48%
}
.surgery-page #surgery-panel-3 .surgery-plate img{
  width:98%;
  height:88%;
  left:50%;
  top:47%
}
.surgery-page #surgery-panel-4 .surgery-plate img{
  width:100%;
  height:85%;
  left:50%;
  top:47%
}
@media(min-width:1500px){
  .surgery-page .surgery-explorer{
    min-height:760px
  }
  .surgery-page .surgery-panel,.surgery-page .surgery-plate{
    min-height:760px
  }
}
@media(max-width:1100px) and (min-width:721px){
  .surgery-page .surgery-explorer{
    grid-template-columns:23% 77%;
    min-height:660px
  }
  .surgery-page .surgery-panel{
    grid-template-columns:44% 56%;
    min-height:660px
  }
  .surgery-page .surgery-plate{
    min-height:660px
  }
  .surgery-page .surgery-tab{
    min-height:110px
  }
}
@media(max-width:720px){
  .surgery-page .surgery-explorer{
    display:block;
    min-height:0
  }
  .surgery-page .surgery-tabs{
    padding:0 5%
  }
  .surgery-page .surgery-tab{
    min-height:95px
  }
  .surgery-page .surgery-panel{
    display:flex;
    min-height:0
  }
  .surgery-page .surgery-plate{
    min-height:440px;
    height:440px
  }
  .surgery-page .surgery-plate img,.surgery-page #surgery-panel-0 .surgery-plate img,.surgery-page #surgery-panel-1 .surgery-plate img,.surgery-page #surgery-panel-2 .surgery-plate img,.surgery-page #surgery-panel-3 .surgery-plate img,.surgery-page #surgery-panel-4 .surgery-plate img{
    width:98%;
    height:87%;
    left:50%;
    top:47%
  }
  .surgery-page .surgery-detail{
    padding:36px 7% 50px
  }
}
/* FELGO | Correcciones de producción 2026-10 */
.surgery-page .surgery-explorer,
.surgery-page .surgery-panels,
.surgery-page .surgery-panel {
  min-width:0;
  max-width:100%
}
.surgery-page .surgery-plate{
  min-width:0;
  overflow:hidden;
  isolation:isolate
}
.surgery-page .surgery-plate::before{
  max-width:100%;
  box-sizing:border-box
}
.surgery-page .surgery-plate img,
.surgery-page #surgery-panel-0 .surgery-plate img{
  max-width:96%!important;
  max-height:84%!important;
  width:96%!important;
  height:84%!important;
  object-fit:contain!important;
  object-position:center;
  left:50%!important;
  top:49%!important;
}
@media(max-width:720px){
  .surgery-page .surgery-plate{
    min-height:320px;
    height:350px
  }
  .surgery-page .surgery-plate img,
  .surgery-page #surgery-panel-0 .surgery-plate img{
    max-height:85%!important;
    height:85%!important
  }
}
/* FIX: one arrow only: use the existing text glyph, not layered CSS arrows. */
/* FINAL: una única flecha real por pestaña, sin duplicados de pseudo-elementos */
/* Arrow reset: remove decorative CSS arrows, preserve exactly one text arrow */
/* Flecha editorial única, dibujada como SVG y sin adornos CSS. */
.surgery-page .surgery-tab .surgery-tab-arrow {
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  justify-self:end;
  display:block;
  width:38px;
  height:22px;
  min-width:38px;
  margin:0;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
  font-size:0;
  line-height:0;
  transform:none;
  opacity:1;
}
.surgery-page .surgery-tab .surgery-tab-arrow::before,
.surgery-page .surgery-tab .surgery-tab-arrow::after {
  content:none;
  display:none;
}
.surgery-page .surgery-tab .surgery-tab-arrow svg {
  display:block;
  width:38px;
  height:22px;
  overflow:visible;
  fill:none;
  stroke:#12365d;
  stroke-width:1.25;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* FELGO | Flechas de navegación de Cirugía: escala editorial unificada.
   Se conserva el SVG original de cada pestaña y se ajusta solo su aspecto. */
.surgery-page .surgery-tab .surgery-tab-arrow {
  width: 24px;
  min-width: 24px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
.surgery-page .surgery-tab .surgery-tab-arrow svg {
  display: block;
  width: 24px;
  height: 16px;
  stroke: #12365d;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.surgery-page .surgery-tab .surgery-tab-arrow::before,
.surgery-page .surgery-tab .surgery-tab-arrow::after {
  content: none;
  display: none;
}


/* FELGO | Unificar CTA de Cirugía con la flecha editorial de global.css.
   Sustituye visualmente el glifo ⟶ sin alterar el HTML ni los subrayados. */
.surgery-page .surgery-consult > span,
.surgery-page .surgery-end a > span {
  display: inline-block !important;
  position: relative !important;
  width: 29px !important;
  min-width: 29px !important;
  height: 14px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  flex-shrink: 0;
  vertical-align: middle;
  transform: none !important;
}
.surgery-page .surgery-consult > span::before,
.surgery-page .surgery-end a > span::before {
  content: '';
  position: absolute;
  top: 6.5px;
  left: 0;
  width: 28px;
  height: 1px;
  background: currentColor;
}
.surgery-page .surgery-consult > span::after,
.surgery-page .surgery-end a > span::after {
  content: '';
  position: absolute;
  right: 1px;
  top: 2.5px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
