@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-ThinIta.otf') format('opentype'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-ExtraLight.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-ExtLtIta.otf') format('opentype'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-LightIta.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-RegIta.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-MedIta.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-SemBdIta.otf') format('opentype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-BoldIta.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-ExtBdIta.otf') format('opentype'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-BlackIta.otf') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrow-ExtraBlack.otf') format('opentype'); font-weight: 950; font-style: normal; font-display: swap; }
@font-face { font-family: "mundial-narrow-variable"; src: url('../fonts/MundialNarrowItalic-ExtBlkIta.otf') format('opentype'); font-weight: 950; font-style: italic; font-display: swap; }

* { box-sizing: border-box; }
body { margin: 0; background: #f6f8fa; font-family: 'IBM Plex Sans', sans-serif; color: #10202e; }
a { color: #0f6fb0; text-decoration: none; }
a:hover { color: #0a4d80; text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.icon-arrow { flex: none; transition: transform .2s ease; position: relative; top: 1px; }
.news-link:hover .icon-arrow, .link-arrow:hover .icon-arrow, .inst-link:hover .icon-arrow, .program-link:hover .icon-arrow { transform: translateX(4px); }

/* Margins */
.margin-t-30 { margin-top: 30px}
.margin-b-30 { margin-bottom: 30px}

.text-uppercase { text-transform: uppercase; }
.section-b { padding-bottom: 70px; }
.text-center { text-align: center; }
.bg-celeste { background: #00afef; }
.text-white { color: #FFFFFF; }
.spinner { width: 40px; height: 40px; margin: 40px auto; border: 3px solid rgba(10,47,77,0.15); border-top-color: #00afef; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.d-flex { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 769px) { .d-flex { flex-direction: row; align-items: center; } }

/* Topbar */
.topbar { width: 100%; background: #0a2f4d; }
.topbar-inner { height: 58px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,0.75); font-size: 12.5px; font-weight: 500; }
.topbar-left { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.topbar-left span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); white-space: nowrap; }
.topbar-contact { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-weight: 600; white-space: nowrap; }
.topbar-contact:hover { color: #fff; text-decoration: none; }
.topbar-social { display: flex; align-items: center; gap: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.2); margin-left: 8px; }
.topbar-social a { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85); }
.topbar-social a:hover { color: #fff; }
.topbar-search-wrap { position: relative; display: flex; align-items: center; }
.topbar-search-toggle { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; z-index: 2; }
.topbar-search-toggle:hover { background: rgba(255,255,255,0.18); }
.topbar-search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 8px 16px; color: rgba(255,255,255,0.7); position: absolute; right: 0; top: 50%; transform: translateY(-50%) translateX(8px); width: 0; opacity: 0; overflow: hidden; transition: width .3s ease, opacity .3s ease, padding .3s ease, transform .3s ease; pointer-events: none; }
.topbar-search-wrap.open .topbar-search { width: 240px; opacity: 1; padding: 8px 44px 8px 16px; transform: translateY(-50%) translateX(0); pointer-events: auto; }
.topbar-search input { background: none; border: none; outline: none; color: #fff; font-size: 13.5px; width: 100%; }
.topbar-search input::placeholder { color: rgba(255,255,255,0.55); }

/* Header */
.header { width: 100%; background: #fff; border-bottom: 1px solid rgba(10,47,77,0.08); position: sticky; top: 0; z-index: 20; }
.header-inner { padding: 12px 48px; min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; transition: min-height .45s cubic-bezier(.22,.61,.36,1); }
.header.scrolled .header-inner { min-height: 92px; }
.logo { height: 90px; width: auto; flex: none; transition: height .45s cubic-bezier(.22,.61,.36,1); }
.header.scrolled .logo { height: 63px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; background: none; border: none; color: #0a2f4d; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.nav-toggle:hover { color: #0f6fb0; }
.nav-toggle-icon .bar { transition: transform .3s ease, opacity .2s ease; transform-origin: 12px 12px; }
.nav-toggle[aria-expanded="true"] .bar-top { transform: rotate(45deg) translateY(6px); }
.nav-toggle[aria-expanded="true"] .bar-mid { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar-bot { transform: rotate(-45deg) translateY(-6px); }
.nav-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; row-gap: 10px; font-size: 15px; }
.nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; row-gap: 10px; }
.nav a.nav-link, .nav-dropdown-trigger { color: #10202e; font-weight: 600; font-size: 15px; font-family: "mundial-narrow-variable", sans-serif; text-transform: uppercase; white-space: normal; max-width: 160px; text-align: center; line-height: 1.25; display: inline-flex; align-items: center; padding: 8px 10px; border: 1px solid transparent; border-radius: 6px; }
.btn-primary { background: none; color: #0f6fb0; font-weight: 600; font-family: "mundial-narrow-variable", sans-serif; font-size: inherit; text-transform: uppercase; padding: 0 0 0 24px; border: none; border-left: 1px solid rgba(10,47,77,0.15); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary svg { flex: none; border: 1.5px solid #0f6fb0; border-radius: 50%; padding: 4px; box-sizing: content-box; }
.btn-primary:hover { color: #0a4d80; text-decoration: none; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; background: none; cursor: pointer; }
.nav-caret { transition: transform .2s ease; flex: none; }
.nav-dropdown.open .nav-dropdown-trigger, .nav-dropdown-trigger:hover, .nav a.nav-link:hover { color: #0f6fb0; border-color: #0f6fb0; background: #eaf4fb; text-decoration: none; }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: #fff; border-radius: 10px; box-shadow: 0 20px 45px rgba(10,47,77,0.18); padding: 10px; display: none; flex-direction: column; z-index: 30; }
.nav-dropdown.open .nav-dropdown-panel { display: flex; }
.nav-dropdown-item { font-family: 'Work Sans', sans-serif; font-weight: 500; font-size: 15px; color: #263845; padding: 12px 14px; border-radius: 6px; }
.nav-dropdown-item:hover { background: #f0f6fa; color: #0a4d80; text-decoration: none; }

/* Nav submenu (3rd level flyout) */
.nav-dropdown-item--sub { padding: 0; position: relative; }
.nav-submenu-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: none; border: none; cursor: pointer; text-align: left; font-family: 'Work Sans', sans-serif; font-weight: 500; font-size: 15px; color: #263845; padding: 12px 14px; border-radius: 6px; }
.nav-dropdown-item--sub:hover .nav-submenu-trigger, .nav-dropdown-item--sub.open .nav-submenu-trigger { background: #0f6fb0; color: #fff; }
.nav-submenu-trigger svg { transition: transform .2s ease; }
.nav-dropdown-item--sub.open .nav-submenu-trigger svg { transform: rotate(90deg); }
.nav-submenu-panel { position: static; margin: 4px 0 6px; min-width: 0; background: #f6f8fa; border-radius: 8px; box-shadow: none; padding: 6px; display: none; flex-direction: column; }
.nav-submenu-panel .nav-submenu-panel { background: #eef3f7; margin-left: 12px; }
.nav-submenu-panel .nav-submenu-panel .nav-dropdown-item { font-size: 14px; padding: 10px 12px; }
.nav-dropdown-item--sub.open > .nav-submenu-panel { display: flex; }

/* Hero */
.hero { width: 100%; position: relative; overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 24px 8px; position: relative; }
.hero-clip { position: relative; overflow-x: hidden; overflow-y: visible; padding-bottom: 24px; }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide { flex: none; min-width: 0; overflow: hidden; padding: 0 30px; box-sizing: border-box; display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 36px; align-items: center; }
.hero-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: clamp(28px,3.6vw,44px); line-height: 1; color: #fff; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero-desc { font-size: 16.5px; line-height: 1.55; color: #fff; max-width: 480px; margin: 0 0 26px; }
.hero-desc p { color: #fff; }
.hero-cta { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 6px; display: inline-block; width: fit-content; }
.hero-cta:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.hero-photo-wrap { position: relative; min-width: 0; padding: 14px 6px 14px 0; box-sizing: border-box; }
.hero-photo { width: 100%; aspect-ratio: 16/10; border-radius: 5px; overflow: hidden; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 4px; z-index: 2; }
.hero-arrow:hover { color: #fff; }
.hero-arrow.prev { left: -6px; }
.hero-arrow.next { right: -6px; }
.hero-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.hero-dot { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0; width: 8px; }
.hero-dot.active { background: #fff; width: 28px; }

/* Quick access */
.quick-access { width: 100%; background: #eef3f7; border-top: 1px solid rgba(10,47,77,0.06); border-bottom: 1px solid rgba(10,47,77,0.06); }
.quick-access-wrap { padding: 32px 48px; display: flex; align-items: center; gap: 12px; }
.quick-access-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; flex: 1; }
@media (min-width: 980px) {
  .quick-access-track { gap: 30px; }
}
.qa-item { min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 12px 6px; border-radius: 6px; color: #10202e; position: relative; box-sizing: border-box; text-align: left; }
.qa-item:hover { text-decoration: none; }
.qa-item:hover .qa-label { color: #0f6fb0; }
.qa-icon { width: 54px; height: 54px; border-radius: 50%; background: #1a8f8f; display: flex; align-items: center; justify-content: center; flex: none; }
.qa-label { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.32; white-space: normal; min-width: 0; color: #0a2f4d; transition: color .2s ease; }
.qa-arrow { display: none; flex: none; width: 32px; height: 40px; border: none; background: none; color: #0a2f4d; align-items: center; justify-content: center; cursor: pointer; }
.qa-arrow:hover { color: #0f6fb0; }
.qa-arrow[hidden] { display: none; }

/* Section headings */
.section-eyebrow { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #0f6fb0; margin-bottom: 12px; }
.section-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 36px; color: #0a2f4d; margin: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.link-arrow { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 16px; color: #0a4d80; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* News */
.news-section { width: 100%; background: #f6f8fa; padding: 88px 0; }
.news-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid rgba(10,47,77,0.08); display: flex; flex-direction: column; }
.news-photo { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.news-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-tag { position: absolute; top: 12px; left: 12px; color: #fff; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; z-index: 2; }
.news-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { font-size: 12.5px; color: #7c8c9a; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.news-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.32; color: #0a2f4d; margin: 0; }
.news-spacer { flex: 1; }
.news-link { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 17px; color: #0f6fb0; display: inline-flex; align-items: center; gap: 6px; }

/* Institutional video banner */
.inst-banner { width: 100%; background: #0a2f4d; }
.inst-grid { padding: 56px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.inst-video { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.inst-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.inst-eyebrow { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #7fd8f7; margin-bottom: 8px; }
.inst-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 21px; color: #fff; margin: 0 0 10px; }
.inst-link { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 15px; color: #fff; text-decoration: underline; width: fit-content; display: inline-flex; align-items: center; gap: 6px; }

/* Programs */
.programs-section { width: 100%; background: #fff; padding: 56px 0 40px; }
.programs-title { max-width: 640px; margin: 0 0 40px; }
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.program-card { border: 1px solid rgba(10,47,77,0.1); border-radius: 12px; overflow: hidden; }
.program-video { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.program-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.program-body { padding: 26px 28px 30px; }
.program-tag { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #0f6fb0; margin-bottom: 10px; }
.program-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 22px; color: #0a2f4d; margin: 0 0 12px; }
.program-desc { font-size: 15px; line-height: 1.6; color: #41586b; margin: 0 0 16px; }
.program-link { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 15px; color: #0f6fb0; display: inline-flex; align-items: center; gap: 6px; }

/* Feature news (3-up, photo/video) */
.feature-news-section { width: 100%; padding: 40px 0 88px; }
.feature-news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feature-news-card { display: flex; flex-direction: column; gap: 18px; }
.feature-news-media { width: 100%; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: #000; }
.feature-news-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-news-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.feature-news-media--video { position: relative; display: block; }
.feature-news-media--video::before { content: ''; position: absolute; inset: 0; background: rgba(10,30,48,0.28); }
.video-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; z-index: 1; }
.video-play-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-news-body { display: flex; flex-direction: column; gap: 10px; }
.feature-news-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.32; color: #0a2f4d; margin: 0; }

/* Centers */
.centers-section { width: 100%; background: #f6f8fa; padding: 96px 0; }
.centers-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.centers-head p { font-size: 16.5px; line-height: 1.6; color: #41586b; margin: 0; }
.centers-grid, .centers-grid-3col { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.centers-grid-2col { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.center-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 71/50; display: block; }
.center-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.center-card:hover img { transform: scale(1.06); }
.center-card:hover .center-name { text-decoration: underline; }
.center-scrim { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(10,47,77,0.85) 0%,rgba(10,47,77,0) 45%); pointer-events: none; }
.center-name { position: absolute; left: 22px; right: 22px; bottom: 20px; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 19px; color: #fff; margin: 0; }
.center-card--v2 { display: block; aspect-ratio: auto; overflow: visible; height: auto; }
.center-card--v2 .center-card-media { aspect-ratio: 71/50; overflow: hidden; border-radius: 12px; }
.center-card--v2 img { aspect-ratio: auto; }
.center-name--v2 { position: static; color: #0a3556; font-size: 18px; margin: 12px 0 0; padding: 0; }

/* Concursos */
.contests-section { width: 100%; background: #1a8f8f; padding: 64px 0; }
.contests-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contests-desc { font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,0.9); max-width: 520px; margin: 12px 0 0; }
.contests-btn { flex: none; background: #fff; color: #106b6b; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 15px; padding: 15px 30px; border-radius: 6px; white-space: nowrap; }
.contests-btn:hover { background: #eafbfb; color: #106b6b; text-decoration: none; }

/* Agenda */
.agenda-section { width: 100%; background: #fff; padding: 96px 0; }
.agenda-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.agenda-card { display: flex; gap: 20px; padding: 26px; border: 1px solid rgba(10,47,77,0.1); border-radius: 10px; }
.agenda-date { flex: none; width: 64px; height: 64px; border-radius: 8px; background: #0a3556; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: "mundial-narrow-variable", sans-serif; }
.agenda-day { font-weight: 800; font-size: 24px; line-height: 1; }
.agenda-month { font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }
.agenda-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.35; color: #0a2f4d; margin: 0 0 8px; }
.agenda-meta { font-size: 16.5px; color: #7c8c9a; font-weight: 500; }
.agenda-meta p { margin-bottom: 0; padding-bottom: 0; }

/* Agenda de Actividades (listing page) */
.agenda-page-layout { max-width: 860px; margin: 0 auto; }
.agenda-list { display: flex; flex-direction: column; gap: 14px; }
.agenda-list-item { border: 1px solid rgba(10,47,77,0.12); border-radius: 12px; overflow: hidden; background: #fff; }
.agenda-list-summary { width: 100%; display: flex; align-items: center; gap: 20px; padding: 20px 24px; border: none; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; text-decoration: none; }
.agenda-list-summary:hover .agenda-list-title { color: #0f6fb0; }
.agenda-list-media { flex: none; width: 280px; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: #eef3f7; position: relative; }
.agenda-list-media:has(.video-play-icon)::before { content: ''; position: absolute; inset: 0; background: rgba(10,30,48,0.28); z-index: 1; }
.agenda-list-media img { width: 100%; height: 100%; object-fit: cover; }
.agenda-list-datebox { flex: none; width: 82px; height: 82px; border-radius: 8px; background: #0a3556; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.agenda-list-datebox .agenda-weekday { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #7fd8f7; }
.agenda-list-datebox .agenda-day { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 27px; line-height: 1.1; }
.agenda-list-datebox .agenda-month { font-family: "mundial-narrow-variable", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; margin-top: 1px; }
.agenda-list-info { flex: 1; min-width: 0; }
.agenda-list-date { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: #0f6fb0; margin-bottom: 4px; }
.agenda-list-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; color: #0a2f4d; margin: 0 0 6px; }
.agenda-list-chevron { flex: none; color: #7c8c9a; transform: rotate(-90deg); }
.link-arrow-back { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 16px; color: #0a4d80; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.link-arrow-back::before { content: ""; width: 12px; height: 12px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M9 1L3 6l6 5' stroke='%23000' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M9 1L3 6l6 5' stroke='%23000' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .2s ease; }
.link-arrow-back:hover::before { transform: translateX(-4px); }
@media (max-width: 640px) {
  .agenda-list-summary { flex-wrap: wrap; }
  .agenda-list-media { width: 100%; }
}

/* Footer */
.footer { width: 100%; background: #0a2f4d; }
.footer-grid { padding: 72px 48px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 20px; }
.footer-desc { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 320px; margin: 0 0 22px; }
.footer-phone { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 16px 18px; width: fit-content; }
.footer-phone-number { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 22px; color: #7fd8f7; }
.footer-phone-label { font-size: 12.5px; color: rgba(255,255,255,0.65); line-height: 1.3; }
.footer-grid h4 { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #7fd8f7; margin: 0 0 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-bottom { padding: 24px 48px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,0.5); }

@media (max-width: 1150px) {
  .logo { height: 80px; }
  .nav-row { font-size: 13px; }
  .nav { gap: 14px; }
  .btn-primary { padding-left: 16px; }
  .btn-primary svg { width: 16px; height: 16px; }
}

/* Subpage: sidebar + content */
.subpage-hero { width: 100%; background: linear-gradient(120deg, rgba(10,47,77,0.82), rgba(15,111,176,0.6)), url('../imgs/subpage-hero-institucional.jpg') center/cover no-repeat; padding: 72px 0; }

/* Acordeón genérico */
.accordion-group { margin-bottom: 40px; }
.accordion-dept { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 22px; color: #00afef; margin: 0 0 20px; }
.accordion-dept-lead { font-size: 15px; color: #41586b; margin: 0 0 16px; }
.accordion { border: 1px solid rgba(10,47,77,0.12); border-radius: 10px; overflow: hidden; margin-bottom: 30px }
.accordion-item { border-bottom: 1px solid rgba(10,47,77,0.12); }
.dept-contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.dept-contact-grid--3col { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
@media (max-width: 720px) { .dept-contact-grid { grid-template-columns: 1fr; } .dept-contact-grid--3col { grid-template-columns: 1fr; } .att-safe-grid { grid-template-columns: 1fr !important; } }.dept-contact-card { border: 1px solid rgba(10,47,77,0.12); border-radius: 10px; padding: 24px; height: 100%; width: 100%; box-sizing: border-box; min-width: 0; }
.dept-contact-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 22px; color: #00afef; margin: 0 0 16px; padding-top: 0; }
.dept-contact-card p:last-child { padding-bottom: 0; }
.search-content-form { display: flex; gap: 12px; margin-bottom: 40px; }
.search-content-input { flex: 1; border: 1px solid rgba(10,47,77,0.2); border-radius: 8px; padding: 14px 18px; font-size: 16px; font-family: inherit; }
.search-content-btn { background: #0a3556; color: #fff; border: none; border-radius: 8px; padding: 0 28px; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; }
.search-content-btn:hover { background: #0f6fb0; }
.search-results-list { display: flex; flex-direction: column; gap: 24px; }
.search-result-item { border-bottom: 1px solid rgba(10,47,77,0.1); padding-bottom: 24px; }
.search-result-link { text-decoration: none; }
.search-result-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 19px; color: #0a2f4d; margin: 0 0 8px; }
.search-result-link:hover .search-result-title { color: #0f6fb0; }
.search-result-summary { font-size: 16px; line-height: 1.6; color: #41586b; margin: 0; }
@media (max-width: 640px) {
  .search-content-form { flex-direction: column; }
  .search-content-btn { padding: 14px; }
}
.tabs-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.tab-trigger { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .03em; color: #fff; background: rgb(21,189,249); border: none; padding: 14px 22px; cursor: pointer; }
.tab-trigger:first-child { border-radius: 10px 0 0 0; }
.tab-trigger:last-child { border-radius: 0 10px 0 0; }
.tab-trigger.active { background: rgb(10,47,77); }
.tabs-panel-wrap { border: 1px solid rgba(10,47,77,0.12); border-radius: 0 0 10px 10px; padding: 24px 28px; }
.icon-links-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.icon-link-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; text-decoration: none; border: 1px solid rgba(10,47,77,0.12); border-radius: 10px; padding: 24px; }
.icon-link-card svg { background: #f2f4f6; border-radius: 50%; padding: 17px; box-sizing: border-box; }
.icon-link-card:hover .icon-link-label { color: #0a4d80; text-decoration: underline; }
.icon-link-label { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; color: #10202e; }
@media (max-width: 640px) {
  .icon-links-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .content-list { margin: 0; }
@media (max-width: 640px) {
  .tab-trigger { flex: 1 1 46%; }
}
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #fff; border: none; cursor: pointer; text-align: left; font: inherit; }
.accordion-trigger:hover { background: #f6f9fb; }
.accordion-name { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 16.5px; color: #10202e; }
.accordion-chevron { flex: none; color: #7c8c9a; transition: transform .2s ease; }
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }
.accordion-panel { display: none; padding: 0 20px 20px; }
.accordion-item.open .accordion-panel { display: block; }
.accordion-row { font-size: 15px; line-height: 1.6; color: #41586b; margin: 0 0 4px; }
.accordion-row strong { color: #10202e; font-weight: 600; }
.accordion-row a { color: #0f6fb0; }
.subpage-eyebrow { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #7fd8f7; margin-bottom: 10px; }
.subpage-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 40px; color: #fff; margin: 0; }
.subpage-section { width: 100%; background: #fff; padding: 64px 0 96px; }
.subpage-layout { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.subpage-sidebar { position: sticky; top: 24px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid rgba(10,47,77,0.08); }
.sidebar-link { font-family: "mundial-narrow-variable", sans-serif; font-weight: 600; font-size: 15px; color: #41586b; padding: 12px 20px; border-left: 2px solid transparent; margin-left: -2px; }
.sidebar-link:hover { color: #0f6fb0; text-decoration: none; background: #f6f8fa; }
.sidebar-link.active { color: #0f6fb0; border-left-color: #0f6fb0; background: #eaf4fb; font-weight: 700; }
.content-page { max-width: 720px; }
.gallery-section { width: 100%; background: #fff; padding: 0 0 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(10,20,30,0.82); z-index: 100; align-items: center; justify-content: center; padding: 40px; }
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }
.content-lead { font-size: 19px; line-height: 1.6; color: #10202e; font-weight: 500; margin: 0 0 24px; }
.content-page p { font-size: 16.5px; line-height: 1.75; color: #41586b; margin: 0 0 20px; }
.content-h2 { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 24px; color: #0a2f4d; margin: 40px 0 16px; }
.content-list { margin: 0 0 20px; padding-left: 20px; }
.content-list li { font-size: 16.5px; line-height: 1.75; color: #41586b; margin-bottom: 12px; }

.content-table-wrap { width: 100%; overflow-x: auto; margin: 8px 0 28px; }
.content-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.content-table th { text-align: left; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; color: #0a2f4d; padding: 12px 16px; border-bottom: 1px solid rgba(10,47,77,0.15); }
.content-table td { padding: 12px 16px; color: #41586b; border-bottom: 1px solid rgba(10,47,77,0.08); vertical-align: top; }
.content-table td:first-child { font-weight: 700; color: #0a2f4d; }
.content-table tbody tr:nth-child(even) { background: #f5f8fa; }
@media (max-width: 640px) {
  .content-table thead { display: none; }
  .content-table, .content-table tbody, .content-table tr, .content-table td { display: block; width: 100%; }
  .content-table tr { padding: 14px 16px; border-bottom: 1px solid rgba(10,47,77,0.08); }
  .content-table td { padding: 2px 0; border-bottom: none; }
  .content-table td:first-child { font-size: 16px; margin-bottom: 6px; }
  .content-table td:not(:first-child):empty { display: none; }
}
.subpage-content ul, .subpage-content li, .content-page ul, .content-page li { margin: 0 0 20px; padding-left: 20px; }
.subpage-content li, .content-page li { font-size: 16.5px; line-height: 1.75; color: #41586b; margin-bottom: 12px; }
.content-image { width: 100%; border-radius: 12px; overflow: hidden; margin: 8px 0 28px; }
.content-image:not(:has(img)), .content-image:has(img[src=""]) { display: none; margin: 0; height: 0; }
.content-image img { width: 100%; height: auto; object-fit: contain; }
.content-pullquote { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 24px; line-height: 1.4; color: #0a2f4d; border-left: 3px solid #0f6fb0; padding: 4px 0 4px 24px; margin: 36px 0 0; }
.content-video { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin: 28px 0 0; }
.content-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.content-btn { display: inline-flex; align-items: center; gap: 8px; background: #00afef; color: #fff; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 17px; padding: 14px 28px; border-radius: 6px; margin-top: 24px; width: fit-content; }
.content-btn:hover { background: #0090c7; color: #fff; text-decoration: none; }
.content-btn-wh { background: #25d366; }
.content-btn-wh:hover { background: #1eb455; }

/* Historia */
.history-timeline { display: flex; flex-direction: column; gap: 40px; }
.history-block { display: grid; grid-template-columns: 110px 1fr; gap: 24px; }
.history-year { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 34px; color: #0f6fb0; line-height: 1; }
.history-heading { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 22px; color: #0a2f4d; margin: 0 0 12px; }
.history-block p { font-size: 16.5px; line-height: 1.75; color: #41586b; margin: 0 0 14px; }
.history-block--split .history-split { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: center; }
.history-block--split { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.history-image { border-radius: 8px; overflow: hidden; }
.history-image img { width: 100%; height: auto; display: block; }
@media (max-width: 640px) {
  .history-block--split .history-split { grid-template-columns: 1fr; }
  .history-image { order: -1; max-width: 220px; }
}
.history-quote, .content-page blockquote, .subpage-content blockquote { margin: 10px 0 20px; padding: 28px 32px; background: #f3f7fa; border-left: 4px solid #0f6fb0; border-radius: 0 8px 8px 0; }
.history-quote p, .content-page blockquote p, .subpage-content blockquote p { font-family: "mundial-narrow-variable", sans-serif; font-weight: 600; font-style: italic; font-size: 19px; line-height: 1.55; color: #0a2f4d; margin: 0 0 12px; }
.history-quote-cite, .content-quote-cite { display: block; font-style: normal; font-size: 13.5px; color: #7c8c9a; }
@media (max-width: 640px) {
  .history-block { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 900px) {
  .subpage-layout { grid-template-columns: 1fr; }
  .subpage-sidebar { position: static; }
  .nav a.nav-link, .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 7px 11px; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; border-left: none; gap: 8px; }
  .sidebar-link { border-left: none; border: 1px solid rgba(10,47,77,0.12); border-radius: 999px; padding: 8px 16px; margin-left: 0; }
  .sidebar-link.active { border-color: #0f6fb0; }
  .nav-toggle { display: flex; }
  .header-inner { justify-content: space-between; }
  .topbar-contact-label { display: none; }
  .nav-row { display: none; flex-direction: column; align-items: stretch; width: 100%; gap: 4px; background: #fff; border-top: 1px solid rgba(10,47,77,0.08); margin-top: 12px; padding-top: 12px; }
  .nav-row.open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
  .nav a.nav-link, .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 14px 12px; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-panel { position: static; box-shadow: none; margin: 0 0 6px 12px; min-width: 0; }
  .nav-submenu-panel { position: static; box-shadow: none; margin: 6px 0 0 12px; min-width: 0; }
  .btn-primary { width: 100%; justify-content: flex-start; border-left: none; border-top: 1px solid rgba(10,47,77,0.15); padding: 14px 12px 0; margin-top: 8px; }
  .hero-slide, .inst-grid, .programs-grid, .centers-grid, .centers-grid-3col, .centers-grid-2col { grid-template-columns: 1fr; }
  .news-grid, .feature-news-grid { grid-template-columns: repeat(2,1fr); }
  .agenda-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .subpage-section { padding: 40px 0 55px; }
  .topbar-inner { flex-direction: column; align-items: center; height: auto; padding: 10px 0; gap: 10px; }
  .topbar-left { justify-content: center; gap: 14px; flex-wrap: wrap; }
  .topbar-contact-label { display: none; }
  .topbar-search-wrap { width: 100%; justify-content: center; }
  .topbar-search-toggle { display: none; }
  .topbar-search { position: static; width: 100%; max-width: 320px; opacity: 1; transform: none; padding: 8px 16px; pointer-events: auto; }
  .header-inner { padding: 12px 20px; min-height: auto; justify-content: space-between; }
  .logo { height: 74px; transition: height .25s ease; }
  .header.scrolled .logo { height: 55.5px; }
  .nav { justify-content: center; gap: 14px; }
  .nav a.nav-link, .nav-dropdown-trigger { font-size: 13px; }
  .nav-dropdown-panel, .nav-submenu-panel { min-width: 240px; }
  .nav-submenu-panel { left: 0; top: 100%; margin-top: 6px; }
  .btn-primary { padding-left: 14px; }
  .btn-primary svg { width: 16px; height: 16px; }
  .hero-inner { padding: 20px 8px; }
  .hero-slide { grid-template-columns: 1fr; padding: 0 16px; gap: 20px; }
  .hero-photo-wrap { order: -1; padding: 0; }
  .hero-title { font-size: 26px; }
  .hero--v2 .hero-arrow { display: flex; z-index: 2; }
  .hero--v2 .hero-arrow.prev { left: 6px; }
  .hero--v2 .hero-arrow.next { right: 6px; }
  .hero--v2 .hero-dots { position: relative; left: auto; transform: none; bottom: auto; z-index: 2; margin-top: 12px; }
  .hero--v2 .hero-dot { background: rgba(10,53,86,0.25); }
  .hero--v2 .hero-dot.active { background: #0f6fb0; }
  .quick-access-wrap { padding: 20px; gap: 8px; }
  .qa-item { padding: 12px 18px; gap: 12px; }
  .qa-icon { width: 42px; height: 42px; }
  .hero--v2 .hero-textbox { height: calc(100% - 200px); }
  .section-title { font-size: 26px; }
  .news-section, .programs-section, .centers-section, .agenda-section, .contests-section, .feature-news-section { padding: 56px 0; }
  .news-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .news-body { padding: 14px 14px 16px; }
  .inst-grid { padding: 40px 20px; gap: 28px; }
  .contests-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .contests-btn { width: fit-content; text-align: center; }
  .footer-grid { padding: 48px 20px 32px; gap: 36px; }
  .footer-bottom { padding: 20px; flex-direction: column; align-items: flex-start; display: flex; width: 100%; box-sizing: border-box; }
}

@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .feature-news-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
  .topbar-left { gap: 10px; font-size: 11.5px; }
  .topbar-left span, .topbar-contact, .topbar-social a { gap: 5px; }
  .topbar-social { gap: 10px; padding-left: 10px; margin-left: 6px; }
}

/* Home hero (index.html) */
.hero.hero--v2 { background: none; position: relative; overflow: hidden; }
.hero--v2 .hero-inner { position: relative; z-index: 2; padding: 0; }
.hero--v2 .hero-clip { height: 450px; padding-bottom: 0; width: 100vw; margin-left: calc(50% - 50vw); }
@media (min-width: 1500px) {
  .hero--v2 .hero-clip { height: 540px; }
}
.hero--v2 .hero-slide { grid-template-columns: none; display: flex; align-items: center; justify-content: flex-start; height: 100%; background-size: cover; background-position: center; box-sizing: border-box; position: relative; padding-left: max(38px, calc((100vw - 1280px) / 2 + 38px)); padding-right: max(38px, calc((100vw - 1280px) / 2 + 38px)); }
.hero--v2 .hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,30,48,0.3) 0%, rgba(10,30,48,0.3) 100%); z-index: 0; }
.hero--v2 .hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 16px; margin-top: 0; z-index: 2; }
.hero--v2 .hero-track { height: 100%; width: 100%; }
.hero-bg-layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s ease; z-index: 0; }
.hero-bg-layer.active { opacity: 1; }
.hero-bg-layer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,30,48,0.3) 0%, rgba(10,30,48,0.3) 100%); }
.hero-bg-1 { background-image: url('../imgs/hero-v2-slide1.jpg'); background-position: 60% 40%; }
.hero-bg-2 { background-image: url('../imgs/hero-v2-slide2.jpg'); }
.hero--v2 .hero-textbox { width: 46%; background: #00afef; padding: 30px 40px; border-radius: 8px; box-sizing: border-box; position: relative; z-index: 1; }
.hero--v2 .hero-cta { font-size: 16.5px; padding: 8px 26px 12px; }
@media (max-width: 720px) {
	
	 .hero--v2 { overflow: visible; }
	.hero-bg-layer {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .hero--v2 .hero-slide::before {
    content: '';
    display: block;
    flex: none;
    height: 220px;
  }
	
  .hero--v2 .hero-arrow { top: 110px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35)); }
  .hero--v2 .hero-inner { padding: 0; }
  .hero--v2 .hero-clip { padding-bottom: 0; height: auto; width: 100%; margin-left: 0; }
  .hero--v2 .hero-slide { padding: 0; height: auto; display: flex; flex-direction: column; width: 100%; margin-left: 0; background-size: auto 220px; background-repeat: no-repeat; background-position: 80% top; }
  .hero--v2 .hero-slide::after { display: none; }
  .hero--v2 .hero-slide::before { content: ''; display: block; flex: none; height: 200px; }
  .hero--v2 .hero-textbox { width: 100%; margin-top: 0; flex: none; border-radius: 0; padding: 24px 20px; position: relative; z-index: 1; }
  .hero-bg-1 { background-position: 85% 30%; }
  .hero-bg-2 { background-position: 90% center; }
  .qa-v2.quick-access { margin-top: -1px; }
  .qa-v2 .quick-access-wrap { padding-top: 0; justify-content: center; align-items: center; padding: 20px 0 15px 0; }
  .qa-v2 .quick-access-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
  .qa-v2 .quick-access-track::-webkit-scrollbar { display: none; }
  .qa-v2 .qa-item { flex: 0 0 100%; flex-direction: row; text-align: left; justify-content: flex-start; scroll-snap-align: start; }
  .qa-arrow { display: flex; padding: 4px; }
  .qa-v2 .qa-icon { width: 62px; height: 62px; }
  .qa-v2 .qa-icon svg { width: 34px; height: 34px; }
  .qa-arrow { padding: 4px; }
}

/* Generic data table (reusable across the site) */
.data-table-wrap { width: 100%; overflow-x: auto; border: 1px solid rgba(10,47,77,0.1); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-family: "mundial-narrow-variable", sans-serif; }
.data-table thead th { text-align: left; font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: #0a2f4d; background: #eaf4fb; padding: 16px 18px; position: sticky; top: 0; }
.data-table tbody td { padding: 16px 18px; font-size: 14.5px; line-height: 1.4; color: #33475b; border-top: 1px solid rgba(10,47,77,0.08); vertical-align: top; }
.data-table tbody tr:hover { background: #f6fbfe; }
.data-table-num { font-weight: 700; color: #0f6fb0; white-space: nowrap; }
.data-table-title { font-weight: 600; color: #0a2f4d; min-width: 320px; }
.data-table-tag { white-space: nowrap; font-weight: 400; color: #0f5c52; }
@media (max-width: 720px) {
  .data-table--stack { min-width: 0; }
  .data-table--stack thead { display: none; }
  .data-table--stack, .data-table--stack tbody, .data-table--stack tr, .data-table--stack td { display: block; width: 100%; }
  .data-table--stack tr { padding: 16px 18px; }
  .data-table--stack td { padding: 4px 0; border: none; white-space: normal; }
  .data-table--stack td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #0f6fb0; margin-bottom: 2px; }
}

/* Reusable two-column block: text + image (or vice versa) */
.bloque-2columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 32px; }
.bloque-2columns p { font-size: 18px; line-height: 1.6; color: #33475b; margin: 0; }
.bloque-2columns .center-card--wide { aspect-ratio: 4/3; }
@media (max-width: 980px) { .bloque-2columns { grid-template-columns: 1fr; } }


/* Integrantes / team */
.team-director { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(10,47,77,0.1); }
.team-photo { width: 100%; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; background: #eef3f7; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo--lg { flex: none; width: 190px; }
.team-director-info { flex: 1; min-width: 0; }
.team-role { font-family: "mundial-narrow-variable", sans-serif; font-weight: 500; font-size: 16px; color: #0f6fb0; }
.team-role--lead { font-weight: 700; font-size: 19px; color: #0a2f4d; margin-bottom: 2px; }
.team-name { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; color: #0a2f4d; }
.team-name--lead { font-weight: 500; font-size: 24px; color: #0f6fb0; margin: 0 0 16px; }
.team-credentials { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.team-credentials li { font-size: 15.5px; line-height: 1.5; color: #41586b; margin: 0; padding: 0; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px 28px; }
.team-card { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.team-card .team-photo { max-width: 170px; margin: 0 auto; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .team-director { flex-direction: column; gap: 20px; } .team-photo--lg { width: 150px; } }

.qf-header .nav { gap: 10px; }
.qf-header .nav a.nav-link, .qf-header .nav-dropdown-trigger { font-size: 13px; }
.subpage-hero--qf { background: url('../imgs/quirurgicaf-banner.jpg') center/cover no-repeat; padding: 96px 0; }

/* Banner Para agendarse */
.agendarse-banner { width: 100%; background: #eaf4fb; padding: 48px 0; }
.agendarse-inner { display: flex; flex-direction: column; gap: 20px; }
.agendarse-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 32px; color: #0a2f4d; margin: 0; }
.agendarse-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.agendarse-cta { background: #00afef; color: #fff; font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 19px; padding: 14px 32px; border-radius: 6px; }
.agendarse-cta:hover { background: #0090c7; color: #fff; text-decoration: none; }
.agendarse-phone { display: flex; align-items: center; gap: 10px; font-family: "mundial-narrow-variable", sans-serif; font-size: 21px; color: #0a2f4d; }
.agendarse-phone svg { color: #00afef; flex: none; }
.agendarse-phone strong { font-weight: 800; }
@media (max-width: 640px) { .agendarse-title { font-size: 26px; } .agendarse-actions { gap: 16px; } }

.popup-content { background: #fff; border-radius: 10px; padding: 40px; max-width: 640px; max-height: 85vh; overflow-y: auto; }
@media (max-width: 640px) { .popup-content { padding: 28px 22px; } }

.topbar-wa svg { flex: none; }

/* Botón Información para la Comunidad */
.community-btn { display: inline-flex; align-items: center; gap: 18px; background: #7fd8f7; border-radius: 999px; padding: 16px 34px; margin: 0 0 32px; width: fit-content; text-decoration: none; }
.community-btn:hover { background: #6bcdf0; text-decoration: none; }
.community-btn svg { flex: none; color: #fff; }
.community-btn-text { line-height: 1.05; }
.community-btn-top { display: block; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 20px; color: #fff; }
.community-btn-main { display: block; font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 32px; text-transform: uppercase; color: #fff; }
@media (max-width: 640px) { .community-btn { padding: 14px 22px; gap: 12px; } .community-btn-top { font-size: 16px; } .community-btn-main { font-size: 25px; } }

.content-linkrow { margin-top: 16px; }
.content-link-icon { display: inline-flex; align-items: center; gap: 8px; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 16.5px; color: #0f6fb0; }
.content-link-icon svg { flex: none; }

/* Logo strip (grayscale, color on hover) */
.logo-strip { width: 100%; padding: 56px 0; text-align: center; }
.logo-strip-img { display: inline-block; max-width: 260px; height: auto; filter: grayscale(100%); transition: filter .3s ease; }
.logo-strip-img:hover { filter: grayscale(0%); }
