:root {
  --civicos-yellow: #FDBE17;
  --civicos-blue: #0D28BA;
  --civicos-dark: #061A2F; /* Sustituye los grandes fondos negros del mockup */
  --civicos-red: #E83910;
  --civicos-ivory: #FDF6E5;
  --civicos-green: #1B7668;
  --civicos-mist: #A1C6D2;
  --civicos-pink: #F8B7C5;
  --civicos-ink: #0B1320;
  --civicos-white: #FFFFFF;
  --wrap: 1480px;
  --hero-max: 1700px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--civicos-ink);
  background: var(--civicos-white);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.wrap { width: min(var(--wrap), calc(100% - 80px)); margin: 0 auto; }
.wrap--narrow { max-width: 940px; }
.wrap--content { max-width: 900px; }

.eyebrow {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow--yellow { color: var(--civicos-yellow); }
.eyebrow--blue { color: var(--civicos-blue); }

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--small { min-height: 36px; padding: 0 18px; font-size: 10px; }
.button--yellow { background: var(--civicos-yellow); color: var(--civicos-ink); }
.button--outline-dark { border-color: var(--civicos-ink); color: var(--civicos-ink); background: transparent; }
.button--outline-light { border-color: rgba(255,255,255,.8); color: var(--civicos-white); background: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(11,19,32,.10);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  width: min(var(--hero-max), calc(100% - 72px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--civicos-ink); }
.brand__name { font-size: clamp(26px, 2.15vw, 36px); font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.brand__rule { width: 2px; height: 42px; background: var(--civicos-yellow); }
.brand__descriptor { min-width: 84px; font-size: 10px; line-height: 1.18; font-weight: 800; letter-spacing: .02em; }
.brand__custom-logo .custom-logo-link { display: flex; align-items: center; }
.brand__custom-logo img { max-height: 38px; width: auto; }

.desktop-nav { flex: 1; min-width: 0; }
.civicos-nav-list { list-style: none; display: flex; align-items: center; justify-content: center; gap: clamp(12px,1.5vw,26px); margin: 0; padding: 0; }
.civicos-nav-list a {
  display: block;
  padding: 32px 0 29px;
  color: rgba(11,19,32,.58);
  border-bottom: 2px solid transparent;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.civicos-nav-list a:hover,
.civicos-nav-list .current-menu-item > a,
.civicos-nav-list .current_page_item > a { color: var(--civicos-ink); border-bottom-color: var(--civicos-yellow); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--civicos-ink); }
.mobile-menu { border-top: 1px solid rgba(11,19,32,.08); padding: 12px 32px 24px; background: white; }
.mobile-menu__list,
.mobile-menu .civicos-nav-list { list-style: none; margin: 0; padding: 0; display: block; }
.mobile-menu__list a,
.mobile-menu .civicos-nav-list a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(11,19,32,.08); font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.mobile-menu__actions { display: flex; gap: 10px; margin-top: 18px; }

.hero-home {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(520px, 49%) minmax(420px, 51%);
  overflow: hidden;
  background: var(--civicos-dark);
}
.hero-home__copy {
  min-height: calc(100vh - 84px);
  padding: clamp(52px,5.8vw,94px) clamp(34px,4.2vw,74px) clamp(54px,6vw,80px) clamp(56px,6.8vw,124px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background: var(--civicos-dark);
}
.hero-home__copy-inner {
  width: 100%;
  max-width: 690px;
}

.hero-home__meta { margin: 0; }
.display-title {
  margin: 0;
  max-width: none;
  font-size: clamp(58px,6.8vw,108px);
  font-weight: 900;
  line-height: .87;
  letter-spacing: -.058em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display-title__line { display: block; white-space: nowrap; }
.display-title--yellow { color: var(--civicos-yellow); }
.hero-home__subtitle {
  max-width: 455px;
  margin: 0;
  color: var(--civicos-white);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-home__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-home__note { margin-top: 6px; padding-top: 6px; display: flex; align-items: center; gap: 14px; }
.hero-home__note-bar { width: 3px; height: 42px; background: var(--civicos-yellow); }
.hero-home__note p:last-child { margin: 4px 0 0; color: rgba(255,255,255,.58); font-size: 12px; }
.hero-home__visual {
  position: relative;
  min-height: calc(100vh - 84px);
  background-position: 80% 54%;
  background-size: auto 106%;
  background-repeat: no-repeat;
  background-color: #02070d;
}
.hero-home__visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--civicos-dark) 0%, rgba(6,26,47,.94) 10%, rgba(6,26,47,.62) 22%, rgba(6,26,47,.22) 36%, rgba(6,26,47,0) 52%),
    linear-gradient(0deg, rgba(6,26,47,.46) 0%, rgba(6,26,47,.12) 20%, rgba(6,26,47,0) 34%);
}

.section-dark { background: var(--civicos-dark); color: var(--civicos-white); }
.matrices { padding: 0 0 76px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-heading--dark { padding: 52px 0 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.10); }
.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(30px,3.5vw,46px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.text-link { padding-bottom: 2px; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.text-link--light { color: var(--civicos-white); border-bottom: 1px solid rgba(255,255,255,.32); }
.matrix-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.matrix-card {
  min-height: 312px;
  padding: 30px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .2s ease;
}
.matrix-card:hover { transform: translateY(-4px); }
.matrix-card--red { background: var(--civicos-red); color: var(--civicos-ivory); }
.matrix-card--blue { background: var(--civicos-blue); color: var(--civicos-ivory); }
.matrix-card--green { background: var(--civicos-green); color: var(--civicos-ivory); }
.matrix-card--yellow { background: var(--civicos-yellow); color: var(--civicos-ink); }
.matrix-card__eyebrow { color: var(--civicos-yellow); }
.matrix-card--yellow .matrix-card__eyebrow { color: var(--civicos-blue); }
.matrix-card h3 {
  max-width: 95%;
  margin: 14px 0 0;
  font-size: clamp(19px,1.7vw,25px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.matrix-card--stat h3 { font-size: clamp(34px,3.5vw,52px); line-height: .86; }
.matrix-card__footer { display: flex; justify-content: space-between; align-items: flex-end; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .62; }
.matrix-card--portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-civicos.jpg') center 18% / cover no-repeat;
  opacity: .22;
  mix-blend-mode: luminosity;
}
.matrix-card--portrait > * { position: relative; z-index: 1; }

.manifesto { background: var(--civicos-red); color: var(--civicos-ivory); padding: 88px 40px; text-align: center; }
.manifesto__inner > .eyebrow { color: rgba(253,246,229,.58); }
.manifesto blockquote {
  margin: 24px auto 36px;
  font-size: clamp(32px,5vw,68px);
  font-weight: 900;
  line-height: .93;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.manifesto__author { margin: 0; color: rgba(253,246,229,.68); font-size: 13px; font-weight: 650; letter-spacing: .10em; text-transform: uppercase; }

.latest-ideas { background: var(--civicos-blue); color: var(--civicos-ivory); padding: 74px 0; }
.section-heading--blue { margin-bottom: 44px; }
.ideas-list { border-bottom: 1px solid rgba(253,246,229,.14); }
.idea-row {
  display: grid;
  grid-template-columns: 42px 120px minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-top: 1px solid rgba(253,246,229,.14);
  transition: background .15s ease, padding .15s ease;
}
.idea-row:hover { background: rgba(253,246,229,.06); padding-left: 12px; padding-right: 12px; }
.idea-row__number { color: rgba(253,246,229,.32); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.idea-row__meta { display: grid; gap: 3px; color: rgba(253,246,229,.46); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.idea-row h3 { margin: 0; font-size: clamp(15px,1.6vw,20px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.idea-row__author { color: rgba(253,246,229,.48); font-size: 11px; white-space: nowrap; text-align: right; }

.site-footer { background: var(--civicos-dark); color: var(--civicos-white); padding: 58px 0 36px; }
.site-footer__inner { width: min(var(--wrap), calc(100% - 80px)); margin: 0 auto; }
.footer-top { padding-bottom: 42px; display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand__name { margin: 0 0 4px; font-size: 21px; font-weight: 900; letter-spacing: -.04em; }
.footer-brand__sub { margin: 0 0 20px; color: rgba(255,255,255,.38); font-size: 8px; font-weight: 650; letter-spacing: .12em; }
.footer-brand__copy { max-width: 245px; margin: 0; color: rgba(255,255,255,.43); font-size: 12px; line-height: 1.7; }
.footer-columns { display: flex; gap: 72px; }
.footer-column { min-width: 150px; }
.footer-column .eyebrow { margin-bottom: 17px; }
.footer-column a { display: block; margin-bottom: 10px; color: rgba(255,255,255,.48); font-size: 13px; }
.footer-column a:hover { color: var(--civicos-white); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.28); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom .eyebrow { color: rgba(255,255,255,.20); font-size: 8px; }

.generic-page { min-height: 68vh; padding: 90px 0; background: var(--civicos-ivory); }
.generic-page--center { text-align: center; }
.generic-entry h1,
.generic-page h1 { margin: 12px 0 28px; font-size: clamp(42px,6vw,78px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.entry-content { font-size: 17px; line-height: 1.8; }
.entry-content > * { max-width: 760px; }
.entry-content .alignwide { max-width: 1100px; }


@media (min-width: 1400px) {
  .site-header__inner { width: min(1700px, calc(100% - 120px)); }
  .hero-home__copy { padding-left: clamp(86px, 6.6vw, 132px); }
  .hero-home__copy-inner { max-width: 760px; }
}

@media (max-width: 1240px) and (min-width: 981px) {
  .site-header__inner { width: calc(100% - 40px); gap: 20px; }
  .brand__name { font-size: 26px; }
  .brand__descriptor { min-width: 72px; font-size: 8px; }
  .civicos-nav-list { gap: 12px; }
  .civicos-nav-list a { font-size: 8px; letter-spacing: .07em; }
  .button--small { padding-left: 14px; padding-right: 14px; }
  .hero-home { grid-template-columns: 52% 48%; }
  .hero-home__copy { padding-left: 52px; padding-right: 34px; }
  .display-title { font-size: clamp(52px,6.4vw,88px); max-width: none; }
  .hero-home__visual { background-position: 82% 54%; background-size: auto 104%; }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header__inner { justify-content: space-between; }
  .matrix-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-home { grid-template-columns: 1fr; min-height: auto; }
  .hero-home__copy { min-height: auto; }
  .hero-home__visual { min-height: 64vh; background-size: cover; background-position: center 16%; }
}

@media (max-width: 820px) {
  .wrap, .site-footer__inner { width: min(100% - 40px, var(--wrap)); }
  .site-header__inner { width: calc(100% - 32px); }
  .header-donate { display: none; }
  .hero-home { grid-template-columns: 1fr; }
  .hero-home__copy { min-height: auto; padding: 56px 28px 48px; }
  .hero-home__copy-inner { max-width: 100%; }
  .hero-home__visual { min-height: 62vh; order: -1; background-size: cover; background-position: center 14%; }
  .hero-home__visual-shade {
    background:
      linear-gradient(0deg, var(--civicos-dark) 0%, rgba(6,26,47,.1) 48%, rgba(6,26,47,0) 75%),
      linear-gradient(90deg, rgba(6,26,47,.20), rgba(6,26,47,0));
  }
  .display-title { font-size: clamp(54px,17vw,90px); max-width: none; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .matrix-grid { grid-template-columns: 1fr; }
  .matrix-card { min-height: 270px; }
  .idea-row { grid-template-columns: 34px 1fr; gap: 9px 14px; }
  .idea-row__meta { grid-column: 2; grid-row: 1; display: flex; gap: 12px; }
  .idea-row h3 { grid-column: 2; }
  .idea-row__number { grid-row: 1 / span 2; }
  .idea-row__author { grid-column: 2; text-align: left; white-space: normal; }
  .footer-top { flex-direction: column; }
  .footer-columns { gap: 44px; width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .header-actions .button { display: none; }
  .brand__descriptor { display: none; }
  .brand__rule { display: none; }
  .mobile-menu__actions .button { display: inline-flex; }
  .hero-home__visual { min-height: 52vh; }
  .manifesto { padding-left: 22px; padding-right: 22px; }
  .footer-columns { flex-direction: column; gap: 26px; }
}

/* ── NOSOTROS ───────────────────────────────────────────── */
.about-hero { min-height: 74vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--civicos-dark); color: white; overflow: hidden; }
.about-hero__copy { padding: clamp(58px,6vw,92px) clamp(40px,5vw,76px) clamp(54px,6vw,80px) clamp(52px,7vw,118px); display: flex; flex-direction: column; justify-content: space-between; gap: 50px; }
.about-hero h1 { margin: 20px 0 28px; color: white; font-size: clamp(48px,5.3vw,82px); line-height: .88; letter-spacing: -.052em; font-weight: 900; text-transform: uppercase; }
.about-hero__intro { max-width: 530px; margin: 0; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.7; }
.about-hero__image { position: relative; min-height: 640px; background-size: cover; background-position: center 15%; }
.about-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg,var(--civicos-dark),rgba(6,26,47,.42) 18%,rgba(6,26,47,0) 38%),linear-gradient(0deg,rgba(6,26,47,.52),transparent 30%); }
.about-hero__caption { position: absolute; left: 38px; bottom: 34px; padding: 11px 18px; background: var(--civicos-yellow); color: var(--civicos-ink); }
.about-hero__caption strong,.about-hero__caption span { display: block; }
.about-hero__caption strong { font-size: 15px; font-weight: 900; letter-spacing: -.02em; }
.about-hero__caption span { margin-top: 3px; font-size: 8px; font-weight: 800; letter-spacing: .13em; opacity: .55; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 32px 0; }
.about-stats div { border-top: 3px solid var(--civicos-blue); padding-top: 13px; }
.about-stats strong,.about-stats span { display: block; }
.about-stats strong { font-size: clamp(28px,3vw,40px); line-height: 1; letter-spacing: -.04em; font-weight: 900; }
.about-stats span { margin-top: 6px; font-size: 8px; font-weight: 800; letter-spacing: .15em; opacity: .42; }
.about-stats--dark { margin: 0; }
.about-stats--dark div { border-top: 0; padding-top: 0; }
.about-stats--dark strong { color: var(--civicos-yellow); }
.about-mission { padding: 86px 0; background: var(--civicos-ivory); }
.about-mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.about-principle__heading { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 24px; }
.about-principle__heading span { width: 4px; height: 52px; flex: 0 0 4px; }
.about-principle--blue .about-principle__heading span { background: var(--civicos-blue); }
.about-principle--red .about-principle__heading span { background: var(--civicos-red); }
.about-principle h2,.about-territory h2,.about-section-title { margin: 0; font-size: clamp(32px,3.2vw,48px); font-weight: 900; line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.about-principle p,.about-territory p { font-size: 15px; line-height: 1.75; color: rgba(11,19,32,.78); }
.about-values { padding: 76px 0 84px; }
.about-section-title { margin-top: 14px; margin-bottom: 44px; color: white; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.value-card { min-height: 220px; padding: 30px 26px; display: flex; flex-direction: column; justify-content: space-between; }
.value-card--blue { background: var(--civicos-blue); color: var(--civicos-ivory); }
.value-card--red,.value-card--orange { background: var(--civicos-red); color: var(--civicos-ivory); }
.value-card--green { background: var(--civicos-green); color: var(--civicos-ivory); }
.value-card--violet { background: #2828DF; color: var(--civicos-ivory); }
.value-card--yellow { background: var(--civicos-yellow); color: var(--civicos-ink); }
.value-card__number { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 900; letter-spacing: .2em; opacity: .42; }
.value-card h3 { margin: 0; font-size: clamp(20px,2vw,27px); font-weight: 900; line-height: 1; letter-spacing: -.025em; }
.value-card p { margin: 28px 0 0; font-size: 12px; line-height: 1.65; opacity: .74; }
.about-territory { padding: 84px 0; background: var(--civicos-ivory); }
.about-territory__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.9fr); gap: 76px; align-items: center; }
.about-territory h2 { margin: 16px 0 25px; }
.about-territory__editor { min-height: 410px; padding: 42px; background: white; border: 1px solid rgba(11,19,32,.09); display: flex; align-items: center; }
.about-territory__placeholder p { margin-top: 16px; color: rgba(11,19,32,.6); }
.eyebrow--red { color: var(--civicos-red); }

/* ── IDEAS ──────────────────────────────────────────────── */
.ideas-archive { min-height: 75vh; padding: 70px 0 90px; }
.ideas-archive__header { padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.11); }
.ideas-archive__title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.ideas-archive h1 { margin: 12px 0 42px; color: white; font-size: clamp(58px,7vw,100px); font-weight: 900; line-height: .88; letter-spacing: -.055em; text-transform: uppercase; }
.idea-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.idea-filters a { padding: 8px 18px; border: 1.5px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.idea-filters a:hover,.idea-filters a.is-active { border-color: var(--civicos-yellow); background: var(--civicos-yellow); color: var(--civicos-ink); }
.ideas-grid-wrap { padding-top: 32px; }
.ideas-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.idea-card { min-height: 265px; overflow: hidden; }
.idea-card--featured { grid-column: span 2; min-height: 390px; }
.idea-card__link { height: 100%; display: flex; flex-direction: column; }
.idea-card__image { height: 190px; overflow: hidden; background: rgba(0,0,0,.18); }
.idea-card--featured .idea-card__image { height: 220px; }
.idea-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: multiply; opacity: .7; }
.idea-card__body { flex: 1; padding: 28px 25px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.idea-card--featured .idea-card__body { padding: 38px 36px; }
.idea-card__meta { margin: 0 0 13px; font-size: 8px; font-weight: 800; letter-spacing: .16em; opacity: .5; }
.idea-card h2 { margin: 0; font-size: clamp(19px,2vw,29px); line-height: 1.02; letter-spacing: -.03em; font-weight: 900; text-transform: uppercase; }
.idea-card--featured h2 { max-width: 780px; font-size: clamp(28px,3.3vw,48px); }
.idea-card__excerpt { max-width: 680px; margin: 18px 0 0; font-size: 13px; line-height: 1.6; opacity: .7; }
.idea-card__footer { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; font-size: 11px; opacity: .7; }
.idea-card__footer strong { font-size: 9px; letter-spacing: .13em; }
.idea-card--red { background: var(--civicos-red); color: var(--civicos-ivory); }
.idea-card--blue { background: var(--civicos-blue); color: var(--civicos-ivory); }
.idea-card--green { background: var(--civicos-green); color: var(--civicos-ivory); }
.idea-card--violet { background: #2828DF; color: var(--civicos-ivory); }
.idea-card--yellow { background: var(--civicos-yellow); color: var(--civicos-ink); }
.civicos-pagination { margin-top: 34px; color: white; }
.civicos-pagination .nav-links { display: flex; gap: 8px; }
.civicos-pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); }
.civicos-pagination .current { background: var(--civicos-yellow); color: var(--civicos-ink); border-color: var(--civicos-yellow); }
.empty-state { padding: 70px 0; color: white; }
.empty-state h2 { margin: 12px 0; font-size: clamp(30px,4vw,56px); line-height: .95; }
.idea-single__header { padding: 82px 0 72px; }
.idea-single__header h1 { margin: 20px 0 24px; color: white; font-size: clamp(44px,6.5vw,88px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.idea-single__dek { max-width: 720px; color: rgba(255,255,255,.64); font-size: 18px; line-height: 1.65; }
.idea-single__byline { margin-top: 34px; display: flex; gap: 13px; align-items: center; }
.idea-single__byline img { border-radius: 50%; }
.idea-single__byline span,.idea-single__byline a { display: block; }
.idea-single__byline span { color: rgba(255,255,255,.38); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.idea-single__byline a { margin-top: 3px; color: white; font-weight: 800; }
.idea-single__hero-image { margin-top: 50px; }
.idea-single__hero-image img { width: 100%; max-height: 720px; object-fit: cover; }
.idea-single__content { padding-top: 58px; padding-bottom: 90px; }

/* ── AUTORES ────────────────────────────────────────────── */
.authors-page { min-height: 70vh; padding: 72px 0 90px; }
.authors-page__header { max-width: 900px; margin-bottom: 46px; }
.authors-page__header h1,.author-profile h1 { margin: 14px 0 20px; color: white; font-size: clamp(58px,7vw,98px); line-height: .88; letter-spacing: -.055em; font-weight: 900; }
.authors-page__header > p:last-child { max-width: 690px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.7; }
.authors-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.author-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.author-card__photo { height: 340px; overflow: hidden; background: #020a13; }
.author-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(8%); }
.author-card__body { padding: 25px; color: white; }
.author-card h2 { margin: 10px 0 12px; font-size: 24px; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.author-card__body > p:not(.eyebrow) { min-height: 58px; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; }
.author-card__body > span { display: block; margin-top: 22px; color: var(--civicos-yellow); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.author-profile { padding: 72px 0; }
.author-profile__grid { display: grid; grid-template-columns: minmax(280px,.72fr) 1.28fr; gap: 70px; align-items: center; }
.author-profile__photo { max-height: 620px; overflow: hidden; }
.author-profile__photo img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.author-profile__bio { max-width: 720px; color: rgba(255,255,255,.64); font-size: 17px; line-height: 1.7; }
.author-profile__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.author-profile__links a { padding: 8px 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: white; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.author-ideas { padding: 76px 0 90px; background: var(--civicos-ivory); }
.author-ideas h2 { margin: 12px 0 38px; font-size: clamp(30px,4vw,56px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.author-ideas__list { border-bottom: 1px solid rgba(11,19,32,.14); }
.author-idea-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(11,19,32,.14); }
.author-idea-row span { font-size: 9px; font-weight: 800; letter-spacing: .12em; opacity: .42; }
.author-idea-row strong { text-transform: uppercase; }
.author-idea-row em { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: var(--civicos-blue); }

@media (max-width: 980px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__image { min-height: 58vh; order: -1; }
  .about-mission__grid,.about-territory__grid,.author-profile__grid { grid-template-columns: 1fr; }
  .values-grid,.authors-grid { grid-template-columns: repeat(2,1fr); }
  .ideas-grid { grid-template-columns: repeat(2,1fr); }
  .idea-card--featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .about-hero__copy { padding: 50px 24px; }
  .about-stats { gap: 12px; }
  .values-grid,.authors-grid,.ideas-grid { grid-template-columns: 1fr; }
  .idea-card--featured { grid-column: auto; }
  .ideas-archive__title-row { align-items: flex-start; flex-direction: column; }
  .author-card__photo { height: 320px; }
  .author-idea-row { grid-template-columns: 1fr; gap: 6px; }
}
