:root { --legacy-teal: #1a6c7a; --legacy-orange: #e97939; --legacy-ink: #132532; }
.legacy-home { background: #fff; color: #172633; font-family: Montserrat, sans-serif; }
.legacy-home .legacy-hero { position: relative; min-height: 535px; overflow: hidden; color: #fff; background: linear-gradient(rgba(19, 30, 33, .48), rgba(19, 30, 33, .48)), url('assets/fer.png') center / cover; }
.legacy-home .legacy-header { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; background: transparent; border: 0; box-shadow: none; }
.legacy-home .legacy-header .nav-shell { width: min(1180px, calc(100% - 48px)); min-height: 128px; margin: auto; }
.legacy-home .legacy-header .brand img { width: 235px; filter: none; }.legacy-home .legacy-header nav { margin-left: auto; }.legacy-home .legacy-header nav a { color: #fff; font-size: 15px; font-weight: 400; letter-spacing: .01em; }.legacy-home .legacy-header nav a.is-current { color: var(--legacy-orange); }.legacy-home .legacy-header nav a::after { display: none; }.legacy-home .legacy-header nav a:last-child { min-width: 169px; margin-left: 12px; padding: 18px 25px; background: #2d7886; color: #fff; text-align: center; letter-spacing: .16em; text-transform: uppercase; }
.legacy-hero__main { position: relative; z-index: 1; width: min(660px, calc(100% - 44px)); margin: 0 auto; padding: 126px 0 135px; text-align: center; }.legacy-hero__logo { width: 290px; max-width: 76%; }.legacy-hero__main h1 { margin: 34px 0 24px; font-size: clamp(24px, 3vw, 31px); font-weight: 400; letter-spacing: .13em; }.legacy-hero__actions { display: grid; gap: 18px; width: 290px; max-width: 100%; margin: auto; }.legacy-hero__actions a, .legacy-outline-button { display: inline-flex; justify-content: center; align-items: center; min-height: 66px; padding: 15px 28px; border: 2px solid currentColor; color: inherit; font-size: 15px; font-weight: 500; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; }.legacy-hero__actions a::before { content: '✚'; margin-right: 10px; color: var(--legacy-orange); font-size: 17px; }.legacy-hero__actions a + a::before { content: '▦'; }
.legacy-hero__details { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px max(30px, calc((100vw - 1120px) / 2)); background: rgba(20, 42, 61, .78); }.legacy-hero__details a { display: grid; place-items: center; min-height: 105px; color: #fff; font-size: 17px; line-height: 1.28; letter-spacing: .09em; text-align: center; text-decoration: none; }.legacy-hero__details span { display: block; margin-bottom: 5px; color: var(--legacy-orange); font-size: 32px; line-height: 1; }
.legacy-partners { display: flex; justify-content: space-between; align-items: center; width: min(620px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 21px; }.legacy-partners img:first-child { width: 104px; }.legacy-partners img:last-child { width: 172px; }
.legacy-notice { width: min(1120px, calc(100% - 48px)); margin: 0 auto 31px; padding: 18px 31px; border-left: 4px solid var(--legacy-orange); background: #dff0f7; color: #526b7d; font-size: 14px; line-height: 1.55; }
.legacy-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 63px 0 88px; text-align: center; }.legacy-intro article { display: flex; flex-direction: column; align-items: center; }.legacy-intro article img { width: 120px; height: 120px; margin-bottom: 28px; object-fit: contain; }.legacy-intro article p { max-width: 350px; margin: 0; font-size: 15px; line-height: 1.16; letter-spacing: .06em; }.legacy-intro .legacy-outline-button { grid-column: 1 / -1; justify-self: center; min-height: 50px; margin-top: 7px; border-color: var(--legacy-teal); color: var(--legacy-teal); font-size: 13px; }
.legacy-neuro { display: grid; grid-template-columns: 1fr 1fr; min-height: 770px; }.legacy-neuro__image { position: relative; display: flex; justify-content: center; align-items: end; padding: 60px; background: linear-gradient(rgba(31, 71, 104, .14), rgba(31, 71, 104, .24)), url('assets/neurofisiologia.jpeg') center / cover; color: #fff; }.legacy-neuro__image h2 { margin: 0 0 72px; border-bottom: 2px solid #fff; color: #fff; font-size: clamp(27px, 3.1vw, 39px); font-weight: 700; letter-spacing: .14em; line-height: 1.12; }.legacy-neuro__copy { padding: 54px clamp(35px, 5vw, 78px); overflow: auto; background: #fff; color: #656565; font-size: 14px; line-height: 1.1; }.legacy-neuro__copy p { margin: 0 0 24px; }.legacy-neuro__copy ul { display: grid; gap: 20px; margin: 24px 0 26px; padding-left: 25px; }.legacy-neuro__copy li { padding-left: 4px; }.legacy-neuro__copy strong { color: #515151; }.legacy-neuro__copy .legacy-kicker { margin: 0 0 35px; color: #101b24; font-size: clamp(27px, 3vw, 38px); font-weight: 400; letter-spacing: .13em; }.legacy-rule { height: 1px; margin-bottom: 38px; background: #363636; }.legacy-neuro__copy img { display: block; width: 245px; max-width: 75%; margin: 30px auto 0; object-fit: contain; }
.legacy-specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 10px 40px; background: #fff; }.legacy-specialty-grid a { position: relative; display: block; min-height: 330px; overflow: hidden; color: #fff; text-decoration: none; }.legacy-specialty-grid img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.76); transition: transform .45s ease; }.legacy-specialty-grid a::after { content: ''; position: absolute; inset: 0; background: rgba(20, 33, 40, .12); }.legacy-specialty-grid a:hover img { transform: scale(1.04); }.legacy-specialty-grid span { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 36px); border-bottom: 2px solid #fff; font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; letter-spacing: .15em; line-height: 1.15; text-align: center; }
.legacy-specialty-grid span::first-letter { text-transform: uppercase; }
.legacy-parallax { position: relative; display: grid; min-height: 608px; place-items: center; background: linear-gradient(rgba(20, 91, 106, .64), rgba(20, 91, 106, .64)), url('assets/centro-recepcion.jpg') center / cover fixed; color: #fff; text-align: center; }.legacy-parallax > div { position: relative; z-index: 1; }.legacy-parallax h2 { margin: 0 0 36px; font-size: clamp(29px, 3vw, 40px); font-style: italic; letter-spacing: .1em; }.legacy-parallax p { margin: 0 0 76px; font-size: 16px; font-style: italic; letter-spacing: .05em; }.legacy-parallax .legacy-outline-button { min-height: 50px; font-size: 13px; }
.legacy-installations { min-height: 523px; padding: 90px max(70px, calc((100vw - 1140px) / 2)); background: linear-gradient(#fff, rgba(26, 108, 122, .08)); }.legacy-installations h2 { margin: 0 0 40px; font-size: clamp(27px, 3vw, 38px); font-weight: 400; letter-spacing: .15em; }.legacy-installations img { display: block; width: 370px; max-width: 100%; }
.legacy-footer { display: flex; justify-content: space-between; gap: 52px; padding: 58px max(32px, calc((100vw - 1140px) / 2)); background: #fff; color: #132532; }.legacy-footer > div { display: flex; align-items: flex-start; gap: 35px; }.legacy-footer img { width: 180px; }.legacy-footer p { margin: 0; font-size: 13px; line-height: 1.6; }.legacy-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 11px 35px; }.legacy-footer a { color: inherit; font-size: 13px; text-decoration: none; }
@media (max-width: 760px) { .legacy-home .legacy-header .nav-shell { width: calc(100% - 34px); min-height: 78px; }.legacy-home .legacy-header .brand img { width: 175px; }.legacy-home .legacy-header nav { top: 70px; }.legacy-home .legacy-header nav a { color: #172633; }.legacy-home .legacy-header nav a:last-child { margin: 0; }.legacy-hero__main { padding: 118px 0 175px; }.legacy-hero__main h1 { font-size: 21px; }.legacy-hero__details { padding: 0 7px; }.legacy-hero__details a { min-height: 95px; font-size: 11px; letter-spacing: .02em; }.legacy-hero__details span { font-size: 22px; }.legacy-partners { padding: 18px 0; }.legacy-partners img:first-child { width: 84px; }.legacy-partners img:last-child { width: 132px; }.legacy-notice { width: calc(100% - 34px); padding: 16px; font-size: 12px; }.legacy-intro { grid-template-columns: 1fr; gap: 44px; padding: 56px 0; }.legacy-intro article p { max-width: 390px; font-size: 14px; }.legacy-neuro { grid-template-columns: 1fr; }.legacy-neuro__image { min-height: 470px; }.legacy-neuro__image h2 { margin-bottom: 30px; font-size: 25px; text-align: center; }.legacy-neuro__copy { padding: 42px 26px; }.legacy-neuro__copy .legacy-kicker { font-size: 25px; }.legacy-specialty-grid { grid-template-columns: 1fr; gap: 12px; padding: 12px; }.legacy-parallax { min-height: 500px; background-attachment: scroll; }.legacy-parallax p { margin-bottom: 46px; padding: 0 25px; }.legacy-installations { min-height: auto; padding: 66px 28px; }.legacy-footer { display: grid; padding: 48px 28px; }.legacy-footer > div { display: grid; gap: 22px; }.legacy-footer nav { grid-template-columns: 1fr; } }

/* Titular de portada: sobrio y legible sobre la imagen. */
.legacy-home .legacy-neuro__image h2 { color: #fff !important; font-weight: 700 !important; }
.legacy-home .legacy-hero__main h1 { color: #fff; font-size: clamp(20px, 2.1vw, 26px); text-shadow: 0 2px 15px rgba(0, 0, 0, .46); }
.legacy-home .legacy-hero__actions a { border-color: #fff; background: rgba(18, 36, 48, .56); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); text-shadow: 0 1px 8px rgba(0, 0, 0, .42); }
.legacy-home .legacy-hero__actions a::before { color: #ff9b3e; }
.legacy-home .legacy-hero__details a { color: #fff; font-weight: 700; text-shadow: 0 1px 8px rgba(0, 0, 0, .42); }
.legacy-home .legacy-specialty-grid span { color: #fff !important; font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .58); }


/* Ajustes de portada */
.legacy-footer { background: #132532; color: #fff; }
.legacy-neuro__copy .legacy-kicker { text-transform: capitalize; }
.legacy-neuro__copy .legacy-rule { display: none; }


.legacy-pediatrics-news { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); width: min(1120px, calc(100% - 48px)); margin: 0 auto 48px; background: #f8eee7; color: var(--legacy-ink); }
.legacy-pediatrics-news figure { min-height: 300px; margin: 0; overflow: hidden; }
.legacy-pediatrics-news figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.legacy-pediatrics-news > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px clamp(32px, 5vw, 72px); }
.legacy-pediatrics-news__kicker { margin: 0 0 14px; color: var(--legacy-orange); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.legacy-pediatrics-news h2 { margin: 0 0 17px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.legacy-pediatrics-news > div > p:not(.legacy-pediatrics-news__kicker) { max-width: 600px; margin: 0 0 27px; color: #526b7d; font-size: 15px; line-height: 1.65; }
.legacy-pediatrics-news .legacy-outline-button { min-height: 49px; border-color: var(--legacy-teal); color: var(--legacy-teal); font-size: 12px; }
@media (max-width: 760px) { .legacy-pediatrics-news { grid-template-columns: 1fr; width: calc(100% - 34px); margin-bottom: 34px; }.legacy-pediatrics-news figure { min-height: 280px; }.legacy-pediatrics-news > div { padding: 33px 26px 37px; }.legacy-pediatrics-news h2 { font-size: 31px; }.legacy-pediatrics-news > div > p:not(.legacy-pediatrics-news__kicker) { font-size: 14px; } }

.legacy-home .legacy-hero__details a { transition: transform .2s var(--motion-ease, ease); }
.legacy-home .legacy-hero__details a:hover,
.legacy-home .legacy-hero__details a:focus-visible { color: #fff; transform: scale(1.035); }
.legacy-home .legacy-hero__details a:hover span,
.legacy-home .legacy-hero__details a:focus-visible span { color: var(--legacy-orange); }


.legacy-specialty-grid__pediatrics { grid-column: 2; }
.legacy-specialty-grid__pediatrics::after { background: linear-gradient(rgba(20, 33, 40, .24), rgba(20, 33, 40, .54)) !important; }
.legacy-specialty-grid__pediatrics img { object-position: center 22%; }
@media (max-width: 760px) { .legacy-specialty-grid__pediatrics { grid-column: auto; } }
