@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');

* { 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); }

/* 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; }
.logo { height: 90px; width: auto; flex: none; }
.btn-primary { background: none; color: #0f6fb0; font-weight: 600; font-family: "mundial-narrow-variable", sans-serif; font-size: 15px; 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; }

/* Hero */
.hero { width: 100%; background: linear-gradient(120deg, rgba(23,98,155,0.32) 0%, rgba(22,126,197,0.28) 65%), url('imgs/hero-fdo.jpg'); background-size: cover; background-position: center; 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.1; color: #fff; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero-desc { font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,0.82); max-width: 480px; margin: 0 0 26px; }
.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: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.qa-item, .qa-label { flex-shrink: 0; }
.quick-access-track::-webkit-scrollbar { display: none; }
.qa-item { flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 14px; padding: 8px 22px; border-radius: 6px; color: #10202e; position: relative; }
.qa-item:hover { text-decoration: none; }
.qa-item:hover .qa-label { color: #0f6fb0; }
.qa-item + .qa-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 34px; background: rgba(10,47,77,0.15); }
.qa-icon { width: 44px; height: 44px; 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: 16px; white-space: nowrap; transition: color .2s ease; }
.qa-arrow { flex: none; width: 32px; height: 40px; border: none; background: none; color: #0a2f4d; display: flex; 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; }
.works-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.news-photo-year { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: "mundial-narrow-variable", sans-serif; font-variation-settings: "wght" 700; font-size: 56px; text-shadow: 0 2px 12px rgba(0,0,0,0.4); z-index: 1; }
@media (max-width: 900px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .works-grid { grid-template-columns: 1fr; } }
.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: 15px; 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%; background: #fff; 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-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 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.center-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; 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; }

/* 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; }
.section-title--tight { margin-bottom: 16px; }
.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: 22px; line-height: 1; }
.agenda-month { font-weight: 600; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }
.agenda-title { font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 16px; line-height: 1.35; color: #0a2f4d; margin: 0 0 8px; }
.agenda-meta { font-size: 13.5px; color: #7c8c9a; font-weight: 500; }

/* 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: 14px; 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: 140px; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: #eef3f7; }
.agenda-list-media img { width: 100%; height: 100%; object-fit: cover; }
.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: 17px; 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-heading { 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; }
  .btn-primary { font-size: 13.5px; padding-left: 16px; }
  .btn-primary svg { width: 16px; height: 16px; }
}

/* Subpage: sidebar + content */
.research-intro-band { width: 100%; background: linear-gradient(120deg, #0f5c52 0%, #1a8f8f 75%); padding: 40px 0; }
.research-intro-band p { font-family: 'mundial-narrow-variable', sans-serif; font-weight: 500; font-size: 18px; line-height: 1.6; color: #fff; max-width: 920px; margin: 0; }
.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; }
.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; }
.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-image { width: 100%; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; margin: 8px 0 28px; }
.content-image img { width: 100%; height: 100%; object-fit: cover; }
.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; }

@media (max-width: 900px) {
  .subpage-layout { grid-template-columns: 1fr; }
  .subpage-sidebar { position: static; }
  .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; }
  .header-inner { justify-content: space-between; }
  .topbar-contact-label { display: none; }
  .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 { 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; }
  .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; }
  .btn-primary { padding-left: 14px; font-size: 13px; }
  .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-arrow { display: none; }
  .quick-access-wrap { padding: 20px; gap: 8px; }
  .qa-item { padding: 12px 18px; gap: 12px; }
  .qa-icon { width: 42px; height: 42px; }
  .qa-label { font-size: 14px; }
  .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: 100%; text-align: center; }
  .agenda-card { flex-direction: column; }
  .footer-grid { padding: 48px 20px 32px; gap: 36px; }
  .footer-bottom { padding: 20px; flex-direction: column; align-items: flex-start; }
}

@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; }
}


/* Hero banner (image banner section) */
.banner-section { width: 100%; }
.banner-media { background: rgb(13,77,123); }
.banner-media img { width: 100%; display: block; }

/* Research section tweaks */
.centers-grid--single { grid-template-columns: 1fr; }
.center-card--wide { aspect-ratio: 16/10; }
.center-photo--top { object-position: 50% 30%; }
.content-page--research { margin-top: 32px; max-width: 920px; }
.content-pullquote--research { font-size: 19.5px; }

/* Trabajos científicos section head */
.section-head-row--tall { min-height: 144px; }

/* Feature/news section flush top */
.news-section--flush { padding-top: 0; }

/* Year overlay on work photos */
.news-photo-year-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,47,77,0.35); }
.news-photo-year-overlay span { font-family: "mundial-narrow-variable", sans-serif; font-weight: 800; font-size: 44px; color: #fff; }

/* Partner logos strip */
.partners-section { width: 100%; background: #fff; padding: 36px 0; }
.partners-row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.partner-logo { height: 112px; width: auto; filter: grayscale(1); opacity: .6; }

@media (max-width: 480px) {
.partners-row { gap: 25px; }
.partner-logo { height: 90px; width: auto; filter: grayscale(1); opacity: .6; }
}



	.logos-footer {width:100%;background:#fff;padding:36px 0}
		.logos-footer .container {display:flex;align-items:center;justify-content:center;gap:30px;flex-wrap:wrap; }
 .logos-footer img {height:90px;width:auto;filter:grayscale(1);opacity:.6; }

		@media (min-width: 980px){
			.logos-footer img {height:112px; }
			
					.logos-footer .container {gap:60px; }

		}



/* Diagonal corner ribbon over a card image */
.card-ribbon-host { position: relative; overflow: hidden; }
.card-ribbon { position: absolute; top: 26px; left: -62px; width: 200px; transform: rotate(-45deg); background: #e56117; color: #fff; font-family: "mundial-narrow-variable", sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; text-align: center; padding: 6px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.18); z-index: 2; }
