/* ============================================================
   FUMCOLO — Fundación Mundo Activo Colombia
   Paleta institucional basada en el logo
   ============================================================ */
:root {
  --navy: #141c52;
  --navy-dark: #0d1338;
  --blue: #1b5faa;
  --yellow: #f7b500;
  --ink: #1d2333;
  --muted: #5b6376;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-soft2: #eef2fa;
  --white: #ffffff;
  --gradient-navy: linear-gradient(135deg, var(--navy) 0%, #1f2f7a 55%, var(--blue) 100%);
  --shadow-sm: 0 4px 14px rgba(20, 28, 82, .08);
  --shadow-md: 0 12px 34px rgba(20, 28, 82, .13);
  --shadow-lg: 0 24px 60px rgba(20, 28, 82, .18);
  --radius: 18px;
  --radius-lg: 28px;
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--navy); }
.container { width: 92%; max-width: 1180px; margin-inline: auto; }
.section { padding: 96px 0; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

svg { width: 1em; height: 1em; fill: currentColor; }
.icon { display: inline-block; vertical-align: middle; }

/* ---------- Eyebrow / encabezados de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 34px; height: 4px; border-radius: 4px; background: var(--yellow); }
.eyebrow.light { color: #cdd7ff; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::after { content: ''; width: 34px; height: 4px; border-radius: 4px; background: var(--yellow); }
.section-header h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-header p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.section-more { text-align: center; margin-top: 44px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: var(--yellow); color: var(--navy);
  box-shadow: 0 10px 26px rgba(247, 181, 0, .35);
}
.btn-primary:hover { background: #e3a600; box-shadow: 0 16px 34px rgba(247, 181, 0, .45); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: #cdd4f0; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-contact a, .topbar-city { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 14px; height: 14px; fill: var(--yellow); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.09); transition: background .2s ease, transform .2s ease;
}
.topbar-social a:hover { background: var(--blue); transform: translateY(-2px); }
.topbar-social svg { width: 13px; height: 13px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(20,28,82,.07);
  transition: transform .35s ease, box-shadow .3s ease;
  will-change: transform;
}
.navbar.nav-hidden { transform: translateY(-110%); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink);
  padding: 10px 15px; border-radius: 999px; transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--blue); background: var(--bg-soft); }
.nav-links .nav-cta {
  background: var(--yellow); color: var(--navy); margin-left: 8px; padding: 11px 24px;
  box-shadow: 0 8px 20px rgba(247, 181, 0, .3);
}
.nav-links .nav-cta:hover { color: var(--navy); transform: translateY(-2px); background: #e3a600; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; background: var(--navy-dark); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: var(--gradient-navy); background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,19,56,.93) 20%, rgba(13,19,56,.72) 55%, rgba(20,28,82,.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 120px 0; }
.hero-badge {
  display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #dbe4ff;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 18px;
  margin-bottom: 26px; backdrop-filter: blur(6px); background: rgba(255,255,255,.06);
  animation: heroUp .8s ease both .1s;
}
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.01em;
  animation: heroUp .8s ease both .25s;
}
.hero h1 span {
  display: inline-block;
  color: var(--yellow);
}
.hero-sub {
  color: #d5ddf7; font-size: clamp(1.02rem, 1.6vw, 1.25rem); margin: 22px 0 36px; max-width: 620px;
  animation: heroUp .8s ease both .4s;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: heroUp .8s ease both .55s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero-slide.active .hero-content > * { animation-play-state: running; }

.hero-emblem {
  position: absolute; right: 6%; bottom: 12%; z-index: 1; width: min(300px, 26vw);
  opacity: .16; filter: saturate(1.2); pointer-events: none;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-26px) rotate(4deg); } }

.hero-dots { position: absolute; z-index: 3; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot {
  width: 12px; height: 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: all .3s ease;
}
.hero-dot.active { width: 34px; background: var(--yellow); }

.hero-scroll {
  position: absolute; z-index: 3; bottom: 30px; right: 6%;
  width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll span { width: 4px; height: 9px; border-radius: 4px; background: #fff; animation: scrollHint 1.6s ease infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Cifras ---------- */
.stats { background: var(--gradient-navy); padding: 54px 0; position: relative; }
.stats::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--yellow); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 30px; }
.stat { text-align: center; color: #fff; }
.stat-icon { display: block; margin-bottom: 8px; color: var(--yellow); }
.stat-icon .icon { width: 34px; height: 34px; }
.stat-number, .stat-suffix {
  font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800;
  color: var(--yellow);
}
.stat-label { display: block; color: #c3cdf3; font-size: .92rem; margin-top: 4px; }

/* ---------- Quiénes somos ---------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media > img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover;
  aspect-ratio: 4/4.4; background: #fff;
}
.about-media::before {
  content: ''; position: absolute; inset: -22px auto auto -22px; width: 130px; height: 130px;
  border-radius: 30px; background: var(--yellow); opacity: .25; z-index: -1;
}
.about-badge {
  position: absolute; right: -16px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 20px; box-shadow: var(--shadow-md);
}
.about-badge img { width: 46px; height: 46px; object-fit: contain; }
.about-badge strong { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1.05rem; }
.about-badge span { color: var(--muted); font-size: .8rem; }
.about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-text p:first-of-type::first-letter {
  font-family: var(--font-head); font-size: 2.6em; font-weight: 800; color: var(--blue);
  float: left; line-height: .9; padding-right: 10px;
}

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 76px; }
.mv-card {
  background: var(--bg-soft); border-radius: var(--radius-lg); padding: 42px 38px;
  border: 1px solid #e7ecf7; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; }
.mv-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--yellow); }
.mv-icon { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 20px; margin-bottom: 20px; background: rgba(20, 28, 82, .07); color: var(--navy); }
.mv-icon .icon { width: 34px; height: 34px; }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { color: var(--muted); font-size: .97rem; margin-bottom: 10px; }

.principios { margin-top: 60px; text-align: center; }
.principios h3 { font-size: 1.3rem; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  background: #fff; border: 1.5px solid #dfe6f5; color: var(--navy);
  padding: 10px 22px; border-radius: 999px; transition: all .25s ease; cursor: default;
}
.chip:hover { background: var(--navy); color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.chip-active, .chip.chip-active { background: var(--navy); color: #fff; border-color: transparent; }

/* ---------- Propósito ---------- */
.purpose {
  background: var(--gradient-navy); position: relative; overflow: hidden; padding: 96px 0; text-align: center;
}
.purpose::before, .purpose::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(4px); opacity: .18;
}
.purpose::before { width: 420px; height: 420px; background: var(--blue); top: -180px; left: -120px; }
.purpose::after { width: 360px; height: 360px; background: var(--yellow); bottom: -170px; right: -100px; opacity: .12; }
.purpose-inner { position: relative; max-width: 820px; }
.purpose-inner h2 {
  color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 22px;
}
.purpose-inner p { color: #ccd5f5; font-size: 1.06rem; margin-bottom: 12px; }

/* ---------- Programas ---------- */
.programs { background: var(--bg-soft); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px; }
.program-card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--navy);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.program-card::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--navy); opacity: .05; transition: transform .4s ease;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-top-color: var(--yellow); }
.program-card:hover::after { transform: scale(1.6); }
.program-icon {
  width: 68px; height: 68px; display: grid; place-items: center;
  border-radius: 18px; margin-bottom: 18px;
  background: rgba(20, 28, 82, .07); color: var(--navy);
  transition: background .3s ease, color .3s ease;
}
.program-card:hover .program-icon { background: var(--yellow); }
.program-icon .icon { width: 30px; height: 30px; }
.program-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.program-card p { color: var(--muted); font-size: .93rem; }

