/* GP Consulting · estilos del sitio
   Colores institucionales (manual de identidad v1.0):
   #192842 azul institucional · #375A7F azul medio · #96B8CD celeste */

:root {
  --navy: #192842;
  --navy-deep: #111c30;
  --blue: #375a7f;
  --sky: #96b8cd;
  --sky-soft: #edf3f7;
  --ice: #f5f8fa;
  --white: #ffffff;
  --ink: #16202e;
  --muted: #56657a;
  --line: #dde5ec;
  --ok: #1f7a55;
  --error: #b3261e;
  --max: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 99; padding: .6rem 1rem; background: var(--navy); color: var(--white); }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { width: 190px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { text-decoration: none; font-size: .88rem; font-weight: 650; color: #34465e; padding: .3rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--sky); }
.main-nav .nav-cta { color: var(--white); background: var(--navy); padding: .7rem 1.15rem; border: 0; }
.main-nav .nav-cta:hover { color: var(--white); background: var(--blue); }
.main-nav .nav-cta[aria-current="page"] { background: var(--blue); }
.menu-button { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Tipografía ---------- */
.eyebrow, .section-index {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--sky); }
h1, h2, h3 { margin-top: 0; line-height: 1.1; color: var(--navy); }
h1 { margin-bottom: 1.4rem; font-size: clamp(2.6rem, 5vw, 4.9rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); letter-spacing: -.035em; margin-bottom: 1.2rem; }
h3 { font-size: 1.4rem; letter-spacing: -.015em; margin-bottom: .7rem; }
h3.subhead { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.3rem;
  text-decoration: none; font-weight: 750; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button.primary { color: var(--white); background: var(--navy); }
.button.primary:hover { background: var(--blue); }
.button.secondary { color: var(--navy); background: transparent; border-color: var(--navy); }
.button.secondary:hover { background: var(--navy); color: var(--white); }
.button.white { color: var(--navy); background: var(--white); }
.button.white:hover { background: var(--sky-soft); }
.button.outline-light { color: var(--white); border-color: rgba(255,255,255,.6); }
.button.outline-light:hover { background: rgba(255,255,255,.1); }
.text-link { color: var(--blue); font-weight: 750; text-decoration: none; }
.text-link span { display: inline-block; margin-left: .35rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-top: 2rem; }

/* ---------- Hero de Inicio ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ice); }
.hero-copy { padding: 4rem 4rem 3.5rem; }
.hero-copy .lead + p { color: var(--muted); max-width: 600px; }
.hero-copy h1 { font-size: clamp(2.3rem, 4vw, 3.9rem); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.6rem; padding: .45rem .9rem .45rem .5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 99px;
  font-size: .82rem; font-weight: 700; color: var(--navy);
}
.hero-badge .flag { display: inline-grid; grid-template-rows: 1fr 1fr 1fr; width: 22px; height: 15px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.hero-badge .flag i:nth-child(1) { background: #d52b1e; }
.hero-badge .flag i:nth-child(2) { background: #fff; }
.hero-badge .flag i:nth-child(3) { background: #0038a8; }
.hero-visual { position: relative; overflow: hidden; min-height: 560px; background: linear-gradient(155deg, #dfeaf1 0%, var(--sky) 55%, var(--blue) 100%); }
.hero-visual .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-visual .hero-photo.portrait { object-position: 50% 12%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,40,66,.15) 0%, rgba(25,40,66,.1) 40%, rgba(25,40,66,.88) 100%); }
.hero-mark { position: absolute; z-index: 2; top: 2rem; right: 2rem; width: 96px; padding: 14px; background: var(--navy); border-radius: 16px; box-shadow: 0 18px 45px rgba(17,28,48,.25); }
.hero-name { position: absolute; z-index: 2; left: 2.2rem; right: 2.2rem; bottom: 2.2rem; margin: 0; padding-left: 1rem; border-left: 3px solid var(--sky); color: var(--white); line-height: 1.3; }
.hero-name strong { display: block; font-size: 1.6rem; letter-spacing: -.02em; }
.hero-name span { display: block; margin-top: .25rem; font-weight: 700; color: var(--sky); font-size: .95rem; }
.hero-name small { display: block; margin-top: .2rem; font-size: .85rem; opacity: .85; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { background: var(--ice); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding: 5rem 0 4.5rem; display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; }
.page-hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); margin-bottom: 1rem; }
.page-hero .lead { margin: 0; }
.page-hero aside { border-left: 3px solid var(--sky); padding-left: 1.4rem; color: var(--muted); }
.page-hero.dark { background: var(--navy); border: 0; }
.page-hero.dark h1 { color: var(--white); }
.page-hero.dark .lead, .page-hero.dark aside { color: #c3d3e0; }

/* ---------- Secciones ---------- */
.section { padding: 6.5rem 0; }
.section.tight { padding: 4.5rem 0; }
.section.alt { background: var(--ice); }
.section.navy { background: var(--navy); color: #c9d7e3; }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section.navy .section-heading p:not(.eyebrow) { color: #c9d7e3; }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: end; }
.section-heading.split > p { color: var(--muted); margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.two-col.wide-left { grid-template-columns: 1.15fr .85fr; }
.intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.intro-grid p { color: var(--muted); font-size: 1.1rem; max-width: 720px; }
.intro-grid p strong { color: var(--navy); }

/* Tarjetas de pilares */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar-card { background: var(--white); display: flex; flex-direction: column; }
.pillar-img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.pillar-body { flex: 1; display: flex; flex-direction: column; padding: 2rem 2.2rem 2.2rem; }
.pillar-card.featured { background: var(--sky-soft); }
.pillar-card.dark { background: var(--navy); color: #c9d7e3; }
.pillar-card.dark h3, .pillar-card.dark .text-link { color: var(--white); }
.pillar-card h3 { margin-top: 0; }
.pillar-card p { color: var(--muted); }
.pillar-card.dark p { color: #b4c6d6; }
.pillar-card .text-link { margin-top: auto; }

/* Destacados Educación / Programas en Inicio */
.feature-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 460px; padding: 2.6rem; text-decoration: none; color: var(--white); background: var(--navy);
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: transform .5s ease, opacity .3s ease; }
.feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,40,66,.2), rgba(25,40,66,.95) 75%); z-index: 1; }
.feature > *:not(img) { position: relative; z-index: 2; }
.feature:hover img { transform: scale(1.04); opacity: .45; }
.feature .eyebrow { color: var(--sky); }
.feature h3 { margin-top: auto; color: var(--white); font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.feature p { color: #d3dee8; max-width: 460px; }
.feature ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.feature li { font-size: .8rem; font-weight: 650; padding: .3rem .7rem; border: 1px solid rgba(150,184,205,.55); color: #e3ecf3; }
.feature .go { font-weight: 750; color: var(--white); }
.feature.light { background: var(--sky-soft); color: var(--ink); }
.feature.light::before { background: linear-gradient(180deg, rgba(237,243,247,.3), rgba(237,243,247,.97) 70%); }
.feature.light img { opacity: .5; }
.feature.light .eyebrow { color: var(--blue); }
.feature.light h3 { color: var(--navy); }
.feature.light p { color: var(--muted); }
.feature.light li { color: var(--navy); border-color: var(--sky); background: rgba(255,255,255,.6); }
.feature.light .go { color: var(--navy); }

/* Públicos */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience {
  padding: 1.6rem 1.6rem 1.5rem; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .35rem;
}
.audience .icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: .6rem; background: var(--sky-soft); color: var(--navy); }
.audience .icon svg { width: 24px; height: 24px; }
.audience h3 { font-size: 1.12rem; margin: 0; }
.audience p { margin: 0; color: var(--muted); font-size: .95rem; }
.section.navy .audience { background: rgba(255,255,255,.04); border-color: rgba(150,184,205,.25); }
.section.navy .audience .icon { background: rgba(150,184,205,.16); color: var(--sky); }
.section.navy .audience p { color: #b4c6d6; }

/* Foto con texto */
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo.tall img { aspect-ratio: 4/5; }
.photo.wide img { aspect-ratio: auto; height: auto; }
.photo figcaption { margin-top: .7rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.check-list { padding: 0; margin: 1.5rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { padding: .85rem 0 .85rem 1.8rem; border-bottom: 1px solid var(--line); font-weight: 600; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 10px; height: 10px; background: var(--sky); }
.section.navy .check-list, .section.navy .check-list li { border-color: rgba(150,184,205,.25); }

/* Bio del fundador (foto pequeña y discreta) */
.bio { display: grid; grid-template-columns: 200px 1fr; gap: 3.5rem; align-items: center; max-width: 940px; }
.bio-photo { position: relative; margin: 0 14px 14px 0; }
.bio-photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0;
  border-radius: 18px; background: linear-gradient(145deg, var(--sky), var(--blue));
}
.bio-photo > img {
  position: relative; z-index: 1; display: block;
  width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 18px; box-shadow: 0 18px 40px rgba(25,40,66,.18);
}
.bio-badge {
  position: absolute; z-index: 2; left: -14px; bottom: 22px;
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--navy); border-radius: 50%; border: 3px solid var(--white);
  box-shadow: 0 8px 20px rgba(25,40,66,.25);
}
.bio-badge img { width: 28px; height: auto; }
.section.alt .bio-badge { border-color: var(--ice); }
.bio-text h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: .2rem; }
.bio-text .role { color: var(--blue); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin: 0 0 1.2rem; }
.bio-text p:not(.eyebrow):not(.role) { color: var(--muted); }

/* Valores, misión */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv { padding: 2.4rem; background: var(--white); border-top: 4px solid var(--navy); }
.mv:nth-child(2) { border-top-color: var(--sky); }
.mv p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1.5rem; }
.values div { background: var(--white); padding: 1.4rem 1.6rem; font-weight: 750; color: var(--navy); display: flex; align-items: center; gap: .8rem; }
.values span { color: var(--blue); font-size: .75rem; letter-spacing: .12em; }

/* Galería de actividades (3-4 fotos) */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1rem; }
.activity-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--sky-soft); }
.activity-grid img { width: 100%; height: 100%; object-fit: cover; }
.activity-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; color: var(--white); font-size: .82rem; font-weight: 650; background: linear-gradient(180deg, transparent, rgba(17,28,48,.85)); }

