/* ============================================================
   LA CASA AZUL OPOSICIONES — main.css
   mobile-first · Inter · navy #0B1D6E / gold #C8974A
   ============================================================ */

@font-face {
  font-family: 'Cavolini';
  src: url('../fonts/cavolini.woff2') format('woff2'),
       url('../fonts/cavolini.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Inter (variable, auto-alojada — sin Google Fonts por privacidad/RGPD) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #333344; background: #fff; line-height: 1.6; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.lca-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 7.5rem);
}

/* ── TIPOGRAFÍA BASE ──────────────────────────────────────── */
.section-h2-navy {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1.2;
}
.overline-gold {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #C8974A;
  margin-bottom: .5rem;
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow .25s ease;
}
.site-nav.scrolled { box-shadow: 0 2px 16px rgba(11,29,110,.1); }
.site-nav::after {
  content: '';
  display: block;
  height: 3px;
  background: #C8974A;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: clamp(1.25rem, 5vw, 3.75rem);
}
.nav-logo img { height: 46px; width: auto; display: block; }

.nav-links {
  display: none;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: #0B1D6E;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: .7; }

.btn-inscribete {
  display: none;
  padding: .625rem 1.25rem;
  background: #0B1D6E;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background .2s;
}
.btn-inscribete:hover { background: #1A3A8F; }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0B1D6E;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #E8EDF5;
  padding: 1rem clamp(1.25rem, 5vw, 3.75rem) 1.5rem;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #0B1D6E;
  border-bottom: 1px solid #E8EDF5;
}
.nav-mobile .btn-inscribete {
  display: block;
  margin-top: 1rem;
  text-align: center;
  padding: .75rem;
  color: #fff;
  border-bottom: none;
}

@media (min-width: 900px) {
  .nav-inner      { height: 80px; }
  .nav-links      { display: flex; }
  .btn-inscribete { display: block; }
  .nav-hamburger  { display: none; }
  .nav-logo img   { height: 52px; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(180deg, #0B1D6E 0%, #1A3A8F 100%);
  overflow: hidden;
  padding-block: clamp(3rem, 5vw, 3.75rem);
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5.5vw, 5rem);
}
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 55fr 45fr;
    gap: 3rem;
  }
}

.hero-overline {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #C8974A;
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(.9375rem, 1.6vw, 1.0625rem);
  color: #8BA3E8;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  padding: .875rem 2rem;
  background: #C8974A;
  color: #ffffff;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 4px;
  transition: filter .2s;
}
.btn-hero-gold:hover { filter: brightness(1.1); }

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: .875rem 2rem;
  background: transparent;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 4px;
  transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ── HERO VISUAL ────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-img-wrap {
  position: relative;
  width: 380px;
  flex-shrink: 0;
  margin-right: 0;
}

/* Anillos: absolutamente posicionados DENTRO del wrap, detrás de la imagen */
.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 760px;
  pointer-events: none;
  z-index: 0;
}

.hero-img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 380/460;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid #C8974A;
}

@media (max-width: 767px) {
  .hero-img-wrap { width: 100%; max-width: 300px; margin-inline: auto; }
  .hero-rings { width: 480px; height: 480px; }
}

/* ════════════════════════════════════════════════════════════
   QUIÉNES SOMOS (landing block)
   ════════════════════════════════════════════════════════════ */
