.salud-page {
  --ink: #183f43;
  color: var(--ink);
  background: linear-gradient(145deg, #fff8e9 0%, #efd4a0 46%, #faedcf 76%, #e9ca91 100%);
  padding: clamp(22px,4vw,64px) max(5vw,calc((100vw - 1180px)/2)) clamp(56px,7vw,110px);
}
.salud-page section { margin: 0 auto clamp(38px,6vw,84px); scroll-margin-top: 110px; }
.salud-panel { background: white; padding: clamp(24px,4vw,56px); border-radius: 30px 12px; box-shadow: 0 3px 6px rgba(24, 46, 42, .16), 0 18px 28px -9px rgba(24, 46, 42, .34); }
.salud-page h1,.salud-page h2,.salud-page h3 { color: var(--ink); font-family: Georgia, serif; font-weight: 400; line-height: 1.06; letter-spacing: -.035em; margin: 0 0 .5em; }
.salud-page h1 { font-size: clamp(2.6rem,5vw,4.8rem); }
.salud-page h2 { font-size: clamp(1.85rem,3.2vw,3rem); }
.salud-page h3 { font-size: clamp(1.45rem,2.4vw,2.2rem); }
.salud-page p,.salud-page dd { max-width: 70ch; line-height: 1.6; margin: 0 0 1em; }
.salud-page .button { margin: .5em .75em .5em 0; }
.salud-page .apertura,.salud-page .dos { display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap:clamp(22px,4vw,60px); }
.salud-page video { display:block; width:auto; max-width:100%; max-height: min(64vh,400px); margin:auto; border-radius:14px; }
.salud-indice { display:flex; flex-wrap:wrap; gap: 10px 24px; margin: 0 0 36px; }
.salud-indice a,.salud-page .text-link { color:#18565a; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.recorridos { display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,3vw,40px); align-items:stretch; }
.programa { padding:0; overflow:hidden; scroll-margin-top:110px; }
.programa img { width:100%; height:auto; display:block; }
.programa>div { padding:clamp(22px,3vw,40px); }
.salud-page summary { cursor:pointer; font-weight:700; padding:12px 0; }
.salud-page dt { font-weight:700; }
#vetas { padding: clamp(20px, 2.6vw, 36px); background-color: #d9f1eb; }
.titulo-etapas {
  display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px);
  justify-content: safe center; white-space: nowrap; overflow-x: auto; margin-bottom: 22px;
}
#vetas h2 {
  display: flex; align-items: center; gap: .4em; flex: none;
  font-size: clamp(1.25rem, 2vw, 1.9rem); margin: 0;
}
.marca-vetas { width: clamp(100px, 11vw, 160px); height: auto; mix-blend-mode: multiply; }
#vetas .titulo-etapas p {
  flex: none; max-width: none; margin: 0; padding-left: clamp(12px, 1.6vw, 24px);
  border-left: 1px solid #69938b; color: #183f43; font-size: clamp(1rem, 1.45vw, 1.32rem); line-height: 1.35;
}
.etapas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.etapas li { position: relative; text-align: center; }
.letra-vetas { margin-inline: auto; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ba8765; border-radius: 50%; color: #183f43; background: #fffaf5; font: 21px/1 Georgia, serif; }
.etapas li:not(:last-child)::before { content: ""; position: absolute; left: calc(50% + 17px); width: calc(100% - 14px); top: 16px; height: 1px; background: #ba8765; }
#vetas .etapas h3 { margin: 9px 0 5px; font-size: 1.32rem; }
#vetas .etapas p { margin: 0; font-size: 1rem; line-height: 1.42; }
@media (max-width: 820px) {
  .etapas { grid-template-columns: 1fr; gap: 12px; }
  .etapas li { display: grid; justify-items: center; gap: 4px; }
  .etapas li:not(:last-child)::before { left: 50%; top: 100%; height: 12px; width: 1px; }
  #vetas .etapas h3 { margin: 0 0 3px; }
}
@media(max-width:760px) { .salud-page .apertura,.salud-page .dos,.recorridos { grid-template-columns:1fr; } .salud-page { padding-inline:16px; } }

.cabecera-salud {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #dedad0;
  box-shadow: 0 7px 20px -15px #344f4f88;
}
.cabecera-salud .header-inner { height: auto; min-height: 88px; gap: clamp(12px,2vw,28px); }
.cabecera-salud .brand { width: clamp(195px,17vw,240px); }
.cabecera-salud .brand img { display: block; height: auto; width: 100%; }
.cabecera-salud .desktop-nav { display: flex; gap: clamp(12px,1.6vw,24px); align-items: center; }
.cabecera-salud nav a[aria-current="page"] { color: #174e50; text-decoration: underline; text-decoration-color: #ab792b; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.cabecera-salud .header-cta { display: inline-flex; background: #205357; color: #fff; }
.cabecera-salud .accion-breve,.cabecera-salud .menu-button,.cabecera-salud .mobile-menu { display: none; }
.cabecera-salud :focus-visible { outline: 3px solid #956426; outline-offset: 3px; }
@media (max-width: 980px) {
  .cabecera-salud .desktop-nav,.cabecera-salud .accion-amplia { display: none; }
  .cabecera-salud .header-inner { width: calc(100% - 24px); min-height: 68px; gap: 6px; }
  .cabecera-salud .brand { width: clamp(136px,40vw,195px); }
  .cabecera-salud .header-cta { min-height: 44px; padding: 8px 12px; margin-left: auto; }
  .cabecera-salud .accion-breve,.cabecera-salud .menu-button { display: block; }
  .cabecera-salud .menu-button { flex: none; margin: 0; }
  .cabecera-salud .mobile-menu:not([hidden]) { display: grid; max-height: calc(100dvh - 68px); overflow-y: auto; }
}
@media (max-width: 380px) {
  .cabecera-salud .header-cta { min-width: 0; font-size: .85rem; }
}


#enfoque {
  padding: 0;
  gap: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) 32%;
}
#enfoque > div:first-child { padding: clamp(14px, 1.5vw, 22px) clamp(18px, 2vw, 30px); }
.enfoque-video {
  position: relative;
  align-self: stretch;
  min-height: min(70svh, 490px);
}
#enfoque .enfoque-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 760px) {
  #enfoque { grid-template-columns: minmax(0, 1fr); }
  #enfoque > div:first-child { padding: 16px 20px 8px; }
  .enfoque-video { min-height: min(calc(58svh + 16px), 496px); }
}
@media (min-width: 761px) and (max-height: 500px) {
  #enfoque { grid-template-columns: minmax(0, 1fr) 25%; }
  #enfoque .enfoque-video video { position: sticky; top: 70px; height: min(100%, calc(100svh - 80px)); }
}


@media (min-width: 761px) {
  .programa {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto;
    align-items: center;
    column-gap: clamp(12px, 1.5vw, 22px);
    padding: clamp(16px, 1.75vw, 26px);
  }
  .programa > div { display: contents; }
  .programa img { border-radius: 16px 6px; }
  .salud-page .programa h3 { font-size: clamp(1.35rem, 1.95vw, 1.85rem); margin: 0; }
  .programa p, .programa details, .programa .button { grid-column: 1 / -1; }
  .salud-page .programa p { margin: 14px 0 4px; line-height: 1.45; }
  .programa summary { padding-block: 8px; }
  .salud-page .programa .button { justify-self: start; margin: 6px 0 0; }
}

@media (max-width: 760px) {
  .recorridos:not(:has(details[open])) { grid-auto-rows: 1fr; }
  .programa, .programa > div { display: flex; flex-direction: column; }
  .programa > div { flex: 1; }
  .programa .button { align-self: flex-start; }
  .programa details { margin-top: auto; }
}

.cabecera-salud .button-primary, .salud-page .button-gold {
  background: #226565;
  color: #fff;
  border-color: #226565;
}
.salud-page .hero-salud .button-gold {
  background: #ff963f;
  border-color: #ff963f;
  color: #23231f;
}
.salud-page .hero-salud .button-gold:hover { background: #ffab63; border-color: #ffab63; }

#pie-alunco { --edge: clamp(20px, 5vw, 84px); --line: #ccdcd6; font: 16px/1.5 "Segoe UI", Arial, sans-serif; color: #193f40; }
#pie-alunco .footer-grid > div { display: block; }
#pie-alunco h2, #pie-alunco p { margin: 0; color: inherit; }
#pie-alunco a { color: inherit; text-decoration: none; }
#pie-alunco .footer-brand img { height: auto; padding: 0; background: transparent; border-radius: 0; }
#pie-alunco a:focus-visible { outline: 3px solid #ad6c17; outline-offset: 4px; }
#pie-alunco { background: #b9e3d9; padding: 48px var(--edge) 24px; border-top: 1px solid var(--line); }
#pie-alunco .footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 32px; }
#pie-alunco .footer-brand img { width: min(200px, 100%); display: block; margin-bottom: 12px; }
#pie-alunco .footer-grid h2 { font: 650 17px/1.4 "Segoe UI", sans-serif; letter-spacing: normal; margin-bottom: 10px; }
#pie-alunco .footer-grid a { display: block; width: fit-content; padding-block: 4px; }
#pie-alunco .footer-grid address { margin-top: 6px; font-style: normal; }
#pie-alunco .footer-base { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 14px; }
#pie-alunco .agency-credit { margin-top: 20px; text-align: center; font-size: 14px; }
#pie-alunco .agency-credit a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  #pie-alunco .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  #pie-alunco .footer-brand { grid-row: 1 / 3; }
  #pie-alunco .footer-grid > :not(.footer-brand) { grid-column: 2; }
}

#sede { padding: 0; gap: 0; overflow: hidden; align-items: stretch; }
#sede > div:first-child { padding: clamp(24px, 4vw, 58px); }
#sede .text-link { display: inline-block; margin-right: 1.25rem; }
#sede .sede-galeria { position: relative; min-height: 340px; overflow: hidden; }
#sede .sede-galeria img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: 0; transition: opacity 1s ease; }
#sede .sede-galeria img[aria-hidden="false"] { opacity: 1; }
.sede-galeria button { position: absolute; right: 14px; bottom: 14px; padding: 9px 16px; font: inherit; color: white; background: #173732eb; border: 1px solid white; border-radius: 24px; cursor: pointer; }
@media (max-width: 760px) { #sede .sede-galeria { min-height: 0; aspect-ratio: 4/3; } }
@media (prefers-reduced-motion: reduce) { #sede .sede-galeria img { transition: none; } }