/* Última conferencia: enlaces a videos y publicaciones */
.cicea-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; margin-bottom: 1rem; }
.cicea-gallery figure { margin: 0; overflow: hidden; background: rgba(255,255,255,.04); }
.cicea-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.cicea-gallery img { width: 100%; height: 100%; object-fit: cover; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.media-card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem;
  text-decoration: none; color: #b4c6d6;
  background: rgba(255,255,255,.04); border: 1px solid rgba(150,184,205,.25);
  transition: background .2s ease, border-color .2s ease;
}
.media-card:hover { background: rgba(255,255,255,.08); border-color: var(--sky); }
.media-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: .6rem; background: rgba(150,184,205,.16); color: var(--sky); }
.media-icon svg { width: 24px; height: 24px; }
.media-kind { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.media-card strong { color: var(--white); font-size: 1.1rem; line-height: 1.25; }
.media-source { font-size: .88rem; }
.media-cta { margin-top: auto; padding-top: .8rem; color: var(--white); font-weight: 750; font-size: .9rem; }

/* Educación financiera: módulos temáticos */
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.topic { padding: 2.4rem; border: 1px solid var(--line); background: var(--white); }
.topic header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.topic header .icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--sky); }
.topic header .icon svg { width: 26px; height: 26px; }
.topic h3 { margin: 0; }
.topic ul { padding: 0; margin: 0; list-style: none; }
.topic li { padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink); }
.quote-band { padding: 3rem; background: var(--sky-soft); border-left: 4px solid var(--navy); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; color: var(--navy); line-height: 1.35; letter-spacing: -.01em; }