.section-quienes {
  background: #fff;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}
.section-quienes .section-h2-navy { margin-bottom: 2.5rem; }

.team-cols {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 300px;
}

.team-photo-wrap {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #C8974A;
  box-shadow: 0 6px 28px rgba(11,29,110,.18);
  flex-shrink: 0;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #0B1D6E;
}
.team-role {
  font-size: .9375rem;
  color: #555555;
  line-height: 1.5;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════
   NUESTRO MÉTODO (landing block)
   ════════════════════════════════════════════════════════════ */
.section-metodo {
  background: #F8F9FA;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}
.section-metodo .section-h2-navy { margin-bottom: 2.5rem; }

.steps-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px)  { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-row { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: #FAF7F2;
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #C8974A;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0B1D6E;
  line-height: 1.3;
}
.step-desc {
  font-size: .875rem;
  color: #666666;
  line-height: 1.65;
}

/* Stats bar */
.stats-bar {
  background: #0B1D6E;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2.25rem 2rem;
}

.stat {
  text-align: center;
  padding-inline: .75rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #C8974A;
  line-height: 1;
  margin-bottom: .375rem;
}
.stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════
   BLOG (landing block)
   ════════════════════════════════════════════════════════════ */
.section-blog {
  background: #fff;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}
.blog-header .section-h2-navy { margin: 0; }
.blog-cards { text-align: left; }

.btn-ghost-navy {
  display: inline-block;
  padding: .625rem 1.25rem;
  background: #F0F4FF;
  color: #0B1D6E;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s;
}
.btn-ghost-navy:hover { background: #E0E8FF; }

.blog-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .blog-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .blog-cards { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  border: 1px solid #E8EDF5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover { box-shadow: 0 4px 20px rgba(11,29,110,.1); transform: translateY(-2px); }

.blog-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #D8DDE8;
}
.blog-card-img-link { display: block; }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #D8DDE8;
}

.blog-card-body { padding: 1rem 1rem 1.25rem; }

.badge-conv  { display:inline-block; font-size:.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; padding:.25rem .625rem; border-radius:3px; margin-bottom:.5rem; background:rgba(200,151,74,.12); color:#C8974A; }
.badge-metod { display:inline-block; font-size:.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; padding:.25rem .625rem; border-radius:3px; margin-bottom:.5rem; background:rgba(42,122,110,.1); color:#2A7A6E; }
.badge-pt    { display:inline-block; font-size:.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; padding:.25rem .625rem; border-radius:3px; margin-bottom:.5rem; background:rgba(11,29,110,.08); color:#0B1D6E; }
.badge-recurs{ display:inline-block; font-size:.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; padding:.25rem .625rem; border-radius:3px; margin-bottom:.5rem; background:rgba(107,94,168,.12); color:#6B5EA8; }

.blog-card-title {
  font-size: .9375rem;
  font-weight: 700;
  color: #0B1D6E;
  line-height: 1.4;
  margin-bottom: .625rem;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: #C8974A; }
.blog-meta {
  display: flex;
  gap: .75rem;
  font-size: .75rem;
  color: #AABBCC;
  margin-bottom: .625rem;
}
.blog-read { font-size: .8125rem; font-weight: 700; color: #C8974A; }

/* ════════════════════════════════════════════════════════════
   CONVOCATORIAS (landing block)
   ════════════════════════════════════════════════════════════ */
.section-conv {
  background: #fff;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}
.section-conv .section-h2-navy { margin-bottom: 2rem; }
.conv-table { text-align: left; }

.conv-table { border: 1px solid #E8EDF5; border-radius: 6px; overflow: hidden; }

.conv-table-header {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  background: #0B1D6E;
  padding: .875rem 1.25rem;
  gap: 1rem;
}
.conv-table-header span {
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.conv-table-row {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  padding: 1rem 1.25rem;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid #E8EDF5;
}
.conv-table-row span {
  font-size: .9375rem;
  color: #333333;
}

.conv-table-row--muted span { color: #AAAAAA; }
.conv-no { font-size: .8125rem; font-weight: 600; color: #AAAAAA; align-self: center; }

.btn-conv {
  display: inline-flex;
  justify-content: center;
  padding: .5rem 1rem;
  background: #C8974A;
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  border-radius: 4px;
  transition: filter .2s;
  white-space: nowrap;
}
.btn-conv:hover { filter: brightness(1.1); }

@media (max-width: 640px) {
  .conv-table-header,
  .conv-table-row { grid-template-columns: 1fr 1fr; }
  .conv-table-header span:last-child,
  .conv-table-row .btn-conv { grid-column: 1 / -1; }
}

/* ════════════════════════════════════════════════════════════
   INSCRIPCIÓN
   ════════════════════════════════════════════════════════════ */
.section-inscripcion {
  background: #F0F4FF;
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.inscripcion-inner {
  display: grid;
  gap: 3rem;
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .inscripcion-inner { grid-template-columns: 1fr 1fr; }
}

.inscripcion-sub {
  color: #666666;
  margin: .75rem 0 1.5rem;
  font-size: .9375rem;
}

.benefits-list { display: flex; flex-direction: column; gap: .625rem; }
.benefits-list li {
  font-size: .9375rem;
  color: #333344;
  padding-left: 1.25rem;
  position: relative;
}
.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  background: #C8974A;
  border-radius: 50%;
}

.inscripcion-form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ghl-placeholder {
  width: 100%;
  min-height: 240px;
  border: 2px dashed #C8D8F0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  color: #AAAAAA;
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
}

/* ════════════════════════════════════════════════════════════
   CONTACTO (landing block)
   ════════════════════════════════════════════════════════════ */
.section-contacto {
  background: #1A3A8F;
  padding-block: clamp(3rem, 5vw, 4rem);
}

.contacto-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.contacto-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
}

.contacto-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.75rem;
  background: #25D366;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  transition: filter .2s;
}
.btn-whatsapp:hover { filter: brightness(1.1); }
.btn-whatsapp svg { width: 1.375rem; height: 1.375rem; flex-shrink: 0; }

.contacto-email {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacto-tagline {
  font-size: .9375rem;
  color: #8BA3E8;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: #050D2E;
  padding-top: 3rem;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 7.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) {
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr; }
}

.footer-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: .875rem;
  color: #8899BB;
  line-height: 1.65;
}

.footer-col-label {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C8974A;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .875rem;
  color: #AAAAAA;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding: 1.25rem clamp(1.25rem, 6vw, 7.5rem);
  font-size: .75rem;
  color: #666677;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-legal a { color: #666677; transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE MÓVIL — correcciones de centrado
   ════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Hero: columna única centrada */
  .hero-inner { text-align: center; }
  .hero-h1 br { display: none; }
  .hero-buttons { justify-content: center; flex-direction: column; align-items: center; }
  .btn-hero-gold, .btn-hero-outline { width: 100%; max-width: 280px; justify-content: center; }

  /* Quiénes somos: ya centrado, OK */

  /* Nuestro Método: centrar steps */
  .section-metodo { text-align: center; }
  .step { align-items: center; text-align: center; }
  .step-circle { margin-inline: auto; }

  /* Stats bar */
  .stats-bar { padding: 1.5rem .75rem; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: .6875rem; }

  /* Blog: centrar cabecera en móvil */
  .blog-header { flex-direction: column; align-items: center; text-align: center; }
  .blog-cards { text-align: left; }

  /* Convocatorias: centrar título */
  .section-conv { text-align: center; }
  .conv-table { text-align: left; }

  /* Convocatorias tabla: simplificar en móvil */
  .conv-table-header { grid-template-columns: 1fr 1fr; }
  .conv-table-header span:last-child { display: none; }
  .conv-table-row { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .conv-table-row span:nth-child(3) { display: none; }
  .conv-table-row .btn-conv { grid-column: 1 / -1; }

  /* Inscripción: stack vertical y centrado */
  .inscripcion-inner { gap: 2rem; }
  .inscripcion-benefits { text-align: center; }
  .inscripcion-benefits .section-h2-navy,
  .inscripcion-sub { text-align: center; }

  /* Contacto: ya centrado */

  /* Footer: centrar columnas en móvil */
  .footer-main { text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-col ul { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .footer-legal { justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   PAGE HEADER — páginas internas
   ════════════════════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(180deg, #0B1D6E 0%, #1A3A8F 100%);
  padding-block: clamp(3rem, 5vw, 3.75rem);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.page-header-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .18;
}
.page-header-overline {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #C8974A;
  margin-bottom: 1rem;
}
.page-header h1 {
  font-size: clamp(1.875rem, 3.8vw, 3.125rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.page-header-sub {
  font-size: clamp(.9375rem, 1.4vw, 1.125rem);
  color: #8BA3E8;
  line-height: 1.6;
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════════════════
   INTRO PROVOCADORA — quiénes somos
   ════════════════════════════════════════════════════════════ */
.section-intro {
  background: #fff;
  padding-block: clamp(3.5rem, 7vw, 6.25rem);
}
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2rem, 8vw, 7.5rem);
  align-items: start;
}
.intro-quote-text {
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 700;
  color: #0B1D6E;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.intro-quote-sub {
  font-size: 1rem;
  color: #444455;
  line-height: 1.6;
}
.intro-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.intro-badge {
  background: #F0F4FF;
  border-radius: 8px;
  padding: .875rem 1.25rem;
}
.intro-badge-label {
  font-size: .875rem;
  font-weight: 700;
  color: #0B1D6E;
  margin-bottom: .25rem;
}
.intro-badge-sub {
  font-size: .75rem;
  color: #666677;
  line-height: 1.5;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   GARLAND DIVIDER
   ════════════════════════════════════════════════════════════ */
.garland-wrap {
  background: #fff;
  height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.garland-wrap svg {
  width: 100%;
  height: 60px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   EQUIPO — quiénes somos (página interna)
   ════════════════════════════════════════════════════════════ */
.section-equipo {
  background: #fff;
  padding-block: clamp(4rem, 7.5vw, 6.875rem);
}
.equipo-title {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 700;
  color: #0B1D6E;
  text-align: center;
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6.25rem);
  align-items: start;
}
.team-col-photo {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  border: 3px solid #C8974A;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin-bottom: 1.5rem;
}
.team-col-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0B1D6E;
  margin-bottom: .375rem;
}
.team-col-role {
  font-size: .8125rem;
  font-weight: 600;
  color: #C8974A;
  letter-spacing: .0625em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.team-col-bio {
  font-size: .875rem;
  color: #444455;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.team-fact-box {
  background: #FFF8E7;
  border-radius: 8px;
  padding: .625rem .875rem;
}
.team-fact-text {
  font-size: .75rem;
  color: #8B5E20;
  line-height: 1.5;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   HISTORIA — quiénes somos
   ════════════════════════════════════════════════════════════ */
.section-historia {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.25rem) clamp(5rem, 9vw, 7.5rem);
}
.historia-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2.5rem, 8vw, 7.5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.historia-overline {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #C8974A;
  margin-bottom: 1rem;
}
.historia-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.historia-body {
  font-size: .9375rem;
  color: #9BAFD4;
  line-height: 1.7;
  white-space: pre-line;
}
.historia-photo {
  width: 100%;
  max-width: 280px;
  height: 240px;
  border-radius: 12px;
  border: 3px solid #C8974A;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.historia-garland-wrap {
  margin-top: clamp(2.5rem, 4vw, 3.75rem);
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
  height: 50px;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.historia-garland-wrap svg {
  width: 100%;
  height: 50px;
  opacity: .25;
}
.historia-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: block;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIOS
   ════════════════════════════════════════════════════════════ */
.section-testimonios {
  background: #F8F9FC;
  padding-block: clamp(3.5rem, 7vw, 6.25rem);
}
.testimonios-header {
  text-align: center;
  margin-bottom: clamp(2rem, 3vw, 2.75rem);
}
.testimonios-overline {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #C8974A;
  margin-bottom: .75rem;
}
.testimonios-title {
  font-size: clamp(1.375rem, 2.3vw, 1.875rem);
  font-weight: 700;
  color: #0B1D6E;
}
.testimonios-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .testimonios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .testimonios-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #E0E8F8;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.test-stars { font-size: .875rem; color: #C8974A; }
.test-quote { font-size: .9375rem; color: #1A1A2E; line-height: 1.6; flex: 1; }
.test-author { font-size: .875rem; font-weight: 700; color: #0B1D6E; }
.test-detail { font-size: .75rem; color: #888899; }

/* ════════════════════════════════════════════════════════════
   CTA INTERNO
   ════════════════════════════════════════════════════════════ */
.section-cta-interno {
  background: linear-gradient(180deg, #0B1D6E 0%, #1A3A8F 100%);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.cta-interno-title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.btn-gold-pill {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #C8974A;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: filter .2s;
}
.btn-gold-pill:hover { filter: brightness(1.1); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — páginas internas
   ════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .intro-inner          { grid-template-columns: 1fr; }
  .team-grid            { grid-template-columns: 1fr; }
  .historia-inner       { grid-template-columns: 1fr; }
  .historia-photo       { max-width: 100%; height: 220px; }
  .cta-interno-title    { font-size: 1.25rem; }
}

/* ════════════════════════════════════════════════════════════
   NUESTRO MÉTODO — página interna
   ════════════════════════════════════════════════════════════ */

/* ── Header split ── */
.metodo-header {
  display: grid;
  grid-template-columns: 53fr 47fr;
  min-height: 420px;
  overflow: hidden;
}
.metodo-header-left {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 5vw, 3.75rem) clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 8.5vw, 7.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.metodo-overline {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #C8974A;
}
.metodo-header-left h1 {
  font-size: clamp(2rem, 3.5vw, 3.125rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.metodo-sub {
  font-size: clamp(.875rem, 1.4vw, 1rem);
  color: #B8C8F0;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}
.metodo-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.metodo-badge {
  background: #C8974A;
  color: #050D2E;
  font-size: .75rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 20px;
}
.metodo-header-right {
  overflow: hidden;
}
.metodo-header-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Intro quote ── */
.metodo-intro-quote {
  background: #fff;
  padding-block: clamp(3rem, 6vw, 4.375rem);
  text-align: center;
}
.metodo-quote-text {
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 600;
  font-style: italic;
  color: #0B1D6E;
  line-height: 1.6;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.metodo-quote-author {
  font-size: .875rem;
  color: #8898AA;
  margin: 0;
}

/* ── Tres pilares ── */
.metodo-pilares {
  background: #F8F9FC;
  padding-block: clamp(3.5rem, 7vw, 5rem);
}
.metodo-pilares-title {
  font-size: clamp(1.5rem, 2.5vw, 2.375rem);
  font-weight: 800;
  color: #0B1D6E;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.metodo-pilares-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .metodo-pilares-grid { grid-template-columns: repeat(3, 1fr); }
}
.metodo-pilar {
  border-radius: 6px;
  padding: 2rem 1.75rem 2.75rem;
  border: 1px solid #E0E8FF;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.metodo-pilar--practica { background: #fff; }
.metodo-pilar--salvaje  { background: #050D2E; border-color: rgba(255,255,255,.08); }
.metodo-pilar--real     { background: #F0F4FF; }

.metodo-pilar-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .4375rem .875rem;
  border-radius: 14px;
  align-self: flex-start;
}
.metodo-pilar--practica .metodo-pilar-tag { background: #E0E8FF; color: #0B1D6E; }
.metodo-pilar--salvaje  .metodo-pilar-tag { background: #1A3A8F; color: #fff; }
.metodo-pilar--real     .metodo-pilar-tag { background: #D4E0FF; color: #0B1D6E; }

.metodo-pilar-body {
  font-size: .9375rem;
  line-height: 1.75;
  margin: 0;
}
.metodo-pilar--practica .metodo-pilar-body,
.metodo-pilar--real     .metodo-pilar-body { color: #0B1D6E; }
.metodo-pilar--salvaje  .metodo-pilar-body { color: #fff; }

.metodo-pilar-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  padding: 0;
  margin: 0;
}
.metodo-pilar-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  font-weight: 500;
}
.metodo-pilar--practica .metodo-pilar-item,
.metodo-pilar--real     .metodo-pilar-item { color: #0B1D6E; }
.metodo-pilar--salvaje  .metodo-pilar-item { color: #fff; }
.metodo-pilar-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #C8974A;
  border-radius: 3px;
}

/* ── Bloque SEO ── */
.metodo-seo {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  padding-block: clamp(3.5rem, 7vw, 5rem) clamp(5rem, 9vw, 7.5rem);
  position: relative;
  overflow: hidden;
}
.metodo-seo-inner {
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5.5vw, 5rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .metodo-seo-inner { grid-template-columns: 1fr 360px; }
}
.metodo-seo-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.metodo-seo-text {
  font-size: 1rem;
  color: #B8C8F0;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.metodo-seo-text:last-child { margin-bottom: 0; }
.metodo-seo-right-title {
  font-size: 1rem;
  font-weight: 700;
  color: #C8974A;
  margin-bottom: 1rem;
}
.metodo-seo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.metodo-seo-list-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: #E0E8FF;
  line-height: 1.5;
}
.metodo-seo-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #C8974A;
  border-radius: 3px;
  margin-top: .375em;
}
.metodo-seo-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: block;
  pointer-events: none;
}

/* ── FAQs ── */
.metodo-faqs {
  background: #F0F4FF;
  padding-block: clamp(3.5rem, 7vw, 5rem) clamp(2.5rem, 4vw, 3.5rem);
}
.metodo-faqs .garland-wrap {
  background: #F0F4FF;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.metodo-faqs h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #0B1D6E;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}
.metodo-faq-list {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin-inline: auto;
}
.metodo-faq {
  border-bottom: 1px solid #C8D8F0;
  padding-block: 1.375rem;
}
.metodo-faq dt {
  font-size: 1rem;
  font-weight: 700;
  color: #0B1D6E;
  line-height: 1.4;
  margin-bottom: .625rem;
}
.metodo-faq dd {
  font-size: .9375rem;
  color: #444455;
  line-height: 1.7;
  margin: 0;
}

/* ── Resultados ── */
.metodo-resultados {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}
.metodo-stats-label {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C8974A;
  margin-bottom: 2.5rem;
}
.metodo-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.metodo-stat {
  padding-inline: clamp(.75rem, 3vw, 1.25rem);
  border-right: 1px solid #1A3A8F;
}
.metodo-stat:last-child { border-right: none; }
.metodo-stat-num {
  display: block;
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  font-weight: 800;
  color: #C8974A;
  line-height: 1;
  margin-bottom: .5rem;
}
.metodo-stat-desc {
  font-size: .875rem;
  color: #B8C8F0;
  line-height: 1.5;
  max-width: 260px;
  margin-inline: auto;
}

/* ── Responsive móvil ── */
@media (max-width: 767px) {
  .metodo-header             { grid-template-columns: 1fr; }
  .metodo-header-right       { height: 260px; }
  .metodo-header-left h1     { font-size: 1.875rem; }
  .metodo-quote-text         { font-size: 1rem; }
  .metodo-stats-row          { grid-template-columns: 1fr; gap: 2rem; }
  .metodo-stat               { border-right: none; border-bottom: 1px solid #1A3A8F; padding-bottom: 2rem; }
  .metodo-stat:last-child    { border-bottom: none; padding-bottom: 0; }
}

/* ════════════════════════════════════════════════════════════
   CONVOCATORIAS — página interna
   ════════════════════════════════════════════════════════════ */

/* ── Header split — foto izq / texto dcha ── */
.conv-header {
  display: grid;
  grid-template-columns: 47fr 53fr;
  min-height: 400px;
  overflow: hidden;
}
.conv-header-foto { overflow: hidden; }
.conv-header-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.conv-header-text {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  padding: clamp(2.5rem,5vw,3.75rem) clamp(1.5rem,5vw,3.75rem) clamp(2.5rem,5vw,3.75rem) clamp(1.5rem,5.5vw,5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.conv-overline {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #C8974A;
}
.conv-header-text h1 {
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.conv-sub {
  font-size: clamp(.875rem, 1.4vw, 1rem);
  color: #B8C8F0;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}
.conv-badges { display: flex; gap: .75rem; flex-wrap: wrap; }
.conv-badge {
  background: rgba(200,151,74,.18);
  color: #C8974A;
  font-size: .75rem;
  font-weight: 700;
  padding: .4375rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(200,151,74,.35);
}

/* ── Estado 3 convocatorias ── */
.conv-estado {
  background: #fff;
  padding-block: clamp(3.5rem,7vw,5rem);
  text-align: center;
}
.conv-estado-title {
  font-size: clamp(1.375rem,2.2vw,2rem);
  font-weight: 800;
  color: #0B1D6E;
  margin-bottom: clamp(1.75rem,3vw,2.25rem);
}
.conv-cards-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .conv-cards-row { grid-template-columns: repeat(3,1fr); } }
.conv-card {
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  border: 2px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: #F4F5F7;
  text-align: left;
}
.conv-card--active {
  background: #FAFBFF;
  border-color: #C8974A;
}
.conv-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.conv-card-year {
  font-size: 1.75rem;
  font-weight: 800;
  color: #888899;
}
.conv-card--active .conv-card-year { color: #0B1D6E; }
.conv-card-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .3125rem .75rem;
  border-radius: 12px;
  background: #E0E0E0;
  color: #666677;
}
.conv-card--active .conv-card-badge { background: #C8974A; color: #fff; }
.conv-card-plazas {
  font-size: 1.125rem;
  font-weight: 700;
  color: #888899;
}
.conv-card--active .conv-card-plazas { color: #0B1D6E; }
.conv-card-note {
  font-size: .8125rem;
  color: #888899;
  line-height: 1.4;
  margin: 0;
}
.conv-card--active .conv-card-note { color: #444455; }

/* ── Lo que sabemos de 2027 ── */
.conv-sabemos {
  background: #F0F4FF;
  padding-block: clamp(3.5rem,7vw,5rem);
}
.conv-sabemos-inner {
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem,5.5vw,5rem);
  display: grid;
  gap: clamp(2rem,5vw,5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .conv-sabemos-inner { grid-template-columns: 1fr 360px; } }
.conv-sabemos-title {
  font-size: clamp(1.25rem,2.2vw,1.75rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.conv-sabemos-intro {
  font-size: .9375rem;
  color: #444455;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.conv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.conv-list-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: #333344;
  line-height: 1.5;
}
.conv-list-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #C8974A;
  border-radius: 3px;
  margin-top: .375em;
}
.conv-quote-text {
  font-size: clamp(1rem,1.6vw,1.25rem);
  font-weight: 700;
  font-style: italic;
  color: #0B1D6E;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.conv-quote-sub {
  font-size: .875rem;
  color: #555566;
  line-height: 1.7;
  margin: 0;
}

/* ── El Proceso PT ── */
.conv-proceso {
  background: #fff;
  padding-block: clamp(3.5rem,7vw,5rem);
  text-align: center;
}
.conv-proceso-title {
  font-size: clamp(1.375rem,2.2vw,2rem);
  font-weight: 800;
  color: #0B1D6E;
  margin-bottom: clamp(2rem,4vw,2.75rem);
}
.conv-steps-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  text-align: left;
}
@media (min-width: 640px)  { .conv-steps-row { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .conv-steps-row { grid-template-columns: repeat(4,1fr); } }
.conv-step {
  background: #F8F9FC;
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.conv-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0B1D6E;
  color: #C8974A;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.conv-step-title {
  font-size: .9375rem;
  font-weight: 700;
  color: #0B1D6E;
  line-height: 1.3;
}
.conv-step-desc {
  font-size: .8125rem;
  color: #555566;
  line-height: 1.65;
  margin: 0;
}

/* ── Bloque SEO ── */
.conv-seo {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  padding-block: clamp(3.5rem,7vw,5rem) clamp(5rem,9vw,7.5rem);
  position: relative;
  overflow: hidden;
}
.conv-seo-inner {
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem,5.5vw,5rem);
  display: grid;
  gap: clamp(2.5rem,5vw,5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .conv-seo-inner { grid-template-columns: 1fr 360px; } }
.conv-seo-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: block;
  pointer-events: none;
}

/* ── Alerta Convocatoria ── */
.conv-alerta {
  background: #F4F7FF;
  padding-block: clamp(3rem,6vw,4.375rem);
  text-align: center;
}
.conv-alerta-title {
  font-size: clamp(1.25rem,2.2vw,1.75rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1.3;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: .875rem;
}
.conv-alerta-sub {
  font-size: .9375rem;
  color: #555566;
  line-height: 1.65;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
.btn-navy-solid {
  display: inline-block;
  padding: .875rem 2.5rem;
  background: #0B1D6E;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background .2s;
}
.btn-navy-solid:hover { background: #1A3A8F; }
.conv-ghl-note {
  display: block;
  font-size: .75rem;
  font-style: italic;
  color: #AABBCC;
  margin-top: 1rem;
}

/* ── CTA final ── */
.conv-cta {
  background: linear-gradient(180deg, #0B1D6E 0%, #1A3A8F 100%);
  padding-block: clamp(3.5rem,7vw,5rem);
  text-align: center;
}
.conv-cta-title {
  font-size: clamp(1.0625rem,1.8vw,1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.btn-gold-large {
  display: inline-block;
  padding: 1rem 2.75rem;
  background: #C8974A;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  transition: filter .2s;
}
.btn-gold-large:hover { filter: brightness(1.08); }

/* ── Responsive conv ── */
@media (max-width: 767px) {
  .conv-header           { grid-template-columns: 1fr; }
  .conv-header-foto      { height: 240px; }
  .conv-header-text h1 br { display: none; }
  .conv-steps-row        { text-align: center; }
  .conv-step             { align-items: center; text-align: center; }
  .conv-step-circle      { margin-inline: auto; }
  .conv-quote-text       { font-size: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════════════════ */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem clamp(1.25rem, 6vw, 7.5rem);
}
.page-404-inner { max-width: 460px; }
.page-404-num {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1;
  margin-bottom: 1rem;
}
.page-404-num span { color: #C8974A; }
.page-404 h1 { font-size: 1.5rem; color: #0B1D6E; margin-bottom: .75rem; font-weight: 800; }
.page-404 p  { color: #777788; margin-bottom: 2rem; line-height: 1.75; }
.page-404-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-navy  { display:inline-flex; padding:.875rem 1.75rem; background:#0B1D6E; color:#fff; font-size:.9375rem; font-weight:700; border-radius:4px; }
.btn-ghost { display:inline-flex; padding:.875rem 1.75rem; background:#F0F4FF; color:#0B1D6E; font-size:.9375rem; font-weight:700; border-radius:4px; }

/* ════════════════════════════════════════════════════════════
   BLOG — listado
   ════════════════════════════════════════════════════════════ */

/* ── Header ── */
.blog-page-header {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  padding: clamp(2rem,5vw,3.125rem) clamp(1.25rem,8.5vw,7.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.blog-page-overline {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #C8974A;
}
.blog-page-h1 {
  font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.01em;
}
.blog-page-sub {
  font-size: .9375rem;
  color: #B8C8F0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

/* ── Filtro categorías ── */
.blog-cats-bar {
  background: #fff;
  border-bottom: 1px solid #E8EDF5;
  padding: .875rem clamp(1.25rem,8.5vw,7.5rem);
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.125rem;
  border-radius: 20px;
  font-size: .8125rem;
  font-weight: 500;
  color: #0B1D6E;
  background: #F0F4FF;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background .2s, color .2s, font-weight .1s;
}
.blog-cat-pill--active,
.blog-cat-pill:hover { background: #0B1D6E; color: #fff; font-weight: 700; }

/* ── Artículo destacado ── */
.blog-featured {
  display: grid;
  grid-template-columns: 47fr 53fr;
  min-height: 340px;
  overflow: hidden;
}
.blog-featured-content {
  background: #F0F4FF;
  padding: clamp(2rem,4vw,3.125rem) clamp(1.5rem,3.5vw,3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.blog-featured-badge {
  display: inline-block;
  padding: .3125rem .75rem;
  background: #C8974A;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: .04em;
  align-self: flex-start;
  text-transform: uppercase;
}
.blog-featured-title {
  font-size: clamp(1.125rem,2vw,1.625rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1.3;
  margin: 0;
}
.blog-featured-title a { color: inherit; text-decoration: none; transition: color .2s; }
.blog-featured-title a:hover { color: #C8974A; }
.blog-featured-img { overflow: hidden; display: block; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.blog-featured-img:hover img { transform: scale(1.02); }
.blog-featured-excerpt {
  font-size: .875rem;
  color: #555566;
  line-height: 1.7;
  margin: 0;
}
.blog-featured-meta {
  display: flex;
  gap: 1.25rem;
  font-size: .75rem;
  color: #888899;
}
.blog-featured-btn {
  display: inline-flex;
  align-items: center;
  padding: .625rem 1.375rem;
  background: #0B1D6E;
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  border-radius: 4px;
  align-self: flex-start;
  transition: background .2s;
}
.blog-featured-btn:hover { background: #1A3A8F; }

/* ── Grid de artículos ── */
.blog-grid-section {
  background: #fff;
  padding: clamp(2.5rem,5vw,3.75rem) clamp(1.25rem,8.5vw,7.5rem);
}
.blog-grid-title {
  font-size: clamp(1.125rem,1.8vw,1.375rem);
  font-weight: 800;
  color: #0B1D6E;
  margin-bottom: clamp(1.25rem,2.5vw,1.5rem);
}
.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px)  { .blog-grid { grid-template-columns: repeat(3,1fr); } }

.blog-grid-card {
  border: 1px solid #E8EDF5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.blog-grid-card:hover { box-shadow: 0 4px 20px rgba(11,29,110,.1); transform: translateY(-2px); }
.blog-grid-card-img-link { display: block; flex-shrink: 0; }
.blog-grid-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #D0D8F0;
  display: block;
  object-fit: cover;
}
.blog-grid-card-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  flex: 1;
}
.blog-grid-card-cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 3px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cat--conv    { color: #C8974A; background: rgba(200,151,74,.13); }
.cat--pt      { color: #0B1D6E; background: rgba(11,29,110,.13); }
.cat--metodo  { color: #2A7A6E; background: rgba(42,122,110,.13); }
.cat--cyl     { color: #1A3A8F; background: rgba(26,58,143,.13); }
.cat--recurs  { color: #6B5EA8; background: rgba(107,94,168,.13); }

.blog-grid-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #0B1D6E;
  line-height: 1.35;
  margin: 0;
}
.blog-grid-card-title a { color: inherit; text-decoration: none; }
.blog-grid-card-title a:hover { color: #C8974A; }
.blog-grid-card-meta {
  display: flex;
  gap: .75rem;
  font-size: .8125rem;
  color: #AABBCC;
}
.blog-grid-card-read {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: .4375rem 1rem;
  background: #0B1D6E;
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  border-radius: 4px;
  margin-top: auto;
  transition: background .2s;
}
.blog-grid-card-read:hover { background: #1A3A8F; }

/* ── Paginación ── */
.blog-pagination {
  background: #fff;
  border-top: 1px solid #E8EDF5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 1rem;
}
.blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 500;
  color: #0B1D6E;
  background: #F0F4FF;
  transition: background .2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.blog-page-btn:hover { background: #E0E8FF; }
.blog-page-btn--active { background: #0B1D6E; color: #fff; font-weight: 700; }
.blog-page-btn--dots { cursor: default; pointer-events: none; }

/* ── Responsive blog ── */
@media (max-width: 767px) {
  .blog-featured          { grid-template-columns: 1fr; }
  .blog-featured-img      { height: 220px; }
  .blog-cats-bar          { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-block: .75rem; }
  .blog-cat-pill          { flex-shrink: 0; }
}
@media (max-width: 640px) {
  .blog-grid-card-body    { padding: .875rem; gap: .5rem; }
  .blog-grid-card-title   { font-size: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   BLOG — artículo individual
   ════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem clamp(1.25rem,8.5vw,7.5rem);
  border-bottom: 1px solid #E8EDF5;
  font-size: .8125rem;
  flex-wrap: wrap;
}
.article-breadcrumb a { color: #C8974A; transition: opacity .2s; }
.article-breadcrumb a:hover { opacity: .75; }
.article-breadcrumb-sep { color: #CCCCDD; }
.article-breadcrumb-current { color: #0B1D6E; font-weight: 600; }

/* ── Article Header ── */
.article-header {
  padding: clamp(2.5rem,5vw,3.75rem) clamp(1.25rem,8.5vw,7.5rem) clamp(1.5rem,3vw,2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1380px;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}
.article-cat-row {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-wrap: wrap;
}
.article-cat-badge {
  display: inline-block;
  padding: .3125rem .75rem;
  background: #C8974A;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.article-read-time {
  font-size: .8125rem;
  color: #AABBCC;
}
.article-h1 {
  font-size: clamp(1.75rem,3.5vw,2.375rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1.25;
  margin: 0;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .8125rem;
}
.article-author-meta { font-weight: 600; color: #0B1D6E; }
.article-date-meta { color: #AABBCC; }
.article-featured-img {
  width: 100%;
  height: clamp(200px,22vw,360px);
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.article-featured-img-placeholder {
  width: 100%;
  height: clamp(200px,22vw,360px);
  background: #D0D8F0;
  border-radius: 6px;
}

/* ── Layout 2 columnas ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.75rem;
  max-width: 1380px;
  margin-inline: auto;
  padding: clamp(2rem,4vw,3rem) clamp(1.25rem,8.5vw,7.5rem) clamp(2.5rem,5vw,3.75rem);
  align-items: start;
  box-sizing: border-box;
  width: 100%;
}

/* ── Contenido artículo ── */
.article-content { display: flex; flex-direction: column; gap: 1.375rem; }
.article-content p {
  font-size: 1rem;
  color: #333344;
  line-height: 1.8;
  margin: 0;
}
.article-content h2 {
  font-size: clamp(1.25rem,2vw,1.5rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1.3;
  margin: .5rem 0 0;
}
.article-content h3 {
  font-size: clamp(1rem,1.5vw,1.125rem);
  font-weight: 700;
  color: #1A3A8F;
  line-height: 1.3;
  margin: .25rem 0 0;
}
.article-blockquote {
  display: flex;
  gap: 0;
  border-radius: 0 4px 4px 0;
  overflow: hidden;
}
.article-blockquote-bar {
  width: 4px;
  background: #C8974A;
  flex-shrink: 0;
}
.article-blockquote-body {
  background: #FAFBFF;
  padding: 1rem 1.25rem;
  flex: 1;
}
.article-blockquote-body p {
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 600;
  color: #0B1D6E;
  line-height: 1.6;
}
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.article-list-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem; /* inherit from article-content */
  color: #333344;
  line-height: 1.6;
}
.article-list-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #C8974A;
  border-radius: 3px;
  margin-top: .45em;
}
.article-internal-link {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #C8974A;
  transition: opacity .2s;
}
.article-internal-link:hover { opacity: .75; }

/* ── Sidebar ── */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}
.article-toc {
  background: #F0F4FF;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.article-toc-title {
  font-size: .8125rem;
  font-weight: 700;
  color: #0B1D6E;
  margin-bottom: .125rem;
}
.article-toc-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  text-decoration: none;
}
.article-toc-num {
  font-size: .75rem;
  font-weight: 700;
  color: #C8974A;
  flex-shrink: 0;
  padding-top: .1em;
}
.article-toc-label {
  font-size: .8125rem;
  color: #0B1D6E;
  line-height: 1.4;
  transition: opacity .2s;
}
.article-toc-item:hover .article-toc-label { opacity: .7; }

.article-sidebar-cta {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.article-sidebar-cta-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}
.article-sidebar-cta-sub {
  font-size: .8125rem;
  color: #B8C8F0;
  margin: 0;
}
.article-sidebar-cta-btn {
  display: block;
  text-align: center;
  padding: .75rem;
  background: #C8974A;
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  border-radius: 4px;
  transition: filter .2s;
}
.article-sidebar-cta-btn:hover { filter: brightness(1.1); }

.article-tags { display: flex; flex-direction: column; gap: .625rem; }
.article-tags-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888899;
}
.article-tags-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.article-tag {
  display: inline-block;
  padding: .375rem .75rem;
  background: #F0F4FF;
  color: #0B1D6E;
  font-size: .75rem;
  border-radius: 20px;
  transition: background .2s;
}
.article-tag:hover { background: #E0E8FF; }

/* ── Share buttons ── */
.article-share {
  max-width: 1380px;
  margin-inline: auto;
  padding: 1.75rem clamp(1.25rem,8.5vw,7.5rem) 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}
.article-share-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #888899;
}
.article-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  padding: .5rem 1.125rem;
  border-radius: 4px;
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: filter .2s;
  line-height: 1;
}
.article-share-btn:hover { filter: brightness(1.1); }
.article-share-btn--wa   { background: #25D366; }
.article-share-btn--x    { background: #000; }
.article-share-btn--copy { background: #0B1D6E; }
.article-share-btn--copied { background: #2A7A6E !important; }
.article-share-btn svg   { width: 15px; height: 15px; fill: #fff; flex-shrink: 0; }

/* ── Author Box ── */
.article-author {
  background: #F8F9FC;
  border-top: 1px solid #E8EDF5;
  border-bottom: 1px solid #E8EDF5;
  padding-block: 1.875rem;
  width: 100%;
}
.article-author-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem,8.5vw,7.5rem);
  width: 100%;
  box-sizing: border-box;
}
.article-author-avatar {
  width: 96px;
  height: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #D0D8F0;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-author-avatar svg { width: 40px; height: 40px; stroke: #8899BB; fill: none; }
.article-author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;            /* fix Safari/iOS: recorte circular en la propia imagen */
  object-fit: cover;
  object-position: center top;
  display: block;
}
.article-author-name {
  font-size: .9375rem;
  font-weight: 700;
  color: #0B1D6E;
  margin-bottom: .25rem;
}
.article-author-role {
  font-size: .75rem;
  color: #777788;
  margin-bottom: .375rem;
}
.article-author-bio {
  font-size: .8125rem;
  color: #555566;
  line-height: 1.5;
  margin: 0;
}

/* ── Artículos relacionados ── */
.article-related {
  background: #fff;
  padding: clamp(2.5rem,5vw,3.75rem) clamp(1.25rem,8.5vw,7.5rem);
  max-width: 1380px;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}
.article-related-title {
  font-size: clamp(1.125rem,1.8vw,1.25rem);
  font-weight: 800;
  color: #0B1D6E;
  margin-bottom: 1.5rem;
}
.article-related-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .article-related-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px)  { .article-related-grid { grid-template-columns: repeat(3,1fr); } }
.article-related-card {
  border: 1px solid #E8EDF5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.article-related-card:hover { box-shadow: 0 4px 16px rgba(11,29,110,.08); transform: translateY(-2px); }
.article-related-card-img {
  width: 100%;
  height: 120px;
  background: #D0D8F0;
  background-size: cover;
  background-position: center;
  display: block;
  object-fit: cover;
}
.article-related-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.article-related-card-cat {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  padding: .25rem .625rem;
  border-radius: 3px;
  background: #E8EDF5;
  color: #0B1D6E;
  align-self: flex-start;
  text-transform: uppercase;
}
.article-related-card-title {
  font-size: .875rem;
  font-weight: 700;
  color: #0B1D6E;
  line-height: 1.4;
  margin: 0;
}
.article-related-card-read {
  font-size: .8125rem;
  font-weight: 700;
  color: #C8974A;
  margin-top: auto;
}

/* ── CTA final artículo ── */
.article-cta-final {
  background: linear-gradient(180deg, #0B1D6E 0%, #1A3A8F 100%);
  padding: clamp(2.5rem,5vw,3.75rem) clamp(1.25rem,8.5vw,7.5rem);
  text-align: center;
}
.article-cta-final-title {
  font-size: clamp(1.125rem,2vw,1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.article-cta-final-btn {
  display: inline-block;
  padding: .875rem 2.5rem;
  background: #C8974A;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 4px;
  transition: filter .2s;
}
.article-cta-final-btn:hover { filter: brightness(1.08); }

/* ── Responsive artículo ── */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    order: -1; /* TOC arriba en mobile */
  }
  .article-sidebar .article-sidebar-cta,
  .article-sidebar .article-tags { order: 2; }
  .article-sidebar .article-toc { order: -1; }
}
@media (max-width: 767px) {
  .article-author-inner { flex-direction: column; text-align: center; }
  .article-author-avatar { margin-inline: auto; }
  .article-share-label { flex-basis: 100%; }
}

/* ════════════════════════════════════════════════════════════
   CONTACTO — página interna
   ════════════════════════════════════════════════════════════ */

/* ── Header split — texto izq / foto dcha ── */
.contacto-header {
  display: grid;
  grid-template-columns: 54fr 46fr;
  min-height: 320px;
  overflow: hidden;
}
.contacto-header-text {
  background: linear-gradient(180deg, #050D2E 0%, #0B1D6E 100%);
  padding: clamp(2.5rem,5vw,3.75rem) clamp(1.5rem,5vw,3.75rem) clamp(2.5rem,5vw,3.75rem) clamp(1.5rem,8.5vw,7.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.125rem;
}
.contacto-overline {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #C8974A;
}
.contacto-header-text h1 {
  font-size: clamp(2rem,4.2vw,3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.contacto-sub {
  font-size: clamp(.875rem,1.4vw,1rem);
  color: #B8C8F0;
  line-height: 1.6;
  max-width: 500px;
  margin: 0;
}
.contacto-header-foto { overflow: hidden; }
.contacto-header-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Canales de contacto ── */
.contacto-canales {
  background: #fff;
  padding-block: clamp(3.5rem,7vw,5rem);
  text-align: center;
}
.contacto-canales-title {
  font-size: clamp(1.375rem,2.2vw,1.625rem);
  font-weight: 800;
  color: #0B1D6E;
  margin-bottom: .625rem;
}
.contacto-canales-sub {
  font-size: .9375rem;
  color: #777788;
  margin-bottom: clamp(2rem,4vw,2.75rem);
}
.contacto-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 780px;
  margin-inline: auto;
  text-align: left;
}
.contacto-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-radius: 8px;
  padding: 1.375rem 1.5rem;
  border-left: 4px solid transparent;
}
.contacto-card--wa    { background: #F0FFF4; border-left-color: #25D366; }
.contacto-card--email { background: #FFFBF5; border-left-color: #C8974A; }
.contacto-card--ig    { background: #FFF5FB; border-left-color: #E1306C; }

.contacto-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacto-card--wa    .contacto-card-icon { background: #25D366; }
.contacto-card--email .contacto-card-icon { background: #C8974A; }
.contacto-card--ig    .contacto-card-icon { background: linear-gradient(45deg, #FCAF45 0%, #F56040 30%, #E1306C 60%, #833AB4 100%); }
.contacto-card-icon svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }

.contacto-card-info { flex: 1; min-width: 0; }
.contacto-card-label {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888899;
  margin-bottom: .25rem;
}
.contacto-card--ig .contacto-card-label { color: #C13584; }
.contacto-card-value {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0B1D6E;
  margin-bottom: .25rem;
  word-break: break-word;
}
.contacto-card-note {
  font-size: .8125rem;
  color: #666677;
  line-height: 1.5;
  margin: 0;
}
.contacto-card-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.25rem;
  border-radius: 4px;
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: filter .2s;
}
.contacto-card-btn:hover { filter: brightness(1.1); }
.contacto-card--wa    .contacto-card-btn { background: #25D366; }
.contacto-card--email .contacto-card-btn { background: #C8974A; }
.contacto-card--ig    .contacto-card-btn { background: linear-gradient(45deg, #FCAF45 0%, #F56040 30%, #E1306C 60%, #833AB4 100%); }

/* ── Somos Online ── */
.contacto-online {
  background: #F0F4FF;
  padding-block: clamp(2.5rem,5vw,3.75rem);
}
.contacto-online-inner {
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem,5.5vw,5rem);
  display: grid;
  gap: clamp(2rem,4vw,3.75rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .contacto-online-inner { grid-template-columns: 1fr 340px; } }
.contacto-online-title {
  font-size: clamp(1.25rem,2.2vw,1.75rem);
  font-weight: 800;
  color: #0B1D6E;
  line-height: 1.3;
  margin-bottom: .875rem;
}
.contacto-online-body {
  font-size: .9375rem;
  color: #444455;
  line-height: 1.7;
  margin: 0;
}
.contacto-online-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.contacto-online-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  font-weight: 500;
  color: #0B1D6E;
}
.contacto-online-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #C8974A;
  border-radius: 3px;
}

/* ── Responsive contacto ── */
@media (max-width: 767px) {
  .contacto-header          { grid-template-columns: 1fr; }
  .contacto-header-foto     { height: 220px; }
  .contacto-header-text h1 br { display: none; }
  .contacto-card            { flex-wrap: wrap; }
  .contacto-card-btn        { width: 100%; justify-content: center; }
  .contacto-card-value      { font-size: .8125rem; }
}

/* ════════════════════════════════════════════════════════════
   PÁGINAS LEGALES — aviso legal, privacidad, cookies
   ════════════════════════════════════════════════════════════ */
.legal-page {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 6vw, 2.5rem) clamp(3rem, 6vw, 4.5rem);
}
.legal-updated {
  font-size: .8125rem;
  color: #9AA7C2;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #E6EAF4;
}
.legal-page h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #0B1D6E;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1A3A8F;
  margin-top: 1.75rem;
  margin-bottom: .625rem;
}
.legal-page p {
  font-size: 1rem;
  color: #333344;
  line-height: 1.8;
  margin-bottom: 1.125rem;
}
.legal-page ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.legal-page ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #333344;
  line-height: 1.7;
}
.legal-page ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C8974A;
}
.legal-page a { color: #1A3A8F; text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: #0B1D6E; }
.legal-page strong { color: #0B1D6E; font-weight: 600; }
.legal-placeholder {
  background: #FFF3D6;
  color: #8A6D1F;
  font-weight: 600;
  padding: .05em .35em;
  border-radius: 3px;
  border: 1px dashed #D9B450;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.75rem;
  font-size: .875rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid #E6EAF4;
  padding: .75rem .875rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  color: #333344;
}
.legal-table th {
  background: #F0F4FF;
  color: #0B1D6E;
  font-weight: 700;
}
.legal-table-wrap { overflow-x: auto; }
.legal-contact-box {
  background: #F0F4FF;
  border-left: 4px solid #C8974A;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.legal-contact-box p { margin-bottom: .375rem; }
.legal-contact-box p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .legal-table { font-size: .8125rem; }
  .legal-table th, .legal-table td { padding: .55rem .6rem; }
}