/* ---------- Equidad ---------- */
.equity { background: #fff; }
.equity-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.equity-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 10px; }
.equity-lead {
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 16px;
}
.equity-text > p { color: var(--muted); margin-bottom: 12px; }
.equity-how { margin: 26px 0 14px; font-size: 1.15rem; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 34px; color: var(--ink); font-size: .97rem;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow); font-size: .75rem; font-weight: 700;
}
.equity-media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: contain;
  background: radial-gradient(circle at 30% 20%, #f3f6ff, #e9eefc);
  padding: 40px;
}
.equity-media { position: relative; }
.equity-media::before {
  content: ''; position: absolute; inset: auto -22px -22px auto; width: 140px; height: 140px;
  border-radius: 32px; background: var(--yellow); opacity: .25; z-index: -1;
}

/* ---------- Valores ---------- */
.values { background: var(--bg-soft); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.value-card {
  background: #fff; border-radius: var(--radius); padding: 32px 26px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  border-bottom: 4px solid transparent;
}
.value-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-bottom-color: var(--yellow); }
.value-icon {
  display: inline-grid; place-items: center; width: 66px; height: 66px;
  border-radius: 50%; background: var(--bg-soft2); color: var(--navy); margin-bottom: 16px;
  transition: background .3s ease;
}
.value-card:hover .value-icon { background: var(--yellow); }
.value-icon .icon { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Población ---------- */
.population { background: #fff; }
.population-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.population-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border: 1px solid #e6ebf7; border-radius: 14px;
  padding: 16px 20px; font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy);
  transition: all .25s ease;
}
.population-item .icon { width: 22px; height: 22px; flex: none; color: var(--blue); transition: color .25s ease; }
.population-item:hover { background: var(--navy); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.population-item:hover .icon { color: var(--yellow); }

/* ---------- Compromiso ---------- */
.commitment { background: var(--gradient-navy); padding: 90px 0; position: relative; overflow: hidden; }
.commitment::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--yellow); }
.commitment-inner { max-width: 780px; margin-inline: auto; text-align: center; }
.commitment-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.commitment-inner p { color: #ccd5f5; margin-bottom: 12px; }
.commitment-inner blockquote {
  font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800;
  margin-top: 34px; color: #fff;
}
.commitment-inner blockquote::before { content: ''; display: block; width: 70px; height: 5px; margin: 0 auto 18px; border-radius: 5px; background: var(--yellow); }

/* ---------- Galería ---------- */
.gallery { background: var(--bg-soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: 34px 18px 14px;
  background: linear-gradient(transparent, rgba(13,19,56,.85)); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  opacity: 0; transform: translateY(8px); transition: all .3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(13,19,56,.94);
  display: grid; place-items: center; padding: 30px; cursor: zoom-out;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 86vh; border-radius: 14px; box-shadow: var(--shadow-lg); }

/* ---------- Testimonios ---------- */
.testimonials { background: #fff; overflow: hidden; }
.testimonial-slider { position: relative; max-width: 860px; margin-inline: auto; overflow: hidden; border-radius: var(--radius-lg); }
.testimonial-track { display: flex; transition: transform .6s cubic-bezier(.22,.9,.3,1); }
.testimonial-card {
  flex: 0 0 100%; padding: 46px clamp(24px, 6vw, 70px); text-align: center;
  background: var(--bg-soft); border-radius: var(--radius-lg); margin: 0 10px;
  border: 1px solid #e8edf8;
}
.testimonial-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 20px; }
.testimonial-stars svg { width: 20px; height: 20px; fill: var(--yellow); }
.testimonial-card blockquote {
  font-family: var(--font-head); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600;
  color: var(--navy); line-height: 1.55; margin-bottom: 26px;
}
.testimonial-card blockquote::before { content: '“'; display: block; font-size: 3.4rem; line-height: .6; color: var(--blue); opacity: .4; margin-bottom: 12px; }
.testimonial-card figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-card figcaption img, .testimonial-initials {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--yellow);
  background: var(--navy); font-size: 1.1rem;
}
.testimonial-card figcaption div { text-align: left; }
.testimonial-card figcaption strong { display: block; font-family: var(--font-head); color: var(--navy); }
.testimonial-card figcaption span { color: var(--muted); font-size: .85rem; }
.testimonial-nav { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.testimonial-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy); background: #fff;
  color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: all .25s ease;
}
.testimonial-nav button:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