/* Programas */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.program { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); background: var(--white); transition: border-color .2s ease, transform .2s ease; }
.program:hover { border-color: var(--sky); transform: translateY(-2px); }
.program-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1.6rem; background: var(--sky-soft); color: var(--navy); }
.program-icon svg { width: 26px; height: 26px; }
.program h3 { font-size: 1.25rem; }
.program p { color: var(--muted); margin: 0 0 1.4rem; }
.program .formats { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; }
.program .formats span { font-size: .74rem; font-weight: 700; padding: .25rem .6rem; background: var(--sky-soft); color: var(--navy); }
.program.highlight { background: var(--navy); border-color: var(--navy); }
.program.highlight h3 { color: var(--white); }
.program.highlight p { color: #c3d3e0; }
.program.highlight .program-icon { background: rgba(150,184,205,.18); color: var(--sky); }
.program.highlight .formats span { background: rgba(150,184,205,.18); color: #e3ecf3; }
.formats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(150,184,205,.25); border: 1px solid rgba(150,184,205,.25); }
.formats-row div { padding: 1.6rem; background: var(--navy); }
.formats-row strong { display: block; color: var(--white); font-size: 1.1rem; margin-bottom: .25rem; }
.formats-row small { color: #b4c6d6; font-size: .9rem; }

/* Market Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.insight-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: border-color .2s ease; }
.insight-card:hover { border-color: var(--sky); }
.insight-card .cover { aspect-ratio: 16/9; background: linear-gradient(145deg, var(--navy), var(--blue)); position: relative; overflow: hidden; }
.insight-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.insight-card .cover .mark { position: absolute; left: 50%; top: 50%; width: 72px; height: auto; transform: translate(-50%, -50%); opacity: .85; }
.insight-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.insight-card h3 { font-size: 1.2rem; margin: .5rem 0; }
.insight-card p { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.insight-card .card-byline { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; font-size: .8rem; color: var(--muted); }
.insight-card .card-byline .author { color: var(--navy); font-weight: 750; font-size: .85rem; }
.insight-card .meta { margin-top: .9rem; font-size: .85rem; font-weight: 750; color: var(--blue); }
.articles-page { padding-top: 3.5rem; }
.articles-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 2rem; }
.articles-head h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.articles-head .filters { margin: 0; }
.load-more { justify-content: center; margin-top: 2.5rem; }
.load-more[hidden] { display: none; }
.empty-note { grid-column: 1 / -1; margin: 0; padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.tag { display: inline-block; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { font: inherit; font-size: .85rem; font-weight: 650; padding: .5rem .95rem; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.disclaimer-box { display: flex; gap: 1rem; padding: 1.4rem 1.6rem; background: var(--sky-soft); border-left: 4px solid var(--blue); color: var(--navy); font-size: .95rem; }
.disclaimer-box strong { white-space: nowrap; }

/* Artículo (formato editorial) */
.post { padding: 3.5rem 0 5rem; }
.post-narrow { max-width: 720px; }
.post .back { display: block; width: fit-content; margin-bottom: 2.2rem; font-size: .9rem; }
.post-head h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: .8rem 0 1.2rem; }
.post-dek { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.8rem; }
.post-byline { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.post-byline strong { color: var(--navy); }
.post-cover { max-width: 1080px; margin: 2.8rem auto 3rem; }
.post-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.post-cover figcaption, .post-figure figcaption, .post-body > figure figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.post-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; line-height: 1.8; color: #243247; }
.post-body > p { margin: 0 0 1.5rem; }
.post-body > p:first-child::first-letter { float: left; font-size: 4.2rem; line-height: .85; padding: .35rem .6rem 0 0; color: var(--navy); font-weight: 700; }
.post-body h2 { font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.post-figure, .post-body > figure { margin: 2.5rem 0; }
.post-figure img, .post-body > figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-figure figcaption, .post-body > figure figcaption { font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; border-left: 3px solid var(--sky); padding-left: .8rem; }
.post-quote, .post-body > blockquote { margin: 2.5rem 0; padding: 0 0 0 1.6rem; border-left: 4px solid var(--navy); }
.post-quote p, .post-body > blockquote p { margin: 0; font-size: 1.7rem; line-height: 1.35; font-style: italic; color: var(--navy); }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 3rem 0 1.5rem; font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: .85rem; }
.post-share span { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-size: .72rem; margin-right: .4rem; }
.post-share a { padding: .45rem .9rem; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 650; }
.post-share a:hover { border-color: var(--sky); }
.post-body h3 { font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 1.3rem; margin: 2rem 0 .8rem; }
.post-body a:not(.button) { color: var(--blue); text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.post-body li { margin-bottom: .5rem; }
.post-body > figure { margin: 2.5rem 0; }
.post-body > figure img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.post-body > figure figcaption { margin-top: .7rem; font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: .85rem; color: var(--muted); border-left: 3px solid var(--sky); padding-left: .8rem; }
.post-body > blockquote { margin: 2.5rem 0; padding: 0 0 0 1.6rem; border-left: 4px solid var(--navy); }
.post-body > blockquote p, .post-body > blockquote { font-size: 1.7rem; line-height: 1.35; font-style: italic; color: var(--navy); }
.post-body > blockquote p { margin: 0; }
.post-attachment { margin: 2rem 0 0; font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
.post-body .disclaimer-box { font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: .92rem; line-height: 1.6; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.contact-list { list-style: none; margin: 2rem 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; text-decoration: none; }
.contact-list .icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--white); }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.contact-list strong { color: var(--navy); word-break: break-word; }
.contact-photo img { aspect-ratio: 3/2; object-fit: cover; width: 100%; object-position: 50% 25%; }
.form-card { padding: 2.6rem; background: var(--ice); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid #c6d3de; background: var(--white); border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sky); border-color: var(--blue); }
.field .error-msg { color: var(--error); font-size: .82rem; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.consent { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: .25rem; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; padding: 1rem 1.2rem; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f4ee; color: var(--ok); border-left: 4px solid var(--ok); }
.form-status.err { display: block; background: #fbeceb; color: var(--error); border-left: 4px solid var(--error); }

/* Cierre / llamado */
.closing { position: relative; overflow: hidden; padding: 6.5rem var(--gutter); color: #dbe6ef; background: var(--blue); text-align: center; }
.closing-mark { position: absolute; top: 50%; left: 5vw; width: 180px; opacity: .1; transform: translateY(-50%); }
.closing > *:not(.closing-mark) { position: relative; z-index: 1; }
.closing h2 { max-width: 860px; margin-inline: auto; color: var(--white); }
.closing p:not(.eyebrow) { max-width: 660px; margin: 0 auto; }
.closing .actions { justify-content: center; }

/* Pie de página */
.site-footer { background: var(--navy-deep); color: #9fb2c4; font-size: .9rem; }
.footer-top { padding: 4rem 0 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-top img { width: 200px; margin-bottom: 1.2rem; }
.footer-top h4 { margin: 0 0 1rem; color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-top a { text-decoration: none; color: #c7d4e0; }
.footer-top a:hover { color: var(--white); }
.footer-bottom { padding: 1.6rem 0 2rem; border-top: 1px solid rgba(150,184,205,.18); display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; font-size: .8rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c7d4e0; }
.footer-bottom .credit { grid-column: 1 / -1; font-size: .72rem; opacity: .7; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: var(--white);
  box-shadow: 0 10px 30px rgba(17,28,48,.25);
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }

/* Aviso de versión preliminar */
.preview-bar { background: var(--sky); color: var(--navy); text-align: center; font-size: .8rem; font-weight: 650; padding: .45rem var(--gutter); }

/* Texto legal */
.legal { max-width: 780px; margin-inline: auto; padding: 4rem 0 6rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal p, .legal li { color: #34465e; }
.draft-note { padding: 1rem 1.2rem; background: #fff6e0; border-left: 4px solid #d9a300; color: #6b5200; font-size: .92rem; }
.draft-note p { margin: 0 0 .4rem; }
.draft-note p:last-child { margin-bottom: 0; }
.legal mark { background: #fff1b8; color: inherit; padding: 0 .2em; }
.legal-date { color: var(--muted); font-size: .9rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal code { font-size: .88em; background: #eef3f7; padding: .05em .35em; border-radius: 4px; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin: 1rem 0; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.legal-table th, .legal-table td { padding: .6rem .7rem; border-bottom: 1px solid #dde5ec; text-align: left; vertical-align: top; color: #34465e; }
.legal-table code { white-space: nowrap; overflow-wrap: normal; }
.legal-table th { color: var(--navy); background: #f3f6f9; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 1.1rem; }
  .main-nav a { font-size: .82rem; }
  .brand img { width: 160px; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .header-inner { height: 70px; }
  .brand img { width: 150px; }
  .menu-button { display: block; }
  .main-nav {
    position: absolute; top: 70px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.2rem; background: var(--white);
    box-shadow: 0 18px 40px rgba(17,28,48,.15);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .95rem .2rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--sky); padding-left: .8rem; }
  .main-nav .nav-cta { margin-top: 1rem; text-align: center; padding: .95rem; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem var(--gutter) 3rem; }
  .hero-visual { min-height: 440px; order: -1; }
  .hero-mark { width: 72px; padding: 10px; top: 1.2rem; right: 1.2rem; border-radius: 12px; }
  .hero-name { left: var(--gutter); right: var(--gutter); bottom: 1.5rem; }
  .hero-name strong { font-size: 1.35rem; }

  .page-hero .wrap { padding: 3.5rem 0 3rem; grid-template-columns: 1fr; gap: 1.5rem; }

  .section { padding: 4.5rem 0; }
  .section.tight { padding: 3.5rem 0; }
  .section-heading { margin-bottom: 2rem; }
  .section-heading.split, .two-col, .two-col.wide-left, .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillar-grid, .feature-duo, .audience-grid, .mv-grid, .topic-grid, .program-grid, .insight-grid { grid-template-columns: 1fr; }
  .pillar-body { padding: 1.6rem; }
  .pillar-card .text-link { margin-top: 1rem; }
  .feature { min-height: 400px; padding: 1.8rem; }
  .values { grid-template-columns: 1fr 1fr; }
  .formats-row { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; gap: 2rem; }
  .bio-photo { width: 150px; }
  .bio-photo::before { inset: 10px -10px -10px 10px; border-radius: 14px; }
  .bio-photo > img { border-radius: 14px; }
  .bio-badge { width: 40px; height: 40px; left: -10px; bottom: 16px; }
  .bio-badge img { width: 22px; }
  .activity-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .articles-page { padding-top: 2.2rem; }
  .articles-head .filters { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .articles-head .filters::-webkit-scrollbar { display: none; }
  .articles-head .filters button { white-space: nowrap; flex: none; }
  .cicea-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .topic, .mv { padding: 1.8rem; }
  .quote-band { padding: 1.8rem; }
  .form-card { padding: 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .closing { padding: 4.5rem var(--gutter); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { grid-template-columns: 1fr; padding-bottom: 5.5rem; }
  .disclaimer-box { flex-direction: column; gap: .3rem; }
  .post { padding-top: 2.2rem; }
  .post-dek { font-size: 1.15rem; }
  .post-cover { margin: 2rem auto; width: 100%; }
  .post-cover figcaption { padding-inline: var(--gutter); }
  .post-cover img { aspect-ratio: 4/3; }
  .post-body { font-size: 1.1rem; }
  .post-quote p, .post-body > blockquote, .post-body > blockquote p { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .values, .formats-row, .media-grid { grid-template-columns: 1fr; }
  .activity-grid { grid-auto-rows: 160px; }
  .actions .button { width: 100%; }
}

/* Aviso de cookies (assets/js/cookies.js) */
.cookie-box {
  position: fixed; z-index: 60; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  max-width: 560px; margin-left: auto; padding: 1.4rem 1.5rem;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(17, 28, 48, .22); font-size: .92rem; line-height: 1.55;
}
.cookie-box .cookie-title { margin: 0 0 .4rem; font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.cookie-box p { margin: 0 0 1rem; }
.cookie-options { display: none; margin: 0 0 1rem; border-top: 1px solid var(--line); }
.cookie-box.is-config .cookie-options { display: block; }
.cookie-option { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie-option input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.cookie-option strong { display: block; color: var(--navy); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .button { flex: 1 1 auto; min-height: 44px; padding: .6rem 1rem; font-size: .9rem; }
.cookie-box [data-cookie="guardar"] { display: none; }
.cookie-box.is-config [data-cookie="guardar"] { display: inline-flex; }
.cookie-box.is-config [data-cookie="configurar"] { display: none; }
body.cookie-open .wa-float { display: none; }
@media (max-width: 560px) {
  .cookie-box { left: 0; right: 0; bottom: 0; max-height: 85vh; overflow-y: auto; padding: 1.2rem var(--gutter) 1.4rem; }
  .cookie-actions .button { flex-basis: calc(50% - .25rem); }
  .cookie-actions .button.secondary { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
