:root {
  --ink: #242327;
  --muted: #69666e;
  --cream: #f5f0ec;
  --surface: #ffffff;
  --surface-soft: #f5faf9;
  --teal: #009884;
  --teal-dark: #006f63;
  --teal-pale: #dff4ef;
  --pink: #d9005b;
  --pink-dark: #a50045;
  --pink-pale: #fde8f1;
  --charcoal: #2c2b2d;
  --line: #e7e2df;
  --shadow-sm: 0 8px 24px rgba(36, 35, 39, .08);
  --shadow-md: 0 18px 50px rgba(36, 35, 39, .13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid rgba(217, 0, 91, .45);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--pink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.government-bar {
  color: #fff;
  background: var(--charcoal);
  font-size: .86rem;
}

.government-bar__inner,
.government-brand,
.government-links,
.site-header__inner,
.hero__actions,
.section-heading,
.platform-filters,
.footer-bottom__inner {
  display: flex;
  align-items: center;
}

.government-bar__inner { min-height: 40px; justify-content: space-between; }
.government-brand { gap: 10px; font-weight: 600; }
.government-brand img { width: 32px; height: 32px; object-fit: contain; }
.government-links { align-self: stretch; gap: 28px; }
.government-links a { display: flex; align-items: center; opacity: .9; transition: opacity .2s ease, color .2s ease; }
.government-links a:hover { color: #6be1cf; opacity: 1; }
.icon-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.brand-banner {
  overflow: hidden;
  background-color: #f4f4f2;
  background-image: url('../img/branding/pattern-header-saybg.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;
}

.brand-banner__inner { display: flex; align-items: center; }
.brand-banner__logo { width: min(670px, 70%); height: auto; object-fit: contain; }
.brand-banner__logo--desktop { margin-left: 30%; }
.brand-banner__logo--mobile { display: none; }

@media (max-width: 1279px) {
  .brand-banner { background-image: url('../img/branding/pattern-header-tablet.jpg'); background-position: left top; background-size: auto; }
  .brand-banner__inner { justify-content: center; }
  .brand-banner__logo--desktop { display: none; }
  .brand-banner__logo--mobile { display: block; width: min(670px, 100%); }
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(245, 240, 236, .96);
  border-bottom: 1px solid rgba(36, 35, 39, .06);
  backdrop-filter: blur(14px);
}

.site-header__inner { min-height: 64px; justify-content: space-between; }
.site-name { font-weight: 700; letter-spacing: -.02em; }
.primary-menu { display: flex; align-items: center; gap: 30px; font-size: 1rem; }
.primary-menu a { position: relative; padding-block: 21px; }
.primary-menu a::after { content: ''; position: absolute; right: 0; bottom: 13px; left: 0; height: 2px; background: var(--pink); transform: scaleX(0); transition: transform .2s ease; }
.primary-menu a:hover::after, .primary-menu a.is-current::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fdfcfb 0%, #edf8f5 100%); }
.hero-pattern { position: absolute; inset: 0; opacity: .46; background-image: url('../img/home/hero/home-hero-pattern.png'); background-repeat: repeat; background-position: center; background-size: 360px auto; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; min-height: 500px; gap: 44px; padding-block: 52px; }
.eyebrow { margin: 0 0 10px; color: var(--teal-dark); font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.55rem); line-height: 1.04; letter-spacing: -.055em; }
.hero__lead { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 1.1rem; }
.hero__actions { flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; font-size: .88rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--pink); box-shadow: 0 10px 24px rgba(217, 0, 91, .22); }
.button--primary:hover { background: var(--pink-dark); box-shadow: 0 14px 30px rgba(217, 0, 91, .3); }
.button--secondary { color: var(--teal-dark); background: #fff; border-color: rgba(0, 152, 132, .25); }
.button--secondary:hover { box-shadow: var(--shadow-sm); }
.button--light { color: var(--teal-dark); background: #fff; }
.hero__visual { position: relative; }
.hero__visual > img { width: 100%; filter: drop-shadow(0 22px 36px rgba(36,35,39,.12)); }
.hero__visual--brand { display: grid; place-items: center; }
.hero__visual--brand > img { width: min(100%, 410px); max-height: 410px; object-fit: contain; background: #fff; border-radius: 27px; box-shadow: var(--shadow-md); filter: none; }
.hero-callout { position: absolute; right: 3%; bottom: 3%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); }
.hero-callout__icon { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-weight: 700; }
.hero-callout span:last-child { display: grid; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.hero-callout strong { color: var(--ink); font-size: .8rem; }

.section { padding-block: 88px; }
.quick-access { padding-bottom: 44px; }
.platforms { padding-top: 44px; }
.section-heading { justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.15; letter-spacing: -.04em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-size: .86rem; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.access-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.access-item { min-height: 258px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; padding: 17px 15px 16px; text-align: left; background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 82%, rgba(0,152,132,.045) 100%); border: 1px solid rgba(15,58,46,.1); border-radius: 17px; box-shadow: 0 6px 20px rgba(36,35,39,.035); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease; }
.access-item:hover { transform: translateY(-6px); border-color: rgba(0,152,132,.3); box-shadow: 0 18px 38px rgba(36,35,39,.11); }
.access-item__image { width: 132px; height: 132px; display: grid; place-items: center; margin: 0 auto 12px; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.access-item:hover .access-item__image { transform: scale(1.04); }
.access-item__image::after { content: none; }
.access-item:nth-child(3n + 2) .access-item__image,
.access-item:nth-child(3n) .access-item__image { background: transparent; }
.access-item__image img { width: 100%; height: 100%; object-fit: contain; }
.access-item__body { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; }
.access-item__body::after { content: ""; width: 42px; height: 4px; margin-top: 13px; background: var(--teal); border-radius: 999px; transition: width .25s ease, background .25s ease; }
.access-item:nth-child(even) .access-item__body::after { background: var(--pink); }
.access-item:hover .access-item__body::after { width: 68px; }
.access-item strong { width: 100%; color: var(--ink); text-align: center; font-size: 1rem; line-height: 1.32; letter-spacing: -.012em; }
.access-item__action { width: 100%; margin-top: auto; padding-top: 17px; color: var(--teal-dark); border-top: 3px solid rgba(15,58,46,.09); font-size: .76rem; font-weight: 850; letter-spacing: .02em; }
.access-item:hover .access-item__action { color: var(--pink-dark); border-color: rgba(201,7,103,.22); }
.access-item__arrow { width: 30px; height: 30px; display: grid; place-items: center; margin-inline: auto; color: var(--pink); background: var(--pink-pale); border-radius: 50%; font-size: 1rem; transition: transform .2s ease, color .2s ease, background .2s ease; }
.access-item:hover .access-item__arrow { transform: translateX(4px); }

.campaigns { background: var(--surface-soft); }
.carousel-controls { display: flex; gap: 8px; }
.round-button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.round-button:hover { color: #fff; background: var(--teal); transform: translateY(-2px); }
.campaign-carousel { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.campaign-slide { display: block; animation: slideIn .45s ease both; }
.campaign-slide[hidden] { display: none; }
.campaign-slide img { width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }
.carousel-dots { position: absolute; z-index: 3; bottom: 10px; left: 50%; display: flex; gap: 7px; padding: 5px 8px; background: rgba(36,35,39,.42); border-radius: 999px; transform: translateX(-50%); }
.carousel-dots button { width: 8px; height: 8px; padding: 0; background: rgba(255,255,255,.46); border: 0; border-radius: 10px; cursor: pointer; transition: width .2s ease, background .2s ease; }
.carousel-dots button.is-active { width: 28px; background: #fff; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.platforms__intro { max-width: 620px; margin: 0 0 30px; text-align: left; }
.platforms__intro > p:last-child { color: var(--muted); }
.platform-filters { justify-content: center; gap: 8px; margin: 28px 0 38px; }
.platform-filters button { padding: 10px 16px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.platform-filters button:hover, .platform-filters button.is-active { color: #fff; background: var(--teal); border-color: var(--teal); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.platform-item { min-height: 158px; display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease; }
.platform-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.platform-item[hidden] { display: none; }
.platform-item__image { min-height: 158px; display: grid; place-items: center; padding: 12px 18px; background: #fbfbfa; }
.platform-item__image img { width: 100%; height: 130px; object-fit: contain; mix-blend-mode: multiply; }

.news { background: #faf8f6; }
.news-layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: 28px; }
.news-feature { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.news-feature > a { display: block; overflow: hidden; }
.news-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.news-feature:hover img { transform: scale(1.025); }
.news-feature__body { padding: 26px 28px 30px; }
.news-meta { color: var(--teal-dark); font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.news-feature h3 { margin: 8px 0 10px; font-size: 1.55rem; line-height: 1.3; letter-spacing: -.03em; }
.news-feature p { margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.news-list { display: grid; gap: 14px; }
.news-compact { display: block; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.news-compact__form { display: grid; grid-template-columns: 138px minmax(0,1fr); gap: 18px; }
.news-compact img { width: 100%; height: 118px; object-fit: cover; border-radius: 10px; }
.news-compact h3 { margin: 6px 0 9px; font-size: .9rem; line-height: 1.38; }
.news-post-form { margin: 0; }
.news-image-button,
.news-compact__image-button,
.news-title-button,
.news-read-more { appearance: none; border: 0; background: none; font: inherit; }
.news-image-button,
.news-compact__image-button { display: block; width: 100%; overflow: hidden; padding: 0; cursor: pointer; }
.news-title-button { display: inline; padding: 0; color: var(--ink); text-align: left; cursor: pointer; }
.news-title-button:hover { color: var(--teal-dark); }
.news-read-more { padding: 0; cursor: pointer; }
.news-image-placeholder { min-height: 118px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--teal-dark),var(--teal)); font-weight: 900; letter-spacing: .12em; }
.news-feature .news-image-placeholder { min-height: 330px; font-size: 1.5rem; }
.news-empty { padding: 34px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.news-empty strong { display: block; color: var(--ink); font-size: 1.12rem; }
.news-empty p { margin: 7px 0 0; color: var(--muted); }
.weekly-video { min-height: 102px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px; color: #fff; background: #D80069; border-radius: var(--radius-sm); }
.weekly-video__play { width: 44px; height: 44px; display: grid; place-items: center; color: #D80069; background: #fff; border-radius: 50%; }
.weekly-video span:nth-child(2) { display: grid; }
.weekly-video small { opacity: .7; }
.weekly-video a { color: #fff; font-size: .74rem; font-weight: 800; }

.interest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.interest-item { min-height: 250px; display: grid; grid-template-rows: 132px 1fr; overflow: hidden; color: var(--teal-dark); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.interest-item:hover { transform: translateY(-5px); border-color: rgba(0,152,132,.28); box-shadow: var(--shadow-md); }
.interest-item__image { display: grid; place-items: center; padding: 12px; background: #fbfbfa; border-bottom: 1px solid var(--line); }
.interest-item__image img { width: 100%; height: 108px; object-fit: contain; mix-blend-mode: multiply; }
.interest-item__copy { position: relative; display: grid; align-content: start; gap: 5px; padding: 18px 42px 18px 18px; }
.interest-item strong { color: var(--ink); font-size: .98rem; line-height: 1.35; }
.interest-item small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.interest-item__arrow { position: absolute; right: 15px; bottom: 16px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--pink); background: var(--pink-pale); border-radius: 50%; transition: transform .2s ease; }
.interest-item:hover .interest-item__arrow { transform: translateX(3px); }

.site-footer { position: relative; isolation: isolate; overflow: hidden; color: #ccebe7; background-color: #009c8b; border-top: 8px solid #99d7cf; }
.site-footer::before { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; background-image: url('../img/footer/footer-pattern.png'); background-repeat: repeat; background-position: center top; background-size: 360px auto; filter: grayscale(1) contrast(.85); mix-blend-mode: multiply; opacity: .08; }
.footer-social { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 36px 26px; border-bottom: 1px solid rgba(204,235,231,.3); }
.footer-social__identity { display: grid; gap: 3px; }
.footer-social__identity strong { color: #fff; font-size: 1.1rem; }
.footer-social__identity span { color: #ccebe7; font-size: .81rem; }
.footer-social__links { display: flex; align-items: center; gap: 10px; }
.footer-social__links a { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.62); border-radius: 50%; transition: color .2s ease, background .2s ease, transform .2s ease; }
.footer-social__links a:hover { color: #00796d; background: #fff; transform: translateY(-3px); }
.footer-social__links svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.footer-social__links a:nth-child(2) svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr .8fr 1.3fr; gap: 42px; padding-block: 42px 64px; }
.footer-grid section { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid h2 { margin: 0 0 8px; color: #fff; font-size: .94rem; font-weight: 700; }
.footer-grid a, .footer-grid address { color: #ccebe7; font-size: .82rem; font-style: normal; font-weight: 500; transition: color .2s ease, transform .2s ease; overflow-wrap: anywhere; }
.footer-grid a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { position: relative; overflow: hidden; background-color: #241f20; border-top: 2px solid #1b1a1a; }
.footer-bottom::after { content: ''; position: absolute; z-index: 0; right: 0; bottom: 0; left: 0; height: 66px; pointer-events: none; background-image: url('../img/footer/footer-pleca.png'); background-repeat: repeat-x; background-position: center bottom; background-size: auto 66px; filter: grayscale(1) invert(1) contrast(1.15); mix-blend-mode: screen; opacity: .48; }
.footer-bottom__inner { position: relative; z-index: 1; min-height: 136px; justify-content: center; align-items: flex-start; gap: 20px; padding-block: 24px 76px; color: rgba(255,255,255,.78); font-size: .74rem; text-align: center; }
.footer-bottom__inner strong { color: #fff; font-weight: 600; }

.floating-report { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: grid; grid-template-columns: 50px auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-width: 190px; padding: 13px 20px 13px 13px; color: #fff; background: var(--pink); border: 2px solid #fff; border-radius: 18px; box-shadow: 0 12px 32px rgba(36,35,39,.25); transition: transform .2s ease, background .2s ease; }
.floating-report:hover { transform: translateY(-3px); background: var(--pink-dark); }
.floating-report > span { grid-row: 1 / 3; width: 50px; height: 50px; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.floating-report > span img { width: 36px; height: 36px; object-fit: contain; }
.floating-report strong { font-size: .96rem; line-height: 1.1; }
.floating-report small { opacity: .9; font-size: .78rem; line-height: 1.15; }

.floating-to-top { position: fixed; z-index: 44; right: 24px; bottom: 116px; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; color: #fff; background: var(--teal-dark); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 10px 26px rgba(36,35,39,.2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease; }
.floating-to-top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.floating-to-top:hover { background: var(--teal); transform: translateY(-2px); }
.floating-to-top span { width: 29px; height: 29px; display: grid; place-items: center; color: var(--teal-dark); background: #fff; border-radius: 50%; font-size: 1.1rem; font-weight: 900; line-height: 1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; transition-delay: calc(var(--delay, 0) * 80ms); }
.reveal[data-delay="1"] { --delay: 1; }
.reveal[data-delay="2"] { --delay: 2; }
.reveal[data-delay="3"] { --delay: 3; }
.reveal[data-delay="4"] { --delay: 4; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 26px; min-height: 460px; }
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3.55rem); }
  .desktop-only-break { display: none; }
  .access-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr 1fr; }
  .weekly-video { grid-column: 1 / -1; }
  .interest-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .government-bar { display: none; }
  .brand-banner__logo--mobile { width: min(320px, 100%); }
  .site-header__inner { min-height: 60px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-menu { position: absolute; top: 100%; right: 0; bottom: auto; width: min(86vw, 340px); height: calc(100vh - 60px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 30px; background: var(--cream); box-shadow: -20px 20px 50px rgba(36,35,39,.18); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s ease; }
  .primary-menu.is-open { transform: translateX(0); visibility: visible; }
  .primary-menu a { padding-block: 16px; border-bottom: 1px solid var(--line); }
  .primary-menu a::after { bottom: -1px; }
  .hero__grid { grid-template-columns: 1fr; gap: 16px; padding-block: 38px; }
  .hero__copy { text-align: center; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.35rem); }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { max-width: 560px; margin-inline: auto; }
  .hero__visual--brand > img { max-height: 360px; }
  .hero-callout { right: 0; }
  .section { padding-block: 66px; }
  .quick-access { padding-bottom: 36px; }
  .platforms { padding-top: 36px; }
  .section-heading { align-items: flex-end; }
  .access-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-dots { bottom: 10px; gap: 5px; }
  .platform-grid { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .weekly-video { grid-column: auto; }
  .interest-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { display: none; }
}

@media (max-width: 520px) {
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .hero-callout { position: static; width: max-content; max-width: 100%; margin: -8px auto 0; }
  .access-grid { grid-template-columns: 1fr; gap: 14px; }
  .access-item { min-height: 224px; padding: 15px 14px; }
  .access-item__image { width: 112px; height: 112px; margin-bottom: 10px; }
  .access-item strong { font-size: 1rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading .carousel-controls { align-self: flex-end; margin-top: -56px; }
  .campaigns .section-heading .carousel-controls { margin-top: -8px; }
  .platform-filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .platform-filters button { flex: 0 0 auto; }
  .news-compact__form { grid-template-columns: 106px minmax(0,1fr); }
  .news-compact img { height: 110px; }
  .news-feature__body { padding: 22px; }
  .news-feature h3 { font-size: 1.25rem; }
  .weekly-video { grid-template-columns: auto 1fr; }
  .weekly-video a { grid-column: 2; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest-item { min-height: 120px; }
  .footer-social { align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 28px 24px; }
  .footer-bottom::after { height: 58px; background-size: auto 58px; opacity: .42; }
  .footer-bottom__inner { min-height: 148px; align-items: center; flex-direction: column; justify-content: flex-start; padding-block: 18px 68px; text-align: center; }
  .floating-report { right: 12px; bottom: 12px; width: auto; height: auto; min-width: 166px; grid-template-columns: 42px auto; grid-template-rows: auto auto; column-gap: 10px; place-items: initial; align-items: center; padding: 9px 14px 9px 9px; border-radius: 15px; }
  .floating-report > span { width: 42px; height: 42px; }
  .floating-report > span img { width: 31px; height: 31px; }
  .floating-report strong { display: block; font-size: .84rem; }
  .floating-report small { display: block; font-size: .7rem; }
  .floating-to-top { right: 12px; bottom: 84px; width: 40px; height: 40px; }
  .floating-to-top span { width: 25px; height: 25px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Contraloría Social */
.contraloria-page .page-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 34px; padding-block: 32px 90px; }
.contraloria-page .side-navigation { position: sticky; z-index: 5; top: 88px; align-self: start; height: max-content; }
.contraloria-page .side-nav__toggle { display: none; }
.contraloria-page .side-nav__card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.contraloria-page .side-nav__header { display: flex; align-items: center; gap: 12px; padding: 20px 18px; color: #fff; background: linear-gradient(135deg, var(--teal-dark), var(--teal)); }
.contraloria-page .side-nav__header > span { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; }
.contraloria-page .side-nav__header svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contraloria-page .side-nav__header div { display: grid; line-height: 1.25; }
.contraloria-page .side-nav__header strong { font-size: .94rem; }
.contraloria-page .side-nav__header small { margin-top: 3px; opacity: .76; font-size: .69rem; }
.contraloria-page .side-nav__panel { max-height: calc(100vh - 190px); overflow-y: auto; padding: 10px; scrollbar-width: thin; scrollbar-color: rgba(0,152,132,.25) transparent; }
.contraloria-page .side-nav__group { margin: 12px 10px 6px; color: #8a858d; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contraloria-page .side-nav__link { position: relative; min-height: 46px; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 9px; margin-bottom: 3px; padding: 8px 10px; color: #4f4c53; border-radius: 12px; font-size: .78rem; font-weight: 650; line-height: 1.32; transition: color .2s ease, background .2s ease, transform .2s ease; }
.contraloria-page .side-nav__link::before { content: ''; position: absolute; top: 9px; bottom: 9px; left: 0; width: 3px; background: var(--pink); border-radius: 0 3px 3px 0; opacity: 0; transform: scaleY(.5); transition: opacity .2s ease, transform .2s ease; }
.contraloria-page .side-nav__link:hover { color: var(--teal-dark); background: var(--teal-pale); transform: translateX(2px); }
.contraloria-page .side-nav__link.is-active { color: var(--pink-dark); background: var(--pink-pale); }
.contraloria-page .side-nav__link.is-active::before { opacity: 1; transform: scaleY(1); }
.contraloria-page .side-nav__number { width: 28px; height: 28px; display: grid; place-items: center; color: var(--teal-dark); background: #f2f7f6; border: 1px solid rgba(0,152,132,.12); border-radius: 9px; font-size: .6rem; font-weight: 800; }
.contraloria-page .side-nav__link.is-active .side-nav__number { color: #fff; background: var(--pink); border-color: var(--pink); }
.contraloria-page .side-nav__arrow { color: var(--pink); font-size: .95rem; transition: transform .2s ease; }
.contraloria-page .side-nav__link:hover .side-nav__arrow { transform: translateX(3px); }

.contraloria-page .content-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); }
.contraloria-page .content-card__header { position: relative; overflow: hidden; padding: 26px 30px; color: #fff; background-color: var(--pink-dark); background-image: linear-gradient(115deg, rgba(75,0,31,.64), rgba(217,0,91,.42)), url('../img/branding/content-title-pattern.png'); background-repeat: no-repeat, repeat; background-position: center, center; background-size: cover, 340px auto; }
.contraloria-page .content-card__header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,35,39,.3), transparent 72%); }
.contraloria-page .content-card__header p,
.contraloria-page .content-card__header h2 { position: relative; z-index: 1; }
.contraloria-page .content-card__header p { margin: 0 0 6px; opacity: .78; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contraloria-page .content-card__header h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.18; letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(36,35,39,.45); }
.contraloria-page .content-card__body { padding: 34px; }
.contraloria-page blockquote { position: relative; margin: 0; padding: 26px 28px 26px 72px; color: #555159; background: var(--surface-soft); border: 1px solid #dfefeb; border-radius: 18px; }
.contraloria-page blockquote > span { position: absolute; top: 8px; left: 22px; color: var(--teal); font-family: Georgia, serif; font-size: 4rem; line-height: 1; }
.contraloria-page blockquote p { margin: 0; font-size: .96rem; line-height: 1.75; }
.contraloria-page .contraloria-brand { display: grid; place-items: center; margin: 34px 0 48px; padding: 26px; background: radial-gradient(circle, #fff 0%, #fbfaf9 68%, #f5f0ec 100%); border-radius: 22px; }
.contraloria-page .contraloria-brand img { width: min(100%, 250px); height: 300px; object-fit: contain; }
.contraloria-page .directory { padding-top: 4px; }
.contraloria-page .section-heading { align-items: flex-end; margin-bottom: 24px; }
.contraloria-page .section-heading h2 { max-width: none; margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.18; letter-spacing: -.035em; white-space: nowrap; }
.contraloria-page .directory-count { flex: 0 0 auto; padding: 7px 11px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.contraloria-page .directory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contraloria-page .directory-card { position: relative; min-height: 0; display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 17px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.contraloria-page .directory-card:hover { transform: translateY(-3px); border-color: rgba(0,152,132,.3); box-shadow: var(--shadow-sm); }
.contraloria-page .directory-card__number { position: absolute; top: 18px; right: 18px; color: rgba(0,111,99,.55); font-size: .74rem; font-weight: 800; }
.contraloria-page .directory-card h3 { max-width: calc(100% - 34px); margin: 0 0 15px; font-size: 1.14rem; line-height: 1.3; }
.contraloria-page .directory-card p,
.contraloria-page .directory-card address { margin: 0 0 14px; color: var(--muted); font-size: .9rem; font-style: normal; line-height: 1.58; }
.contraloria-page .directory-card__person::before,
.contraloria-page .directory-card address::before,
.contraloria-page .directory-card a::before { display: block; margin-bottom: 4px; color: var(--pink-dark); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contraloria-page .directory-card__person::before { content: 'Titular'; }
.contraloria-page .directory-card address::before { content: 'Ubicación'; }
.contraloria-page .directory-card a { margin-top: 0; color: var(--teal-dark); font-size: .82rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.contraloria-page .directory-card a::before { content: 'Correo electrónico'; }
.contraloria-page.full-width-page .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contraloria-page .text-link { margin-top: 22px; font-size: .8rem; font-weight: 800; }
.contraloria-page .text-link span { color: var(--pink); }

.contraloria-page .regional-coverage { margin-top: 68px; padding-top: 48px; border-top: 1px solid var(--line); }
.contraloria-page .regional-map { overflow: hidden; margin: 0 0 28px; padding: 24px 24px 14px; background: linear-gradient(145deg, #fff, #f2f8f6); border: 1px solid #dcebe7; border-radius: 22px; }
.contraloria-page .regional-map img { width: 100%; max-height: 780px; object-fit: contain; }
.contraloria-page .regional-map figcaption { margin-top: 12px; color: var(--muted); font-size: .7rem; text-align: center; }
.contraloria-page .interactive-map { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(220px, .7fr); grid-template-areas: 'canvas status' 'canvas legend'; align-items: start; gap: 14px 18px; }
.contraloria-page .interactive-map__canvas { grid-area: canvas; overflow: hidden; padding: 10px; background: radial-gradient(circle at 45% 48%, #fff 0, #f7fbfa 68%, #edf6f3 100%); border: 1px solid #dfece8; border-radius: 18px; }
.contraloria-page .interactive-map__svg { width: 100%; height: auto; display: block; }
.contraloria-page .map-region { cursor: pointer; outline: none; }
.contraloria-page .map-municipality { fill: var(--map-region); stroke: #fff; stroke-width: 1.15; vector-effect: non-scaling-stroke; transition: filter .18s ease, opacity .18s ease, stroke-width .18s ease; }
.contraloria-page .map-region:hover .map-municipality,
.contraloria-page .map-region:focus-visible .map-municipality { filter: brightness(.93) saturate(1.12); stroke: #2b2b2b; stroke-width: 1.8; }
.contraloria-page .interactive-map.has-active .map-region:not(.is-active) .map-municipality { opacity: .48; }
.contraloria-page .map-region.is-active .map-municipality { opacity: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.26)) saturate(1.16); stroke: #222; stroke-width: 2.1; }
.contraloria-page .interactive-map__status { grid-area: status; display: grid; gap: 6px; padding: 18px; color: #fff; background: linear-gradient(135deg, var(--teal-dark), var(--teal)); border-radius: 16px; box-shadow: 0 9px 22px rgba(0,126,112,.18); }
.contraloria-page .interactive-map__status > span { color: rgba(255,255,255,.72); font-size: .67rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.contraloria-page .interactive-map__status strong { font-size: 1.1rem; line-height: 1.3; }
.contraloria-page .interactive-map__status small { color: rgba(255,255,255,.84); font-size: .86rem; line-height: 1.5; }
.contraloria-page .interactive-map__legend { grid-area: legend; display: grid; gap: 5px; }
.contraloria-page .interactive-map__legend-button { min-height: 39px; display: grid; grid-template-columns: 15px 24px minmax(0,1fr); align-items: center; gap: 8px; padding: 7px 10px; color: var(--ink); text-align: left; background: rgba(255,255,255,.82); border: 1px solid #dce9e6; border-radius: 9px; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.contraloria-page .interactive-map__legend-button > span { width: 12px; height: 12px; background: var(--map-region); border: 1px solid rgba(0,0,0,.08); border-radius: 4px; }
.contraloria-page .interactive-map__legend-button b { color: var(--muted); font-size: .65rem; }
.contraloria-page .interactive-map__legend-button { font-family: inherit; font-size: .82rem; font-weight: 700; line-height: 1.25; }
.contraloria-page .interactive-map__legend-button:hover,
.contraloria-page .interactive-map__legend-button:focus-visible { border-color: var(--teal); transform: translateX(2px); outline: none; box-shadow: 0 5px 13px rgba(36,35,39,.08); }
.contraloria-page .interactive-map__legend-button.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.contraloria-page .interactive-map__legend-button.is-active b { color: rgba(255,255,255,.7); }
.contraloria-page .regional-map__fallback { margin-top: 16px; }
.contraloria-page .region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.contraloria-page.full-width-page .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contraloria-page .region-card { --region: var(--teal); overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--region); border-radius: 15px; box-shadow: 0 7px 18px rgba(36,35,39,.05); }
.contraloria-page .region-card:nth-child(1) { --region: #d994bb; }
.contraloria-page .region-card:nth-child(2) { --region: #92c35e; }
.contraloria-page .region-card:nth-child(3) { --region: #e3ba00; }
.contraloria-page .region-card:nth-child(4) { --region: #f3904d; }
.contraloria-page .region-card:nth-child(5) { --region: #c66162; }
.contraloria-page .region-card:nth-child(6) { --region: #ebb259; }
.contraloria-page .region-card:nth-child(7) { --region: #aaa; }
.contraloria-page .region-card:nth-child(8) { --region: #5ac4ec; }
.contraloria-page .region-card:nth-child(9) { --region: #00a384; }
.contraloria-page .region-card:nth-child(10) { --region: #aa7fc2; }
.contraloria-page .region-card:nth-child(11) { --region: #bb9535; }
.contraloria-page .region-card.is-map-active { border-color: var(--region); box-shadow: 0 10px 25px color-mix(in srgb, var(--region) 25%, transparent); }
.contraloria-page .region-card summary { min-height: 68px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto 25px; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.contraloria-page .region-card summary::-webkit-details-marker { display: none; }
.contraloria-page .region-card summary > span { width: 32px; height: 32px; display: grid; place-items: center; color: #383439; background: #fff; border: 2px solid var(--region); border-radius: 10px; font-size: .69rem; font-weight: 850; }
.contraloria-page .region-card summary strong { font-size: .96rem; line-height: 1.3; }
.contraloria-page .region-card summary small { color: var(--muted); font-size: .7rem; white-space: nowrap; }
.contraloria-page .region-card summary::after { content: '+'; width: 25px; height: 25px; display: grid; place-items: center; color: var(--pink); background: var(--pink-pale); border-radius: 50%; font-size: 1rem; font-weight: 700; }
.contraloria-page .region-card[open] summary::after { content: '−'; }
.contraloria-page .region-card ul { display: grid; gap: 8px; margin: 0; padding: 4px 20px 20px 48px; color: var(--muted); font-size: .9rem; line-height: 1.52; }
.contraloria-page .region-card li::marker { color: var(--region); }
.contraloria-page .region-card li.is-headquarters { color: var(--ink); font-weight: 800; }

.contraloria-page .page-layout--full { grid-template-columns: 1fr; gap: 22px; }
.contraloria-page.full-width-page .side-navigation { position: static; top: auto; width: 100%; height: auto; }
.contraloria-page.full-width-page .side-nav__toggle { width: 100%; min-height: 68px; display: grid; grid-template-columns: 42px minmax(0,1fr) 34px; align-items: center; gap: 13px; padding: 10px 15px; color: #fff; text-align: left; background: linear-gradient(115deg, var(--teal-dark), var(--teal)); border: 0; border-radius: 18px; box-shadow: var(--shadow-md); cursor: pointer; }
.contraloria-page.full-width-page .side-nav__toggle-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 13px; }
.contraloria-page.full-width-page .side-nav__toggle-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contraloria-page.full-width-page .side-nav__toggle-copy { display: grid; line-height: 1.25; }
.contraloria-page.full-width-page .side-nav__toggle-copy strong { font-size: 1.1rem; }
.contraloria-page.full-width-page .side-nav__toggle-copy small { margin-top: 5px; color: rgba(255,255,255,.76); font-size: .76rem; }
.contraloria-page.full-width-page .side-nav__chevron { width: 34px; height: 34px; padding: 8px; fill: none; stroke: #fff; stroke-width: 2; background: rgba(255,255,255,.12); border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.contraloria-page.full-width-page .side-nav__toggle:hover .side-nav__chevron { background: rgba(255,255,255,.22); }
.contraloria-page.full-width-page .side-nav__toggle[aria-expanded='true'] .side-nav__chevron { transform: rotate(180deg); }
.contraloria-page.full-width-page .side-nav__card { display: none; margin-top: 12px; }
.contraloria-page.full-width-page .side-navigation.is-open .side-nav__card { display: block; }
.contraloria-page.full-width-page .side-nav__header { display: none; }
.contraloria-page.full-width-page .side-nav__panel { max-height: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px 10px; overflow: visible; padding: 18px; }
.contraloria-page.full-width-page .side-nav__group { grid-column: 1 / -1; margin: 12px 10px 5px; font-size: .71rem; }
.contraloria-page.full-width-page .side-nav__link { min-height: 52px; margin: 0; font-size: .98rem; }
.contraloria-page.full-width-page .side-nav__number { font-size: .68rem; }
.contraloria-page.full-width-page .content-card { width: 100%; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.contraloria-page.full-width-page .content-card__header { border-radius: 24px; }
.contraloria-page.full-width-page .content-card__body { padding: 34px 0; background: transparent; }

@media (max-width: 980px) {
  .contraloria-page .page-layout { grid-template-columns: 270px minmax(0,1fr); gap: 24px; }
  .contraloria-page .content-card__body { padding: 28px; }
  .contraloria-page.full-width-page .content-card__body { padding: 28px 0; }
  .contraloria-page .directory-grid,
  .contraloria-page.full-width-page .directory-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contraloria-page.full-width-page .region-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contraloria-page .interactive-map { grid-template-columns: minmax(0, 1.55fr) minmax(210px, .75fr); }
}

@media (max-width: 900px) {
  .contraloria-page .page-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .contraloria-page .side-navigation { position: static; }
  .contraloria-page .side-nav__toggle { width: 100%; min-height: 72px; display: grid; grid-template-columns: 42px minmax(0,1fr) 24px; align-items: center; gap: 12px; padding: 12px 16px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-sm); cursor: pointer; }
  .contraloria-page .side-nav__toggle-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 12px; }
  .contraloria-page .side-nav__toggle-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .contraloria-page .side-nav__toggle-copy { min-width: 0; display: grid; line-height: 1.28; }
  .contraloria-page .side-nav__toggle-copy strong { font-size: .88rem; }
  .contraloria-page .side-nav__toggle-copy small { margin-top: 4px; color: var(--muted); font-size: .67rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .contraloria-page .side-nav__chevron { width: 24px; fill: none; stroke: var(--pink); stroke-width: 2; transition: transform .2s ease; }
  .contraloria-page .side-nav__toggle[aria-expanded='true'] .side-nav__chevron { transform: rotate(180deg); }
  .contraloria-page .side-nav__card { display: none; margin-top: 10px; border-radius: 17px; }
  .contraloria-page .side-navigation.is-open .side-nav__card { display: block; }
  .contraloria-page .side-nav__header { display: none; }
  .contraloria-page .side-nav__panel { max-height: min(60vh, 520px); padding: 10px; }
  .contraloria-page .side-nav__link { font-size: .82rem; }
}

@media (max-width: 760px) {
  .contraloria-page .content-card__header { padding: 22px 22px; }
  .contraloria-page .content-card__body { padding: 22px; }
  .contraloria-page.full-width-page .content-card__body { padding: 22px 0; }
  .contraloria-page blockquote { padding: 58px 22px 22px; }
  .contraloria-page blockquote > span { top: 9px; left: 20px; }
  .contraloria-page .section-heading { align-items: flex-start; flex-direction: column; }
  .contraloria-page .section-heading h2 { white-space: normal; }
  .contraloria-page .directory-grid,
  .contraloria-page.full-width-page .directory-grid { grid-template-columns: 1fr; }
  .contraloria-page.full-width-page .side-nav__panel { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contraloria-page .interactive-map { grid-template-columns: 1fr; grid-template-areas: 'status' 'canvas' 'legend'; }
  .contraloria-page .interactive-map__status { padding: 15px 16px; }
  .contraloria-page .interactive-map__legend { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .contraloria-page .side-nav__toggle { padding-inline: 12px; }
  .contraloria-page .side-nav__toggle-copy strong { font-size: .8rem; }
  .contraloria-page .content-card { border-radius: 20px; }
  .contraloria-page .content-card__body { padding: 18px; }
  .contraloria-page.full-width-page .content-card__header { border-radius: 18px; }
  .contraloria-page.full-width-page .content-card__body { padding: 18px 0; }
  .contraloria-page blockquote p { font-size: .87rem; }
  .contraloria-page .contraloria-brand { padding: 18px; }
  .contraloria-page .contraloria-brand img { height: 245px; }
  .contraloria-page .directory-card { min-height: 0; }
  .contraloria-page .regional-coverage { margin-top: 48px; padding-top: 36px; }
  .contraloria-page .regional-map { padding: 12px 10px 10px; border-radius: 16px; }
  .contraloria-page .interactive-map__canvas { padding: 4px; border-radius: 13px; }
  .contraloria-page .interactive-map__legend { grid-template-columns: 1fr; }
  .contraloria-page .region-grid,
  .contraloria-page.full-width-page .region-grid { grid-template-columns: 1fr; }
  .contraloria-page .region-card summary { grid-template-columns: 32px minmax(0,1fr) 25px; }
  .contraloria-page .region-card summary small { display: none; }
  .contraloria-page.full-width-page .side-nav__toggle { min-height: 64px; grid-template-columns: 40px minmax(0,1fr) 32px; gap: 10px; padding: 10px 12px; border-radius: 16px; }
  .contraloria-page.full-width-page .side-nav__toggle-icon { width: 40px; height: 40px; border-radius: 12px; }
  .contraloria-page.full-width-page .side-nav__toggle-copy strong { font-size: 1rem; }
  .contraloria-page.full-width-page .side-nav__toggle-copy small { font-size: .67rem; }
  .contraloria-page.full-width-page .side-nav__chevron { width: 32px; height: 32px; padding: 7px; }
  .contraloria-page.full-width-page .side-nav__panel { grid-template-columns: 1fr; padding: 10px; }
}

/* Marco Jurídico */
.legal-page .page-layout { padding-block: 32px 90px; }
.legal-page .legal-content .content-card__header h2 { max-width: 940px; font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
.legal-page .legal-content .content-card__header p { margin-bottom: 5px; }
.legal-page .legal-content .content-card__body { padding-top: 30px; }
.legal-page .legal-note { display: grid; gap: 7px; margin-bottom: 24px; padding: 20px 22px; color: #4f4b50; background: linear-gradient(135deg, rgba(201,7,103,.065), rgba(255,255,255,.95)); border-left: 5px solid var(--pink); border-radius: 0 16px 16px 0; }
.legal-page .legal-note strong { color: var(--pink-dark); font-size: .9rem; }
.legal-page .legal-note p { margin: 0; font-size: .9rem; line-height: 1.7; text-align: justify; hyphens: none; }
.legal-page .legal-external-callout { display: grid; grid-template-columns: minmax(0,1fr) 38px; gap: 4px 16px; margin-bottom: 24px; padding: 20px 22px; color: #fff; background: linear-gradient(135deg, var(--teal-dark), var(--teal)); border-radius: 17px; box-shadow: 0 10px 24px rgba(0,103,89,.13); }
.legal-page .legal-external-callout span { grid-column: 1; opacity: .76; font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.legal-page .legal-external-callout strong { grid-column: 1; font-size: .92rem; line-height: 1.45; }
.legal-page .legal-external-callout b { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,.15); border-radius: 12px; font-size: 1.05rem; }
.legal-page .legal-repository { display: grid; gap: 18px; }
.legal-page .legal-repository__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.legal-page .legal-repository__header h2 { margin: 0; color: var(--ink); font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: -.025em; }
.legal-page .legal-repository__count { min-width: 44px; height: 44px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-pale); border-radius: 13px; font-size: .78rem; font-weight: 950; }
.legal-page .legal-search { display: grid; gap: 7px; color: #666168; font-size: .72rem; font-weight: 850; }
.legal-page .legal-search input { width: 100%; min-height: 52px; padding: 12px 16px; color: var(--ink); background: #fff; border: 1px solid #cadeda; border-radius: 14px; font: inherit; font-size: .9rem; font-weight: 500; outline: none; box-shadow: 0 7px 18px rgba(36,35,39,.04); }
.legal-page .legal-search input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,152,132,.12); }
.legal-page .legal-list { display: grid; gap: 10px; }
.legal-page .legal-record { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr) auto 46px; align-items: center; gap: 14px; padding: 14px 15px; color: inherit; background: #fff; border: 1px solid #dce7e4; border-radius: 15px; box-shadow: 0 6px 18px rgba(36,35,39,.035); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.legal-page .legal-record:hover { transform: translateY(-2px); border-color: rgba(0,152,132,.38); box-shadow: 0 12px 24px rgba(36,35,39,.075); }
.legal-page .legal-record[hidden] { display: none; }
.legal-page .legal-record__number { width: 42px; height: 42px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-pale); border-radius: 12px; font-size: .67rem; font-weight: 950; }
.legal-page .legal-record:nth-child(even) .legal-record__number { color: var(--pink-dark); background: var(--pink-pale); }
.legal-page .legal-record__copy { min-width: 0; display: grid; gap: 5px; }
.legal-page .legal-record__copy strong { color: var(--ink); font-size: .88rem; line-height: 1.48; }
.legal-page .legal-record__copy small { color: #777279; font-size: .66rem; }
.legal-page .legal-record time,
.legal-page .legal-record__status { max-width: 124px; color: #6f6a70; text-align: right; font-size: .69rem; font-weight: 750; line-height: 1.35; }
.legal-page .legal-record__type { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--pink-dark); border-radius: 12px; font-size: .58rem; font-weight: 950; }
.legal-page .legal-record:nth-child(even) .legal-record__type { background: var(--teal-dark); }
.legal-page .legal-search-empty { margin: 0; padding: 28px; color: #716c72; text-align: center; background: #fff; border: 1px dashed #c9dcd7; border-radius: 16px; }
.legal-page .legal-empty-state { display: grid; grid-template-columns: 50px minmax(0,1fr); align-items: center; gap: 16px; padding: 28px; background: linear-gradient(135deg, rgba(0,151,132,.055), rgba(255,255,255,.96)); border-radius: 18px; }
.legal-page .legal-empty-state > span { width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 14px; font-size: 1.3rem; font-weight: 900; }
.legal-page .legal-empty-state strong { color: var(--ink); font-size: 1rem; }
.legal-page .legal-empty-state p { margin: 5px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.legal-page .legal-source-note { margin: 24px 0 0; color: #777279; font-size: .72rem; line-height: 1.65; }
.legal-page .municipal-repository { gap: 22px; }
.legal-page .municipal-selector { display: grid; gap: 8px; color: #5f5a61; font-size: .77rem; font-weight: 850; }
.legal-page .municipal-selector select { width: 100%; min-height: 56px; padding: 12px 46px 12px 17px; color: var(--ink); background: #fff; border: 1px solid #c7ddd8; border-radius: 14px; font: inherit; font-size: .94rem; font-weight: 650; outline: none; box-shadow: 0 8px 22px rgba(36,35,39,.045); cursor: pointer; }
.legal-page .municipal-selector select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,152,132,.12); }
.legal-page .municipal-prompt { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 15px; padding: 24px; background: linear-gradient(135deg,rgba(0,151,132,.06),rgba(255,255,255,.98)); border-radius: 17px; }
.legal-page .municipal-prompt[hidden],
.legal-page .municipal-result[hidden] { display: none; }
.legal-page .municipal-prompt > span { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 13px; font-size: 1.25rem; font-weight: 900; }
.legal-page .municipal-prompt strong { color: var(--ink); font-size: .98rem; }
.legal-page .municipal-prompt p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.legal-page .municipal-result { display: grid; gap: 15px; }
.legal-page .municipal-result__header { padding: 0 2px; }
.legal-page .municipal-result__header p { margin: 0 0 4px; color: var(--teal-dark); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.legal-page .municipal-result__header h3 { margin: 0; color: var(--ink); font-size: clamp(1.25rem,2.4vw,1.7rem); letter-spacing: -.025em; }

@media (max-width: 760px) {
  .legal-page .legal-content .content-card__body { padding-top: 24px; }
  .legal-page .legal-note { padding: 18px; }
  .legal-page .legal-note p { text-align: left; }
  .legal-page .legal-record { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 11px; padding: 12px; }
  .legal-page .legal-record__number { width: 38px; height: 38px; }
  .legal-page .legal-record time,
  .legal-page .legal-record__status { grid-column: 2; max-width: none; text-align: left; }
  .legal-page .legal-record__type { grid-column: 3; grid-row: 1 / 3; width: 40px; height: 40px; }
}

@media (max-width: 460px) {
  .legal-page .legal-repository__header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .legal-page .legal-record__copy strong { font-size: .8rem; }
  .legal-page .legal-record__copy small { display: none; }
  .legal-page .legal-external-callout { padding: 17px; }
  .legal-page .municipal-selector select { min-height: 52px; font-size: .86rem; }
  .legal-page .municipal-prompt { grid-template-columns: 42px minmax(0,1fr); padding: 18px; }
  .legal-page .municipal-prompt > span { width: 42px; height: 42px; }
}

/* Conócenos */
.about-page { background: #fbfaf9; }
.about-page .about-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(125deg, #fdfcfb 0%, #f2eee9 52%, #e8f7f3 100%); }
.about-page .about-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('../img/home/hero/home-hero-pattern.png') repeat center / 360px auto; opacity: .42; }
.about-page .about-hero::after { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; right: -18px; bottom: -112px; background: url('../img/about/rombo-rojo.svg') center / contain no-repeat; opacity: .16; }
.about-page .about-hero__grid { min-height: 430px; display: grid; grid-template-columns: minmax(330px,.78fr) minmax(0,1.22fr); align-items: center; gap: 56px; padding-block: 54px; }
.about-page .about-hero__copy h1 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.05; letter-spacing: -.05em; }
.about-page .about-hero__copy > p:not(.eyebrow) { max-width: 700px; margin: 25px 0 30px; color: #565159; font-size: 1.13rem; line-height: 1.7; text-align: justify; text-justify: inter-word; hyphens: none; overflow-wrap: normal; word-break: normal; }
.about-page .about-hero__principles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 24px; background: rgba(255,255,255,.84); border: 1px solid rgba(255,255,255,.9); border-radius: 26px; box-shadow: var(--shadow-md); backdrop-filter: blur(12px); }
.about-page .about-hero__principles span { min-height: 78px; display: grid; place-items: center; padding: 14px; color: var(--teal-dark); text-align: center; background: var(--teal-pale); border: 1px solid rgba(0,152,132,.13); border-radius: 17px; font-size: .86rem; font-weight: 800; }
.about-page .about-hero__principles span:nth-child(2),
.about-page .about-hero__principles span:nth-child(3) { color: var(--pink-dark); background: var(--pink-pale); border-color: rgba(217,0,91,.12); }
.about-page .about-hero__principles strong { grid-column: 1 / -1; padding: 14px 8px 2px; font-size: 1rem; line-height: 1.4; text-align: center; }

.about-page .section-heading h2 { max-width: 820px; }
.about-page .section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; text-align: right; }
.about-page .about-intro { background: #fff; }
.about-page .about-intro__grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); align-items: start; gap: 34px; }
.about-page .about-narrative { padding: 34px; background: linear-gradient(145deg, #fff, #f6fbf9); border: 1px solid #dcebe7; border-radius: 24px; box-shadow: var(--shadow-sm); text-align: justify; }
.about-page .about-narrative p { margin: 0 0 18px; color: #5d5861; font-size: .97rem; line-height: 1.78; }
.about-page .about-narrative p:last-child { margin-bottom: 0; }
.about-page .about-narrative .about-narrative__lead { color: var(--ink); font-size: 1.12rem; font-weight: 650; line-height: 1.7; }
.about-page .about-profile { overflow: hidden; background: var(--ink); border-radius: 24px; box-shadow: var(--shadow-md); }
.about-page .about-profile__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.about-page .about-profile__image::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(36,35,39,.72)); }
.about-page .about-profile__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.about-page .about-profile__copy { padding: 25px 27px 28px; color: rgba(255,255,255,.76); }
.about-page .about-profile__copy > p:first-child { margin: 0 0 7px; color: #78d6ca; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.about-page .about-profile__copy h2 { margin: 0 0 5px; color: #fff; font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.2; }
.about-page .about-profile__copy strong { display: block; color: #f3b4ce; font-size: .8rem; }
.about-page .about-profile__copy > p:last-child { margin: 18px 0 0; font-size: .86rem; line-height: 1.65; }

.about-page .about-purpose { background: linear-gradient(135deg, #edf8f5, #f8f5f2); }
.about-page .about-purpose__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-page .purpose-card { position: relative; isolation: isolate; overflow: hidden; min-height: 310px; padding: 38px; color: #fff; border: 0; border-radius: 24px; box-shadow: 0 18px 38px rgba(36,35,39,.14); }
.about-page .purpose-card--mission { background: linear-gradient(135deg, #D30A6D 0%, #C90767 46%, #AC202D 100%); }
.about-page .purpose-card--vision { background: linear-gradient(135deg, #16A896 0%, #009784 48%, #006C63 100%); }
.about-page .purpose-card::after { content: ''; position: absolute; z-index: -1; width: 174px; height: 174px; right: -22px; bottom: -34px; pointer-events: none; background: url('../img/about/rombo-rosa.svg') center / contain no-repeat; filter: brightness(0) invert(1); opacity: .13; transform: rotate(-3deg); }
.about-page .purpose-card--vision::after { background-image: url('../img/about/rombo-verde.svg'); transform: rotate(4deg); }
.about-page .purpose-card > span { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.34); border-radius: 13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); font-size: .72rem; font-weight: 850; }
.about-page .purpose-card--vision > span { background: rgba(255,255,255,.14); }
.about-page .purpose-card h3 { position: relative; z-index: 1; margin: 25px 0 14px; color: #fff; font-size: 1.65rem; }
.about-page .purpose-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.75; }

.about-page .conduct { background: #fff; }
.about-page .conduct .section-heading > p { max-width: none; white-space: nowrap; }
.about-page .conduct-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.about-page .conduct-card { min-height: 235px; padding: 24px 21px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 18px; box-shadow: 0 8px 22px rgba(36,35,39,.05); }
.about-page .conduct-card:nth-child(even) { border-top-color: var(--pink); }
.about-page .conduct-card > span { color: rgba(0,126,112,.55); font-size: .68rem; font-weight: 850; }
.about-page .conduct-card h3 { margin: 31px 0 12px; font-size: 1.06rem; line-height: 1.3; }
.about-page .conduct-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }

/* Justificado uniforme en todos los textos de lectura de Conócenos. */
.about-page .about-hero__copy > p:not(.eyebrow),
.about-page .about-narrative p,
.about-page .about-profile__copy > p,
.about-page .purpose-card p,
.about-page .conduct-card p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: normal !important;
}

@media (max-width: 980px) {
  .about-page .about-hero__grid { grid-template-columns: minmax(300px,.78fr) 1fr; gap: 32px; }
  .about-page .about-intro__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-page .conduct-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .about-page .about-hero__grid { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
  .about-page .about-hero__copy { text-align: center; }
  .about-page .about-hero__copy > p:not(.eyebrow) { margin-inline: auto; }
  .about-page .about-intro__grid,
  .about-page .about-purpose__grid { grid-template-columns: 1fr; }
  .about-page .about-profile { max-width: 560px; margin-inline: auto; }
  .about-page .section-heading { align-items: flex-start; flex-direction: column; }
  .about-page .section-heading > p { text-align: left; }
  .about-page .conduct .section-heading > p { white-space: normal; }
  .about-page .conduct-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .about-page .about-hero__copy h1 { font-size: clamp(1.9rem,9.5vw,2.65rem); }
  .about-page .about-hero__principles { padding: 14px; border-radius: 20px; }
  .about-page .about-hero__principles span { min-height: 64px; padding: 10px; }
  .about-page .about-narrative { padding: 23px; border-radius: 19px; }
  .about-page .about-narrative .about-narrative__lead { font-size: 1.02rem; }
  .about-page .purpose-card { min-height: 0; padding: 27px 24px; }
  .about-page .conduct-grid { grid-template-columns: 1fr; }
  .about-page .conduct-card { min-height: 0; }
  .about-page .conduct-card h3 { margin-top: 22px; }
}

/* Servicios */
.services-page { background: linear-gradient(135deg, #fbfaf9, #f2f8f6); }
.services-page .services-layout { padding-top: 34px; }
.services-page .services-card { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.services-page .services-card .content-card__header { border-radius: 24px; }
.services-page .services-card .content-card__header h2 { max-width: 920px; }
.services-page .services-card .content-card__body { padding: 36px 0; background: transparent; }
.services-page .services-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 34px; margin-bottom: 34px; }
.services-page .services-intro h1 { max-width: 690px; margin: 0; font-size: clamp(1.75rem,3vw,2.5rem); line-height: 1.12; letter-spacing: -.04em; }
.services-page .services-intro > div:first-child > p:last-child { max-width: 790px; margin: 17px 0 0; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.services-page .services-summary { display: flex; gap: 8px; }
.services-page .services-summary span { min-width: 116px; min-height: 80px; display: grid; place-items: center; align-content: center; gap: 2px; padding: 12px; color: var(--muted); text-align: center; background: var(--teal-pale); border: 1px solid rgba(0,152,132,.14); border-radius: 16px; font-size: .68rem; font-weight: 750; }
.services-page .services-summary strong { color: var(--teal-dark); font-size: 1.55rem; line-height: 1; }
.services-page .services-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 16px; }
.services-page .service-group { --service-accent: var(--teal); overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--service-accent); border-radius: 19px; box-shadow: 0 9px 24px rgba(36,35,39,.06); }
.services-page .service-group:nth-child(even) { --service-accent: var(--pink); }
.services-page .service-group header { min-height: 100px; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 13px; padding: 19px 20px; background: linear-gradient(135deg,#fff,#f8fbfa); border-bottom: 1px solid var(--line); }
.services-page .service-group header > span { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--service-accent); border-radius: 12px; font-size: .67rem; font-weight: 850; }
.services-page .service-group header h2 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.services-page .service-group__links { display: grid; padding: 8px; }
.services-page .service-group__links a { min-height: 67px; display: grid; grid-template-columns: minmax(0,1fr) 30px; align-items: center; gap: 12px; padding: 13px 12px 13px 15px; color: #4f4b52; border-radius: 12px; font-size: .84rem; font-weight: 700; line-height: 1.45; transition: color .18s ease, background .18s ease, transform .18s ease; }
.services-page .service-group__links a + a { border-top: 1px solid #f0ecef; }
.services-page .service-group__links a:hover,
.services-page .service-group__links a:focus-visible { color: var(--teal-dark); background: var(--teal-pale); outline: none; transform: translateX(2px); }
.services-page .service-group__links b { width: 28px; height: 28px; display: grid; place-items: center; color: var(--service-accent); background: color-mix(in srgb,var(--service-accent) 10%,white); border-radius: 50%; font-size: 1rem; }

@media (max-width: 900px) {
  .services-page .services-card .content-card__body { padding: 28px 0; }
  .services-page .services-intro { grid-template-columns: 1fr; align-items: start; }
  .services-page .services-summary { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .services-page .services-card .content-card__body { padding: 22px 0; }
  .services-page .services-groups { grid-template-columns: 1fr; }
  .services-page .services-intro { margin-bottom: 26px; }
}

@media (max-width: 520px) {
  .services-page .services-card .content-card__body { padding: 17px 0; }
  .services-page .services-summary { display: grid; grid-template-columns: 1fr 1fr; }
  .services-page .services-summary span { min-width: 0; }
  .services-page .service-group header { min-height: 0; padding: 17px 15px; }
  .services-page .service-group header h2 { font-size: .94rem; }
  .services-page .service-group__links a { font-size: .8rem; }
}

/* Secciones internas de Contraloría Social */
.contraloria-page .cs-section-page .content-card__header h2 { max-width: 1080px; }
.contraloria-page .cs-rich-content { color: #565159; font-size: 1rem; line-height: 1.78; }
.contraloria-page .cs-rich-content > :first-child { margin-top: 0; }
.contraloria-page .cs-rich-content p,
.contraloria-page .cs-rich-content li,
.contraloria-page .cs-rich-content td { text-align: justify; text-align-last: left; text-justify: inter-word; -webkit-hyphens: none; -ms-hyphens: none; hyphens: none; overflow-wrap: normal; word-break: normal; }
.contraloria-page .cs-rich-content p { margin: 0 0 20px; }
.contraloria-page .cs-rich-content h2,
.contraloria-page .cs-rich-content h3,
.contraloria-page .cs-rich-content h4,
.contraloria-page .cs-rich-content h5 { margin: 36px 0 17px; color: var(--ink); line-height: 1.28; }
.contraloria-page .cs-rich-content h5 { font-size: 1.2rem; }
.contraloria-page .cs-rich-content ul:not(.cs-paged-list) { padding-left: 24px; }
.contraloria-page .cs-rich-content li + li { margin-top: 8px; }
.contraloria-page .cs-rich-content hr { height: 1px; margin: 32px 0; background: linear-gradient(90deg, transparent, rgba(0,152,132,.32), transparent); border: 0; }
.contraloria-page .cs-rich-content p:has(> .cs-content-image) { margin: 26px 0 18px; text-align: center; }
.contraloria-page .cs-content-image { width: auto; max-width: 100%; max-height: 660px; display: block; margin-inline: auto; object-fit: contain; background: #f7faf9; border: 1px solid #dce9e6; border-radius: 19px; box-shadow: 0 12px 30px rgba(36,35,39,.1); }

.contraloria-page .cs-paged-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.contraloria-page .cs-paged-list > li[hidden] { display: none !important; }
.contraloria-page .cs-paged-list > li,
.contraloria-page .cs-story-card { min-width: 0; overflow: hidden; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 9px 24px rgba(36,35,39,.06); }
.contraloria-page .cs-paged-list > li > div { height: 100%; display: flex; flex-direction: column; }
.contraloria-page .cs-paged-list > li p:not(:has(img)),
.contraloria-page .cs-story-card > p:not(:has(img)) { padding-inline: 23px; }
.contraloria-page .cs-paged-list > li p:has(img),
.contraloria-page .cs-story-card > p:has(img) { margin: 0 0 20px; }
.contraloria-page .cs-paged-list .cs-content-image,
.contraloria-page .cs-story-card .cs-content-image { width: 100%; max-height: 470px; border: 0; border-radius: 0; box-shadow: none; }
.contraloria-page .cs-paged-list h2,
.contraloria-page .cs-paged-list h3,
.contraloria-page .cs-paged-list h4,
.contraloria-page .cs-paged-list h5 { margin: 0; padding: 20px 23px 8px; font-size: 1.08rem; }
.contraloria-page .cs-paged-list hr,
.contraloria-page .cs-story-card hr { display: none; }
.contraloria-page .cs-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin: 28px 0 10px; }
.contraloria-page .cs-pagination button { min-width: 40px; height: 40px; padding: 0 12px; color: var(--teal-dark); background: #fff; border: 1px solid #cfe4df; border-radius: 11px; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.contraloria-page .cs-pagination button:hover:not(:disabled),
.contraloria-page .cs-pagination button:focus-visible { color: #fff; background: var(--teal); border-color: var(--teal); outline: none; transform: translateY(-1px); }
.contraloria-page .cs-pagination button[aria-current='page'] { color: #fff; background: var(--pink); border-color: var(--pink); }
.contraloria-page .cs-pagination button:disabled { opacity: .38; cursor: default; }

.contraloria-page .accordion { display: grid; gap: 12px; margin-top: 24px; }
.contraloria-page .accordion-item { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 7px 20px rgba(36,35,39,.05); }
.contraloria-page .accordion-header { margin: 0; }
.contraloria-page .accordion-button { position: relative; width: 100%; min-height: 62px; display: grid; grid-template-columns: minmax(0,1fr) 30px; align-items: center; gap: 16px; padding: 16px 19px; color: var(--ink); text-align: left; background: linear-gradient(135deg,#fff,#f4faf8); border: 0; font: inherit; font-size: 1rem; font-weight: 800; line-height: 1.4; cursor: pointer; }
.contraloria-page .accordion-button::after { content: '+'; width: 28px; height: 28px; display: grid; place-items: center; color: var(--pink); background: var(--pink-pale); border-radius: 50%; font-size: 1.15rem; }
.contraloria-page .accordion-button[aria-expanded='true'] { color: var(--teal-dark); }
.contraloria-page .accordion-button[aria-expanded='true']::after { content: '−'; }
.contraloria-page .accordion-button:focus-visible { outline: 3px solid rgba(0,152,132,.24); outline-offset: -3px; }
.contraloria-page .accordion-collapse[hidden] { display: none; }
.contraloria-page .accordion-body { padding: 25px; border-top: 1px solid var(--line); }

.contraloria-page .nav-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 7px; background: #edf7f4; border-radius: 15px; }
.contraloria-page .nav-tabs .nav-link { flex: 1 1 180px; min-height: 48px; padding: 10px 16px; color: var(--teal-dark); background: transparent; border: 0; border-radius: 11px; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.contraloria-page .nav-tabs .nav-link.active { color: #fff; background: linear-gradient(135deg,var(--teal-dark),var(--teal)); box-shadow: 0 7px 17px rgba(0,126,112,.2); }
.contraloria-page .tab-pane[hidden] { display: none; }
.contraloria-page .tab-pane > br:first-child { display: none; }

.contraloria-page .cs-data-table { width: 100%; margin: 20px 0; border-spacing: 0; border-collapse: separate; border: 1px solid #d9e8e4; border-radius: 14px; overflow: hidden; font-size: .88rem; }
.contraloria-page .cs-data-table th,
.contraloria-page .cs-data-table td { padding: 12px 14px; vertical-align: middle; border-right: 1px solid #e2ece9; border-bottom: 1px solid #e2ece9; }
.contraloria-page .cs-data-table th { color: #fff; text-align: left; background: var(--teal-dark); font-size: .78rem; letter-spacing: .02em; }
.contraloria-page .cs-data-table tr:last-child td { border-bottom: 0; }
.contraloria-page .cs-data-table th:last-child,
.contraloria-page .cs-data-table td:last-child { border-right: 0; }
.contraloria-page .cs-data-table tbody tr:nth-child(even) { background: #f6faf9; }
.contraloria-page .cs-resource-link { color: var(--teal-dark); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(0,126,112,.28); text-underline-offset: 3px; }
.contraloria-page .cs-resource-link:hover { color: var(--pink-dark); text-decoration-color: currentColor; }
.contraloria-page .cs-file-icon { min-width: 42px; min-height: 32px; display: inline-grid; place-items: center; color: #fff; background: var(--pink); border-radius: 8px; font-style: normal; font-size: .62rem; font-weight: 850; }

@media (max-width: 760px) {
  .contraloria-page .cs-rich-content { font-size: .95rem; }
  .contraloria-page .cs-paged-list { grid-template-columns: 1fr; }
  .contraloria-page .accordion-body { padding: 20px; }
  .contraloria-page .cs-data-table { display: block; overflow-x: auto; white-space: normal; }
}

@media (max-width: 520px) {
  .contraloria-page .cs-content-image { max-height: 520px; border-radius: 14px; }
  .contraloria-page .cs-paged-list > li,
  .contraloria-page .cs-story-card { border-radius: 16px; }
  .contraloria-page .accordion-button { min-height: 56px; padding: 14px 15px; font-size: .9rem; }
  .contraloria-page .accordion-body { padding: 16px; }
  .contraloria-page .nav-tabs { display: grid; grid-template-columns: 1fr; }
  .contraloria-page .cs-pagination button { min-width: 37px; height: 37px; }
}

/* Presentación específica: Actividades de Promoción */
.activities-page .activities-page-body { display: grid; gap: 54px; }
.activities-page .activities-overview { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); align-items: center; gap: 42px; padding: 40px; background: linear-gradient(130deg,#fff 0%,#f3faf8 64%,#e5f5f1 100%); border: 1px solid #d9ebe6; border-radius: 24px; box-shadow: 0 13px 34px rgba(36,35,39,.07); }
.activities-page .activities-overview::after { content: ''; position: absolute; z-index: -1; width: 260px; height: 260px; right: -76px; bottom: -106px; background: url('../img/about/rombo-verde.svg') center / contain no-repeat; opacity: .09; transform: rotate(8deg); }
.activities-page .activities-overview__copy h2 { max-width: 720px; margin: 7px 0 18px; font-size: clamp(1.6rem,2.6vw,2.35rem); line-height: 1.12; letter-spacing: -.04em; }
.activities-page .activities-overview__copy > p:last-child { max-width: 820px; margin: 0; color: #5d5861; font-size: 1rem; line-height: 1.78; text-align: justify; text-align-last: left; -webkit-hyphens: none; hyphens: none; }
.activities-page .activities-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.activities-page .activities-summary div { min-height: 118px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 14px 8px; color: var(--teal-dark); text-align: center; background: rgba(255,255,255,.84); border: 1px solid rgba(0,152,132,.16); border-radius: 17px; box-shadow: 0 7px 18px rgba(36,35,39,.05); }
.activities-page .activities-summary div:nth-child(2) { color: var(--pink-dark); border-color: rgba(201,7,103,.17); }
.activities-page .activities-summary div:nth-child(3) { color: #AC202D; border-color: rgba(172,32,45,.17); }
.activities-page .activities-summary strong { font-size: 2rem; line-height: 1; }
.activities-page .activities-summary span { max-width: 88px; color: #666168; font-size: .68rem; font-weight: 800; line-height: 1.3; }

.activities-page .activities-section-heading { margin-bottom: 22px; }
.activities-page .activities-section-heading h2 { margin: 7px 0 0; font-size: clamp(1.45rem,2.2vw,1.95rem); letter-spacing: -.035em; }
.activities-page .activities-section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.activities-page .activities-section-heading--split > div > p:last-child { max-width: 760px; margin: 13px 0 0; color: var(--muted); }
.activities-page .activities-section-heading--split > span { flex: 0 0 auto; padding: 9px 13px; color: var(--pink-dark); background: var(--pink-pale); border: 1px solid rgba(201,7,103,.14); border-radius: 999px; font-size: .75rem; font-weight: 850; }
.activities-page .activities-actions__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.activities-page .activities-action { --activity-color: var(--teal); position: relative; overflow: hidden; min-height: 205px; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--activity-color); border-radius: 18px; box-shadow: 0 8px 22px rgba(36,35,39,.055); }
.activities-page .activities-action::after { content: ''; position: absolute; width: 96px; height: 96px; right: -30px; bottom: -30px; background: url('../img/about/rombo-verde.svg') center / contain no-repeat; opacity: .06; }
.activities-page .activities-action--pink { --activity-color: var(--pink); }
.activities-page .activities-action--pink::after { background-image: url('../img/about/rombo-rosa.svg'); }
.activities-page .activities-action--red { --activity-color: #AC202D; }
.activities-page .activities-action--red::after { background-image: url('../img/about/rombo-rojo.svg'); }
.activities-page .activities-action--gold { --activity-color: #b78a18; }
.activities-page .activities-action > span { color: color-mix(in srgb,var(--activity-color) 62%,transparent); font-size: .68rem; font-weight: 900; }
.activities-page .activities-action h3 { margin: 24px 0 11px; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.activities-page .activities-action p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.62; text-align: left; }

.activities-page .activities-programs { overflow: hidden; background: #fff; border: 1px solid #d7e8e4; border-radius: 21px; box-shadow: 0 10px 28px rgba(36,35,39,.06); }
.activities-page .activities-programs > summary { min-height: 86px; display: grid; grid-template-columns: 48px minmax(0,1fr) 34px; align-items: center; gap: 15px; padding: 16px 20px; cursor: pointer; list-style: none; background: linear-gradient(135deg,#eef8f5,#fff); }
.activities-page .activities-programs > summary::-webkit-details-marker { display: none; }
.activities-page .activities-programs > summary:focus-visible { outline: 3px solid rgba(0,152,132,.25); outline-offset: -3px; }
.activities-page .activities-programs__icon { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--teal-dark),var(--teal)); border-radius: 14px; font-size: .68rem; font-weight: 900; letter-spacing: .06em; }
.activities-page .activities-programs__copy { display: grid; gap: 4px; }
.activities-page .activities-programs__copy small { color: var(--pink-dark); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.activities-page .activities-programs__copy strong { color: var(--ink); font-size: 1.06rem; line-height: 1.35; }
.activities-page .activities-programs__toggle { width: 32px; height: 32px; display: grid; place-items: center; color: var(--pink); background: var(--pink-pale); border-radius: 50%; font-size: 1.2rem; font-weight: 700; transition: transform .2s ease; }
.activities-page .activities-programs[open] .activities-programs__toggle { transform: rotate(45deg); }
.activities-page .activities-programs__content { padding: 25px; border-top: 1px solid var(--line); }
.activities-page .activities-table-wrap { overflow-x: auto; border-radius: 14px; scrollbar-width: thin; scrollbar-color: rgba(0,152,132,.35) transparent; }
.activities-page .activities-table-wrap:focus-visible { outline: 3px solid rgba(0,152,132,.22); outline-offset: 3px; }
.activities-page .activities-table-wrap .cs-data-table { min-width: 920px; margin: 0; }
.activities-page .activities-notes { display: grid; gap: 7px; margin-top: 20px; padding: 18px 20px; color: #5e5961; background: #faf6f8; border-left: 4px solid var(--pink); border-radius: 0 13px 13px 0; }
.activities-page .activities-notes > strong { color: var(--pink-dark); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.activities-page .activities-notes p { margin: 0; font-size: .79rem; line-height: 1.55; text-align: left; }

.activities-page .activities-evidence { margin-bottom: -30px; }
.activities-page .activities-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.activities-page .activities-legend span { --legend: var(--teal); padding: 7px 11px; color: color-mix(in srgb,var(--legend) 84%,#202020); background: color-mix(in srgb,var(--legend) 9%,white); border: 1px solid color-mix(in srgb,var(--legend) 20%,white); border-radius: 999px; font-size: .69rem; font-weight: 800; }
.activities-page .activities-legend [data-category='capacitacion'] { --legend: var(--pink); }
.activities-page .activities-legend [data-category='informes'] { --legend: #AC202D; }
.activities-page .activities-legend [data-category='coordinacion'] { --legend: #b78a18; }
.activities-page .activities-grid { margin-top: 0; }
.activities-page .activities-grid > .activities-card { --card-accent: var(--teal); display: grid; grid-template-rows: auto 1fr; border-top: 4px solid var(--card-accent); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.activities-page .activities-grid > .activities-card[data-category='capacitacion'] { --card-accent: var(--pink); }
.activities-page .activities-grid > .activities-card[data-category='informes'] { --card-accent: #AC202D; }
.activities-page .activities-grid > .activities-card[data-category='coordinacion'] { --card-accent: #b78a18; }
.activities-page .activities-grid > .activities-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(36,35,39,.11); }
.activities-page .activities-card figure { position: relative; overflow: hidden; margin: 0; background: #eef5f3; }
.activities-page .activities-card figure .cs-content-image { width: 100%; height: 265px; max-height: none; aspect-ratio: auto; object-fit: cover; transition: transform .35s ease; }
.activities-page .activities-card:hover figure .cs-content-image { transform: scale(1.025); }
.activities-page .activities-card__badge { position: absolute; left: 16px; bottom: 14px; padding: 7px 10px; color: #fff; background: color-mix(in srgb,var(--card-accent) 86%,#222); border-radius: 999px; box-shadow: 0 5px 15px rgba(0,0,0,.18); font-size: .66rem; font-weight: 850; }
.activities-page .activities-card__copy { display: flex; flex-direction: column; padding: 21px 22px 24px; }
.activities-page .activities-card__number { color: color-mix(in srgb,var(--card-accent) 76%,#555); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.activities-page .activities-grid .activities-card h3 { margin: 8px 0 12px; padding: 0; font-size: 1.05rem; }
.activities-page .activities-grid .activities-card p.activities-card__description { margin: 0; padding: 0; color: #5d5861; font-size: .87rem; line-height: 1.68; text-align: justify; text-align-last: left; -webkit-hyphens: none; hyphens: none; }

@media (max-width: 1050px) {
  .activities-page .activities-overview { grid-template-columns: 1fr; gap: 28px; }
  .activities-page .activities-actions__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .activities-page .activities-page-body { gap: 42px; }
  .activities-page .activities-overview { padding: 27px 23px; border-radius: 19px; }
  .activities-page .activities-summary div { min-height: 94px; }
  .activities-page .activities-summary strong { font-size: 1.65rem; }
  .activities-page .activities-section-heading--split { align-items: flex-start; flex-direction: column; gap: 15px; }
  .activities-page .activities-programs__content { padding: 18px; }
  .activities-page .activities-card figure .cs-content-image { height: auto; max-height: 520px; object-fit: contain; }
}

@media (max-width: 520px) {
  .activities-page .activities-summary { grid-template-columns: 1fr; }
  .activities-page .activities-summary div { min-height: 76px; grid-template-columns: auto minmax(0,1fr); justify-content: start; gap: 13px; padding: 12px 18px; text-align: left; }
  .activities-page .activities-summary span { max-width: none; }
  .activities-page .activities-actions__grid { grid-template-columns: 1fr; }
  .activities-page .activities-action { min-height: 0; padding: 21px; }
  .activities-page .activities-action h3 { margin-top: 17px; }
  .activities-page .activities-programs > summary { grid-template-columns: 42px minmax(0,1fr) 30px; gap: 11px; padding: 13px; }
  .activities-page .activities-programs__icon { width: 42px; height: 42px; border-radius: 12px; }
  .activities-page .activities-programs__copy strong { font-size: .9rem; }
  .activities-page .activities-programs__copy small { font-size: .59rem; }
  .activities-page .activities-programs__content { padding: 13px; }
  .activities-page .activities-card__copy { padding: 19px 18px 21px; }
}

/* Presentación específica: Campaña de Difusión */
.diffusion-page .content-card__body { display: grid; gap: 32px; }
.diffusion-page .diffusion-lead { margin: 0; padding: 28px 30px; color: #57525a; background: linear-gradient(135deg,#fff,#f3faf8); border: 1px solid #dbeae6; border-left: 5px solid var(--pink); border-radius: 0 18px 18px 0; box-shadow: 0 8px 24px rgba(36,35,39,.05); font-size: 1rem; line-height: 1.78; text-align: justify; text-align-last: left; -webkit-hyphens: none; hyphens: none; }
.diffusion-page .diffusion-gallery-intro { margin-top: 12px; }
.diffusion-page .diffusion-grid { margin-top: -8px; }
.diffusion-page .diffusion-card { --card-accent: var(--teal); }

@media (max-width: 520px) {
  .diffusion-page .content-card__body { gap: 26px; }
  .diffusion-page .diffusion-lead { padding: 22px 20px; font-size: .92rem; border-radius: 0 15px 15px 0; }
}

/* Presentación específica: Verificaciones */
.verification-page .verification-body { display: grid; gap: 34px; }
.verification-page .verification-overview { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.16fr) minmax(430px,.84fr); align-items: start; gap: 42px; padding: 38px; background: linear-gradient(135deg,#fff 0%,#f1faf7 100%); border: 1px solid #d8eae5; border-radius: 24px; box-shadow: 0 12px 32px rgba(36,35,39,.065); }
.verification-page .verification-overview::after { content: ''; position: absolute; z-index: -1; width: 250px; height: 250px; right: -84px; bottom: -112px; background: url('../img/about/rombo-verde.svg') center / contain no-repeat; opacity: .07; }
.verification-page .verification-overview__copy h2 { margin: 7px 0 20px; font-size: clamp(1.6rem,2.5vw,2.25rem); line-height: 1.12; letter-spacing: -.04em; }
.verification-page .verification-overview__paragraph { margin: 0 0 15px; color: #5b565e; font-size: .93rem; line-height: 1.72; text-align: justify; text-align-last: left; -webkit-hyphens: none; hyphens: none; }
.verification-page .verification-overview__paragraph:last-child { margin-bottom: 0; }
.verification-page .verification-overview__facts { display: grid; gap: 11px; }
.verification-page .verification-overview__facts article { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 3px 12px; padding: 18px; background: rgba(255,255,255,.9); border: 1px solid #dceae6; border-radius: 16px; box-shadow: 0 6px 18px rgba(36,35,39,.045); }
.verification-page .verification-overview__facts article:nth-child(2) { border-left: 4px solid var(--pink); }
.verification-page .verification-overview__facts article:nth-child(3) { border-left: 4px solid #AC202D; }
.verification-page .verification-overview__facts article:first-child { border-left: 4px solid var(--teal); }
.verification-page .verification-overview__facts span { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-pale); border-radius: 10px; font-size: .62rem; font-weight: 900; }
.verification-page .verification-overview__facts article:nth-child(2) span { color: var(--pink-dark); background: var(--pink-pale); }
.verification-page .verification-overview__facts article:nth-child(3) span { color: #8c1723; background: #fae9eb; }
.verification-page .verification-overview__facts strong { color: var(--ink); font-size: .93rem; line-height: 1.35; }
.verification-page .verification-overview__facts p { margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.5; text-align: left; }

.verification-page .verification-methodology { overflow: hidden; background: #fff; border: 1px solid #d7e8e4; border-radius: 19px; box-shadow: 0 8px 24px rgba(36,35,39,.05); }
.verification-page .verification-methodology > summary { min-height: 76px; display: grid; grid-template-columns: 42px minmax(0,1fr) 32px; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; background: linear-gradient(135deg,#f3faf8,#fff); }
.verification-page .verification-methodology > summary::-webkit-details-marker { display: none; }
.verification-page .verification-methodology > summary > span:first-child { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 12px; font-family: Georgia,serif; font-size: 1.2rem; font-weight: 800; }
.verification-page .verification-methodology > summary > span:nth-child(2) { display: grid; gap: 3px; }
.verification-page .verification-methodology small { color: var(--pink-dark); font-size: .64rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.verification-page .verification-methodology strong { color: var(--ink); font-size: 1rem; line-height: 1.35; }
.verification-page .verification-methodology > summary > b { width: 30px; height: 30px; display: grid; place-items: center; color: var(--pink); background: var(--pink-pale); border-radius: 50%; font-size: 1.1rem; transition: transform .2s ease; }
.verification-page .verification-methodology[open] > summary > b { transform: rotate(45deg); }
.verification-page .verification-methodology > summary:focus-visible { outline: 3px solid rgba(0,152,132,.23); outline-offset: -3px; }
.verification-page .verification-methodology__content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 28px; padding: 24px; border-top: 1px solid var(--line); }
.verification-page .verification-methodology__paragraph { margin: 0; color: #5b565e; font-size: .9rem; line-height: 1.7; text-align: justify; text-align-last: left; -webkit-hyphens: none; hyphens: none; }

.verification-page .verification-history { position: relative; isolation: isolate; overflow: hidden; margin-top: 16px; padding: 26px 28px; background: linear-gradient(120deg,#f5f1ed 0%,#fff 58%,#edf8f5 100%); border: 1px solid #e5ddd6; border-left: 5px solid var(--teal); border-radius: 19px; box-shadow: 0 9px 25px rgba(36,35,39,.055); }
.verification-page .verification-history::after { content: ''; position: absolute; z-index: -1; width: 124px; height: 124px; right: -28px; bottom: -48px; background: url('../img/about/rombo-verde.svg') center / contain no-repeat; opacity: .055; }
.verification-page .verification-history .activities-section-heading--split { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.verification-page .verification-history h2 { margin: 3px 0 8px; color: var(--ink); font-size: clamp(1.45rem,2.2vw,1.9rem); line-height: 1.15; letter-spacing: -.035em; }
.verification-page .verification-history .activities-section-heading--split > div > p:last-child { max-width: 760px; margin: 0; color: #625d64; font-size: .92rem; line-height: 1.6; }
.verification-page .verification-history .activities-section-heading--split > span { flex: 0 0 auto; padding: 9px 14px; color: var(--pink-dark); background: var(--pink-pale); border: 1px solid rgba(201,7,103,.14); border-radius: 999px; box-shadow: 0 5px 14px rgba(165,0,69,.07); font-size: .74rem; font-weight: 900; letter-spacing: .035em; }
.verification-page .verification-years { display: grid; gap: 14px; }
.verification-page .verification-year { width: 100%; overflow: hidden; background: #fff; border: 1px solid #dce7e4; border-radius: 19px; box-shadow: 0 8px 23px rgba(36,35,39,.05); }
.verification-page .verification-year > summary { min-height: 82px; display: grid; grid-template-columns: 68px minmax(0,1fr) auto 34px; align-items: center; gap: 15px; padding: 12px 18px; cursor: pointer; list-style: none; background: linear-gradient(120deg,#fff,#f4faf8); transition: background .2s ease; }
.verification-page .verification-year > summary::-webkit-details-marker { display: none; }
.verification-page .verification-year[open] > summary { background: linear-gradient(120deg,#eaf7f3,#fff); border-bottom: 1px solid #dce9e5; }
.verification-page .verification-year > summary:focus-visible { outline: 3px solid rgba(0,152,132,.23); outline-offset: -3px; }
.verification-page .verification-year__year { width: 68px; height: 54px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--teal-dark),var(--teal)); border-radius: 14px; box-shadow: 0 7px 17px rgba(0,126,112,.19); font-size: 1rem; font-weight: 900; }
.verification-page .verification-year:nth-child(even) .verification-year__year { background: linear-gradient(135deg,var(--pink-dark),var(--pink)); box-shadow: 0 7px 17px rgba(201,7,103,.18); }
.verification-page .verification-year__summary { display: grid; gap: 3px; }
.verification-page .verification-year__summary small { color: var(--muted); font-size: .63rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.verification-page .verification-year__summary strong { color: var(--ink); font-size: 1.08rem; }
.verification-page .verification-year__count { padding: 7px 11px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 999px; font-size: .69rem; font-weight: 850; white-space: nowrap; }
.verification-page .verification-year__toggle { width: 31px; height: 31px; display: grid; place-items: center; color: var(--pink); background: var(--pink-pale); border-radius: 50%; font-size: 1.1rem; font-weight: 700; transition: transform .2s ease; }
.verification-page .verification-year[open] .verification-year__toggle { transform: rotate(45deg); }
.verification-page .verification-year__content { display: grid; gap: 18px; padding: 24px; background: #fafcfb; }
.verification-page .verification-year__intro { padding: 22px 24px; color: #59545c; background: #fff; border-left: 4px solid var(--pink); border-radius: 0 14px 14px 0; }
.verification-page .verification-year__intro p { margin: 0 0 14px; font-size: .91rem; line-height: 1.7; text-align: justify; text-align-last: left; -webkit-hyphens: none; hyphens: none; }
.verification-page .verification-year__intro p:last-child { margin-bottom: 0; }

.verification-page .verification-record { width: 100%; overflow: hidden; display: grid; grid-template-columns: minmax(330px,.42fr) minmax(0,.58fr); align-items: stretch; background: #fff; border: 1px solid #dce7e4; border-radius: 18px; box-shadow: 0 8px 22px rgba(36,35,39,.055); }
.verification-page .verification-record__media { position: relative; min-height: 320px; margin: 0; overflow: hidden; background: #edf5f3; }
.verification-page .verification-record__media .cs-content-image { width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.verification-page .verification-record__media > span { position: absolute; left: 16px; bottom: 15px; padding: 7px 10px; color: #fff; background: rgba(0,126,112,.9); border-radius: 999px; box-shadow: 0 5px 15px rgba(0,0,0,.16); font-size: .67rem; font-weight: 850; }
.verification-page .verification-record__copy { min-width: 0; padding: 27px 29px; }
.verification-page .verification-record__label { color: var(--pink-dark); font-size: .65rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.verification-page .verification-record__copy h3 { margin: 8px 0 17px; color: var(--ink); font-size: 1.2rem; line-height: 1.3; }
.verification-page .verification-record__description { margin: 0 0 15px; color: #5c575f; font-size: .9rem; line-height: 1.72; text-align: justify; text-align-last: left; -webkit-hyphens: none; hyphens: none; }
.verification-page .verification-record__description:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .verification-page .verification-overview { grid-template-columns: 1fr; }
  .verification-page .verification-record { grid-template-columns: minmax(280px,.38fr) minmax(0,.62fr); }
}

@media (max-width: 760px) {
  .verification-page .verification-overview { padding: 27px 23px; border-radius: 19px; }
  .verification-page .verification-methodology__content { grid-template-columns: 1fr; }
  .verification-page .verification-history { padding: 22px 20px; }
  .verification-page .verification-history .activities-section-heading--split { align-items: flex-start; flex-direction: column; gap: 15px; }
  .verification-page .verification-year__content { padding: 17px; }
  .verification-page .verification-record { grid-template-columns: 1fr; }
  .verification-page .verification-record__media { min-height: 0; }
  .verification-page .verification-record__media .cs-content-image { height: auto; max-height: 560px; object-fit: contain; }
  .verification-page .verification-record__copy { padding: 23px; }
}

@media (max-width: 520px) {
  .verification-page .verification-body { gap: 27px; }
  .verification-page .verification-overview__facts article { padding: 15px; }
  .verification-page .verification-methodology > summary { grid-template-columns: 38px minmax(0,1fr) 28px; gap: 10px; padding: 12px; }
  .verification-page .verification-methodology > summary > span:first-child { width: 38px; height: 38px; }
  .verification-page .verification-methodology strong { font-size: .88rem; }
  .verification-page .verification-methodology__content { padding: 17px; }
  .verification-page .verification-year > summary { grid-template-columns: 55px minmax(0,1fr) 29px; gap: 10px; padding: 10px 12px; }
  .verification-page .verification-year__year { width: 55px; height: 48px; font-size: .85rem; }
  .verification-page .verification-year__summary strong { font-size: .94rem; }
  .verification-page .verification-year__count { display: none; }
  .verification-page .verification-year__toggle { width: 29px; height: 29px; }
  .verification-page .verification-year__content { padding: 11px; }
  .verification-page .verification-year__intro { padding: 18px; }
  .verification-page .verification-record { border-radius: 15px; }
  .verification-page .verification-record__copy { padding: 19px 18px 21px; }
  .verification-page .verification-record__copy h3 { font-size: 1.05rem; }
  .verification-page .verification-record__description { font-size: .86rem; }
}

/* Contraloría Social: legibilidad, tablas unificadas y galerías internas */
.contraloria-page .cs-section-page .content-card__body {
  color: #514d54;
  font-size: 1.04rem;
  line-height: 1.78;
}

.contraloria-page .cs-section-page .content-card__body > p,
.contraloria-page .cs-rich-content p,
.contraloria-page .meetings-context__content p {
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.contraloria-page .cs-table-scroll,
.contraloria-page .table-responsive {
  width: 100%;
  margin: 22px 0 28px;
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 9px 24px rgba(36,35,39,.055);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,152,132,.42) transparent;
}

.contraloria-page .cs-table-scroll:focus-visible,
.contraloria-page .table-responsive:focus-visible {
  outline: 3px solid rgba(0,152,132,.22);
  outline-offset: 3px;
}

.contraloria-page .cs-table-scroll .cs-data-table,
.contraloria-page .table-responsive .cs-data-table {
  min-width: 720px;
  margin: 0;
  border-radius: 16px;
  box-shadow: none;
  font-size: .96rem;
  line-height: 1.55;
}

.contraloria-page .cs-data-table th,
.contraloria-page .cs-data-table td {
  padding: 14px 16px;
}

.contraloria-page .cs-data-table th {
  font-size: .83rem;
  line-height: 1.4;
}

.contraloria-page .cs-data-table tbody tr {
  transition: background-color .18s ease;
}

.contraloria-page .cs-data-table tbody tr:hover {
  background: #edf8f5;
}

.contraloria-page .cs-data-table em {
  display: inline-block;
  margin-top: 5px;
  color: #68626a;
  font-size: .91em;
  line-height: 1.45;
}

.cs-gallery-page .activities-gallery {
  margin-top: 34px;
}

.cs-gallery-page .activities-gallery__lead {
  max-width: 520px;
  margin: 0;
  color: #625d65;
  font-size: .98rem;
  line-height: 1.65;
}

.cs-gallery-page .activities-grid .activities-card p.activities-card__description,
.activities-page .activities-grid .activities-card p.activities-card__description {
  font-size: .95rem;
  line-height: 1.72;
}

.cs-gallery-page .activities-grid .activities-card h3 {
  font-size: 1.11rem;
  line-height: 1.35;
}

.cs-gallery-page .meetings-context {
  margin: 30px 0 0;
}

.cs-gallery-page .meetings-context__content {
  display: grid;
  gap: 12px;
}

.cs-gallery-page .meetings-context__content p {
  margin: 0;
  color: #59545c;
  font-size: .98rem;
  line-height: 1.72;
}

.verification-page .verification-methodology__paragraph,
.verification-page .verification-year__intro p,
.verification-page .verification-record__description {
  font-size: .97rem;
}

@media (max-width: 760px) {
  .contraloria-page .cs-section-page .content-card__body {
    font-size: 1rem;
  }

  .contraloria-page .cs-table-scroll,
  .contraloria-page .table-responsive {
    margin-block: 18px 24px;
    border-radius: 13px;
  }

  .contraloria-page .cs-table-scroll .cs-data-table,
  .contraloria-page .table-responsive .cs-data-table {
    display: table;
    min-width: 680px;
    font-size: .91rem;
  }

  .contraloria-page .cs-data-table th,
  .contraloria-page .cs-data-table td {
    padding: 12px 13px;
  }

  .cs-gallery-page .activities-gallery__lead {
    max-width: none;
  }

  .cs-gallery-page .activities-grid .activities-card p.activities-card__description,
  .activities-page .activities-grid .activities-card p.activities-card__description,
  .verification-page .verification-methodology__paragraph,
  .verification-page .verification-year__intro p,
  .verification-page .verification-record__description {
    font-size: .93rem;
  }
}

/* Fichas individuales del catálogo de servicios */
.service-detail-page .service-detail-layout {
  padding-top: 32px;
  padding-bottom: 54px;
}

.service-detail-page .service-detail__back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.service-detail-page .service-detail__back:hover,
.service-detail-page .service-detail__back:focus-visible {
  color: var(--pink-dark);
}

.service-detail-page .service-detail {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.service-detail-page .service-detail__hero {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 35px;
  padding: 42px 48px;
  background:
    linear-gradient(105deg,rgba(255,255,255,.96),rgba(247,253,251,.91)),
    url('../img/home/hero/home-hero-pattern.png') center/520px auto repeat;
  border-bottom: 1px solid var(--line);
  border-radius: 24px;
}

.service-detail-page .service-detail__hero::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -115px;
  width: 270px;
  height: 270px;
  background: rgba(201,7,103,.07);
  border-radius: 50%;
}

.service-detail-page .service-detail__hero > div {
  position: relative;
  z-index: 1;
}

.service-detail-page .service-detail__hero h1 {
  max-width: 920px;
  margin: 8px 0 15px;
  color: var(--ink);
  font-size: clamp(1.65rem,3vw,2.5rem);
  line-height: 1.13;
  letter-spacing: -.035em;
}

.service-detail-page .service-detail__hero > div > p:last-child {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

.service-detail-page .service-detail__hero-mark {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg,var(--teal-dark),var(--teal));
  border: 8px solid rgba(255,255,255,.78);
  border-radius: 26px;
  box-shadow: 0 12px 26px rgba(0,126,112,.2);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  transform: rotate(3deg);
}

.service-detail-page .service-detail__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 48px;
  background: #fbfcfc;
  border-bottom: 1px solid var(--line);
  border-radius: 18px;
}

.service-detail-page .service-detail__toc a {
  padding: 7px 11px;
  color: #5a555d;
  background: #fff;
  border: 1px solid #d9e7e3;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 780;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.service-detail-page .service-detail__toc a:hover,
.service-detail-page .service-detail__toc a:focus-visible {
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-color: rgba(0,152,132,.32);
  outline: none;
}

.service-detail-page .service-detail__sections {
  padding: 10px 48px 40px;
}

.service-detail-page .service-detail__section {
  scroll-margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(190px,245px) minmax(0,1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid #e6ecea;
}

.service-detail-page .service-detail__section:last-child {
  border-bottom: 0;
}

.service-detail-page .service-detail__section > h2 {
  position: relative;
  margin: 0;
  padding: 3px 0 0 17px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.4;
}

.service-detail-page .service-detail__section > h2::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 3px;
  left: 0;
  width: 5px;
  background: var(--teal);
  border-radius: 5px;
}

.service-detail-page .service-detail__section[data-kind='documents'] > h2::before { background: var(--pink); }
.service-detail-page .service-detail__section[data-kind='contact'] > h2::before { background: #AC202D; }
.service-detail-page .service-detail__section[data-kind='legal'] > h2::before { background: #b78a18; }

.service-detail-page .service-detail__section > :not(h2) {
  grid-column: 2;
}

.service-detail-page .service-detail__section p,
.service-detail-page .service-detail__section li {
  color: #504b53;
  font-size: 1.02rem;
  line-height: 1.78;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.service-detail-page .service-detail__section p {
  margin: 0 0 14px;
}

.service-detail-page .service-detail__section p:last-child {
  margin-bottom: 0;
}

.service-detail-page .service-detail__section ul,
.service-detail-page .service-detail__section ol {
  margin: 0 0 16px;
  padding-left: 23px;
}

.service-detail-page .service-detail__section li + li {
  margin-top: 8px;
}

.service-detail-page .service-detail__section a {
  color: var(--teal-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(0,126,112,.3);
  text-underline-offset: 3px;
}

.service-detail-page .service-detail__section a:hover {
  color: var(--pink-dark);
  text-decoration-color: currentColor;
}

.service-detail-page .service-detail__section .service-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border: 1px solid rgba(0,152,132,.2);
  border-radius: 9px;
  text-decoration: none;
}

.service-detail-page .service-detail__section .service-download::before {
  content: '↓';
  font-weight: 900;
}

@media (max-width: 900px) {
  .service-detail-page .service-detail__hero { padding: 36px; }
  .service-detail-page .service-detail__toc { padding-inline: 36px; }
  .service-detail-page .service-detail__sections { padding-inline: 36px; }
  .service-detail-page .service-detail__section { grid-template-columns: 190px minmax(0,1fr); gap: 23px; }
}

@media (max-width: 680px) {
  .service-detail-page .service-detail-layout { padding-top: 22px; padding-bottom: 36px; }
  .service-detail-page .service-detail-layout,
  .service-detail-page .service-detail,
  .service-detail-page .service-detail__hero,
  .service-detail-page .service-detail__sections,
  .service-detail-page .service-detail__section,
  .service-detail-page .service-detail__section > * { min-width: 0; max-width: 100%; }
  .service-detail-page .service-detail { overflow: hidden; border-radius: 0; }
  .service-detail-page .service-detail__hero { min-height: 0; grid-template-columns: 1fr; padding: 29px 23px; }
  .service-detail-page .service-detail__hero h1 { font-size: 1.58rem; }
  .service-detail-page .service-detail__hero-mark { display: none; }
  .service-detail-page .service-detail__toc { flex-wrap: nowrap; overflow-x: auto; padding: 16px 22px; scrollbar-width: thin; }
  .service-detail-page .service-detail__toc a { flex: 0 0 auto; }
  .service-detail-page .service-detail__sections { padding: 5px 22px 25px; }
  .service-detail-page .service-detail__section { grid-template-columns: 1fr; gap: 15px; padding: 25px 0; }
  .service-detail-page .service-detail__section > :not(h2) { grid-column: 1; }
  .service-detail-page .service-detail__section p,
  .service-detail-page .service-detail__section li { overflow-wrap: anywhere; word-break: normal; font-size: .98rem; line-height: 1.72; }
  .service-detail-page .service-detail__section a { overflow-wrap: anywhere; word-break: break-word; }
  .service-detail-page .service-detail__section .service-download { width: fit-content; max-width: 100%; white-space: normal; }
}

/* Comisarios Públicos y Despachos Externos */
.comisarios-page {
  background: linear-gradient(135deg,#fbfaf9,#eef7f4);
}

.comisarios-page .comisarios-layout {
  padding-top: 34px;
  padding-bottom: 58px;
}

.comisarios-page .comisarios-content {
  display: grid;
  gap: 28px;
}

.comisarios-page .comisarios-hero {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 150px;
  align-items: center;
  gap: 45px;
  padding: 48px 52px;
  background:
    linear-gradient(100deg,rgba(255,255,255,.97),rgba(240,250,247,.91)),
    url('../img/home/hero/home-hero-pattern.png') center/540px auto repeat;
  border: 1px solid #dbe8e4;
  border-radius: 26px;
  box-shadow: 0 14px 38px rgba(36,35,39,.065);
}

.comisarios-page .comisarios-hero::after {
  content: '';
  position: absolute;
  right: -58px;
  bottom: -92px;
  width: 270px;
  height: 270px;
  background: url('../img/about/rombo-verde.svg') center/contain no-repeat;
  opacity: .12;
  transform: rotate(7deg);
}

.comisarios-page .comisarios-hero > * {
  position: relative;
  z-index: 1;
}

.comisarios-page .comisarios-hero h1 {
  max-width: 840px;
  margin: 9px 0 18px;
  color: var(--ink);
  font-size: clamp(2rem,4vw,3.25rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.comisarios-page .comisarios-hero > div > p:last-child {
  max-width: 900px;
  margin: 0;
  color: #58535b;
  font-size: 1.04rem;
  line-height: 1.8;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
}

.comisarios-page .comisarios-hero__stat {
  width: 145px;
  min-height: 145px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg,var(--teal-dark),var(--teal));
  border: 8px solid rgba(255,255,255,.78);
  border-radius: 31px;
  box-shadow: 0 14px 30px rgba(0,126,112,.2);
  transform: rotate(2deg);
}

.comisarios-page .comisarios-hero__stat strong {
  font-size: 2.6rem;
  line-height: 1;
}

.comisarios-page .comisarios-hero__stat span {
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.35;
}

.comisarios-page .comisarios-info {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(300px,.7fr);
  align-items: stretch;
  gap: 24px;
}

.comisarios-page .comisarios-info__main {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  gap: 24px;
}

.comisarios-page .comisarios-info__copy,
.comisarios-page .comisarios-legal,
.comisarios-page .external-offices {
  padding: 35px 38px;
  background: #fff;
  border: 1px solid #dce7e4;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(36,35,39,.055);
}

.comisarios-page .comisarios-info h2,
.comisarios-page .external-offices h2 {
  margin: 0 0 19px;
  color: var(--ink);
  font-size: 1.5rem;
}

.comisarios-page .comisarios-info h3 {
  margin: 28px 0 12px;
  color: var(--teal-dark);
  font-size: 1.08rem;
}

.comisarios-page .comisarios-info p,
.comisarios-page .external-offices p,
.comisarios-page .comisarios-legal li {
  color: #565159;
  font-size: 1.01rem;
  line-height: 1.78;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
}

.comisarios-page .comisarios-document {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 24px 0;
  padding: 15px 17px;
  color: var(--pink-dark);
  background: var(--pink-pale);
  border: 1px solid rgba(201,7,103,.18);
  border-radius: 13px;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.comisarios-page .comisarios-document::before {
  content: 'PDF';
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #fff;
  background: var(--pink);
  border-radius: 8px;
  font-size: .64rem;
  letter-spacing: .04em;
}

.comisarios-page .comisarios-legal {
  height: 100%;
  border-top: 5px solid #b78a18;
}

.comisarios-page .comisarios-legal ul {
  margin: 0;
  padding-left: 20px;
}

.comisarios-page .comisarios-legal li + li {
  margin-top: 8px;
}

.comisarios-page .external-offices {
  border-top: 5px solid var(--pink);
}

.comisarios-page .commissioners-directory {
  padding-top: 18px;
}

.comisarios-page .commissioners-directory__header {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,390px);
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
}

.comisarios-page .commissioners-directory__header h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: clamp(1.65rem,3vw,2.3rem);
}

.comisarios-page .commissioners-search {
  display: grid;
  gap: 7px;
  color: #625d65;
  font-size: .72rem;
  font-weight: 800;
}

.comisarios-page .commissioners-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cadeda;
  border-radius: 13px;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  outline: none;
  box-shadow: 0 7px 18px rgba(36,35,39,.04);
}

.comisarios-page .commissioners-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,152,132,.12);
}

.comisarios-page .commissioners-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.comisarios-page .commissioner-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  background: #fff;
  border: 1px solid #dce7e4;
  border-top: 4px solid var(--teal);
  border-radius: 19px;
  box-shadow: 0 9px 24px rgba(36,35,39,.055);
  transition: transform .2s ease, box-shadow .2s ease;
}

.comisarios-page .commissioner-card:nth-child(even) {
  border-top-color: var(--pink);
}

.comisarios-page .commissioner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(36,35,39,.1);
}

.comisarios-page .commissioner-card[hidden] {
  display: none;
}

.comisarios-page .commissioner-card__media {
  min-height: 230px;
  display: grid;
  overflow: hidden;
  background: #edf4f2;
}

.comisarios-page .commissioner-card__media--multiple {
  grid-template-rows: repeat(2,1fr);
}

.comisarios-page .commissioner-card__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.comisarios-page .commissioner-card__copy {
  min-width: 0;
  padding: 22px 21px;
}

.comisarios-page .commissioner-card__number {
  display: none;
}

.comisarios-page .commissioner-card h3 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.38;
}

.comisarios-page .commissioner-card p {
  margin: 0 0 8px;
  color: #625d65;
  font-size: .85rem;
  line-height: 1.55;
}

.comisarios-page .commissioner-card p:last-child {
  margin-bottom: 0;
}

.comisarios-page .commissioner-card p strong {
  color: var(--teal-dark);
  font-size: .75rem;
}

.comisarios-page .commissioners-empty {
  padding: 35px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border: 1px dashed #cbded9;
  border-radius: 17px;
}

@media (max-width: 1040px) {
  .comisarios-page .comisarios-info { grid-template-columns: 1fr; }
  .comisarios-page .comisarios-info__main { grid-template-rows: auto auto; }
  .comisarios-page .commissioner-card { grid-template-columns: 160px minmax(0,1fr); }
}

@media (max-width: 820px) {
  .comisarios-page .comisarios-hero { grid-template-columns: 1fr; padding: 38px; }
  .comisarios-page .comisarios-hero__stat { display: none; }
  .comisarios-page .commissioners-directory__header { grid-template-columns: 1fr; align-items: start; }
  .comisarios-page .commissioners-grid { grid-template-columns: 1fr; }
  .comisarios-page .commissioner-card { grid-template-columns: 175px minmax(0,1fr); }
}

@media (max-width: 560px) {
  .comisarios-page .comisarios-layout { padding-top: 22px; padding-bottom: 38px; }
  .comisarios-page .comisarios-hero { min-height: 0; padding: 29px 23px; border-radius: 19px; }
  .comisarios-page .comisarios-hero h1 { font-size: 1.8rem; }
  .comisarios-page .comisarios-hero > div > p:last-child { font-size: .96rem; }
  .comisarios-page .comisarios-info__copy,
  .comisarios-page .comisarios-legal,
  .comisarios-page .external-offices { padding: 27px 23px; border-radius: 18px; }
  .comisarios-page .commissioner-card { grid-template-columns: 125px minmax(0,1fr); border-radius: 16px; }
  .comisarios-page .commissioner-card__media { min-height: 230px; }
  .comisarios-page .commissioner-card__copy { padding: 19px 16px; }
  .comisarios-page .commissioner-card h3 { font-size: .96rem; }
  .comisarios-page .commissioner-card p { font-size: .8rem; }
}

/* Comite de Etica y Prevencion de Conflicto de Interes */
.ethics-page main {
  background: linear-gradient(180deg, #f8fbfa 0, #fff 460px);
}

.ethics-index-page main,
.ethics-objetivo-page main {
  background: #fff;
}

.ethics-page .ethics-layout {
  padding-top: 28px;
}

.ethics-page .content-card__header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.35rem, 2.25vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  text-shadow: 0 2px 12px rgba(36,35,39,.45);
}

.ethics-page .ethics-page-body {
  color: #514d54;
  font-size: 1.02rem;
  line-height: 1.76;
}

.ethics-page .ethics-section-heading {
  max-width: 760px;
  margin: 0 0 25px;
}

.ethics-page .ethics-section-heading .eyebrow,
.ethics-page .ethics-overview .eyebrow {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ethics-page .ethics-section-heading h2,
.ethics-page .ethics-overview h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.ethics-page .ethics-overview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, .65fr);
  gap: 40px;
  padding: clamp(30px, 5vw, 58px);
  background-color: #fff;
  background-image: linear-gradient(105deg, rgba(255,255,255,.96), rgba(255,255,255,.76)), url('../img/branding/content-title-pattern.png');
  background-size: auto, 360px auto;
  border: 1px solid #dfeae7;
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(36,35,39,.07);
}

.ethics-page .ethics-overview::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -85px;
  width: 260px;
  aspect-ratio: 1;
  background: url('../img/about/rombo-verde.svg') center/contain no-repeat;
  opacity: .1;
  transform: rotate(7deg);
}

.ethics-page.ethics-index-page .ethics-overview,
.ethics-page.ethics-objetivo-page .ethics-overview {
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ethics-page.ethics-index-page .ethics-overview::after,
.ethics-page.ethics-objetivo-page .ethics-overview::after {
  display: none;
}

.ethics-page .ethics-overview__copy > p:not(.eyebrow) {
  max-width: 820px;
  margin: 18px 0 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.ethics-page .ethics-overview__facts {
  display: grid;
  align-content: center;
  gap: 11px;
}

.ethics-page .ethics-overview__facts > span {
  min-height: 76px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  background: rgba(255,255,255,.9);
  border: 1px solid #d9eae6;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,111,99,.06);
}

.ethics-page .ethics-overview__facts small {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 11px;
  font-size: .65rem;
  font-weight: 900;
}

.ethics-page .ethics-overview__facts > span:nth-child(even) small {
  background: var(--pink);
}

.ethics-page .ethics-overview__facts strong {
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.3;
}

.ethics-page .ethics-directory__groups {
  display: grid;
  gap: 34px;
}

.ethics-page .ethics-directory__group > h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
  color: var(--pink-dark);
  font-size: 1.05rem;
}

.ethics-page .ethics-directory__group > h3::before {
  content: '';
  width: 32px;
  height: 4px;
  flex: 0 0 32px;
  background: var(--teal);
  border-radius: 999px;
}

.ethics-page .ethics-people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ethics-page .ethics-person-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 190px;
  background: #fff;
  border: 1px solid #dfe8e6;
  border-top: 4px solid var(--teal);
  border-radius: 18px;
  box-shadow: 0 9px 25px rgba(36,35,39,.055);
}

.ethics-page .ethics-person-card:nth-child(even) {
  border-top-color: var(--pink);
}

.ethics-page .ethics-person-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  object-position: center top;
  background: #edf4f2;
}

.ethics-page .ethics-person-card > div {
  min-width: 0;
  align-self: center;
  padding: 21px 20px;
}

.ethics-page .ethics-person-card h4 {
  margin: 0 0 11px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.32;
}

.ethics-page .ethics-person-card p {
  margin: 0 0 7px;
  color: #625e65;
  font-size: .83rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ethics-page .ethics-person-card__role {
  color: var(--teal-dark) !important;
  font-weight: 750;
}

.ethics-page .ethics-directory-download {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding: 13px 18px;
  color: #fff;
  background: var(--pink-dark);
  border-radius: 13px;
  font-size: .86rem;
  font-weight: 800;
}

.ethics-page .ethics-directory-download::after {
  content: '\2197';
}

.ethics-page .ethics-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ethics-page .ethics-resource-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  color: inherit;
  background: #fff;
  border: 1px solid #dce7e4;
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(36,35,39,.045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ethics-page .ethics-resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,152,132,.36);
  box-shadow: 0 14px 30px rgba(36,35,39,.09);
}

.ethics-page .ethics-resource-card__type {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-radius: 14px;
  font-size: .67rem;
  font-weight: 900;
}

.ethics-page .ethics-resource-card:nth-child(even) .ethics-resource-card__type {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.ethics-page .ethics-resource-card__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ethics-page .ethics-resource-card__copy small {
  color: var(--pink-dark);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ethics-page .ethics-resource-card__copy strong {
  color: var(--ink);
  font-size: .91rem;
  line-height: 1.4;
}

.ethics-page .ethics-resource-card__arrow {
  color: var(--teal-dark);
  font-size: 1.15rem;
}

.ethics-page .ethics-years {
  display: grid;
  gap: 12px;
}

.ethics-page .ethics-year {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce7e4;
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(36,35,39,.04);
}

.ethics-page .ethics-year summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  cursor: pointer;
  list-style: none;
}

.ethics-page .ethics-year summary::-webkit-details-marker {
  display: none;
}

.ethics-page .ethics-year summary > span {
  padding: 9px;
  color: #fff;
  background: var(--pink-dark);
  border-radius: 11px;
  font-size: .75rem;
  font-weight: 900;
  text-align: center;
}

.ethics-page .ethics-year summary strong {
  color: var(--ink);
  font-size: .96rem;
}

.ethics-page .ethics-year summary b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 9px;
  font-size: 1.1rem;
  transition: transform .2s ease;
}

.ethics-page .ethics-year[open] summary b {
  transform: rotate(45deg);
}

.ethics-page .ethics-year > .ethics-resources-grid {
  padding: 0 18px 18px;
}

@media (max-width: 900px) {
  .ethics-page .ethics-overview { grid-template-columns: 1fr; gap: 26px; }
  .ethics-page .ethics-overview__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ethics-page .ethics-overview__facts > span { grid-template-columns: 36px 1fr; padding: 12px; }
  .ethics-page .ethics-overview__facts small { width: 34px; height: 34px; }
  .ethics-page .ethics-person-card { grid-template-columns: 125px minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .ethics-page .ethics-overview { padding: 29px 23px; border-radius: 20px; }
  .ethics-page .ethics-overview__facts { grid-template-columns: 1fr; }
  .ethics-page .ethics-overview__facts > span { min-height: 62px; }
  .ethics-page .ethics-people-grid,
  .ethics-page .ethics-resources-grid { grid-template-columns: 1fr; }
  .ethics-page .ethics-person-card { grid-template-columns: 135px minmax(0, 1fr); }
  .ethics-page .ethics-year > .ethics-resources-grid { padding: 0 13px 13px; }
}

@media (max-width: 460px) {
  .ethics-page .ethics-page-body { font-size: .96rem; }
  .ethics-page .ethics-overview__copy > p:not(.eyebrow) { text-align: left; }
  .ethics-page .ethics-person-card { grid-template-columns: 105px minmax(0, 1fr); }
  .ethics-page .ethics-person-card > div { padding: 17px 14px; }
  .ethics-page .ethics-person-card h4 { font-size: .91rem; }
  .ethics-page .ethics-person-card p { font-size: .76rem; }
  .ethics-page .ethics-resource-card { grid-template-columns: 45px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .ethics-page .ethics-resource-card__type { width: 45px; height: 45px; }
  .ethics-page .ethics-year summary { grid-template-columns: 64px minmax(0, 1fr) 28px; gap: 11px; padding: 12px; }
}

/* Información financiera y descargas */
.downloads-page main {
  background: linear-gradient(180deg, #f6faf9 0, #fff 520px);
}

.downloads-page .downloads-layout {
  padding-block: 30px 72px;
}

.downloads-page .downloads-card {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.downloads-page .downloads-card .content-card__header {
  border-radius: 24px;
}

.downloads-page .downloads-card .content-card__header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  text-shadow: 0 2px 12px rgba(36,35,39,.45);
}

.downloads-page .downloads-body {
  padding: 34px 0;
  background: transparent;
}

.downloads-page .downloads-intro {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 40px;
  margin-bottom: 25px;
  padding: 34px 38px;
  background: #fff;
  border: 1px solid #dce9e5;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(36,35,39,.055);
}

.downloads-page .downloads-intro::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 250px;
  aspect-ratio: 1;
  background: url('../img/about/rombo-verde.svg') center/contain no-repeat;
  opacity: .055;
  pointer-events: none;
}

.downloads-page .downloads-intro .eyebrow,
.downloads-page .downloads-panel__header .eyebrow {
  margin: 0 0 7px;
  color: var(--teal-dark);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.downloads-page .downloads-intro h1,
.downloads-page .downloads-intro h2 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.downloads-page .downloads-intro p:last-child {
  max-width: 850px;
  margin: 0;
  color: #5b575f;
  font-size: .98rem;
  line-height: 1.72;
}

.downloads-page .downloads-stat {
  position: relative;
  z-index: 1;
  min-height: 132px;
  display: grid;
  place-content: center;
  padding: 18px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, var(--teal-dark), var(--teal));
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(0,111,99,.18);
}

.downloads-page .downloads-stat strong {
  font-size: 2.5rem;
  line-height: 1;
}

.downloads-page .downloads-stat span {
  margin-top: 8px;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.3;
}

.downloads-page .downloads-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: end;
  gap: 18px;
  margin-bottom: 34px;
}

.downloads-page .downloads-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.downloads-page .downloads-tab {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  color: #57535a;
  text-align: left;
  background: #fff;
  border: 1px solid #d9e6e3;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.downloads-page .downloads-tab:hover {
  color: var(--teal-dark);
  border-color: rgba(0,152,132,.35);
  transform: translateY(-2px);
}

.downloads-page .downloads-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  border-color: transparent;
  box-shadow: 0 9px 22px rgba(165,0,69,.18);
}

.downloads-page .downloads-tab strong {
  font-size: .76rem;
  line-height: 1.32;
}

.downloads-page .downloads-tab small {
  min-width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 9px;
  font-size: .64rem;
  font-weight: 900;
}

.downloads-page .downloads-tab.is-active small {
  color: #fff;
  background: rgba(255,255,255,.17);
}

.downloads-page .downloads-search {
  display: grid;
  gap: 7px;
  color: #666168;
  font-size: .7rem;
  font-weight: 850;
}

.downloads-page .downloads-search input {
  width: 100%;
  min-height: 50px;
  padding: 11px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cadeda;
  border-radius: 13px;
  font: inherit;
  font-size: .87rem;
  font-weight: 500;
  outline: none;
  box-shadow: 0 7px 18px rgba(36,35,39,.04);
}

.downloads-page .downloads-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,152,132,.12);
}

.downloads-page .downloads-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.downloads-page .downloads-panel__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.downloads-page .downloads-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
}

.downloads-page .downloads-resource-view {
  display: grid;
  gap: 24px;
}

.downloads-page .downloads-resource-section {
  padding: 22px;
  background: linear-gradient(145deg, rgba(0,151,132,.05), rgba(255,255,255,.78));
  border-radius: 22px;
}

.downloads-page .downloads-resource-section--history {
  background: linear-gradient(145deg, rgba(201,7,103,.045), rgba(255,255,255,.82));
}

.downloads-page .downloads-resource-section[hidden] {
  display: none;
}

.downloads-page .downloads-resource-section__header {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
}

.downloads-page .downloads-resource-section__index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 13px;
  font-size: .72rem;
  font-weight: 950;
}

.downloads-page .downloads-resource-section--history .downloads-resource-section__index {
  background: var(--pink-dark);
}

.downloads-page .downloads-resource-section__header h3 {
  margin: 1px 0 5px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.downloads-page .downloads-resource-section__header p {
  max-width: 780px;
  margin: 0;
  color: #6f696f;
  font-size: .79rem;
  line-height: 1.55;
}

.downloads-page .downloads-year-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0,1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.downloads-page .downloads-year-tab {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9e6e3;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.downloads-page .downloads-year-tab:hover {
  color: var(--teal-dark);
  border-color: rgba(0,152,132,.36);
  transform: translateY(-2px);
}

.downloads-page .downloads-year-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  border-color: transparent;
  box-shadow: 0 8px 17px rgba(165,0,69,.15);
}

.downloads-page .downloads-year-tab[hidden] {
  display: none;
}

.downloads-page .downloads-year-tab strong {
  font-size: .76rem;
}

.downloads-page .downloads-year-tab small {
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 8px;
  font-size: .58rem;
  font-weight: 900;
}

.downloads-page .downloads-year-tab.is-active small {
  color: #fff;
  background: rgba(255,255,255,.17);
}

.downloads-page .downloads-history-panel {
  overflow: hidden;
  padding: 16px;
  background: #fff;
  border: 1px solid #dce7e4;
  border-radius: 17px;
  box-shadow: 0 7px 21px rgba(36,35,39,.04);
}

.downloads-page .downloads-history-panel[hidden] {
  display: none;
}

.downloads-page .downloads-history-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 2px 2px 13px;
  border-bottom: 1px solid #e3ebe9;
}

.downloads-page .downloads-history-panel__header h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.downloads-page .downloads-history-panel__header > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 900;
}

.downloads-page .downloads-history-panel .downloads-files {
  padding: 0;
}

.downloads-page .downloads-account-group > summary {
  grid-template-columns: minmax(0,1fr) 32px;
}

.downloads-page .downloads-account-body {
  padding: 0 14px 14px;
}

.downloads-page .downloads-account-intro {
  margin-bottom: 14px;
  padding: 17px 18px;
  background: linear-gradient(135deg, rgba(201,7,103,.055), rgba(255,255,255,.92));
  border-radius: 14px;
}

.downloads-page .downloads-account-intro h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
}

.downloads-page .downloads-account-intro p:last-child {
  margin: 6px 0 0;
  color: #6f696f;
  font-size: .78rem;
  line-height: 1.55;
}

.downloads-page .downloads-subsections {
  display: grid;
  gap: 24px;
}

.downloads-page .downloads-subsection {
  padding: 22px;
  background: linear-gradient(145deg, rgba(0,151,132,.045), rgba(255,255,255,.72));
  border-radius: 22px;
}

.downloads-page .downloads-subsection--annual {
  background: linear-gradient(145deg, rgba(201,7,103,.045), rgba(255,255,255,.76));
}

.downloads-page .downloads-subsection__header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
}

.downloads-page .downloads-subsection__index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 13px;
  font-size: .72rem;
  font-weight: 950;
}

.downloads-page .downloads-subsection--annual .downloads-subsection__index {
  background: var(--pink-dark);
}

.downloads-page .downloads-subsection__header h3 {
  margin: 1px 0 5px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.downloads-page .downloads-subsection__header p {
  max-width: 780px;
  margin: 0;
  color: #6f696f;
  font-size: .79rem;
  line-height: 1.55;
}

.downloads-page .downloads-groups {
  display: grid;
  gap: 12px;
}

.downloads-page .downloads-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce7e4;
  border-radius: 17px;
  box-shadow: 0 7px 21px rgba(36,35,39,.04);
}

.downloads-page [data-download-panel="armonizacion"] .downloads-group {
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.downloads-page [data-download-panel="armonizacion"] .downloads-group[open] {
  background: #f5f1ed;
  border-color: #e6ddd5;
  box-shadow: 0 10px 26px rgba(82,66,55,.06);
}

.downloads-page [data-download-panel="armonizacion"] .downloads-group[open] > summary {
  background: rgba(255,255,255,.24);
}

.downloads-page .downloads-group[hidden] {
  display: none;
}

.downloads-page .downloads-group summary {
  min-height: 69px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  cursor: pointer;
  list-style: none;
}

.downloads-page .downloads-group summary::-webkit-details-marker {
  display: none;
}

.downloads-page .downloads-group summary strong {
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.4;
}

.downloads-page .downloads-group summary span {
  color: #777279;
  font-size: .68rem;
  font-weight: 750;
}

.downloads-page .downloads-group summary .downloads-summary__lead {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  font-size: inherit;
}

.downloads-page .downloads-group summary .downloads-year-badge {
  min-width: 66px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px 11px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 11px;
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .02em;
}

.downloads-page .downloads-subsection--annual .downloads-group:nth-child(even) .downloads-year-badge {
  color: var(--pink-dark);
  background: var(--pink-pale);
}

.downloads-page .downloads-group--year[open] .downloads-year-badge {
  color: #fff;
  background: var(--teal-dark);
}

.downloads-page .downloads-subsection--annual .downloads-group--year:nth-child(even)[open] .downloads-year-badge {
  background: var(--pink-dark);
}

.downloads-page .downloads-group summary b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--pink-dark);
  background: var(--pink-pale);
  border-radius: 9px;
  font-size: 1rem;
  transition: transform .2s ease;
}

.downloads-page .downloads-group[open] summary b {
  transform: rotate(45deg);
}

.downloads-page .downloads-files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding: 0 14px 14px;
}

.downloads-page .downloads-file {
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: inherit;
  background: #fbfdfc;
  border: 1px solid #e0e9e7;
  border-radius: 13px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.downloads-page a.downloads-file:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(0,152,132,.38);
}

.downloads-page .downloads-file[hidden] {
  display: none;
}

.downloads-page .downloads-file__type {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pink-dark);
  border-radius: 11px;
  font-size: .58rem;
  font-weight: 900;
}

.downloads-page .downloads-file:nth-child(even) .downloads-file__type {
  background: var(--teal-dark);
}

.downloads-page .downloads-file__copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.downloads-page .downloads-file__copy strong {
  color: var(--ink);
  font-size: .78rem;
  line-height: 1.4;
}

.downloads-page .downloads-file__copy small {
  color: #777279;
  font-size: .63rem;
}

.downloads-page .downloads-file__arrow {
  color: var(--teal-dark);
  font-size: 1rem;
}

.downloads-page .downloads-file.is-unavailable {
  opacity: .62;
  background: #f5f3f3;
  border-style: dashed;
}

.downloads-page .downloads-file.is-unavailable .downloads-file__type {
  background: #817b80;
}

.downloads-page .downloads-empty {
  margin: 20px 0 0;
  padding: 30px;
  color: #716c72;
  text-align: center;
  background: #fff;
  border: 1px dashed #c9dcd7;
  border-radius: 16px;
}

.downloads-page .downloads-source-note {
  margin: 25px 0 0;
  color: #777279;
  font-size: .72rem;
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .downloads-page .downloads-toolbar { grid-template-columns: 1fr; }
  .downloads-page .downloads-year-tabs { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .downloads-page .downloads-files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .downloads-page .downloads-layout { padding-top: 22px; padding-bottom: 44px; }
  .downloads-page .downloads-card .content-card__header { border-radius: 18px; }
  .downloads-page .downloads-body { padding: 24px 0; }
  .downloads-page .downloads-intro { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .downloads-page .downloads-stat { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .downloads-page .downloads-stat strong { font-size: 2rem; }
  .downloads-page .downloads-stat span { max-width: 120px; margin: 0; text-align: left; }
  .downloads-page .downloads-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .downloads-page .downloads-panel__header { align-items: flex-start; flex-direction: column; gap: 11px; }
  .downloads-page .downloads-resource-section { padding: 18px; border-radius: 18px; }
  .downloads-page .downloads-year-tabs { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .downloads-page .downloads-subsection { padding: 18px; border-radius: 18px; }
  .downloads-page .downloads-files { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .downloads-page .downloads-intro { padding: 24px 20px; border-radius: 18px; }
  .downloads-page .downloads-intro p:last-child { font-size: .91rem; }
  .downloads-page .downloads-tab { min-height: 68px; padding: 10px; }
  .downloads-page .downloads-tab strong { font-size: .69rem; }
  .downloads-page .downloads-resource-section { padding: 14px; }
  .downloads-page .downloads-resource-section__header { grid-template-columns: 38px minmax(0,1fr); gap: 11px; }
  .downloads-page .downloads-resource-section__index { width: 38px; height: 38px; }
  .downloads-page .downloads-year-tabs { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .downloads-page .downloads-year-tab { min-height: 49px; padding: 8px; }
  .downloads-page .downloads-history-panel { padding: 12px; }
  .downloads-page .downloads-account-body { padding: 0 10px 10px; }
  .downloads-page .downloads-account-intro { padding: 15px; }
  .downloads-page .downloads-history-panel__header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .downloads-page .downloads-group summary { grid-template-columns: minmax(0, 1fr) 30px; gap: 10px; padding: 12px 13px; }
  .downloads-page .downloads-group summary > .downloads-summary__count { display: none; }
  .downloads-page .downloads-group summary .downloads-summary__lead { display: flex; gap: 9px; }
  .downloads-page .downloads-group summary .downloads-year-badge { min-width: 55px; min-height: 34px; padding: 6px 8px; font-size: .65rem; }
  .downloads-page .downloads-subsection { padding: 14px; }
  .downloads-page .downloads-subsection__header { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; }
  .downloads-page .downloads-subsection__index { width: 38px; height: 38px; }
  .downloads-page .downloads-files { padding: 0 10px 10px; }
}

/* Tipografía ligeramente ampliada para el repositorio de Descargas */
.downloads-page .downloads-intro p:last-child { font-size: 1.05rem; }
.downloads-page .downloads-stat span { font-size: .82rem; }
.downloads-page .downloads-tab strong { font-size: .82rem; }
.downloads-page .downloads-tab small { font-size: .69rem; }
.downloads-page .downloads-search { font-size: .76rem; }
.downloads-page .downloads-search input { font-size: .94rem; }
.downloads-page .downloads-count { font-size: .76rem; }
.downloads-page .downloads-resource-section__header h3,
.downloads-page .downloads-subsection__header h3 { font-size: 1.06rem; }
.downloads-page .downloads-resource-section__header p,
.downloads-page .downloads-subsection__header p,
.downloads-page .downloads-account-intro p:last-child { font-size: .91rem; }
.downloads-page .downloads-year-tab strong { font-size: .82rem; }
.downloads-page .downloads-year-tab small { font-size: .7rem; }
.downloads-page .downloads-group summary strong { font-size: 1rem; }
.downloads-page .downloads-group summary span { font-size: .74rem; }
.downloads-page .downloads-file__copy strong { font-size: .86rem; }
.downloads-page .downloads-file__copy small { font-size: .7rem; line-height: 1.35; }
.downloads-page .downloads-source-note { font-size: .8rem; }

/* Recursos institucionales: Revista con Valor, privacidad y validación */
.resource-page main { background: linear-gradient(180deg, #f7fbfa 0, #fff 360px); }
.resource-layout { padding-block: 34px 78px; }
.resource-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 30px; padding: 34px 38px; margin-bottom: 28px; background: #fff; border: 1px solid #d8e7e4; border-radius: 24px; box-shadow: 0 16px 42px rgba(36,35,39,.06); }
.resource-hero::after { content: ''; position: absolute; right: -62px; bottom: -92px; width: 230px; aspect-ratio: 1; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .07; pointer-events: none; }
.resource-hero__copy { position: relative; z-index: 1; max-width: 900px; }
.resource-hero .eyebrow { margin: 0 0 9px; color: var(--teal-dark); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.resource-hero h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(1.8rem,3.4vw,2.8rem); line-height: 1.08; letter-spacing: -.045em; }
.resource-hero p:last-child { margin: 0; color: #5f5a61; font-size: 1rem; line-height: 1.7; }
.resource-total { position: relative; z-index: 1; min-width: 148px; min-height: 124px; display: grid; place-content: center; padding: 18px; color: #fff; text-align: center; background: linear-gradient(145deg,var(--teal-dark),var(--teal)); border-radius: 20px; box-shadow: 0 12px 26px rgba(0,111,99,.18); }
.resource-total strong { display: block; font-size: 2.25rem; line-height: 1; }
.resource-total span { max-width: 105px; margin-top: 7px; font-size: .78rem; font-weight: 800; line-height: 1.25; }
.resource-source-note { margin: 24px 0 0; color: #777279; font-size: .8rem; line-height: 1.6; }

/* Unidad de Igualdad de Género */
.gender-page main { background: linear-gradient(180deg,#fff8fb 0,#f7fbfa 430px,#fff 100%); }
.gender-layout { padding-block: 34px 78px; }
.gender-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 190px; align-items: center; gap: 40px; padding: 34px 38px; background: #fff; border: 1px solid #dce9e5; border-radius: 22px; box-shadow: 0 10px 30px rgba(36,35,39,.055); }
.gender-hero::before { content: ''; position: absolute; right: -70px; bottom: -120px; width: 250px; aspect-ratio: 1; z-index: -1; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .055; }
.gender-hero > div:first-child { max-width: 920px; }
.gender-hero .eyebrow,.gender-section__header .eyebrow { margin: 0 0 9px; color: var(--pink-dark); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gender-hero h1 { margin: 0 0 13px; color: var(--ink); font-size: clamp(1.45rem,3vw,2.25rem); line-height: 1.12; letter-spacing: -.04em; }
.gender-hero p:last-child { max-width: 850px; margin: 0; color: #5e5860; font-size: .98rem; line-height: 1.72; }
.gender-hero__stat { position: relative; z-index: 1; min-height: 132px; display: grid; place-content: center; padding: 18px; color: #fff; text-align: center; background: linear-gradient(145deg,var(--teal-dark),var(--teal)); border-radius: 19px; box-shadow: 0 12px 28px rgba(0,111,99,.18); }
.gender-hero__stat strong { display: block; font-size: 2.5rem; line-height: 1; }
.gender-hero__stat span { max-width: 125px; margin-top: 8px; font-size: .76rem; font-weight: 750; line-height: 1.3; }
.gender-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 18px 0 38px; }
.gender-nav a { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #4f4a50; background: rgba(255,255,255,.9); border-bottom: 3px solid #d9e6e2; border-radius: 12px 12px 4px 4px; font-size: .83rem; font-weight: 850; transition: transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease; }
.gender-nav a:hover,.gender-nav a.is-active { color: var(--pink-dark); background: #fff; border-color: var(--pink); transform: translateY(-2px); }
.gender-nav span { min-width: 30px; height: 30px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-pale); border-radius: 9px; font-size: .65rem; font-weight: 950; }
.gender-nav a.is-active span { color: var(--pink-dark); background: var(--pink-pale); }
.gender-section { display: grid; gap: 24px; }
.gender-section__header { max-width: 960px; }
.gender-section__header h2 { margin: 0 0 10px; color: var(--ink); font-size: clamp(1.6rem,3vw,2.25rem); line-height: 1.14; letter-spacing: -.035em; }
.gender-section__header > p:last-child { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.65; }
.gender-document-list { display: grid; gap: 11px; }
.gender-document { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr) 46px; align-items: center; gap: 15px; padding: 16px; color: inherit; background: #fff; border: 1px solid #eadfe5; border-radius: 16px; box-shadow: 0 7px 20px rgba(73,34,54,.04); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.gender-document:hover { color: inherit; border-color: rgba(201,7,103,.35); box-shadow: 0 13px 28px rgba(73,34,54,.08); transform: translateY(-2px); }
.gender-document__number { width: 44px; height: 44px; display: grid; place-items: center; color: var(--pink-dark); background: var(--pink-pale); border-radius: 12px; font-size: .68rem; font-weight: 950; }
.gender-document:nth-child(even) .gender-document__number { color: var(--teal-dark); background: var(--teal-pale); }
.gender-document > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.gender-document strong { color: var(--ink); font-size: .9rem; line-height: 1.48; }
.gender-document small { color: #7b747b; font-size: .7rem; }
.gender-document b { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--pink-dark); border-radius: 12px; font-size: .6rem; }
.gender-document:nth-child(even) b { background: var(--teal-dark); }
.gender-media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gender-media-card { overflow: hidden; display: grid; grid-template-rows: 230px 1fr; background: #fff; border: 1px solid #eadfe5; border-radius: 20px; box-shadow: 0 10px 28px rgba(73,34,54,.06); transition: transform .2s ease,box-shadow .2s ease; }
.gender-media-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(73,34,54,.12); }
.gender-media-card__image { overflow: hidden; display: grid; place-items: center; padding: 14px; background: linear-gradient(135deg,#fdf4f8,#edf8f6); }
.gender-media-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.gender-media-card:hover .gender-media-card__image img { transform: scale(1.025); }
.gender-media-card > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px; }
.gender-media-card h3 { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.gender-media-card > div > a { padding: 9px 13px; color: var(--pink-dark); background: var(--pink-pale); border-radius: 999px; font-size: .72rem; font-weight: 900; }
.gender-media-card:nth-child(even) > div > a { color: var(--teal-dark); background: var(--teal-pale); }
.gender-training { min-width: 0; display: grid; grid-template-columns: 62px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 24px; color: inherit; background: linear-gradient(125deg,#fff 0%,#fff8fb 54%,#edf8f6 100%); border-radius: 20px; box-shadow: 0 12px 32px rgba(73,34,54,.07); transition: transform .2s ease,box-shadow .2s ease; }
.gender-training:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(73,34,54,.11); }
.gender-training__type { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--pink-dark); border-radius: 16px; font-size: .72rem; font-weight: 950; letter-spacing: .04em; }
.gender-training > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.gender-training small { color: var(--pink-dark); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.gender-training strong { color: var(--ink); font-size: 1.08rem; line-height: 1.42; }
.gender-training em { color: #756f76; font-size: .73rem; font-style: normal; }
.gender-training b { padding: 11px 15px; color: #fff; background: var(--pink-dark); border-radius: 12px; font-size: .76rem; white-space: nowrap; }

.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.value-card { position: relative; overflow: hidden; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; color: #fff; background: linear-gradient(145deg,#007f70,#00a38d); border-radius: 22px; box-shadow: 0 14px 34px rgba(0,111,99,.16); transition: transform .2s ease,box-shadow .2s ease; }
.value-card:nth-child(even) { background: linear-gradient(145deg,#a50045,#d6086c); box-shadow: 0 14px 34px rgba(165,0,69,.15); }
.value-card:nth-child(3n) { background: linear-gradient(145deg,#8e1b25,#bd2a38); }
.value-card::after { content: ''; position: absolute; right: -38px; bottom: -42px; width: 158px; aspect-ratio: 1; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; filter: brightness(0) invert(1); opacity: .12; }
.value-card__meta,.value-card__copy,.value-card__action { position: relative; z-index: 1; }
.value-card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.value-card__copy small { display: block; margin-bottom: 7px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .86; }
.value-card__copy strong { display: block; font-size: clamp(1.6rem,3vw,2.2rem); line-height: 1; }
.value-card__action { align-self: flex-start; padding: 9px 13px; color: var(--ink); background: #fff; border-radius: 999px; font-size: .76rem; font-weight: 900; }
.value-card:hover { color: #fff; transform: translateY(-5px); box-shadow: 0 20px 42px rgba(36,35,39,.2); }

.privacy-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 18px; margin-bottom: 20px; }
.privacy-search { display: grid; gap: 7px; color: #615d63; font-size: .78rem; font-weight: 850; }
.privacy-search input { width: 100%; min-height: 52px; padding: 12px 16px; color: var(--ink); background: #fff; border: 1px solid #cfe0dc; border-radius: 14px; font: inherit; font-size: .96rem; font-weight: 500; outline: none; box-shadow: 0 8px 20px rgba(36,35,39,.04); }
.privacy-search input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,152,132,.12); }
.privacy-counter { min-width: 116px; padding: 11px 16px; color: var(--teal-dark); text-align: center; background: var(--teal-pale); border-radius: 14px; font-size: .78rem; font-weight: 850; }
.privacy-counter strong { margin-right: 4px; font-size: 1.05rem; }
.privacy-groups { display: grid; gap: 12px; }
.privacy-group { overflow: hidden; background: #fff; border: 1px solid #d9e6e3; border-radius: 18px; box-shadow: 0 7px 20px rgba(36,35,39,.035); transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.privacy-group[open] { background: #f5f1ed; border-color: #e6ddd5; box-shadow: 0 10px 26px rgba(82,66,55,.06); }
.privacy-group[open] > summary { background: rgba(255,255,255,.24); }
.privacy-group[hidden],.privacy-notice[hidden] { display: none; }
.privacy-group summary { min-height: 72px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto 32px; align-items: center; gap: 13px; padding: 14px 18px; cursor: pointer; list-style: none; }
.privacy-group summary::-webkit-details-marker { display: none; }
.privacy-group__number { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 12px; font-size: .72rem; font-weight: 950; }
.privacy-group:nth-child(even) .privacy-group__number { background: var(--pink-dark); }
.privacy-group summary strong { color: var(--ink); font-size: 1rem; line-height: 1.35; }
.privacy-group summary small { color: #777279; font-size: .72rem; font-weight: 750; }
.privacy-group summary b { width: 30px; height: 30px; display: grid; place-items: center; color: var(--pink-dark); background: var(--pink-pale); border-radius: 9px; font-size: 1rem; transition: transform .2s ease; }
.privacy-group[open] summary b { transform: rotate(45deg); }
.privacy-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 16px 16px; }
.privacy-notice { min-width: 0; min-height: 82px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 14px; color: inherit; background: #fbfdfc; border: 1px solid #e1ebe8; border-radius: 13px; transition: transform .18s ease,border-color .18s ease,background .18s ease; }
.privacy-notice:hover { color: inherit; background: #fff; border-color: rgba(0,152,132,.38); transform: translateY(-2px); }
.privacy-notice__type { min-width: 76px; padding: 8px 9px; color: var(--teal-dark); text-align: center; background: var(--teal-pale); border-radius: 10px; font-size: .65rem; font-weight: 950; text-transform: uppercase; }
.privacy-notice--simple .privacy-notice__type { color: var(--pink-dark); background: var(--pink-pale); }
.privacy-notice__copy { color: var(--ink); font-size: .84rem; font-weight: 720; line-height: 1.45; }
.privacy-notice__arrow { color: var(--teal-dark); font-size: 1rem; }
.privacy-empty { margin: 20px 0 0; padding: 28px; color: #716c72; text-align: center; background: #fff; border: 1px dashed #c9dcd7; border-radius: 16px; }

/* Datos personales */
.data-page main,.sanctions-page main { background: linear-gradient(180deg,#f5faf8,#fff 520px); }
.data-layout,.sanctions-layout { padding-block: clamp(28px,5vw,62px) 76px; }
.data-page .side-navigation { margin: 18px 0 38px; }
.data-page .data-section-title { margin: -16px 0 34px; padding: 26px 30px; border-radius: 22px; }
.data-page .data-section-title h1 { position: relative; z-index: 1; margin: 0; color: #fff; font-size: clamp(1.4rem,2.4vw,1.95rem); line-height: 1.18; letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(36,35,39,.45); }
.data-hero,.sanctions-hero { padding: clamp(30px,5vw,54px); background: linear-gradient(120deg,#fff,#f3faf8 64%,#fff5f9); border-radius: 25px; box-shadow: 0 15px 42px rgba(31,45,41,.07); }
.data-hero h1,.sanctions-hero h1 { margin: 7px 0 12px; font-size: clamp(2rem,4vw,3.25rem); line-height: 1.04; }
.data-hero p:last-child,.sanctions-hero p:last-child { max-width: 780px; margin: 0; color: #625d63; font-size: 1.04rem; line-height: 1.7; }
.subsite-nav,.sanctions-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin: 18px 0 38px; }
.subsite-nav a,.sanctions-nav a { min-height: 54px; display: grid; place-items: center; padding: 11px 14px; color: #555057; text-align: center; background: #fff; border-bottom: 3px solid #d3e2de; border-radius: 12px 12px 5px 5px; font-size: .84rem; font-weight: 850; }
.subsite-nav a:hover,.subsite-nav a.is-active,.sanctions-nav a:hover,.sanctions-nav a.is-active { color: var(--pink-dark); border-color: var(--pink); transform: translateY(-2px); }
.definition-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.definition-grid article { padding: 28px; background: #fff; border-top: 4px solid var(--teal); border-radius: 18px; box-shadow: 0 10px 28px rgba(31,45,41,.07); }
.definition-grid article:nth-child(2) { border-color: var(--pink); }
.definition-grid article:nth-child(3) { border-color: #ac202d; }
.definition-grid article>span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 12px; font-size: .72rem; font-weight: 900; }
.definition-grid h2 { margin: 20px 0 10px; font-size: 1.25rem; }
.definition-grid p,.arco-panel p { color: #625d63; font-size: 1rem; line-height: 1.72; }
.arco-panel { margin-top: 24px; padding: clamp(28px,4vw,45px); background: #fff; border-left: 5px solid var(--pink); border-radius: 20px; box-shadow: 0 12px 32px rgba(31,45,41,.06); }
.arco-panel h2 { margin: 7px 0 16px; font-size: clamp(1.65rem,3vw,2.35rem); }
.arco-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.arco-contact a { padding: 11px 15px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 999px; font-size: .83rem; font-weight: 850; }
.document-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.document-cards>a { min-height: 210px; display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: start; gap: 20px; padding: 28px; color: inherit; background: #fff; border-bottom: 4px solid var(--teal); border-radius: 19px; box-shadow: 0 11px 30px rgba(31,45,41,.07); }
.document-cards>a:nth-child(even) { border-color: var(--pink); }
.document-cards>a:hover { color: inherit; transform: translateY(-4px); }
.document-cards>a>span { width: 60px; height: 60px; display: grid; place-items: center; color: #fff; background: #ac202d; border-radius: 15px; font-size: .72rem; font-weight: 950; }
.document-cards small { color: var(--teal-dark); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.document-cards h2 { margin: 10px 0 14px; font-size: 1.2rem; line-height: 1.35; }
.document-cards p { margin: 0; color: var(--pink-dark); font-size: .82rem; font-weight: 850; }
.security-intro { margin-bottom: 22px; padding: clamp(26px,4vw,40px); background: #fff; border-left: 5px solid var(--teal); border-radius: 20px; box-shadow: 0 12px 32px rgba(31,45,41,.06); }
.security-intro h2 { margin: 7px 0 14px; font-size: clamp(1.5rem,2.7vw,2.1rem); }
.security-intro p:last-child { max-width: 1000px; margin: 0; color: #625d63; font-size: 1rem; line-height: 1.75; text-align: justify; text-justify: inter-word; hyphens: none; }

/* Sancionados */
.sanctions-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 190px; align-items: center; gap: 40px; padding: 34px 38px; background: #fff; border: 1px solid #dce9e5; border-radius: 22px; box-shadow: 0 10px 30px rgba(36,35,39,.055); }
.sanctions-hero::after { content: ''; position: absolute; right: -70px; bottom: -120px; width: 250px; aspect-ratio: 1; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .055; pointer-events: none; }
.sanctions-hero__copy,.sanctions-hero__stat { position: relative; z-index: 1; }
.sanctions-hero h1 { margin: 8px 0 13px; font-size: clamp(1.45rem,3vw,2.25rem); line-height: 1.12; letter-spacing: -.04em; }
.sanctions-hero__copy > p:last-child:not(.eyebrow) { max-width: 850px; margin: 0; color: #625d63; font-size: .98rem; line-height: 1.72; }
.sanctions-hero__stat { min-height: 132px; display: grid; place-content: center; padding: 18px; color: #fff; text-align: center; background: linear-gradient(145deg,var(--teal-dark),var(--teal)); border-radius: 19px; box-shadow: 0 12px 28px rgba(0,111,99,.18); }
.sanctions-hero__stat strong { display: block; font-size: 2.5rem; line-height: 1; }
.sanctions-hero__stat span { max-width: 125px; margin-top: 8px; font-size: .76rem; font-weight: 750; line-height: 1.3; }
.sanctions-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
.sanctions-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.sanctions-options>a { min-height: 250px; display: grid; grid-template-columns: 48px minmax(0,1fr); grid-template-rows: 1fr auto; gap: 18px; padding: 30px; color: inherit; background: #fff; border-top: 4px solid var(--teal); border-radius: 20px; box-shadow: 0 12px 34px rgba(31,45,41,.08); }
.sanctions-options>a:nth-child(2) { border-color: var(--pink); }
.sanctions-options>a:hover { color: inherit; transform: translateY(-4px); }
.sanctions-options>a>span { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 13px; font-size: .74rem; font-weight: 900; }
.sanctions-options small { color: var(--pink-dark); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sanctions-options h2 { margin: 10px 0; font-size: 1.35rem; }
.sanctions-options p { color: #655f66; line-height: 1.65; }
.sanctions-options b { grid-column: 2; justify-self: start; padding: 10px 14px; color: #fff; background: var(--pink-dark); border-radius: 999px; font-size: .78rem; }
.sanction-record { overflow: hidden; background: #fff; border-radius: 22px; box-shadow: 0 14px 38px rgba(31,45,41,.08); }
.sanction-record>header { padding: clamp(26px,4vw,42px); color: #fff; background: linear-gradient(135deg,var(--teal-dark),var(--teal)); }
.sanction-record>header span { display: inline-block; padding: 7px 10px; color: var(--teal-dark); background: #fff; border-radius: 999px; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.sanction-record>header h2 { margin: 15px 0 8px; font-size: clamp(1.55rem,3vw,2.35rem); }
.sanction-record>header p { margin: 0; }
.sanction-record dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; padding: 24px; gap: 1px; background: #e4eeeb; }
.sanction-record dl>div { padding: 19px; background: #fff; }
.sanction-record dt { margin-bottom: 7px; color: var(--pink-dark); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.sanction-record dd { margin: 0; color: #4f4a50; line-height: 1.55; }
.sanction-record details { margin: 0 24px 24px; padding: 18px; background: #f6faf9; border-radius: 14px; }
.sanction-record summary { color: var(--teal-dark); cursor: pointer; font-weight: 850; }
.sanction-record details p { color: #615c62; line-height: 1.65; }
.sanction-source { display: inline-block; margin: 0 24px 28px; padding: 11px 15px; color: #fff; background: var(--pink-dark); border-radius: 999px; font-weight: 850; }
.sanctions-frame { overflow: hidden; width: 100%; min-height: 650px; background: #fff; border-radius: 20px; box-shadow: 0 12px 34px rgba(31,45,41,.07); }
.sanctions-frame iframe { display: block; width: 100%; height: 650px; background: #fff; border: 0; }
.sanctions-empty { padding: clamp(36px,6vw,70px); text-align: center; background: #fff; border-radius: 22px; box-shadow: 0 12px 34px rgba(31,45,41,.07); }
.sanctions-empty>span { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 18px; color: #fff; background: var(--teal-dark); border-radius: 18px; font-size: 1.5rem; }
.sanctions-empty h2 { margin: 0 0 10px; font-size: 1.65rem; }
.sanctions-empty p { color: #686268; }
.sanctions-empty a { display: inline-block; margin-top: 13px; font-weight: 850; }

.validator-grid { width: 100%; }
.validator-frame { overflow: hidden; width: 100%; min-height: 1000px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.validator-frame iframe { display: block; width: 100%; height: 1000px; background: transparent; border: 0; }

/* Denuncias */
.complaints-layout,.asf-layout { padding-block: clamp(28px,5vw,68px) 74px; }
.complaints-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 225px; align-items: center; gap: 40px; padding: 34px 38px; background: #fff; border: 1px solid #dce9e5; border-radius: 22px; box-shadow: 0 10px 30px rgba(36,35,39,.055); }
.complaints-hero::after { content: ''; position: absolute; right: -70px; bottom: -120px; width: 250px; aspect-ratio: 1; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .055; pointer-events: none; }
.complaints-hero > div,.complaints-cta { position: relative; z-index: 1; }
.complaints-hero h1,.asf-hero h1 { max-width: 900px; margin: 8px 0 13px; font-size: clamp(1.45rem,3vw,2.25rem); line-height: 1.12; letter-spacing: -.04em; }
.complaints-hero p,.asf-hero p,.complaints-heading p { max-width: 850px; font-size: .98rem; line-height: 1.72; }
.complaints-cta { min-height: 150px; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 15px; padding: 22px; color: #fff; background: linear-gradient(145deg,var(--teal-dark),var(--teal)); border-radius: 21px; box-shadow: 0 12px 28px rgba(0,111,99,.18); }
.complaints-cta:hover { color: #fff; transform: translateY(-3px); }
.complaints-cta img { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 15px; padding: 8px; }
.complaints-cta small,.complaints-cta strong { display: block; }
.complaints-cta small { opacity: .88; margin-bottom: 5px; font-size: .75rem; line-height: 1.3; }
.complaints-cta strong { font-size: 1.08rem; line-height: 1.25; }
.complaints-cta b { display: none; }
.complaints-section { padding-top: clamp(46px,6vw,78px); }
.complaints-heading { margin-bottom: 25px; }
.complaints-heading h2 { max-width: 850px; margin: 7px 0 9px; font-size: clamp(1.7rem,3vw,2.55rem); }
.complaints-methods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.complaints-methods article { min-height: 275px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: #fff; border-top: 4px solid var(--teal); border-radius: 18px; box-shadow: 0 12px 34px rgba(31,45,41,.07); }
.complaints-methods article:nth-child(2) { border-color: var(--pink); }
.complaints-methods article:nth-child(3) { border-color: #ac202d; }
.complaints-methods article>span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 12px; font-size: .78rem; font-weight: 900; }
.complaints-methods article:nth-child(2)>span { background: var(--pink); }
.complaints-methods article:nth-child(3)>span { background: #ac202d; }
.complaints-methods h3 { margin: 18px 0 8px; font-size: 1.35rem; }
.complaints-methods p,.complaints-methods address { margin: 0 0 14px; color: #5d595f; font-size: 1rem; line-height: 1.6; }
.complaints-methods a { margin-top: auto; font-weight: 850; }
.complaints-methods small { margin-top: 7px; color: #716c72; }
.complaints-video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.complaints-video-grid article { padding: 14px 14px 24px; background: #fff; border-radius: 20px; box-shadow: 0 13px 36px rgba(31,45,41,.08); }
.complaints-video { overflow: hidden; aspect-ratio: 16/9; background: #17221f; border-radius: 14px; }
.complaints-video video { width: 100%; height: 100%; object-fit: contain; }
.complaints-video-grid h3 { margin: 20px 10px 7px; font-size: 1.3rem; }
.complaints-video-grid p { margin: 0 10px; color: #676168; line-height: 1.6; }

/* Guías ASF */
.asf-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 190px; align-items: center; gap: 40px; padding: 34px 38px; background: #fff; border: 1px solid #dce9e5; border-radius: 22px; box-shadow: 0 10px 30px rgba(36,35,39,.055); }
.asf-hero::after { content: ''; position: absolute; right: -70px; bottom: -120px; width: 250px; aspect-ratio: 1; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .055; pointer-events: none; }
.asf-hero__copy,.asf-hero__stat { position: relative; z-index: 1; }
.asf-hero__stat { min-height: 132px; display: grid; place-content: center; padding: 18px; color: #fff; text-align: center; background: linear-gradient(145deg,var(--teal-dark),var(--teal)); border-radius: 19px; box-shadow: 0 12px 28px rgba(0,111,99,.18); }
.asf-hero__stat strong { display: block; font-size: 2.5rem; line-height: 1; }
.asf-hero__stat span { max-width: 125px; margin-top: 8px; font-size: .76rem; font-weight: 750; line-height: 1.3; }
.asf-guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; max-width: 1080px; margin: 36px auto 0; }
.asf-guide-card { overflow: hidden; display: grid; grid-template-columns: minmax(190px,.75fr) minmax(0,1fr); min-height: 330px; color: var(--ink); background: #fff; border-radius: 22px; box-shadow: 0 15px 42px rgba(28,42,38,.09); }
.asf-guide-card:hover { color: var(--ink); transform: translateY(-5px); box-shadow: 0 20px 48px rgba(28,42,38,.14); }
.asf-guide-card__image { overflow: hidden; min-height: 100%; background: #eef5f3; }
.asf-guide-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.asf-guide-card:hover img { transform: scale(1.035); }
.asf-guide-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 25px; }
.asf-guide-card__body small { color: var(--teal-dark); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.asf-guide-card__body strong { margin: 15px 0; font-size: 1.32rem; line-height: 1.25; }
.asf-guide-card__body>span { margin-top: auto; font-weight: 850; }
.asf-guide-card__body b { display: inline-grid; place-items: center; min-width: 42px; height: 32px; margin-left: 8px; color: #fff; background: #ac202d; border-radius: 8px; font-size: .66rem; }

/* Noticieros semanales */
.newscasts-page main { background: linear-gradient(180deg,#f5faf8 0,#fff 520px); }
.newscasts-layout { padding-block: clamp(28px,5vw,66px) 76px; }
.newscasts-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 220px; display: grid; grid-template-columns: 1fr; align-items: center; padding: 44px 50px; background: linear-gradient(100deg,rgba(255,255,255,.97),rgba(240,250,247,.91)),url('../img/home/hero/home-hero-pattern.png') center/540px auto repeat; border: 1px solid #dbe8e4; border-radius: 26px; box-shadow: 0 14px 38px rgba(36,35,39,.065); }
.newscasts-hero::before { content: ''; position: absolute; right: -58px; bottom: -92px; width: 270px; height: 270px; z-index: 0; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .12; transform: rotate(7deg); pointer-events: none; }
.newscasts-hero > * { position: relative; z-index: 1; }
.newscasts-hero h1 { max-width: 850px; margin: 9px 0 0; font-size: clamp(2rem,4vw,3.25rem); line-height: 1.06; letter-spacing: -.045em; }
.newscasts-hero p:last-child { max-width: 760px; margin: 0; color: #625d63; font-size: 1.08rem; line-height: 1.7; }
.newscasts-hero__mark { width: 150px; aspect-ratio: 1; display: grid; place-content: center; color: #fff; text-align: center; background: linear-gradient(145deg,var(--pink-dark),#aa1f2d); border-radius: 30px; transform: rotate(5deg); box-shadow: 0 16px 34px rgba(172,32,45,.19); }
.newscasts-hero__mark span,.newscasts-hero__mark strong { display: block; transform: rotate(-5deg); }
.newscasts-hero__mark span { font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.newscasts-hero__mark strong { font-size: 3rem; line-height: 1; }
.newscasts-content { padding-top: clamp(44px,6vw,74px); scroll-margin-top: 90px; }
.newscasts-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.newscasts-toolbar h2 { margin: 7px 0 0; font-size: clamp(1.75rem,3vw,2.55rem); }
.newscasts-toolbar label { display: grid; gap: 7px; color: #676168; font-size: .76rem; font-weight: 850; }
.newscasts-toolbar select { min-width: 150px; min-height: 46px; padding: 9px 38px 9px 13px; color: var(--ink); background: #fff; border: 1px solid #cadcd7; border-radius: 12px; font: inherit; font-size: .92rem; }
.newscasts-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.newscast-card { overflow: hidden; display: grid; grid-template-rows: 165px 1fr; min-height: 350px; background: #fff; border-bottom: 4px solid var(--teal); border-radius: 18px; box-shadow: 0 12px 32px rgba(31,45,41,.08); animation: newscast-in .38s ease both; animation-delay: calc(min(var(--card-order),3) * 45ms); }
.newscast-card:nth-child(3n+2) { border-color: var(--pink); }
.newscast-card:nth-child(3n) { border-color: #ac202d; }
.newscast-card>img { width: 100%; height: 100%; object-fit: cover; }
.newscast-card>div { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; }
.newscast-card small { color: var(--teal-dark); font-size: .69rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.newscast-card h3 { margin: 12px 0 20px; font-size: 1rem; line-height: 1.38; }
.newscast-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--pink-dark); font-size: .82rem; font-weight: 900; }
.newscast-card a span { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--pink-dark); border-radius: 50%; font-size: .65rem; }
.newscasts-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.newscasts-pagination button { min-width: 42px; min-height: 42px; padding: 9px 13px; color: var(--ink); background: #fff; border: 1px solid #d3e1de; border-radius: 11px; font: inherit; font-size: .8rem; font-weight: 850; cursor: pointer; }
.newscasts-pagination button[aria-current="page"] { color: #fff; background: var(--teal-dark); border-color: var(--teal-dark); }
.newscasts-pagination button:disabled { opacity: .38; cursor: not-allowed; }
.newscasts-empty { padding: 24px; text-align: center; background: #fff; border-radius: 16px; }
.newscast-player-content { padding-top: clamp(30px,5vw,54px); }
.newscast-player-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--teal-dark); font-size: .9rem; font-weight: 850; }
.newscast-player-back:hover { color: var(--pink-dark); }
.newscast-player-frame { overflow: hidden; width: 100%; background: #151a19; border-radius: 22px; box-shadow: 0 18px 46px rgba(20,42,36,.14); }
.newscast-player-frame video { width: 100%; max-height: 76vh; display: block; background: #111; }
.newscast-player-details { padding: 26px 2px 0; }
.newscast-player-details h2 { margin: 0 0 7px; font-size: clamp(1.4rem,2.5vw,2rem); }
.newscast-player-details p { margin: 0; color: #676168; font-size: 1rem; }
.newscast-player-error { padding: clamp(30px,5vw,52px); text-align: center; background: #fff; border: 1px solid #dbe8e4; border-radius: 20px; }
.newscast-player-error h2 { margin-top: 0; }
@keyframes newscast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .definition-grid { grid-template-columns: 1fr; }
  .document-cards,.sanctions-options { grid-template-columns: 1fr; }
  .sanctions-hero { grid-template-columns: 1fr; }
  .newscasts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .complaints-hero,.asf-hero { grid-template-columns: 1fr; }
  .complaints-methods { grid-template-columns: 1fr; }
  .complaints-methods article { min-height: 0; }
  .asf-guide-grid { grid-template-columns: 1fr; }
  .gender-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .privacy-list { grid-template-columns: 1fr; }
  .validator-frame,.validator-frame iframe { min-height: 1150px; height: 1150px; }
}

@media (max-width: 600px) {
  .data-layout,.sanctions-layout { padding-block: 22px 54px; }
  .data-hero,.sanctions-hero { padding: 26px 22px; border-radius: 18px; }
  .sanctions-hero__stat { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .sanctions-hero__stat strong { font-size: 2rem; }
  .sanctions-hero__stat span { margin: 0; text-align: left; }
  .subsite-nav,.sanctions-nav { grid-template-columns: 1fr; }
  .document-cards>a { grid-template-columns: 52px minmax(0,1fr); padding: 21px; }
  .document-cards>a>span { width: 50px; height: 50px; }
  .sanctions-options>a { grid-template-columns: 44px minmax(0,1fr); padding: 23px; }
  .sanction-record dl { grid-template-columns: 1fr; padding: 12px; }
  .sanctions-frame,.sanctions-frame iframe { min-height: 760px; height: 760px; border-radius: 14px; }
  .newscasts-layout { padding-block: 22px 54px; }
  .newscasts-hero { min-height: 0; grid-template-columns: 1fr; padding: 29px 23px; border-radius: 19px; }
  .newscasts-hero__mark { display: none; }
  .newscasts-toolbar { align-items: stretch; flex-direction: column; }
  .newscasts-toolbar select { width: 100%; }
  .newscasts-grid { grid-template-columns: 1fr; }
  .newscast-card { grid-template-rows: 185px 1fr; min-height: 355px; }
  .newscasts-pagination button:first-child,.newscasts-pagination button:last-child { flex: 1; }
  .newscast-player-frame { border-radius: 14px; }
  .newscast-player-frame video { max-height: none; }
  .complaints-layout,.asf-layout { padding-block: 22px 54px; }
  .complaints-hero,.asf-hero { padding: 27px 22px; border-radius: 19px; }
  .asf-hero__stat { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .asf-hero__stat strong { font-size: 2rem; }
  .asf-hero__stat span { margin: 0; text-align: left; }
  .complaints-cta { grid-template-columns: 52px 1fr; padding: 17px; }
  .complaints-cta img { width: 52px; height: 52px; }
  .complaints-cta b { display: none; }
  .complaints-video-grid { grid-template-columns: 1fr; }
  .asf-guide-card { grid-template-columns: 1fr; }
  .asf-guide-card__image { height: 290px; }
  .gender-layout { padding-block: 22px 54px; }
  .gender-hero { grid-template-columns: 1fr; padding: 28px 23px; }
  .gender-hero__stat { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .gender-hero__stat strong { font-size: 2rem; }
  .gender-hero__stat span { margin: 0; text-align: left; }
  .gender-nav { grid-template-columns: 1fr; margin-bottom: 30px; }
  .gender-nav a { min-height: 52px; }
  .gender-media-grid { grid-template-columns: 1fr; }
  .gender-media-card { grid-template-rows: 250px 1fr; }
  .gender-training { grid-template-columns: 52px minmax(0,1fr); padding: 19px; }
  .gender-training__type { width: 50px; height: 50px; }
  .gender-training b { grid-column: 2; justify-self: start; }
  .gender-document { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 11px; padding: 13px; }
  .gender-document__number,.gender-document b { width: 40px; height: 40px; }
  .resource-layout { padding-block: 22px 52px; }
  .resource-hero { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
  .resource-total { min-width: 0; min-height: 82px; display: flex; align-items: center; justify-content: center; gap: 10px; }
  .resource-total strong { font-size: 1.9rem; }
  .resource-total span { margin: 0; text-align: left; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 218px; }
  .privacy-toolbar { grid-template-columns: 1fr; }
  .privacy-counter { justify-self: stretch; }
  .privacy-group summary { grid-template-columns: 38px minmax(0,1fr) 30px; gap: 10px; padding: 12px; }
  .privacy-group summary small { display: none; }
  .privacy-group__number { width: 38px; height: 38px; }
  .privacy-list { padding: 0 10px 10px; }
  .privacy-notice { grid-template-columns: 1fr auto; }
  .privacy-notice__type { justify-self: start; grid-column: 1 / -1; }
  .validator-frame,.validator-frame iframe { min-height: 1320px; height: 1320px; }
}

/* Código de Ética */
.code-ethics-page .code-ethics-layout { padding-block: 32px 78px; }
.code-ethics-page .code-ethics-content-card .content-card__header h1 { max-width: 1040px; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.16; }
.code-ethics-page .code-ethics-resources { min-width: 0; }
.code-ethics-page .ethics-resource-card { min-width: 0; min-height: 116px; }
.code-ethics-page .ethics-resource-card__copy strong { overflow-wrap: anywhere; hyphens: none; }
.code-ethics-page .ethics-resource-card__type { padding-inline: 5px; font-size: .57rem; }
.code-course-page .code-course { min-width: 0; }
.code-course-page .code-ethics-layout > *,
.code-course-page .code-ethics-content-card,
.code-course-page .content-card__body,
.code-course-page .code-course,
.code-course-page .tab-content,
.code-course-page .tab-pane { min-width: 0; width: 100%; max-width: 100%; }
.code-course-page .code-course-tabs { margin: 0 auto 18px; }
.code-course-page .code-course-tabs .nav-link { font-size: .96rem; }
.code-course-page .tab-content,
.code-course-page .tab-pane { min-width: 0; width: 100%; }
.code-course-page .code-course-frame { width: 100%; max-width: 100%; display: block; overflow: auto; background: #fff; border: 0; border-radius: 16px; box-shadow: 0 10px 30px rgba(31,45,41,.07); }

/* Curso de Etica e Integridad integrado */
.code-course-page .code-course-tabs { width: min(100%,620px); justify-content: center; }
.code-course-page .course-tab-form { flex: 1 1 180px; margin: 0; }
.code-course-page .code-course-tabs .nav-link { width: 100%; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.code-course-page .course-alert { margin: 0 0 18px; padding: 14px 17px; border: 1px solid transparent; border-radius: 13px; font-size: .92rem; font-weight: 650; }
.code-course-page .course-alert--success { color: #075d50; background: #eaf8f4; border-color: #bfe9df; }
.code-course-page .course-alert--error { color: #8d173f; background: #fff1f5; border-color: #f2c6d6; }
.code-course-page .course-access-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(420px,1.12fr); gap: clamp(28px,5vw,58px); align-items: start; padding: clamp(18px,3vw,30px) 0 8px; }
.code-course-page .course-access-copy { padding: 18px 0; }
.code-course-page .course-access-copy h2,
.code-course-page .course-video-intro h2,
.code-course-page .course-statistics-heading h2,
.code-course-page .course-complete h2 { margin: 0; color: var(--ink); font-size: clamp(1.5rem,3vw,2.15rem); line-height: 1.16; letter-spacing: -.035em; text-align: left; }
.code-course-page .course-access-copy > p:not(.eyebrow) { margin: 17px 0; color: var(--muted); line-height: 1.78; text-align: justify; text-align-last: left; hyphens: none; }
.code-course-page .course-access-copy ul { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.code-course-page .course-access-copy li { position: relative; padding-left: 27px; color: #4f4b52; font-size: .91rem; }
.code-course-page .course-access-copy li::before { content: '\2713'; position: absolute; top: 0; left: 0; color: var(--teal); font-weight: 900; }
.code-course-page .course-auth-card { overflow: hidden; background: #fff; border: 1px solid #dce9e5; border-radius: 22px; box-shadow: 0 16px 42px rgba(31,45,41,.09); }
.code-course-page .course-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 7px; background: #edf7f4; }
.code-course-page .course-auth-tabs button { min-height: 48px; padding: 10px 14px; color: var(--teal-dark); background: transparent; border: 0; border-radius: 12px; font-weight: 800; cursor: pointer; }
.code-course-page .course-auth-tabs button.is-active { color: #fff; background: linear-gradient(135deg,var(--teal-dark),var(--teal)); box-shadow: 0 7px 17px rgba(0,126,112,.2); }
.code-course-page .course-form { display: grid; gap: 16px; padding: clamp(22px,4vw,34px); }
.code-course-page .course-form[hidden] { display: none; }
.code-course-page .course-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.code-course-page .course-form label { display: grid; gap: 7px; color: #47434a; font-size: .81rem; font-weight: 800; }
.code-course-page .course-field-optional { color: var(--muted); font-size: .72rem; font-weight: 600; }
.code-course-page .course-form input,
.code-course-page .course-form select { width: 100%; min-height: 48px; padding: 10px 13px; color: var(--ink); background: #fff; border: 1px solid #d9e3e0; border-radius: 11px; font: inherit; font-size: .94rem; font-weight: 450; }
.code-course-page .course-form input[name="curp"] { text-transform: uppercase; }
.code-course-page .course-form input:focus,
.code-course-page .course-form select:focus { outline: 3px solid rgba(0,152,132,.14); border-color: var(--teal); }
.code-course-page .course-form .button { width: 100%; margin-top: 3px; border: 0; cursor: pointer; }
.code-course-page .course-curp-link { justify-self: center; color: var(--teal-dark); font-size: .82rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.code-course-page .course-userbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 4px 0 24px; padding: 15px 18px; background: #f0f8f6; border: 1px solid #d9ebe6; border-radius: 15px; }
.code-course-page .course-userbar > div { display: grid; }
.code-course-page .course-userbar span { color: var(--teal-dark); font-size: .68rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.code-course-page .course-userbar strong { font-size: .95rem; }
.code-course-page .course-link-button { padding: 9px 13px; color: var(--pink-dark); background: #fff; border: 1px solid #efcad8; border-radius: 10px; font-size: .8rem; font-weight: 800; cursor: pointer; }
.code-course-page .course-video-intro { margin: 0 0 22px; }
.code-course-page .course-video-intro > p:last-child { max-width: 780px; margin: 14px 0 0; color: var(--muted); text-align: justify; text-align-last: left; hyphens: none; }
.code-course-page .course-player { overflow: hidden; background: #19191b; border-radius: 20px; box-shadow: 0 18px 44px rgba(27,29,28,.18); }
.code-course-page .course-player video { width: 100%; max-height: 680px; display: block; background: #000; }
.code-course-page .course-player__status { padding: 14px 18px; color: #e7efed; background: #2b2a2d; font-size: .86rem; font-weight: 700; text-align: center; }
.code-course-page .course-player__status.is-working { color: #fce4ee; background: #6f1239; }
.code-course-page .course-player__status.is-complete { color: #fff; background: var(--teal-dark); }
.code-course-page .course-finish-form { display: none; }
.code-course-page .course-complete { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 24px; align-items: center; padding: clamp(28px,5vw,48px); background: linear-gradient(135deg,#f6fbf9,#e7f6f2); border: 1px solid #cde8e1; border-radius: 22px; }
.code-course-page .course-complete > span { width: 70px; height: 70px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 20px; font-size: 2rem; font-weight: 900; box-shadow: 0 12px 26px rgba(0,152,132,.2); }
.code-course-page .course-complete p:last-child { margin: 12px 0 0; color: var(--muted); }
.code-course-page .course-complete__copy form { margin-top: 20px; }
.code-course-page .course-certificate-button { min-height: 46px; padding-inline: 18px; border: 0; cursor: pointer; }
.code-course-page .course-statistics-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; margin: 6px 0 24px; padding: clamp(22px,4vw,32px); background: linear-gradient(135deg,#fff,#f1f9f7); border: 1px solid #dceae6; border-radius: 20px; }
.code-course-page .course-stat-total { min-width: 150px; min-height: 105px; display: grid; place-items: center; align-content: center; padding: 15px; color: #fff; background: #d9005b; border-radius: 18px; text-align: center; box-shadow: 0 12px 26px rgba(217,0,91,.2); }
.code-course-page .course-stat-total strong { font-size: clamp(1.8rem,4vw,2.7rem); line-height: 1; }
.code-course-page .course-stat-total span { margin-top: 7px; font-size: .72rem; font-weight: 800; }
.code-course-page .course-years { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.code-course-page .course-years form { margin: 0; }
.code-course-page .course-years button { min-width: 58px; padding: 9px 12px; color: #a50046; background: rgba(217,0,91,.08); border: 1px solid rgba(217,0,91,.22); border-radius: 10px; font: inherit; font-size: .83rem; font-weight: 800; text-align: center; cursor: pointer; }
.code-course-page .course-years button:hover,
.code-course-page .course-years button.is-active { color: #fff; background: #d9005b; border-color: #d9005b; box-shadow: 0 7px 16px rgba(217,0,91,.18); }
.code-course-page .course-table-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid #dce6e3; border-radius: 17px; }
.code-course-page .course-stats-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; }
.code-course-page .course-stats-table th,
.code-course-page .course-stats-table td { padding: 14px 17px; border-bottom: 1px solid #e7eeec; text-align: left; }
.code-course-page .course-stats-table thead th { color: #fff; background: var(--teal-dark); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.code-course-page .course-stats-table th:last-child,
.code-course-page .course-stats-table td:last-child { width: 190px; text-align: center; }
.code-course-page .course-stats-table th:nth-child(2),
.code-course-page .course-stats-table td:nth-child(2) { width: 190px; text-align: center; }
.code-course-page .course-stats-table tbody tr:nth-child(even) { background: #f7faf9; }
.code-course-page .course-stats-table tbody td { color: #4f4b52; font-size: .9rem; }
.code-course-page .course-stats-table tbody td strong { color: var(--teal-dark); font-size: 1rem; }
.code-course-page .course-stats-table tfoot th,
.code-course-page .course-stats-table tfoot td { color: var(--ink); background: #e9f5f2; border-bottom: 0; font-size: .95rem; }
.code-course-page .course-participants-form { margin: 0; }
.code-course-page .course-participants-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 12px; color: var(--teal-dark); background: #e7f5f1; border: 1px solid #cce7e0; border-radius: 9px; font: inherit; font-size: .76rem; font-weight: 850; cursor: pointer; }
.code-course-page .course-participants-link:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.code-course-page .course-participants-empty { color: var(--muted); font-size: .76rem; }
.course-modal-open { overflow: hidden; }
.code-course-page .course-participants-modal[hidden] { display: none; }
.code-course-page .course-participants-modal { position: fixed; z-index: 1500; inset: 0; display: grid; place-items: center; padding: clamp(16px,4vw,42px); }
.code-course-page .course-participants-modal__backdrop { position: absolute; inset: 0; background: rgba(24,31,29,.66); backdrop-filter: blur(4px); }
.code-course-page .course-participants-modal__dialog { position: relative; width: min(900px,100%); max-height: min(82vh,760px); overflow: auto; padding: clamp(24px,4vw,38px); background: #fff; border: 1px solid #dce8e5; border-radius: 24px; box-shadow: 0 28px 80px rgba(10,34,29,.28); outline: 0; }
.code-course-page .course-participants-modal__close { position: absolute; z-index: 2; top: 15px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; color: #fff; background: var(--pink-dark); border: 0; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.code-course-page .course-participants-modal__close:hover { background: #9b174c; }
.code-course-page .course-participants-modal__year { margin: 7px 0 0; color: var(--teal-dark); font-size: .78rem; font-weight: 800; }
.code-course-page .course-participants-modal__status { padding: 22px; color: var(--muted); background: #f4f8f7; border-radius: 14px; font-weight: 700; text-align: center; }
.code-course-page .course-participants-modal__status[hidden],
.code-course-page .course-participants__pagination[hidden] { display: none; }
.code-course-page [data-course-participants-total]:empty { display: none; }
.code-course-page .course-participants { scroll-margin-top: 92px; margin-top: 24px; padding: clamp(22px,4vw,32px); background: #fff; border: 1px solid #dce8e5; border-radius: 20px; box-shadow: 0 12px 30px rgba(31,45,41,.06); }
.code-course-page .course-participants__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #e3ebe9; }
.code-course-page .course-participants__header h3 { margin: 0; color: var(--ink); font-size: clamp(1.2rem,2.5vw,1.65rem); line-height: 1.24; text-align: left; }
.code-course-page .course-participants__header > span { flex: 0 0 auto; padding: 9px 13px; color: #fff; background: var(--pink-dark); border-radius: 10px; font-size: .76rem; font-weight: 850; }
.code-course-page .course-participants__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 28px; margin: 0; padding-left: 30px; color: #4e4a51; }
.code-course-page .course-participants__list li { padding: 7px 8px; border-bottom: 1px solid #edf1f0; font-size: .9rem; line-height: 1.5; }
.code-course-page .course-participants__list li::marker { color: var(--teal-dark); font-weight: 800; }
.code-course-page .course-participants__notice { margin: 0; color: var(--muted); }
.code-course-page .course-participants__pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.code-course-page .course-participants__pagination a,
.code-course-page .course-participants__pagination button,
.code-course-page .course-participants__pagination span { padding: 9px 13px; border-radius: 9px; font-size: .78rem; font-weight: 800; }
.code-course-page .course-participants__pagination a,
.code-course-page .course-participants__pagination button { color: #fff; background: var(--teal-dark); border: 0; font-family: inherit; cursor: pointer; }
.code-course-page .course-participants__pagination button:disabled { opacity: .42; cursor: not-allowed; }
.code-course-page .course-participants__pagination span { color: var(--teal-dark); background: #edf7f4; }

/* Variante visual del curso de Conflicto de Interes */
.conflict-course-page {
  --conflict-accent: #ac202d;
  --conflict-accent-dark: #791721;
  --conflict-accent-soft: #fbefef;
  --conflict-accent-border: #eccdd0;
}
.conflict-course-page main { background: linear-gradient(180deg,#fcf8f7 0,#fff 460px); }
.conflict-course-page .content-card__header {
  background-color: var(--conflict-accent-dark);
  background-image: linear-gradient(115deg,rgba(74,10,17,.68),rgba(172,32,45,.48)),url('../img/branding/content-title-pattern.png');
}
.conflict-course-page .side-nav__header { background: linear-gradient(135deg,var(--conflict-accent-dark),var(--conflict-accent)); }
.conflict-course-page .side-nav__link.is-active { color: var(--conflict-accent-dark); background: var(--conflict-accent-soft); }
.conflict-course-page .side-nav__link.is-active .side-nav__number { background: var(--conflict-accent); border-color: var(--conflict-accent); }
.conflict-course-page .code-course-tabs,
.conflict-course-page .course-auth-tabs { background: var(--conflict-accent-soft); }
.conflict-course-page .code-course-tabs .nav-link,
.conflict-course-page .course-auth-tabs button { color: var(--conflict-accent-dark); }
.conflict-course-page .code-course-tabs .nav-link.active,
.conflict-course-page .course-auth-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg,var(--conflict-accent-dark),var(--conflict-accent));
  box-shadow: 0 7px 17px rgba(172,32,45,.2);
}
.conflict-course-page .course-access-copy li::before,
.conflict-course-page .course-curp-link { color: var(--conflict-accent); }
.conflict-course-page .course-form input:focus,
.conflict-course-page .course-form select:focus { outline-color: rgba(172,32,45,.14); border-color: var(--conflict-accent); }
.conflict-course-page .course-form .button--primary { background: #009784; box-shadow: 0 10px 24px rgba(0,151,132,.2); }
.conflict-course-page .course-form .button--primary:hover { background: #007d6d; box-shadow: 0 14px 30px rgba(0,151,132,.28); }
.conflict-course-page .course-certificate-button { background: var(--conflict-accent); box-shadow: 0 10px 24px rgba(172,32,45,.2); }
.conflict-course-page .course-certificate-button:hover { background: var(--conflict-accent-dark); }
.conflict-course-page .course-userbar { background: #fcf4f3; border-color: var(--conflict-accent-border); }
.conflict-course-page .course-userbar span { color: var(--conflict-accent-dark); }
.conflict-course-page .course-player__status.is-complete { background: var(--conflict-accent-dark); }
.conflict-course-page .course-complete { background: linear-gradient(135deg,#fffafa,#f9e8e9); border-color: var(--conflict-accent-border); }
.conflict-course-page .course-complete > span { background: var(--conflict-accent); box-shadow: 0 12px 26px rgba(172,32,45,.2); }
.conflict-course-page .course-stat-total,
.conflict-course-page .course-years button:hover,
.conflict-course-page .course-years button.is-active { background: #009784; border-color: #009784; box-shadow: 0 7px 16px rgba(0,151,132,.2); }
.conflict-course-page .course-years button { color: #006f61; background: rgba(0,151,132,.08); border-color: rgba(0,151,132,.24); }
.conflict-course-page .course-stats-table thead th,
.conflict-course-page .course-participants__pagination a,
.conflict-course-page .course-participants__pagination button { background: var(--conflict-accent-dark); }
.conflict-course-page .course-stats-table tbody td strong,
.conflict-course-page .course-participants-modal__year,
.conflict-course-page .course-participants__list li::marker { color: var(--conflict-accent-dark); }
.conflict-course-page .course-participants-link { color: var(--conflict-accent-dark); background: var(--conflict-accent-soft); border-color: var(--conflict-accent-border); }
.conflict-course-page .course-participants-link:hover { color: #fff; background: var(--conflict-accent); border-color: var(--conflict-accent); }

@media (max-width: 680px) {
  .code-ethics-page .code-ethics-layout { padding-block: 22px 54px; }
  .code-ethics-page .code-ethics-content-card .content-card__header h1 { font-size: 1.38rem; }
  .code-ethics-page .ethics-resource-card { min-height: 0; }
  .code-course-page .code-course-tabs .nav-link { font-size: .86rem; }
  .code-course-page .code-course-frame--access { min-height: 820px; height: 820px; }
  .code-course-page .course-access-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 4px; }
  .code-course-page .course-access-copy { padding: 8px 0; }
  .code-course-page .course-access-copy ul { margin-top: 18px; }
  .code-course-page .course-auth-card { border-radius: 17px; }
  .code-course-page .course-auth-tabs button { min-height: 45px; padding-inline: 8px; font-size: .78rem; }
  .code-course-page .course-form { padding: 20px 17px; }
  .code-course-page .course-userbar { align-items: flex-start; flex-direction: column; }
  .code-course-page .course-complete { grid-template-columns: 52px minmax(0,1fr); gap: 15px; padding: 22px 18px; }
  .code-course-page .course-complete > span { width: 52px; height: 52px; border-radius: 15px; font-size: 1.4rem; }
  .code-course-page .course-statistics-heading { grid-template-columns: 1fr; padding: 21px 18px; }
  .code-course-page .course-stat-total { min-width: 0; min-height: 82px; display: flex; gap: 10px; }
  .code-course-page .course-stat-total span { margin: 0; }
  .code-course-page .course-player { border-radius: 14px; }
  .code-course-page .course-participants__header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .code-course-page .course-participants__list { grid-template-columns: 1fr; padding-left: 24px; }
  .code-course-page .course-participants__pagination { flex-wrap: wrap; }
  .code-course-page .course-participants-modal { padding: 10px; }
  .code-course-page .course-participants-modal__dialog { max-height: 90vh; padding: 24px 17px; border-radius: 17px; }
  .code-course-page .course-participants-modal__close { top: 10px; right: 10px; width: 38px; height: 38px; }
  .code-course-page .course-participants-modal .course-participants__header { padding-right: 38px; }
}

@media (max-width: 760px) {
  .code-course-page .code-course-tabs { width: 100%; }
  .code-course-page .course-tab-form { flex-basis: 100%; }
  .code-course-page .course-statistics-heading { gap: 18px; margin-bottom: 18px; }
  .code-course-page .course-statistics-heading h2 { font-size: clamp(1.35rem,7vw,1.7rem); overflow-wrap: anywhere; }
  .code-course-page .course-stat-total { justify-content: center; padding: 14px 16px; }
  .code-course-page .course-years { width: 100%; gap: 7px; }
  .code-course-page .course-years form { flex: 1 1 58px; }
  .code-course-page .course-years button { width: 100%; min-width: 0; padding-inline: 8px; }
  .code-course-page .course-table-wrap { overflow: visible; background: transparent; border: 0; border-radius: 0; }
  .code-course-page .course-stats-table { min-width: 0; display: block; background: transparent; }
  .code-course-page .course-stats-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .code-course-page .course-stats-table tbody { display: grid; gap: 12px; }
  .code-course-page .course-stats-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; overflow: hidden; background: #fff; border: 1px solid #dce8e5; border-radius: 15px; box-shadow: 0 8px 22px rgba(31,45,41,.055); }
  .code-course-page .course-stats-table tbody tr:nth-child(even) { background: #fff; }
  .code-course-page .course-stats-table tbody td { width: auto !important; min-width: 0; padding: 12px 14px; border: 0; text-align: left !important; }
  .code-course-page .course-stats-table tbody td:first-child { grid-column: 1 / -1; color: var(--ink); font-size: .91rem; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; border-bottom: 1px solid #e8efed; }
  .code-course-page .course-stats-table tbody td:nth-child(2) { display: flex; align-items: center; gap: 8px; color: var(--muted); }
  .code-course-page .course-stats-table tbody td:nth-child(2)::before { content: 'Personas:'; font-size: .73rem; font-weight: 750; }
  .code-course-page .course-stats-table tbody td:nth-child(3) { display: flex; align-items: center; justify-content: flex-end; }
  .code-course-page .course-stats-table tfoot { display: block; margin-top: 14px; }
  .code-course-page .course-stats-table tfoot tr { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; overflow: hidden; background: #e9f5f2; border-radius: 14px; }
  .code-course-page .course-stats-table tfoot th,
  .code-course-page .course-stats-table tfoot td { width: auto !important; padding: 14px; border: 0; text-align: left !important; }
  .code-course-page .course-stats-table tfoot td:nth-child(2) { text-align: right !important; }
  .code-course-page .course-stats-table tfoot td:last-child { display: none; }
}

/* Boletines dinámicos */
.bulletin-page { background: #f7faf9; }
.bulletin-main { min-height: 60vh; padding-block: clamp(30px,5vw,66px) 82px; }
.bulletin-shell { width: min(1160px,calc(100% - 32px)); }
.bulletin-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--teal-dark); font-size: .88rem; font-weight: 800; }
.bulletin-back:hover { color: var(--pink-dark); }
.bulletin-article { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.bulletin-header { position: relative; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px,5vw,52px); background: linear-gradient(100deg,rgba(255,255,255,.97),rgba(240,250,247,.91)),url('../img/home/hero/home-hero-pattern.png') center/540px auto repeat; border: 1px solid #dbe8e4; border-radius: 26px; box-shadow: 0 14px 38px rgba(36,35,39,.065); }
.bulletin-header::after { content: ''; position: absolute; right: -58px; bottom: -92px; width: 270px; height: 270px; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .12; transform: rotate(7deg); }
.bulletin-header > * { position: relative; z-index: 1; }
.bulletin-header h1 { max-width: 960px; margin: 9px 0 18px; color: var(--ink); font-size: clamp(1.45rem,2.6vw,2.15rem); line-height: 1.14; letter-spacing: -.03em; overflow-wrap: break-word; hyphens: none; }
.bulletin-date { margin: 0; color: var(--teal-dark); font-size: .84rem; font-weight: 800; text-transform: uppercase; }
.bulletin-cover { margin: 0; padding: clamp(30px,5vw,48px) 0 0; }
.bulletin-cover img { width: 100%; max-height: 620px; display: block; object-fit: contain; background: #f5f7f6; border-radius: 20px; }
.bulletin-gallery figcaption { padding-top: 9px; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.bulletin-copy { padding: clamp(32px,5vw,52px) 0; color: #3f4543; font-size: clamp(1rem,1.8vw,1.1rem); line-height: 1.85; text-align: justify; text-align-last: left; word-break: normal; overflow-wrap: break-word; hyphens: none; }
.bulletin-cover + .bulletin-copy { padding-top: 38px; }
.bulletin-copy > :first-child { margin-top: 0; }
.bulletin-copy > :last-child { margin-bottom: 0; }
.bulletin-copy p { margin: 0 0 1.15em; }
.bulletin-copy h2,.bulletin-copy h3,.bulletin-copy h4 { margin: 1.5em 0 .6em; color: var(--ink); line-height: 1.25; text-align: left; }
.bulletin-copy ul,.bulletin-copy ol { padding-left: 1.4em; }
.bulletin-copy blockquote { margin: 1.4em 0; padding: 14px 18px; color: var(--ink); background: #f2f8f6; border-left: 4px solid var(--teal); }
.bulletin-copy a { color: var(--teal-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.bulletin-gallery { padding: 0 0 clamp(32px,5vw,56px); }
.bulletin-gallery h2 { margin: 0 0 20px; color: var(--ink); font-size: clamp(1.35rem,2.8vw,1.85rem); }
.bulletin-gallery__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.bulletin-gallery figure { min-width: 0; margin: 0; }
.bulletin-gallery img { width: 100%; height: 330px; display: block; object-fit: cover; background: #f5f7f6; border-radius: 16px; }
.bulletin-related-links { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 0 clamp(32px,5vw,56px); }
.bulletin-related-links a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 17px; color: #fff; background: var(--teal-dark); border-radius: 12px; font-size: .84rem; font-weight: 800; }
.bulletin-related-links a:hover { background: var(--pink-dark); }
.bulletin-error { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 22px; align-items: start; padding: clamp(28px,5vw,50px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 40px rgba(31,45,41,.07); }
.bulletin-error > span { width: 64px; height: 64px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 18px; font-size: 1.45rem; font-weight: 900; }
.bulletin-error h1 { margin: 5px 0 10px; color: var(--ink); font-size: clamp(1.5rem,3vw,2.2rem); }
.bulletin-error p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); }

@media (max-width: 680px) {
  .bulletin-main { padding-block: 24px 58px; }
  .bulletin-article { border-radius: 0; }
  .bulletin-header { min-height: 190px; padding: 27px 22px; border-radius: 20px; }
  .bulletin-header h1 { font-size: 1.3rem; }
  .bulletin-cover { padding: 24px 0 0; }
  .bulletin-cover img { border-radius: 14px; }
  .bulletin-copy { padding: 28px 0; font-size: 1rem; text-align: left; }
  .bulletin-gallery { padding: 0 0 32px; }
  .bulletin-gallery__grid { grid-template-columns: 1fr; gap: 18px; }
  .bulletin-gallery img { height: auto; max-height: 440px; object-fit: contain; }
  .bulletin-related-links { padding: 0 0 32px; }
  .bulletin-related-links a { width: 100%; justify-content: space-between; }
  .bulletin-error { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .bulletin-error > span { width: 52px; height: 52px; border-radius: 14px; }
}

/* Catálogo paginado de boletines */
.bulletins-page { background: linear-gradient(135deg,#fbfaf9,#eef7f4); }
.bulletins-main { min-height: 65vh; padding-block: 34px 76px; }
.bulletins-shell { width: min(1200px,calc(100% - 32px)); }
.bulletins-hero { position: relative; overflow: hidden; min-height: 230px; display: grid; grid-template-columns: minmax(0,1fr); align-items: center; padding: 44px 50px; background: linear-gradient(100deg,rgba(255,255,255,.97),rgba(240,250,247,.91)),url('../img/home/hero/home-hero-pattern.png') center/540px auto repeat; border: 1px solid #dbe8e4; border-radius: 26px; box-shadow: 0 14px 38px rgba(36,35,39,.065); }
.bulletins-hero::after { content: ''; position: absolute; right: -58px; bottom: -92px; width: 270px; height: 270px; background: url('../img/about/rombo-verde.svg') center/contain no-repeat; opacity: .12; transform: rotate(7deg); }
.bulletins-hero > * { position: relative; z-index: 1; }
.bulletins-hero h1 { max-width: 840px; margin: 9px 0 15px; color: var(--ink); font-size: clamp(2rem,4vw,3.25rem); line-height: 1.06; letter-spacing: -.045em; }
.bulletins-hero > div:first-child > p:last-child { max-width: 820px; margin: 0; color: #58535b; font-size: 1.02rem; line-height: 1.75; }
.bulletins-results { padding-top: 46px; }
.bulletins-results__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.bulletins-results__heading h2 { margin: 5px 0 0; color: var(--ink); font-size: clamp(1.55rem,3vw,2.15rem); }
.bulletins-results__heading > span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.bulletins-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.bulletins-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #dce7e4; border-radius: 20px; box-shadow: 0 11px 28px rgba(36,35,39,.055); transition: transform .25s ease,box-shadow .25s ease; }
.bulletins-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(36,35,39,.1); }
.bulletins-card form { height: 100%; display: flex; flex-direction: column; margin: 0; }
.bulletins-card button { appearance: none; border: 0; background: none; font: inherit; }
.bulletins-card__media { width: 100%; display: block; overflow: hidden; padding: 0; cursor: pointer; }
.bulletins-card__media img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; transition: transform .35s ease; }
.bulletins-card:hover .bulletins-card__media img { transform: scale(1.025); }
.bulletins-card__media .news-image-placeholder { min-height: 220px; }
.bulletins-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 22px 24px; }
.bulletins-card__body time { color: var(--teal-dark); font-size: .69rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bulletins-card__body h2 { margin: 9px 0 18px; color: var(--ink); font-size: 1.04rem; line-height: 1.42; overflow-wrap: break-word; hyphens: none; }
.bulletins-card__body h2 button { padding: 0; color: inherit; text-align: left; cursor: pointer; }
.bulletins-card__body h2 button:hover { color: var(--teal-dark); }
.bulletins-card__more { margin-top: auto; padding: 0; cursor: pointer; }
.bulletins-pagination { display: grid; grid-template-columns: minmax(120px,auto) 1fr minmax(120px,auto); align-items: center; gap: 20px; margin-top: 42px; padding: 18px 20px; background: rgba(255,255,255,.84); border: 1px solid #dce7e4; border-radius: 18px; }
.bulletins-pagination__edge { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--teal-dark); font-size: .8rem; font-weight: 850; }
.bulletins-pagination__edge:last-child { justify-self: end; }
.bulletins-pagination__edge.is-disabled { color: #a4afac; }
.bulletins-pagination__pages { display: flex; align-items: center; justify-content: center; gap: 7px; }
.bulletins-pagination__pages a,.bulletins-pagination__pages .is-current { width: 38px; height: 38px; display: grid; place-items: center; color: var(--teal-dark); background: #edf7f4; border-radius: 11px; font-size: .78rem; font-weight: 850; }
.bulletins-pagination__pages .is-current { color: #fff; background: var(--teal-dark); }
.bulletins-pagination__ellipsis { color: var(--muted); }
.bulletins-empty { display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 20px; margin-top: 34px; padding: 30px; background: #fff; border: 1px solid #dce7e4; border-radius: 20px; }
.bulletins-empty > span { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 16px; font-size: 1.25rem; font-weight: 900; }
.bulletins-empty h2 { margin: 0 0 5px; color: var(--ink); font-size: 1.3rem; }
.bulletins-empty p { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .bulletins-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .bulletins-main { padding-block: 24px 56px; }
  .bulletins-hero { min-height: 0; grid-template-columns: 1fr; padding: 28px 22px; border-radius: 20px; }
  .bulletins-hero h1 { font-size: 2rem; }
  .bulletins-results { padding-top: 34px; }
  .bulletins-results__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bulletins-grid { grid-template-columns: 1fr; gap: 18px; }
  .bulletins-card__media img { aspect-ratio: 16 / 9; }
  .bulletins-pagination { grid-template-columns: 1fr 1fr; gap: 15px; padding: 15px; }
  .bulletins-pagination__pages { grid-column: 1 / -1; grid-row: 1; flex-wrap: wrap; }
  .bulletins-pagination__edge { grid-row: 2; }
  .bulletins-pagination__edge:last-child { justify-self: end; }
  .bulletins-empty { grid-template-columns: 1fr; padding: 24px 21px; }
}

/* Alineacion editorial compartida
   Se usa una especificidad baja para conservar las alineaciones intencionales
   de menus, botones, cifras, tarjetas compactas y otros componentes de interfaz. */
:where(main) :where(h1, h2, h3, h4, h5, h6, p) {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  word-break: normal;
}

/* Ritmo vertical general
   Evita que la suma del espacio inferior y superior de dos secciones deje
   huecos excesivos, sin eliminar la separacion visual entre contenidos. */
.section {
  padding-block: clamp(56px, 5vw, 68px);
}

.contraloria-page .page-layout,
.legal-page .page-layout,
.service-detail-page .service-detail-layout,
.comisarios-page .comisarios-layout,
.ethics-page .ethics-layout,
.downloads-page .downloads-layout,
.resource-layout,
.gender-layout,
.data-layout,
.sanctions-layout,
.complaints-layout,
.asf-layout,
.newscasts-layout,
.code-ethics-page .code-ethics-layout,
.bulletin-main,
.bulletins-main {
  padding-bottom: 64px;
}

.contraloria-page .regional-coverage {
  margin-top: 54px;
  padding-top: 38px;
}

.complaints-section,
.newscasts-content {
  padding-top: clamp(42px, 5vw, 58px);
}

.bulletins-results {
  padding-top: 38px;
}

@media (max-width: 760px) {
  .section {
    padding-block: 48px;
  }

  .contraloria-page .page-layout,
  .legal-page .page-layout,
  .service-detail-page .service-detail-layout,
  .comisarios-page .comisarios-layout,
  .ethics-page .ethics-layout,
  .downloads-page .downloads-layout,
  .resource-layout,
  .gender-layout,
  .data-layout,
  .sanctions-layout,
  .complaints-layout,
  .asf-layout,
  .newscasts-layout,
  .code-ethics-page .code-ethics-layout,
  .bulletin-main,
  .bulletins-main {
    padding-bottom: 48px;
  }

  .contraloria-page .regional-coverage {
    margin-top: 42px;
    padding-top: 30px;
  }

  .complaints-section,
  .newscasts-content,
  .bulletins-results {
    padding-top: 32px;
  }
}

@media (max-width: 520px) {
  .section {
    padding-block: 42px;
  }
}