/* ---------- Blog ---------- */
.blog-preview { background: var(--bg-soft); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.post-card-img { position: relative; display: block; aspect-ratio: 16/10; background: var(--gradient-navy); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.post-card-placeholder .icon { width: 52px; height: 52px; }
.post-card-cat {
  position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--navy);
  font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
}
.post-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-body time { color: var(--blue); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.post-card-body h3 { font-size: 1.14rem; line-height: 1.35; }
.post-card-body h3 a:hover { color: var(--blue); }
.post-card-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.post-card-link { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--blue); }
.post-card-link:hover { color: var(--navy); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 46px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 54px; color: var(--muted); font-size: .92rem; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--bg-soft2); color: var(--navy); margin-bottom: 18px; }
.empty-icon .icon { width: 40px; height: 40px; }
.empty-state h2 { margin-bottom: 8px; }

/* ---------- Página interior ---------- */
.page-hero {
  background: var(--gradient-navy); padding: 110px 0 80px; text-align: center; position: relative;
}
.page-hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--yellow); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.page-hero p { color: #c9d3f4; margin-top: 10px; }

.post-detail-hero {
  position: relative; background: var(--gradient-navy); background-size: cover; background-position: center;
  padding: 130px 0 90px;
}
.post-detail-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(13,19,56,.82), rgba(13,19,56,.9)); }
.post-detail-header { position: relative; max-width: 800px; }
.post-detail-header .post-card-cat { position: static; display: inline-block; margin-bottom: 18px; }
.post-detail-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; }
.post-meta { display: flex; gap: 12px; color: #c9d3f4; margin-top: 18px; font-size: .92rem; }
.post-detail-body { max-width: 800px; padding: 64px 0 20px; }
.post-content { font-size: 1.06rem; color: var(--ink); }
.post-content p { margin-bottom: 18px; }
.post-content h2, .post-content h3 { margin: 34px 0 14px; }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--yellow); background: var(--bg-soft); border-radius: 0 14px 14px 0;
  padding: 20px 26px; margin: 26px 0; font-style: italic; color: var(--navy);
}
.post-content img { border-radius: var(--radius); margin: 22px 0; }
.post-content a { color: var(--blue); text-decoration: underline; }
.post-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid #e6ebf7; padding: 26px 0 10px; margin-top: 20px; }
.post-share span { font-family: var(--font-head); font-weight: 700; color: var(--navy); }

