:root {
  color-scheme: light;
  --ink: #00276e;
  --muted: #526174;
  --teal: #007d9f;
  --teal-pale: #eaf7fb;
  --line: #d9e4e6;
  --surface: #f4f8fc;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:disabled { cursor: not-allowed; opacity: 1; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 16px; padding: 12px 20px; color: #fff; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.staging-banner { background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .06em; }
.staging-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 7px; }
.staging-inner strong { display: flex; align-items: center; gap: 9px; font-size: inherit; }
.status-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #6ed5c9; }
.staging-detail { color: #d7e5e9; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #edf1f2; background: #fff; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; flex-shrink: 0; padding-block: 8px; }
.brand-name { font-size: 29px; font-weight: 750; letter-spacing: -.045em; }
.brand-name > span { color: var(--teal); }
.brand-caption { margin-top: 9px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.main-nav a { padding-block: 10px; }
.main-nav a:hover, .back-to-top:hover { color: var(--teal); }
.main-nav .nav-access { border: 1px solid var(--line); padding: 10px 17px; border-radius: 6px; }
.nav-access span { margin-left: 14px; color: var(--teal); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 68px; align-items: center; padding-block: 72px 64px; }
#inicio { scroll-margin-top: 3rem; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; }
.small-line { width: 25px; height: 2px; background: var(--teal); }
h1 { margin-top: 22px; font-size: clamp(44px, 4.9vw, 66px); font-weight: 650; line-height: 1.07; letter-spacing: -.055em; }
h1 > span { color: var(--teal); }
.hero-description { max-width: 445px; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 17px; margin-top: 29px; color: var(--ink); font-weight: 650; font-size: 14px; }
.text-link:hover { color: var(--teal); }
.round-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #a8c3c7; border-radius: 50%; font-size: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
h2 { margin-top: 12px; font-size: clamp(27px, 2.6vw, 35px); letter-spacing: -.04em; font-weight: 650; }
.compact-heading h2 { font-size: 27px; }
.access-section { padding-block: 5px 72px; }
.access-grid, .exam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.access-card { display: flex; flex-direction: column; padding: 25px 25px 22px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 25px; }
.icon-box { display: grid; place-items: center; width: 44px; height: 44px; color: var(--teal); background: var(--teal-pale); border-radius: 9px; }
.pending-label { color: #55656e; background: #f0f3f4; font-size: 10px; padding: 4px 9px; border-radius: 4px; letter-spacing: .02em; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.access-card > p { color: var(--muted); font-size: 14px; margin-block: 14px 26px; }
.unavailable-action { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; margin-top: auto; padding: 12px 14px; color: #526973; background: #edf2f3; border: 1px solid #dce5e8; border-radius: 5px; font-size: 14px; font-weight: 650; text-align: left; }
.unavailable-action > span { font-size: 17px; }
.exam-section { padding-block: 66px; background: var(--surface); border-block: 1px solid #e8eef0; }
.exam-grid { gap: 35px; }
.exam-card { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid #c9dadd; padding-top: 20px; }
.item-number { color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: .07em; margin-bottom: 28px; }
.exam-card p { color: var(--muted); font-size: 14px; margin-block: 15px 23px; max-width: 320px; }
.data-pending { margin-top: auto; color: var(--muted); font-size: 11px; border-left: 2px solid #a7bfc3; padding-left: 9px; }
.locations-section { padding-block: 72px; }
.locations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.location-card { border: 1px solid var(--line); border-radius: 9px; padding: 28px; }
.location-heading { display: flex; gap: 17px; align-items: center; }
.location-pin { display: grid; place-items: center; color: var(--teal); background: var(--teal-pale); width: 54px; height: 60px; border-radius: 7px; }
.location-pin svg { width: 27px; height: 27px; }
.location-heading .eyebrow { font-size: 9px; margin-bottom: 6px; }
.location-heading h3 { font-size: 28px; }
dl { margin-block: 26px 22px; font-size: 13px; }
dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 10px; border-bottom: 1px solid #edf1f2; }
dt { font-weight: 600; }
dd { color: var(--muted); margin: 0; text-align: right; }
.location-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.map-button { background: #f0f4f5; color: #526973; padding: 8px 12px; border: 1px solid #dce5e8; border-radius: 4px; font-size: 12px; font-weight: 600; }
.map-button span { margin-left: 7px; }
.location-footer > p { font-size: 11px; color: var(--muted); }
.contact-section { padding-bottom: 68px; }
.contact-panel { background: var(--ink); color: #fff; border-radius: 12px; padding: 45px 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 75px; }
.contact-copy .eyebrow { color: #81d6cc; }
.contact-copy h2 { margin-top: 15px; font-size: 34px; line-height: 1.2; }
.contact-copy > p:last-child { color: #d3e0e5; font-size: 14px; margin-top: 20px; max-width: 390px; }
.contact-details { padding-top: 8px; }
.contact-details h3 { font-size: 16px; }
.contact-details dl { margin-block: 18px; }
.contact-details dl > div { border-bottom-color: #355360; padding-block: 12px; }
.contact-details dd { color: #c8dbe1; }
.contact-note { display: flex; align-items: baseline; gap: 9px; color: #c8dbe1; font-size: 11px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 26px 33px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.site-footer p { color: var(--muted); font-size: 10px; line-height: 1.8; }
.site-footer > p { font-weight: 650; letter-spacing: .02em; }
.site-footer > p span { font-weight: 400; letter-spacing: 0; }
.back-to-top { font-size: 12px; font-weight: 600; padding-block: 10px; }
.back-to-top span { margin-left: 12px; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .main-nav { gap: 22px; }
  .hero { gap: 36px; padding-block: 52px; }
  .access-grid { gap: 16px; }
  .access-card { padding: 20px; }
  .access-card h3 { font-size: 18px; }
  .contact-panel { padding: 36px; gap: 36px; }
  .location-card { padding: 24px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 6rem; }
  .container { width: calc(100% - 40px); }
  .staging-inner { min-height: 33px; justify-content: center; font-size: 10px; }
  .staging-detail { display: none; }
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0 20px; }
  .brand-name { font-size: 26px; }
  .brand-caption { font-size: 9px; }
  .main-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-block: 0 18px; }
  .main-nav a { padding: 10px 12px; border-radius: 4px; }
  .main-nav a:hover { background: var(--surface); }
  .main-nav .nav-access { margin-top: 3px; display: flex; justify-content: space-between; }
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
  .menu-icon { width: 17px; display: grid; gap: 5px; }
  .menu-icon > span { display: block; height: 1.5px; background: currentColor; transition: transform .15s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon > span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon > span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 42px; }
  h1 { font-size: clamp(43px, 8vw, 59px); margin-top: 17px; }
  .hero-description { font-size: 16px; margin-top: 20px; max-width: 490px; }
  .text-link { margin-top: 22px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading > p { margin-top: 15px; }
  .desktop-break { display: none; }
  .access-section { padding-block: 8px 46px; }
  .access-grid, .exam-grid, .locations-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .access-card { padding: 24px; }
  .card-top { margin-bottom: 20px; }
  .access-card > p { margin-bottom: 21px; }
  .exam-section { padding-block: 44px; }
  .exam-grid { gap: 28px; }
  .exam-card { padding-top: 18px; }
  .item-number { margin-bottom: 18px; }
  .exam-card p { max-width: none; margin-block: 12px 17px; }
  .locations-section { padding-block: 46px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; gap: 30px; }
  .contact-copy h2 { font-size: 30px; }
  .contact-section { padding-bottom: 38px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Refinamiento de la identidad pública CEDISUR: azul #00276e, celeste #00a2cc y verde. */
:root { --brand-cyan: #00a2cc; --brand-green: #8db500; }
.brand-logo { display: block; width: 260px; max-width: 100%; height: auto; }
.header-inner { min-height: 100px; }
.main-nav { gap: 24px; }
.main-nav .nav-access { background: var(--ink); color: white; border-color: var(--ink); }
.nav-access span { color: white; }
.hero { gap: 48px; padding-block: 56px 60px; grid-template-columns: 1fr 1.05fr; }
h1 { font-size: clamp(40px, 4.4vw, 60px); letter-spacing: -.045em; }
.hero-description { max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .text-link { margin: 0; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; border-radius: 6px; font-size: 14px; font-weight: 650; min-height: 46px; }
.primary-action { background: var(--ink); color: white; border: 1px solid var(--ink); }
.primary-action:hover, .main-nav .nav-access:hover { background: #06438c; color: white; }
.secondary-action { color: var(--ink); background: #eef7fc; border: 1px solid #c9dfea; }
.secondary-action:hover { background: #dceff8; }
.hero-local { margin-top: 30px; padding-left: 13px; border-left: 3px solid var(--brand-green); font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.hero-local > span:first-child { margin-inline: 8px; }
.hero-region { display: block; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.hero-visual { margin: 0; position: relative; border-radius: 12px 48px 12px 12px; overflow: hidden; background: #edf3f6; border-bottom: 4px solid var(--brand-cyan); }
.hero-visual img { display: block; width: 100%; height: 450px; object-fit: cover; object-position: 43% center; }
.hero-visual figcaption { position: absolute; inset: auto 0 0; padding: 55px 26px 24px; background: linear-gradient(transparent, rgba(0, 27, 65, .92)); color: white; }
.hero-visual figcaption span { display: block; font-size: 10px; letter-spacing: .12em; margin-bottom: 6px; }
.hero-visual figcaption strong { font-size: 21px; font-weight: 600; }
.access-card > .primary-action, .access-card > .secondary-action { margin-top: auto; }
.confirmed-label { background: #edf6df; color: #466200; }
.exam-grid { gap: 24px; }
.exam-card { border: 1px solid var(--line); padding: 0; border-radius: 10px; overflow: hidden; background: white; }
.service-image { display: block; width: 100%; height: 235px; object-fit: cover; }
.exam-content { padding: 24px; flex: 1; display: flex; flex-direction: column; width: 100%; }
.item-number { display: block; margin-bottom: 12px; font-size: 10px; }
.exam-card p { margin-block: 14px 24px; }
.service-link { color: var(--ink); font-size: 13px; font-weight: 650; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: auto; }
.service-link:hover { color: var(--teal); text-decoration: underline; }
.about-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; padding-block: 72px; }
.about-section > div:last-child > p { color: var(--muted); margin-bottom: 14px; }
.about-section h2 { font-size: 36px; }
.agreements-section { background: #f3f7eb; border-block: 1px solid #e0e8cd; }
.agreements-inner { padding-block: 36px; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.agreements-inner p:not(.eyebrow) { max-width: 570px; color: var(--muted); margin-top: 12px; font-size: 14px; }
.agreements-inner .secondary-action { background: white; flex-shrink: 0; }
.location-image { display: block; width: calc(100% + 56px); max-width: none; height: 205px; object-fit: cover; margin: -28px -28px 26px; }
.location-card { overflow: hidden; }
.location-phone { color: var(--muted); font-size: 12px; margin-top: 12px; }
.contact-details a { text-decoration: underline; text-underline-offset: 4px; }
.contact-copy .eyebrow { color: #8cdcf0; }
.status-dot { background: #aed338; }
@media (min-width: 761px) and (max-width: 1050px) {
  .brand-logo { width: 210px; }
  .main-nav { gap: 12px; font-size: 12px; }
  .header-inner { gap: 14px; }
  .main-nav .nav-access { padding-inline: 10px; }
  .hero { gap: 28px; }
}
@media (max-width: 1000px) {
  .location-image { width: calc(100% + 48px); margin: -24px -24px 24px; }
}
@media (max-width: 760px) {
  .brand-logo { width: 205px; }
  .header-inner { min-height: 86px; gap: 0 10px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 34px 42px; gap: 28px; }
  h1 { font-size: clamp(39px, 8vw, 56px); }
  .hero-local { margin-top: 22px; }
  .hero-actions { gap: 16px; }
  .service-image { height: 250px; }
  .exam-grid { gap: 22px; }
  .about-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 44px; }
  .about-section h2 { font-size: 30px; }
  .agreements-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .agreements-inner .secondary-action { flex-shrink: 1; }
  .location-image { height: 200px; }
  dl > div { flex-wrap: wrap; gap: 4px 16px; }
  dd { text-align: left; }
}
@media (max-width: 370px) {
  .brand-logo { width: 175px; }
  .menu-toggle:not([hidden]) { padding-inline: 8px; gap: 8px; }
  .container { width: calc(100% - 32px); }
}
@media (max-width: 760px) {
  .hero-visual img { height: 340px; }
  .hero-visual { border-top-right-radius: 34px; }
}
@media (max-width: 370px) {
  .hero-visual img { height: 290px; }
}

.location-logo { object-fit: contain; padding: 30px; background: #f5f8fa; }

/* Iteración visual premium: capa de presentación, sin alterar la lógica existente. */
:root {
  color-scheme: dark;
  --ink: #eef5ff;
  --muted: #a9b9ce;
  --teal: #68dbf1;
  --teal-pale: #122e40;
  --line: #26384d;
  --surface: #0b192b;
  background: #07111f;
}
body { background: #07111f; }
.skip-link { background: #185ac9; }
.container { width: min(1180px, calc(100% - 40px)); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid #68dbf1; outline-offset: 5px; }
.staging-banner { background: #030a13; border-bottom: 0; }
.staging-inner { min-height: 32px; }
.status-dot { background: #68dbf1; }
.site-header { background: #fff; border-color: #d9e4ee; }
.header-inner { min-height: 90px; }
/* El fondo original del logo se integra al header, sin una caja independiente. */
.brand { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin-block: 16px; }
.brand-logo { width: 180px; height: auto; }
.main-nav a { color: #00276e; }
.main-nav .nav-access { background: #185ac9; border-color: #397de7; color: #fff; }
.main-nav a:hover { color: #007d9f; background: #eef7fc; }
.menu-toggle:not([hidden]) { color: #00276e; background: transparent; border-color: #b7c9dc; }
.hero-stage { position: relative; isolation: isolate; background: radial-gradient(ellipse at 90% 20%, #113b5b 0, transparent 55%), #07111f; border-bottom: 1px solid var(--line); }
.hero-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; background: linear-gradient(90deg, transparent 79%, #419fc1 79%, #419fc1 calc(79% + 1px), transparent calc(79% + 1px)), linear-gradient(0deg, transparent 28%, #419fc1 28%, #419fc1 calc(28% + 1px), transparent calc(28% + 1px)); background-size: 160px 160px; mask-image: linear-gradient(90deg, transparent 30%, #000); }
.hero { grid-template-columns: minmax(0, 1fr); padding-block: 44px; gap: 36px; }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(38px, 5.3vw, 68px); font-weight: 600; letter-spacing: -.055em; line-height: 1.06; }
h1 > span { color: #68dbf1; }
.hero-description { font-size: 16px; line-height: 1.8; max-width: 440px; }
.hero-actions { gap: 12px; }
.hero-actions > a { width: 100%; }
.hero-actions .text-link { min-height: 46px; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid #375168; }
.primary-action { color: #fff; background: #185ac9; border-color: #397de7; border-radius: 4px; }
.primary-action:hover, .main-nav .nav-access:hover { background: #216ade; }
.secondary-action { color: #e5f5ff; background: #11283d; border-color: #35536d; border-radius: 4px; }
.secondary-action:hover { background: #1b3b55; }
.hero-local { border-color: #318ab4; margin-top: 28px; }
.hero-visual { border: 1px solid #43627a; border-radius: 4px 36px 4px 4px; box-shadow: 0 25px 65px #0005; }
.hero-visual img { height: 300px; }
.hero-visual figcaption { padding: 65px 22px 24px; background: linear-gradient(transparent, #061426f2); }
.hero-visual figcaption span { color: #99e9f8; }
.access-section { padding-block: 44px 60px; }
.access-grid { gap: 16px; }
.access-card { background: #0c1b2d; border-radius: 5px; padding: 24px; }
.patient-card { background: linear-gradient(135deg, #123153, #0c2035); border-color: #38749b; scroll-margin-top: 2rem; }
.icon-box { border: 1px solid #294b63; border-radius: 4px; }
.confirmed-label { color: #a6e5f4; background: #143447; }
.access-card small { display: inline-block; margin-top: 8px; font-size: 11px; }
h2 { font-weight: 550; letter-spacing: -.04em; }
.exam-section { border-color: var(--line); padding-block: 60px; }
.exam-card { background: #0a1626; border-color: #2d4056; border-radius: 5px; }
.service-image { height: 225px; }
.exam-content { padding: 24px; }
.item-number { color: #6cdbef; letter-spacing: .15em; }
.service-link { color: #d8f5ff; }
.about-section { padding-block: 60px; }
.agreements-section { background: #10243b; border-color: #2b4561; }
.agreements-inner { padding-block: 38px; }
.agreements-inner .secondary-action { background: #0a192a; }
.locations-section { padding-block: 60px; }
.location-card { background: #0c1b2d; border-radius: 5px; }
.location-pin { border: 1px solid #294b63; border-radius: 4px; }
dl > div { border-color: #29394c; }
.faq-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 10px 60px; }
.faq-intro { color: var(--muted); max-width: 330px; margin-top: 18px; font-size: 14px; }
.faq-list { border-top: 1px solid #35475d; }
.faq-list details { border-bottom: 1px solid #35475d; }
.faq-list summary { cursor: pointer; padding: 22px 4px; font-size: 15px; font-weight: 600; }
.faq-list summary::marker { color: #68dbf1; }
.faq-list details[open] summary { color: #68dbf1; }
.faq-list details p { padding: 0 4px 24px; color: var(--muted); font-size: 14px; }
.faq-list a { color: #d1f4ff; text-decoration: underline; text-underline-offset: 4px; }
.contact-panel { background: linear-gradient(120deg, #123258, #0d2139); border: 1px solid #315679; border-radius: 5px; padding: 30px 24px; }
.contact-details a { overflow-wrap: anywhere; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 30px 22px; }
.site-footer p { font-size: 11px; }
.site-footer .back-to-top { display: inline-block; }
.site-footer .footer-credit { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 400; letter-spacing: 0; }
@media (min-width: 500px) {
  .hero-actions > a { width: auto; }
  .hero-actions .text-link { padding-inline: 10px; gap: 22px; }
  .hero-visual img { height: 400px; }
}
@media (min-width: 761px) {
  .container { width: min(1180px, calc(100% - 64px)); }
  .brand-logo { width: 190px; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; padding-block: 64px; }
  .hero-visual img { height: 470px; }
  .hero-actions > a { font-size: 13px; padding-inline: 14px; }
  .access-card { padding: 20px; }
  .access-card .primary-action, .access-card .secondary-action { padding-inline: 12px; gap: 8px; font-size: 13px; }
  .faq-section { grid-template-columns: 1fr 1.25fr; gap: 50px; }
  .site-footer { grid-template-columns: 1.2fr 1fr auto; align-items: start; }
  .contact-panel { padding: 44px; }
}
@media (min-width: 1100px) {
  .brand-logo { width: 225px; }
  .hero { gap: 64px; padding-block: 78px; }
  .hero-visual img { height: 490px; }
  .access-card { padding: 28px; }
  .access-section, .locations-section, .about-section { padding-block: 72px; }
  .exam-section { padding-block: 76px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .brand-logo { width: 150px; }
  .access-card, .location-card { padding: 20px; }
  .location-image { width: calc(100% + 40px); margin: -20px -20px 24px; }
}

/* Cohesión de portada: fotografías fundidas con las superficies, assets intactos. */
:root { --card-surface: #0c1b2d; --card-radius: 10px; --section-space: clamp(48px, 6vw, 80px); }
.header-inner { min-height: 82px; }
.brand { margin-block: 14px; }
.brand-logo { width: 184px; }
.site-header { border-bottom: 2px solid #dce8ef; }
.main-nav { gap: 22px; }
.main-nav .nav-access { border-radius: 6px; }
.hero-stage { background: #07111f; border-bottom: 0; }
.hero-stage::before { opacity: .08; }
.hero { gap: 28px; padding-block: var(--section-space); }
.hero-visual { border: 0; border-radius: 0; box-shadow: none; background: #07111f; isolation: isolate; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #07111f 0%, transparent 38%), linear-gradient(180deg, #07111f 0%, transparent 18%), linear-gradient(90deg, #07111f 0%, transparent 16%, transparent 92%, #07111f 100%), linear-gradient(#10345722, #10345722); }
.hero-visual img { height: 320px; object-position: 48% center; }
.hero-visual figcaption { z-index: 1; inset: auto 20px 18px; padding: 0 0 0 14px; background: none; border-left: 2px solid #68dbf1; }
.hero-visual figcaption span { font-size: 9px; }
.hero-visual figcaption strong { font-size: 18px; }
.exam-section { background: linear-gradient(#07111f, #0a1727 35%, #07111f); border: 0; padding-block: var(--section-space); }
.access-section, .locations-section, .about-section { padding-block: var(--section-space); }
.access-grid, .exam-grid, .locations-grid { gap: 22px; }
.exam-card, .access-card, .location-card { background: var(--card-surface); border: 1px solid #263a4d; border-radius: var(--card-radius); box-shadow: 0 8px 24px #02081118; }
.exam-card, .location-card { overflow: hidden; }
.image-blend { position: relative; isolation: isolate; width: 100%; flex-shrink: 0; background: var(--card-surface); }
.image-blend::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #12395a12 0%, #12395a16 45%, #0c1b2d66 78%, var(--card-surface) 100%); }
.service-image, .location-image { display: block; width: 100%; max-width: 100%; height: 220px; margin: 0; padding: 0; object-fit: cover; object-position: center; filter: none; }
.exam-content { padding: 18px 24px 26px; }
.item-number { font-size: 9px; letter-spacing: .1em; color: #91b5c7; margin-bottom: 12px; }
.exam-card p { margin-block: 14px 20px; }
.location-card { padding: 0 24px 24px; }
.location-card .image-blend { width: calc(100% + 48px); margin: 0 -24px 22px; }
.location-image { height: 220px; }
.location-heading h3 { font-size: 26px; }
.location-pin, .icon-box { border-radius: 6px; background: #112a3e; border-color: #26465d; }
.access-card { padding: 24px; }
.patient-card { background: linear-gradient(135deg, #10283d, var(--card-surface)); border-color: #355970; }
.card-top { margin-bottom: 20px; }
.confirmed-label { background: transparent; color: #a9c5d7; padding-inline: 0; }
.primary-action, .secondary-action { border-radius: 6px; }
.agreements-section { background: linear-gradient(100deg, #0c1b2d, #112a40); border-color: #263a4d; }
.contact-panel { background: linear-gradient(120deg, #102b46, var(--card-surface)); border-color: #2b475e; border-radius: var(--card-radius); }
.faq-section { padding-bottom: var(--section-space); }
@media (min-width: 500px) { .hero-visual img { height: 400px; } }
@media (min-width: 761px) {
  .hero { gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .hero-copy { position: relative; z-index: 1; }
  .hero-visual img { height: 490px; }
  .hero-visual::after { background: linear-gradient(90deg, #07111f, transparent 34%), linear-gradient(0deg, #07111f, transparent 35%), linear-gradient(180deg, #07111f, transparent 20%), linear-gradient(270deg, #07111f, transparent 15%), linear-gradient(#10345722, #10345722); }
  .hero-visual figcaption { left: 22%; bottom: 28px; }
  .brand-logo { width: 196px; }
  .main-nav { gap: 12px; }
  .service-image { height: 210px; }
  .location-image { height: 250px; }
  .exam-content, .access-card { padding: 20px; }
}
@media (min-width: 1100px) {
  .header-inner { min-height: 92px; }
  .brand-logo { width: 220px; }
  .main-nav { gap: 26px; }
  .hero-visual img { height: 510px; }
  .service-image { height: 245px; }
  .location-image { height: 280px; }
  .exam-content, .access-card { padding: 24px 28px 28px; }
}
@media (max-width: 370px) {
  .brand-logo { width: 160px; }
  .exam-content, .access-card { padding: 20px; }
  .location-card { padding: 0 20px 20px; }
  .location-card .image-blend { width: calc(100% + 40px); margin-inline: -20px; }
  .service-image, .location-image { height: 200px; }
}

/* Convenios: paneles neutros para preservar contraste y colores de marca. */
.agreements-inner { display: block; padding-block: var(--section-space); }
.agreements-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.agreements-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; list-style: none; margin: 32px 0 0; padding: 0; }
.agreement-logo { display: flex; align-items: center; justify-content: center; min-width: 0; height: 120px; padding: 14px; border: 1px solid #bed0de; border-radius: var(--card-radius); background: #f3f6f8; box-shadow: 0 6px 18px #02081120, inset 0 1px 0 #fff; }
.agreement-logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; }
@media (min-width: 500px) { .agreements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 761px) {
  .agreements-heading { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .agreements-heading > div { max-width: 570px; }
  .agreements-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .agreement-logo { height: 112px; padding: 10px; }
}
@media (min-width: 1100px) { .agreement-logo { height: 140px; padding: 16px; } }
@media (min-width: 761px) and (max-width: 1023px) {
  .agreements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agreement-logo { height: 130px; padding: 16px; }
}

/* Cierre visual: superficies sobrias y jerarquía sin ornamentos. */
.site-header { background: #07111f; border-bottom: 1px solid #243247; }
.header-inner { min-height: 86px; }
.brand { padding: 0; margin-block: 16px; background: none; border: 0; box-shadow: none; }
.brand-logo { width: 184px; height: auto; border-radius: 2px; }
.main-nav a { color: #dce6f3; }
.main-nav a:hover { background: #122239; color: #fff; }
.menu-toggle:not([hidden]) { color: #eaf2fc; border-color: #3a4a60; background: transparent; }
.hero-stage::before { content: none; }
.hero { padding-block: clamp(40px, 5vw, 72px); gap: 32px; }
h1 { margin-top: 0; }
.hero-description { margin-top: 24px; }
.hero-actions { margin-top: 28px; }
.hero-actions > a { justify-content: center; }
.hero-actions .text-link { border: 0; text-decoration: underline; text-underline-offset: 5px; }
.hero-visual { border-radius: 12px; overflow: hidden; }
.hero-visual img { height: 300px; }
.hero-visual::after { background: linear-gradient(0deg, #07111f, transparent 28%), linear-gradient(90deg, #07111f88, transparent 35%), #0a274a0d; }
.exam-section { background: #07111f; }
.exam-card, .access-card, .location-card { box-shadow: none; border-color: #223349; border-radius: 10px; }
.image-blend { overflow: hidden; }
.image-blend::after { background: linear-gradient(180deg, transparent 55%, #0c1b2d55 80%, #0c1b2d 100%); }
.section-heading { margin-bottom: 28px; }
.eyebrow { font-size: 10px; letter-spacing: .08em; color: #8bb7ce; }
.access-card { background: #0c1b2d; }
.patient-card { background: #0e2135; border-color: #2c465d; }
.primary-action, .secondary-action { justify-content: center; }
.agreements-section { background: #0b192b; border-color: #223349; }
.agreement-logo { box-shadow: none; border-color: #dae2e8; border-radius: 8px; background: #f3f6f8; }
.contact-panel { background: #102238; box-shadow: none; }
@media (min-width: 761px) {
  .brand-logo { width: 196px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .hero-visual img { height: 420px; }
  .hero-visual::after { background: linear-gradient(90deg, #07111f, transparent 32%), linear-gradient(0deg, #07111f99, transparent 30%), #0a274a0d; }
}
@media (min-width: 1100px) {
  .brand-logo { width: 220px; }
  .hero-visual img { height: 460px; }
}
@media (max-width: 370px) { .brand-logo { width: 160px; } }

/* Bosquejo elegido: cabecera, hero y servicios. Resto de la portada intacto. */
body { --top-navy: #061827; background-color: #07111f;
 background-image: linear-gradient(180deg, transparent 125px, #06182780 160px, #061827e8 192px, #061827 220px), linear-gradient(90deg, #a5c5d5 0%, #91b0c2 18%, #516f85 37%, #17354a 58%, #061827 82%);
 background-size: 100% 843px; background-repeat: no-repeat;
}
.site-header { position: relative; background: transparent; border: 0; isolation: isolate; }
.site-header::before { content: none; }
.header-inner, .hero, .exam-section > .container { width: min(1440px, calc(100% - 40px)); }
.header-inner { min-height: 104px; }
.brand { margin-block: 18px; }
.brand-logo { width: 218px; height: auto; border-radius: 0; filter: none; box-shadow: none; }
.main-nav a { font-weight: 500; }
.main-nav .nav-access, .hero .primary-action { background: #0795d5; border-color: #0795d5; }
.menu-toggle:not([hidden]) { background: #082033; border-color: #4c7189; }
.hero-stage { background: transparent; }
.hero { position: relative; isolation: isolate; display: grid; padding-block: 34px 0; gap: 24px; }
.hero-copy { z-index: 2; }
.hero h1 { font-size: clamp(39px, 6vw, 70px); line-height: 1.03; font-weight: 700; letter-spacing: -.025em; }
.hero h1 span { color: #38c6df; }
.hero-description { color: #adc7d8; font-size: 16px; line-height: 1.8; max-width: 500px; margin-top: 24px; }
.hero-actions { gap: 14px; margin-top: 30px; }
.hero-actions > a { min-height: 50px; font-size: 14px; padding: 13px 20px; }
.hero .secondary-action { background: #091d2c; border-color: #40718c; }
.hero-visual { margin: 0 -20px; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 76%, transparent); }
.hero-visual img { width: 100%; height: 310px; object-fit: cover; object-position: center; filter: none; opacity: .85; }
.hero-visual::after { content: none; }
.exam-section { background: var(--top-navy); padding-block: 30px 56px; }
.exam-section h2 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.exam-section .section-heading { margin-bottom: 30px; }
.exam-grid { gap: 32px; }
.exam-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.exam-card .image-blend { background: var(--top-navy); overflow: hidden; }
.exam-card .image-blend::after { background: linear-gradient(0deg, #061827 0%, transparent 34%), linear-gradient(180deg, #061827 0%, transparent 5%), linear-gradient(90deg, #061827, transparent 4%, transparent 96%, #061827); }
.exam-card .service-image { height: 230px; object-fit: cover; }
.exam-content { padding: 0 8px; }
.exam-content h3 { font-size: 23px; font-weight: 600; }
.exam-content .service-link { color: #85cee4; margin-top: 8px; font-size: 15px; font-weight: 400; }
@media (min-width: 761px) {
 .header-inner, .hero, .exam-section > .container { width: min(1440px, calc(100% - 80px)); }
 .header-inner { min-height: 142px; }
 .brand-logo { width: clamp(240px, 21.875vw, 440px); }
 .main-nav { gap: 22px; }
 .main-nav .nav-access { padding: 14px 24px; }
 .hero { display: flex; align-items: center; min-height: 540px; padding-block: 60px 80px; }
 .hero-copy { width: 55%; }
 .hero-visual { position: absolute; z-index: -1; top: 0; bottom: 0; right: -40px; width: 73%; margin: 0; }
 .hero-visual img { height: 100%; object-position: center 46%; }
 .hero-visual { mask-image: linear-gradient(90deg, transparent 0%, #000 48%), linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%); mask-composite: intersect; }
 .hero-actions > a { width: auto; }
 .hero-description { font-size: 17px; }
 .exam-card .service-image { height: 240px; }
}
@media (min-width: 1200px) {
 .header-inner, .hero, .exam-section > .container { width: calc(100% - 160px); max-width: 1440px; }
 .staging-inner { min-height: 41px; width: min(1440px, calc(100% - 160px)); }
 .header-inner { min-height: 150px; }
 .brand { margin-block: 16px; }
 .main-nav { gap: 40px; font-size: 18px; }
 .main-nav .nav-access { min-width: 214px; height: 60px; display: inline-flex; align-items: center; justify-content: center; text-align: center; padding-block: 16px; border-radius: 10px; }
 .hero { min-height: 571px; align-items: flex-start; padding-block: 78px 0; }
 .hero-copy { width: 570px; }
 .hero-visual { right: min(-80px, calc((1440px - 100vw) / 2)); width: 76%; }
 .hero-description { font-size: 18px; margin-top: 32px; line-height: 1.7; }
 .hero-actions { margin-top: 36px; }
 .hero-actions > a { border-radius: 10px; padding-inline: 30px; min-height: 56px; font-size: 16px; font-weight: 600; }
 .hero-actions > a:nth-child(1) { min-width: 163px; }
 .hero-actions > a:nth-child(2) { min-width: 201px; }
 .hero-actions > a:nth-child(3) { min-width: 171px; }
 .exam-section { padding-top: 0; }
 .exam-section h2 { font-size: 36px; }
 .exam-grid { gap: 44px; }
 .exam-card .service-image { height: 265px; }
 .exam-content h3 { font-size: 25px; }
}
@media (max-width: 760px) {
 body { background-image: linear-gradient(180deg, transparent 65px, #061626 280px, #061827 100%), linear-gradient(105deg, #acc4d2 0%, #9ab4c4 40%, #5e7b90 75%, #183146 100%); background-size: 100% 1200px; }
}
@media (max-width: 370px) { .brand-logo { width: 165px; } .header-inner { gap: 0 8px; } .menu-toggle:not([hidden]) { padding-inline: 8px; } }
@media (min-width: 761px) and (max-width: 1050px) {
 .main-nav { gap: 12px; font-size: clamp(12px, 1.4vw, 14px); }
 .main-nav .nav-access { padding: 12px; }
}
