:root {
  --navy: #032e67;
  --blue-dark: #074992;
  --blue: #046fcd;
  --blue-bright: #0084e6;
  --green-dark: #02633e;
  --green: #0c954d;
  --green-bright: #42c94d;
  --ink: #172c43;
  --muted: #64768a;
  --line: #e3eaf0;
  --surface: #f4f7f7;
  --white: #fff;
  --shadow: 0 18px 45px rgba(3, 46, 103, .1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: 92px; color: var(--ink); background: var(--white); font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; color: var(--navy); background: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; min-height: 92px; color: var(--navy); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(3,46,103,.08); transition: box-shadow .2s ease, background .2s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(3,46,103,.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 92px; }
.brand { width: 222px; flex: 0 0 222px; }
.brand img { width: 100%; height: auto; max-height: 67px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { position: relative; padding: 11px 0; color: #334b62; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--navy); }
.site-nav a.is-active::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--green-bright); content: ''; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.2; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--whatsapp { min-height: 44px; padding-inline: 17px; color: white; background: var(--green); box-shadow: 0 8px 24px rgba(12,149,77,.24); }
.button--whatsapp:hover { background: #087f42; }
.whatsapp-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.button--light { color: var(--navy); background: white; box-shadow: 0 10px 25px rgba(0,0,0,.11); }
.button--light:hover { background: #edf7ff; }
.button--outline-light { border-color: rgba(255,255,255,.55); color: white; background: transparent; }
.button--outline-light:hover { background: rgba(255,255,255,.1); }
.button--blue { color: white; background: var(--blue); }
.button--blue:hover { background: var(--blue-dark); }
.button--soft { border-color: #dce8f0; color: var(--blue); background: #f5faff; }
.button--soft:hover { background: #eaf5ff; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(116deg, #032e67 0%, #074992 61%, #046fcd 100%); }
.hero::before { position: absolute; top: -290px; right: 25%; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ''; }
.hero::after { position: absolute; right: 34%; bottom: -380px; width: 610px; height: 610px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ''; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 62px; min-height: 565px; padding-block: 55px 64px; }
.hero-copy { max-width: 570px; padding-block: 10px; }
.eyebrow { margin: 0 0 13px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.eyebrow--light { color: #90d5ff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, 'DM Sans', sans-serif; letter-spacing: -.035em; }
.hero h1 { max-width: 580px; margin-bottom: 20px; font-size: clamp(42px, 5.1vw, 64px); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.typewriter-title { min-height: 2.16em; color: #fff; }
.typewriter-cursor { display: inline-block; width: .32em; margin-left: 2px; color: #fff; font-weight: 400; animation: typewriter-blink .8s steps(1, end) infinite; }
@keyframes typewriter-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-lead { max-width: 515px; margin-bottom: 30px; color: rgba(255,255,255,.81); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 45px; }
.hero-facts div { display: grid; gap: 4px; }
.hero-facts strong { color: white; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.hero-facts span { color: rgba(255,255,255,.74); font-size: 13px; line-height: 1.6; }
.hero-image { position: relative; min-height: 387px; padding: 14px; border: 1px solid rgba(255,255,255,.27); border-radius: 22px; background: rgba(255,255,255,.12); box-shadow: 0 25px 70px rgba(0,0,0,.2); transform: rotate(1deg); }
.hero-image img { width: 100%; height: 360px; border-radius: 14px; object-fit: cover; }
.image-badge { position: absolute; bottom: 31px; left: -26px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; border: 1px solid rgba(3,46,103,.06); border-radius: 10px; color: var(--navy); background: white; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; transform: rotate(-1deg); }
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(66,201,77,.14); }

.section { padding-block: 88px; }
.section-news { background: #fbfcfd; }
.mpp-section { padding-block: 72px; background: #fff; }
.mpp-container { max-width: 1160px; }
.mpp-images { display: grid; gap: 28px; }
.mpp-images picture { display: block; min-width: 0; }
.mpp-image { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 28px rgba(3,46,103,.08); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 33px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 3.3vw, 42px); font-weight: 800; line-height: 1.2; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 700; }
.text-link:hover { color: var(--navy); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 26px rgba(3,46,103,.045); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-art { position: relative; display: flex; align-items: center; justify-content: center; height: 173px; overflow: hidden; color: white; background: linear-gradient(135deg, #074992, #046fcd); }
.news-card-art::before, .news-card-art::after { position: absolute; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; content: ''; }
.news-card-art::before { top: -114px; left: -28px; }
.news-card-art::after { right: -34px; bottom: -142px; width: 255px; height: 255px; }
.news-card-art span { position: relative; z-index: 1; font-family: Manrope,sans-serif; font-size: 28px; font-weight: 800; letter-spacing: .13em; opacity: .88; }
.news-card-art i { position: absolute; top: 15px; right: 22px; color: rgba(255,255,255,.2); font-size: 94px; font-style: normal; font-weight: 300; line-height: 1; }
.news-card-art--image { background: #eaf0f4; }
.news-card-art--image::before, .news-card-art--image::after { display: none; }
.news-card-art--image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 22px 23px 24px; }
.card-date { margin-bottom: 10px; color: #8392a2; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.card-date span { margin-inline: 5px; color: var(--green); }
.news-card h2, .news-card h3 { margin-bottom: 9px; color: var(--navy); font-size: 19px; font-weight: 800; line-height: 1.35; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--blue); }
.news-card-body > p:not(.card-date) { min-height: 54px; margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.public-video-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: 54px; margin-bottom: 22px; }
.public-video-heading h2 { margin: 0; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(25px, 2.5vw, 32px); font-weight: 800; line-height: 1.2; }
.public-video-heading .eyebrow { margin-bottom: 7px; }
.public-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card--public { box-shadow: 0 6px 20px rgba(3,46,103,.05); transition: transform .2s ease, box-shadow .2s ease; }
.video-card--public:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pathways { background: white; }
.section-heading--center { display: block; max-width: 640px; margin: 0 auto 39px; text-align: center; }
.section-heading--center > p:last-child { margin: 14px 0 0; color: var(--muted); }
.pathway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pathway-card { position: relative; overflow: hidden; min-height: 244px; padding: 28px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s ease, box-shadow .2s ease; }
.pathway-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pathway-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: var(--blue); background: #eaf5ff; font-size: 13px; font-weight: 800; }
.pathway-card h3 { margin: 18px 0 9px; color: var(--navy); font-size: 21px; font-weight: 800; }
.pathway-card p { min-height: 50px; margin-bottom: 17px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.pathway-card > a { display: inline-flex; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 700; }
.pathway-card--green { border-color: #dcefe5; background: #f8fcf9; }
.pathway-card--green .pathway-number { color: var(--green-dark); background: #e5f5eb; }
.pathway-card--green > a { color: var(--green-dark); }
.section-cta { margin: 30px 0 0; text-align: center; }
.location { overflow: hidden; padding-block: 79px; color: white; background: linear-gradient(120deg, #032e67, #074992); }
.location-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.location h2 { margin-bottom: 12px; font-size: 38px; font-weight: 800; line-height: 1.2; }
.location p:not(.eyebrow) { margin-bottom: 23px; color: rgba(255,255,255,.78); }
.map-card { position: relative; overflow: hidden; height: 290px; border: 7px solid rgba(255,255,255,.16); border-radius: 18px; background: #dce8ea; box-shadow: 0 20px 45px rgba(0,0,0,.18); }
.map-card iframe { width: 100%; height: 100%; border: 0; }
.map-label { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 8px; align-items: center; padding: 9px 13px; border-radius: 7px; color: var(--navy); background: white; box-shadow: 0 5px 15px rgba(0,0,0,.13); font-size: 12px; font-weight: 700; pointer-events: none; }
.map-label span { color: var(--green); font-size: 17px; }

.page-hero { padding-block: 65px 68px; color: white; background: linear-gradient(116deg, #032e67 0%, #074992 61%, #046fcd 100%); }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(37px, 4.6vw, 54px); font-weight: 800; line-height: 1.13; }
.page-hero p:last-child { margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 16px; }
.empty-state { max-width: 580px; margin: 22px auto; padding: 47px 28px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 14px; border-radius: 16px; color: var(--blue); background: #eaf5ff; font-size: 27px; }
.empty-state h2 { margin-bottom: 8px; color: var(--navy); font-size: 22px; }
.empty-state p { margin: 0; color: var(--muted); }
.article-section { min-height: 52vh; }
.article { max-width: 820px; }
.back-link { display: inline-block; margin-bottom: 34px; color: var(--blue); font-size: 13px; font-weight: 700; }
.article h1 { max-width: 770px; margin-bottom: 25px; color: var(--navy); font-size: clamp(36px, 5vw, 54px); line-height: 1.14; }
.article-content { color: #42576b; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.article-featured-image { display: block; width: 100%; max-height: 470px; margin: 0 0 29px; border-radius: 16px; object-fit: cover; }
.updates-layout { max-width: 1050px; }
.updates-heading { margin: 0 0 25px; }
.updates-heading h2 { margin: 0 0 7px; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(29px, 3vw, 39px); font-weight: 800; line-height: 1.2; }
.updates-heading > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.updates-heading--videos { margin-top: 78px; }
.updates-stream { display: grid; }
.update-item { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: clamp(27px, 5vw, 64px); align-items: start; padding: 0 0 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.update-item--video { grid-template-columns: minmax(0, 1.16fr) minmax(260px, .84fr); }
.update-media { overflow: hidden; border-radius: 15px; background: #eaf0f4; }
.update-media img { width: 100%; min-height: 280px; max-height: 440px; object-fit: cover; }
.update-video { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; background: #10243a; box-shadow: 0 12px 30px rgba(3,46,103,.12); }
.update-video video, .update-video iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.update-copy { min-width: 0; padding-top: 2px; }
.update-copy .card-date { margin-bottom: 10px; }
.update-copy h2 { margin: 0 0 16px; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.22; }
.update-copy h2 a:hover { color: var(--blue); }
.update-content { margin: 0 0 20px; color: #42576b; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.document-list { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.document-card { display: flex; align-items: center; gap: 18px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 5px 20px rgba(3,46,103,.035); }
.pdf-icon { display: grid; flex: 0 0 49px; place-items: center; height: 55px; border-radius: 11px; color: #d44b4b; background: #fff0ef; font-size: 11px; font-weight: 800; }
.document-info { flex: 1; min-width: 0; }
.document-info h2 { margin-bottom: 3px; color: var(--navy); font-size: 17px; font-weight: 800; }
.document-info p { margin-bottom: 0; color: #8694a2; font-size: 12px; }
.document-info p span { padding-inline: 4px; color: var(--green); }
.document-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer { color: rgba(255,255,255,.75); background: #06244a; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 42px; padding-block: 53px 39px; }
.footer-grid h2 { margin-bottom: 15px; color: white; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.footer-grid p { margin-bottom: 7px; font-size: 13px; line-height: 1.7; }
.footer-grid a:hover, .footer-bottom a:hover { color: white; }
.footer-brand { display: inline-block; margin-bottom: 13px; color: white; font-family: Manrope,sans-serif; font-size: 19px; font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 15px; font-size: 11px; }
.notice { margin-top: 18px; padding: 13px 16px; border-radius: 8px; font-size: 14px; }
.footer-admin-link { display: inline-flex; align-items: center; gap: 7px; color: white; font-weight: 700; }
.footer-admin-link span { color: var(--green-bright); font-size: 15px; line-height: 1; }
.notice--success { color: #155d36; background: #e8f7ee; }
.notice--error { color: #9b2c2c; background: #fff0ef; }

/* Nosotros y servicios públicos */
.page-hero--about, .page-hero--services { position: relative; overflow: hidden; }
.page-hero--about::after, .page-hero--services::after { position: absolute; right: 9%; bottom: -155px; width: 350px; height: 350px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ''; }
.page-hero--about .container, .page-hero--services .container { position: relative; z-index: 1; max-width: 890px; margin-left: max(24px, calc((100% - 1160px) / 2)); }
.about-intro { background: #fbfcfd; }
.about-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 75px; }
.about-photo { position: relative; padding: 12px; border: 1px solid #dce7ef; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.about-photo::after { position: absolute; right: -16px; bottom: -16px; z-index: -1; width: 115px; height: 115px; border-radius: 20px; background: #dff4e5; content: ''; }
.about-photo img { width: 100%; min-height: 360px; border-radius: 12px; object-fit: cover; }
.about-copy h2 { max-width: 560px; margin-bottom: 18px; color: var(--navy); font-size: clamp(30px, 3.5vw, 43px); font-weight: 800; line-height: 1.2; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.about-copy .button { margin-top: 10px; }
.values-section { background: white; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value-card { padding: 30px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value-card--vision { background: #f6fbff; }
.value-card--quality { border-color: #dcefe5; background: #f8fcf9; }
.value-icon, .service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 19px; border-radius: 14px; color: var(--blue); background: #eaf5ff; font-size: 22px; font-weight: 800; }
.value-card--quality .value-icon { color: var(--green-dark); background: #e5f5eb; }
.value-card h3 { margin-bottom: 9px; color: var(--navy); font-size: 21px; font-weight: 800; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }
.about-callout, .service-help { color: white; background: linear-gradient(120deg, #032e67, #074992); }
.about-callout-inner, .service-help-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 55px; }
.about-callout h2, .service-help h2 { max-width: 650px; margin: 0; color: white; font-size: clamp(28px, 3.3vw, 39px); font-weight: 800; line-height: 1.2; }
.section-heading-copy { max-width: 330px; margin: 0; color: var(--muted); font-size: 14px; }
.services-section { background: #fbfcfd; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; min-height: 275px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 7px 22px rgba(3,46,103,.035); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: 9px; color: var(--navy); font-size: 21px; font-weight: 800; line-height: 1.35; }
.service-card p { flex: 1; margin-bottom: 19px; color: var(--muted); font-size: 14px; }
.service-card .text-link { align-self: flex-start; }
.service-help { background: linear-gradient(120deg, #02633e, #0c954d); }
.service-help .eyebrow { color: #b8edc8; }
.service-help p:not(.eyebrow) { margin: 10px 0 0; color: rgba(255,255,255,.79); }

/* PQRSF */
.page-hero--pqrsf { position: relative; overflow: hidden; }
.page-hero--pqrsf::after { position: absolute; right: 7%; bottom: -185px; width: 370px; height: 370px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ''; }
.page-hero--pqrsf .container { position: relative; z-index: 1; max-width: 840px; margin-left: max(24px, calc((100% - 1160px) / 2)); }
.pqrsf-section { background: #f6f9fb; }
.pqrsf-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 50px; }
.pqrsf-aside { padding: 25px 0; }
.pqrsf-aside h2 { margin-bottom: 13px; color: var(--navy); font-size: 35px; font-weight: 800; line-height: 1.2; }
.pqrsf-aside > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.pqrsf-help { margin-top: 30px; padding: 19px; border: 1px solid #d9eaf4; border-radius: 12px; background: #edf8ff; }
.pqrsf-help strong { color: var(--blue-dark); font-size: 13px; }
.pqrsf-help p { margin: 5px 0 0; color: #4b6b82; font-size: 12px; line-height: 1.6; }
.pqrsf-card { padding: 33px; border: 1px solid #e0e9ef; border-radius: 17px; background: white; box-shadow: var(--shadow); }
.pqrsf-card h2 { margin-bottom: 5px; color: var(--navy); font-size: 25px; font-weight: 800; }
.form-intro { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.form-intro span, .form-field label > span { color: #c24545; }
.public-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 16px; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 6px; color: #334b62; font-size: 12px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d9e2e9; border-radius: 7px; outline: 0; color: var(--ink); background: white; font-size: 14px; }
.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4,111,205,.1); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-field [aria-invalid="true"] { border-color: #d47070; background: #fffafa; }
.form-field small, .policy-error { display: block; margin-top: 5px; color: #b33c3c; font-size: 11px; line-height: 1.45; }
.form-alert { margin-bottom: 19px; padding: 12px 14px; border-radius: 8px; color: #9b2c2c; background: #fff0ef; font-size: 13px; }
.policy-check { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0 7px; color: #52677a; font-size: 12px; line-height: 1.55; cursor: pointer; }
.policy-check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); }
.policy-link { display: inline-flex; margin: 0 0 18px; padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.policy-link:hover { color: var(--navy); }
.pqrsf-card form > .button { margin-top: 18px; }
.pqrsf-success { display: flex; gap: 18px; padding: 7px; }
.pqrsf-success > span { display: grid; flex: 0 0 48px; height: 48px; place-items: center; border-radius: 50%; color: #166b39; background: #e4f6e9; font-size: 23px; font-weight: 800; }
.pqrsf-success .eyebrow { margin-bottom: 5px; color: var(--green-dark); }
.pqrsf-success h2 { font-size: 23px; }
.pqrsf-success p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.policy-modal[hidden] { display: none; }
.policy-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 22px; }
.policy-modal__backdrop { position: absolute; inset: 0; background: rgba(3,46,103,.68); }
.policy-modal__content { position: relative; width: min(720px, 100%); max-height: min(720px, calc(100vh - 44px)); overflow: auto; padding: clamp(25px, 5vw, 42px); border-radius: 17px; color: #42576b; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.policy-modal__content h2 { margin-bottom: 15px; color: var(--navy); font-size: clamp(25px, 4vw, 34px); font-weight: 800; }
.policy-modal__content p:not(.eyebrow) { margin-bottom: 25px; line-height: 1.8; }
.policy-modal__close { position: absolute; top: 13px; right: 16px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: var(--navy); background: #edf4f8; font-size: 27px; line-height: 1; cursor: pointer; }
.has-modal { overflow: hidden; }
.pqrsf-success--inline { margin-top: 18px; }

/* Administración */
.admin-body { min-height: 100vh; padding-top: 0; background: #f4f7fa; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 69px; padding-inline: max(24px, calc((100vw - 1220px) / 2)); color: white; background: var(--navy); }
.admin-brand { color: white; font-family: Manrope,sans-serif; font-size: 16px; font-weight: 800; }
.admin-brand span { color: #84d4ff; }
.admin-user { display: flex; align-items: center; gap: 21px; color: rgba(255,255,255,.86); font-size: 13px; }
.admin-user form { margin: 0; }
.admin-logout { padding: 7px 0; border: 0; color: white; background: transparent; font-size: 13px; cursor: pointer; }
.admin-logout:hover { color: #a8ddff; }
.admin-subnav { background: white; border-bottom: 1px solid var(--line); }
.admin-subnav .container { display: flex; gap: 28px; overflow-x: auto; }
.admin-subnav a { padding-block: 14px; color: #53677b; font-size: 13px; font-weight: 600; }
.admin-subnav a:hover { color: var(--blue); }
.admin-content { width: min(1040px, calc(100% - 48px)); min-height: 67vh; margin: 0 auto; padding-block: 49px 70px; }
.admin-content--wide { width: min(1220px, calc(100% - 48px)); }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
.admin-heading h1 { margin-bottom: 5px; color: var(--navy); font-size: 34px; font-weight: 800; }
.admin-heading p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.admin-heading .eyebrow { margin-bottom: 5px; }
.admin-back { display: inline-block; margin-bottom: 13px; color: var(--blue); font-size: 12px; font-weight: 700; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.admin-button:hover { transform: translateY(-1px); }
.admin-button--primary { color: white; background: var(--blue); }
.admin-button--primary:hover { background: var(--blue-dark); }
.admin-button--quiet { border-color: var(--line); color: #53677b; background: white; }
.admin-button--full { width: 100%; margin-top: 9px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.stat-card { display: grid; grid-template-columns: 53px 1fr; align-items: center; column-gap: 15px; padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 5px 20px rgba(3,46,103,.035); }
.stat-icon { display: grid; grid-row: span 3; place-items: center; width: 50px; height: 50px; border-radius: 13px; font-size: 14px; font-weight: 800; }
.stat-icon--blue { color: var(--blue); background: #eaf5ff; }
.stat-icon--green { color: var(--green-dark); background: #e5f5eb; font-size: 11px; }
.stat-label { color: var(--muted); font-size: 12px; }
.stat-card strong { color: var(--navy); font-family: Manrope,sans-serif; font-size: 30px; line-height: 1.25; }
.stat-link { color: var(--blue); font-size: 12px; font-weight: 700; }
.admin-tip { margin-top: 24px; padding: 21px 23px; border: 1px solid #dcefe5; border-radius: 12px; background: #f8fcf9; }
.admin-tip strong { color: var(--green-dark); font-family: Manrope,sans-serif; font-size: 14px; }
.admin-tip p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.admin-columns { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); align-items: start; gap: 20px; }
.admin-columns--documents { grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); }
.admin-columns--oauth { grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr); }
.oauth-status-panel { background: linear-gradient(145deg, #f9fcff 0%, #eef7ff 100%); }
.oauth-status { display: inline-flex; margin-bottom: 16px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.oauth-status--connected { color: #176b3d; background: #dcf5e5; }
.oauth-status--disconnected { color: #9a4b17; background: #fff0dd; }
.oauth-redirect-uri { display: block; margin: 6px 0 16px; padding: 10px; overflow-wrap: anywhere; border: 1px solid #d6e3ee; border-radius: 7px; color: #1d527d; background: #fff; font-size: 11px; line-height: 1.5; }
.admin-panel { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 5px 20px rgba(3,46,103,.035); }
.admin-panel h2 { margin-bottom: 18px; color: var(--navy); font-size: 18px; font-weight: 800; }
.admin-panel form > label, .login-card form > label, .video-source-field > label { display: block; margin: 15px 0 6px; color: #334b62; font-size: 12px; font-weight: 700; }
.admin-panel input:not([type=hidden]):not([type=file]), .admin-panel textarea, .admin-panel select, .login-card input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #d9e2e9; border-radius: 7px; outline: none; color: var(--ink); background: white; font-size: 13px; }
.admin-panel textarea { min-height: 188px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row label { display: block; margin: 15px 0 6px; color: #334b62; font-size: 12px; font-weight: 700; }
.service-list-icon { display: inline-grid; width: 21px; height: 21px; margin-right: 7px; place-items: center; border-radius: 6px; color: var(--blue); background: #eaf5ff; }
.source-options { display: flex; flex-wrap: wrap; gap: 10px 17px; margin: 18px 0 5px; padding: 12px; border: 1px solid #dce6ed; border-radius: 8px; }
.source-options legend { padding: 0 4px; color: #334b62; font-size: 12px; font-weight: 700; }
.source-options label { display: inline-flex; align-items: center; gap: 6px; color: #52677a; font-size: 12px; cursor: pointer; }
.source-options input { accent-color: var(--blue); }
.video-source-field[hidden] { display: none; }
.field-error { display: block; margin-top: 5px; color: #b33c3c; font-size: 11px; line-height: 1.45; }
.video-preview-box { margin: 19px 0; padding: 12px; border: 1px solid #dce6ed; border-radius: 9px; background: #f8fbfd; }
.video-preview-label { display: block; margin-bottom: 9px; color: #65798c; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#video-form-preview { display: grid; min-height: 135px; place-items: center; overflow: hidden; border-radius: 7px; color: #7c8e9d; background: #e9f0f4; font-size: 11px; text-align: center; }
#video-form-preview video, #video-form-preview iframe { width: 100%; height: 210px; border: 0; background: #10243a; }
.admin-columns--videos { grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; }
.video-card-preview { aspect-ratio: 16 / 9; background: #10243a; }
.video-card-preview video, .video-card-preview iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-card-body { padding: 13px; }
.video-card-body .card-date { margin-bottom: 5px; }
.video-card h3 { min-height: 40px; margin-bottom: 12px; color: var(--navy); font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; line-height: 1.4; }
.video-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.video-card-actions form { margin: 0; }
.admin-panel input[type=file] { display: block; width: 100%; padding: 11px; border: 1px dashed #c8d6e1; border-radius: 7px; color: #53677b; background: #fbfcfd; font-size: 12px; }
.post-image-preview { display: grid; min-height: 150px; margin-top: 10px; place-items: center; overflow: hidden; border: 1px dashed #c8d6e1; border-radius: 9px; color: #8090a0; background: #fbfcfd; font-size: 12px; }
.post-image-preview img { width: 100%; height: 200px; object-fit: cover; }
.post-image-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 9px; }
.check-label { display: inline-flex; align-items: center; gap: 6px; color: #53677b; font-size: 12px; }
.check-label input { width: auto; min-height: auto; }
.post-thumbnail-cell { width: 55px; }
.post-thumbnail, .post-thumbnail-placeholder { display: grid; width: 38px; height: 38px; place-items: center; overflow: hidden; border-radius: 7px; background: #edf3f7; color: #8291a0; font-size: 16px; object-fit: cover; }
.admin-panel input:focus, .admin-panel textarea:focus, .admin-panel select:focus, .login-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4,111,205,.1); }
.field-hint { margin-left: 5px; color: #8796a4; font-size: 11px; font-weight: 400; }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.panel-description { margin: -9px 0 13px; color: var(--muted); font-size: 12px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-heading h2 { margin-bottom: 18px; }
.count-pill { display: grid; min-width: 27px; height: 27px; margin-top: -16px; place-items: center; border-radius: 30px; color: var(--blue); background: #eaf5ff; font-size: 11px; font-weight: 800; }
.panel-empty { padding-block: 10px; color: var(--muted); font-size: 13px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 10px 9px; border-bottom: 1px solid var(--line); color: #8190a0; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 13px 9px; border-bottom: 1px solid #eff2f5; color: #637589; font-size: 11px; white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .table-title { max-width: 230px; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; }
.status-badge { display: inline-flex; padding: 4px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.status-badge--published { color: #16703e; background: #e8f7ee; }
.status-badge--draft { color: #6e7881; background: #eff2f4; }
.status-badge--received { color: #185f90; background: #e7f4fc; }
.status-badge--in_progress { color: #8a6013; background: #fff5d9; }
.status-badge--closed { color: #506371; background: #e9eef1; }
.table-actions { display: flex; align-items: center; gap: 10px; }
.table-actions a, .text-button { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.text-button--danger { color: #c24545; }
.table-actions form { margin: 0; }
.admin-alert { margin-bottom: 19px; padding: 12px 15px; border-radius: 7px; font-size: 13px; }
.admin-alert--success { color: #155d36; background: #e8f7ee; }
.admin-alert--error { color: #9b2c2c; background: #fff0ef; }
.admin-notices { padding-top: 16px; }
.admin-footer { display: flex; justify-content: space-between; gap: 15px; padding: 20px max(24px, calc((100vw - 1220px) / 2)); border-top: 1px solid var(--line); color: #8a98a5; background: white; font-size: 11px; }
.admin-footer a { color: var(--blue); font-weight: 600; }
.admin-login { display: grid; min-height: 100vh; place-items: center; padding: 30px 18px; background: radial-gradient(ellipse at 10% 10%, #e8f4fb 0, transparent 42%), #f3f7fa; }
.login-card { width: min(440px, 100%); padding: 37px; border: 1px solid #e1e9ef; border-radius: 16px; background: white; box-shadow: 0 20px 65px rgba(3,46,103,.1); }
.login-card .admin-brand { display: inline-block; margin-bottom: 29px; color: var(--navy); }
.login-card .admin-brand span { color: var(--blue); }
.login-card h1 { margin-bottom: 8px; color: var(--navy); font-size: 30px; font-weight: 800; }
.login-intro { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.login-card form > label { margin-top: 14px; }
.login-card input { min-height: 45px; }
.password-field { position: relative; width: 100%; }
.admin-panel .password-field input:not([type=hidden]):not([type=file]), .login-card .password-field input { padding-right: 52px; }
.password-visibility { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 40px; padding: 0; border: 0; border-radius: 5px; color: #42576b; background: transparent; cursor: pointer; }
.password-visibility:hover { color: var(--blue); background: #eef5fb; }
.password-visibility:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.password-match-feedback { font-weight: 600; }
.password-match-feedback--match { color: #166534; }
.password-match-feedback--mismatch { color: #b91c1c; }
.admin-panel input[data-password-match="match"], .login-card input[data-password-match="match"] { border-color: #166534; }
.admin-panel input[data-password-match="mismatch"], .login-card input[data-password-match="mismatch"] { border-color: #b91c1c; }
.login-back { display: inline-block; margin-top: 23px; color: var(--blue); font-size: 12px; font-weight: 700; }
.admin-columns--pqrsf { grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); }
.table-subtext { display: inline-block; max-width: 190px; overflow: hidden; color: #8190a0; font-size: 10px; font-weight: 400; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
.pqrsf-detail .panel-heading { align-items: flex-start; }
.pqrsf-detail .panel-heading h2 { margin: 0; font-size: 17px; }
.pqrsf-detail .eyebrow { margin-bottom: 4px; }
.pqrsf-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 18px; margin: 23px 0; }
.pqrsf-detail-list div { min-width: 0; }
.pqrsf-detail-list dt { margin-bottom: 3px; color: #8190a0; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pqrsf-detail-list dd { margin: 0; color: #40576b; font-size: 12px; overflow-wrap: anywhere; }
.pqrsf-detail-list dd a { color: var(--blue); }
.pqrsf-detail-list__full { grid-column: 1 / -1; }
.pqrsf-message { padding: 12px; border-radius: 8px; background: #f5f8fa; line-height: 1.65; }
.status-form { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line); }
.status-form label { width: 100%; color: #334b62; font-size: 12px; font-weight: 700; }
.status-form select { flex: 1; min-width: 135px; min-height: 40px; padding: 8px 10px; border: 1px solid #d9e2e9; border-radius: 7px; color: var(--ink); background: white; font-size: 12px; }

@media (max-width: 1023px) {
  .about-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
}

@media (max-width: 900px) {
  .header-inner { gap: 20px; }
  .site-nav { gap: 20px; }
  .brand { width: 186px; flex-basis: 186px; }
  .hero-grid { gap: 35px; }
  .hero-facts { gap: 18px; }
  .location-grid { gap: 38px; }
  .about-intro-grid { gap: 42px; }
  .footer-grid { gap: 28px; }
  .admin-columns, .admin-columns--documents, .admin-columns--videos { grid-template-columns: 1fr; }
  .admin-columns--pqrsf { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 36px, 540px); }
  body { padding-top: 76px; }
  .site-header { position: fixed; }
  .header-inner { position: relative; min-height: 76px; gap: 12px; }
  .brand { width: 173px; flex-basis: 173px; }
  .brand img { max-height: 56px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 9px; border: 0; color: var(--navy); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ''; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .site-nav { position: absolute; top: 76px; right: -18px; left: -18px; display: none; align-items: stretch; gap: 0; padding: 8px 18px 17px; background: white; box-shadow: 0 16px 18px rgba(3,46,103,.14); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: 12px 2px; }
  .site-nav a.is-active::after { right: auto; width: 32px; }
  .header-inner > .button { min-height: 38px; padding-inline: 10px; font-size: 11px; }
  .header-inner > .button span { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding-block: 52px 48px; }
  .hero h1 { max-width: 510px; font-size: clamp(41px, 10vw, 59px); }
  .typewriter-title { min-height: 3.24em; }
  .hero-lead { font-size: 15px; }
  .hero-facts { margin-top: 31px; }
  .hero-image { min-height: auto; margin-inline: 8px; }
  .hero-image img { height: clamp(210px, 62vw, 340px); }
  .image-badge { bottom: 25px; left: -9px; font-size: 11px; }
  .section { padding-block: 61px; }
  .mpp-section { padding-block: 52px; }
  .mpp-images { gap: 18px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 31px; }
  .news-grid, .pathway-grid, .values-grid, .services-grid, .public-video-grid { grid-template-columns: 1fr; gap: 15px; }
  .update-item, .update-item--video { grid-template-columns: 1fr; gap: 20px; padding-bottom: 33px; margin-bottom: 33px; }
  .update-media img { min-height: 0; max-height: 370px; }
  .updates-heading--videos { margin-top: 55px; }
  .news-card-art { height: 155px; }
  .news-card-body > p:not(.card-date) { min-height: 0; }
  .pathway-card { min-height: 0; padding: 23px; }
  .pathway-card p { min-height: 0; }
  .location { padding-block: 59px; }
  .location-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { width: 100%; max-width: 520px; margin-inline: auto; }
  .about-callout-inner, .service-help-inner { align-items: flex-start; flex-direction: column; gap: 22px; padding-block: 45px; }
  .pqrsf-layout { grid-template-columns: 1fr; gap: 15px; }
  .pqrsf-aside { padding: 0; }
  .pqrsf-card { padding: 24px 18px; }
  .public-form-grid, .pqrsf-detail-list { grid-template-columns: 1fr; }
  .form-field--full, .pqrsf-detail-list__full { grid-column: auto; }
  .location h2 { font-size: 31px; }
  .map-card { height: 260px; }
  .page-hero { padding-block: 51px; }
  .document-card { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 15px; }
  .document-info { width: calc(100% - 63px); flex: 1 1 calc(100% - 65px); }
  .document-actions { width: 100%; margin-left: 61px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 38px 27px; }
  .footer-grid section:first-child { grid-column: 1 / -1; }
  .footer-bottom .container { font-size: 10px; }
  .admin-content, .admin-content--wide { width: calc(100% - 32px); padding-block: 32px 50px; }
  .admin-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .admin-heading h1 { font-size: 29px; }
  .stat-grid { grid-template-columns: 1fr; gap: 12px; }
  .admin-panel { padding: 17px; }
  .video-grid { grid-template-columns: 1fr; }
  .admin-topbar { min-height: 62px; padding-inline: 16px; }
  .admin-brand { font-size: 13px; }
  .admin-user { gap: 10px; font-size: 11px; }
  .admin-logout { font-size: 11px; }
  .admin-subnav .container { gap: 19px; width: calc(100% - 32px); }
  .admin-subnav a { font-size: 11px; }
  .admin-footer { padding-inline: 16px; font-size: 10px; }
  .login-card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .typewriter-cursor { display: none; }
}