/* ---------- Aliados ---------- */
.partners { background: #fff; padding: 70px 0; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px 54px; }
.partner { display: grid; place-items: center; filter: grayscale(1); opacity: .65; transition: all .3s ease; }
.partner:hover { filter: none; opacity: 1; transform: translateY(-4px); }
.partner img { max-height: 64px; width: auto; }
.partner span { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }

/* ---------- CTA ---------- */
.cta {
  background: var(--gradient-navy);
  padding: 90px 0; text-align: center; position: relative;
}
.cta::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--yellow); }
.cta-inner { max-width: 760px; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.cta-inner p { color: #c9d3f4; font-size: 1.05rem; margin-bottom: 30px; white-space: pre-line; }
.cta .btn-white { background: var(--yellow); color: var(--navy); }
.cta .btn-white:hover { background: #e3a600; }

/* ---------- Contacto ---------- */
.contact { background: var(--bg-soft); }
.form-messages { max-width: 760px; margin: 0 auto 26px; }
.alert { padding: 16px 22px; border-radius: 14px; font-weight: 600; margin-bottom: 12px; }
.alert-success { background: #e8f7df; color: #2f6b06; border: 1px solid #bfe5a5; }
.alert-error { background: #fdeaea; color: #a3151b; border: 1px solid #f3b9bc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 16px; background: rgba(20, 28, 82, .07); color: var(--navy); }
.contact-icon .icon { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: .92rem; }
.contact-card a:hover { color: var(--blue); }
.contact-whatsapp { border: 1.5px solid #c9ecd0; background: #f2fbf3; }
.contact-whatsapp h3 { color: #1d8a3c; }

.contact-form {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 38px; box-shadow: var(--shadow-md);
  display: grid; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: grid; gap: 7px; }
.form-group label { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--navy); }
.form-group input, .form-group textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  border: 1.5px solid #dfe6f4; border-radius: 12px; padding: 13px 16px; background: var(--bg-soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(27,95,170,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-map { margin-top: 44px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #b9c2e4; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 44px; padding: 76px 0 50px;
}
.footer-brand img { height: 86px; width: auto; border-radius: 12px; background: #fff; padding: 6px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; margin-bottom: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); transition: all .25s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
  color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--yellow); }
.footer-col a, .footer-col p { display: block; font-size: .9rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .84rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-slogan { color: var(--yellow); font-family: var(--font-head); font-weight: 600; }

/* ---------- Flotantes ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .25s ease; animation: pulse 2.6s ease infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%,100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  60% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
}
.back-to-top {
  position: fixed; right: 26px; bottom: 94px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: all .3s ease;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--blue); transform: translateY(-4px); }

/* ---------- Animación reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .about-grid, .equity-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-emblem { display: none; }
}
@media (max-width: 860px) {
  .section { padding: 70px 0; }
  .topbar-contact .topbar-city { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; bottom: 0; right: 0; width: min(320px, 84vw); z-index: 99;
    background: #fff; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px;
    padding: 90px 30px 40px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); visibility: hidden;
    transition: transform .4s cubic-bezier(.22,.9,.3,1), visibility .4s;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { font-size: 1.05rem; padding: 13px 18px; }
  .nav-links .nav-cta { margin: 10px 0 0; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topbar { display: none; }
  .brand img { height: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { padding: 90px 0; }
  .hero-scroll { display: none; }
  .about-badge { right: 8px; }
  .contact-form { padding: 30px 22px; }
}
