/* Transformando Progreso — diseño editorial */
:root {
  --primario: #0466b8;
  --primario-hover: #03589e;
  --acento: #26bcec;
  --acento-hover: #21a2cb;
  --oscuro: #0e1c2d;
  --claro: #f4f8fc;
  --sobre-primario: #ffffff;
  --sobre-acento: #0e1c2d;
  --sobre-oscuro: #ffffff;
  --sobre-primario-suave: #dceaf5;
  --sobre-acento-suave: #133f57;
  --suave: #58626f;
  --suave-inv: #b4bac2;
  --borde: #d8dee3;
  --borde-inv: #303c4a;
  --oscuro-0: #08111b;
  --oscuro-2: #1a2738;
  --oscuro-3: #263342;
  --primario-en-claro: #0466b8;
  --acento-en-claro: #0466b8;
  --acento-en-primario: #ffffff;
  --acento-en-oscuro: #26bcec;
  --primario-en-acento: #0e1c2d;
  --primario-08: rgba(4, 102, 184, 0.08);
  --primario-16: rgba(4, 102, 184, 0.16);
  --acento-40: rgba(38, 188, 236, 0.4);
  --claro-92: rgba(244, 248, 252, 0.92);
  --oscuro-92: rgba(14, 28, 45, 0.92);
  --sobre-primario-12: rgba(255, 255, 255, 0.12);
  --sobre-acento-08: rgba(14, 28, 45, 0.08);
  --fuente: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fuente-titulos: "Source Serif 4", Georgia, "Times New Roman", serif;
  --fuente-acento: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--enlace); text-underline-offset: 3px; }
a:hover { color: var(--enlace-hover); }
h1, h2, h3 { font-family: var(--fuente-titulos); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: min(1160px, 100% - 32px); margin-inline: auto; }
.seccion { padding: clamp(64px, 9vw, 104px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--texto); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700;
}
.saltar:focus { top: 12px; color: #fff; }

.seccion-titulo { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: var(--peso-titulo); }
.seccion-cabeza { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.seccion-cabeza.centrada { margin-inline: auto; text-align: center; }
.lead { font-size: 1.125rem; color: var(--texto-suave); }

/* ========== Botones ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: .55rem 1.05rem; font-size: .92rem; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========== Encabezado ========== */
.encabezado {
  position: sticky; top: 0; z-index: 50;
  background: var(--encabezado-fondo);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--borde);
}
.encabezado-interior { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto); }
.marca:hover { color: var(--texto); }
.marca-icono img { width: auto; height: 40px; }
.marca-icono span { font-family: var(--fuente-titulos); font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; }
.marca-logo img { width: auto; height: 46px; max-width: min(240px, 58vw); }
.marca-logo.ancha img { height: 32px; }
.marca-caja { background: var(--claro); padding: 6px 12px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav > a:not(.btn) { color: var(--texto); text-decoration: none; font-weight: 600; padding: .55rem .85rem; border-radius: 999px; }
.nav > a:not(.btn):hover { background: var(--hover-suave); }
.nav-toggle { display: none; }

@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 11px; border: 2px solid var(--texto); border-radius: 14px;
    background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2.5px; background: var(--texto); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: -16px; right: -16px; top: 100%;
    flex-direction: column; align-items: stretch; gap: 10px; padding: 16px;
    background: var(--menu-fondo); border-bottom: 1px solid var(--borde); box-shadow: 0 18px 30px rgba(0, 0, 0, .08);
  }
  .nav.abierto { display: flex; }
  .nav .btn { width: 100%; }
  .nav > a:not(.btn) { text-align: center; }
}

/* ========== Hero ========== */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); font-weight: 900; line-height: 1.02; margin-bottom: .45em; }
.hero-texto p { font-size: 1.15rem; max-width: 36em; margin-bottom: 1.8em; }
.hero-texto .hero-legal { font-size: .95rem; margin: 22px 0 0; }
.hero-legal a { font-weight: 700; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ========== Nosotros / tarjetas ========== */
.nosotros-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 64px); }
.tarjetas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tarjeta { background: var(--tarjeta-fondo); border: 1px solid var(--borde); border-radius: var(--radio); padding: 28px 24px; }
.tarjeta h3 { font-size: 1.2rem; font-weight: 800; margin: 18px 0 .4em; }
.tarjeta p { color: var(--texto-suave); font-size: .98rem; }
.icono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; }
.icono svg { width: 28px; height: 28px; }
@media (max-width: 991px) { .tarjetas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .nosotros-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tarjetas { grid-template-columns: 1fr; } }

/* ========== Información legal ========== */
.legales { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tarjeta-legal {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 4vw, 36px); border-radius: calc(var(--radio) + 4px);
  background: var(--legal-fondo); border: 2px solid var(--texto); color: var(--texto); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.tarjeta-legal:hover { color: var(--texto); transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--texto); background: var(--legal-hover); }
.tarjeta-legal .icono { width: 60px; height: 60px; }
.tarjeta-legal h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 900; margin: 6px 0 0; }
.tarjeta-legal p { color: var(--texto-suave); margin: 0; }
.tarjeta-legal .leer { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 800; }
.tarjeta-legal .leer svg { width: 20px; height: 20px; transition: transform .18s ease; }
.tarjeta-legal:hover .leer svg { transform: translateX(4px); }
.nota {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 20px;
  border-radius: 16px; background: var(--nota-fondo); color: var(--texto); font-size: .95rem;
}
.nota svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
@media (max-width: 760px) { .legales { grid-template-columns: 1fr; } }

/* ========== Contacto ========== */
.contacto-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contacto-dato {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px;
  border-radius: 18px; background: var(--dato-fondo); text-decoration: none; color: inherit; max-width: 100%;
}
.contacto-dato:hover { color: inherit; }
.contacto-dato .icono { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.contacto-dato .icono svg { width: 24px; height: 24px; }
.contacto-dato small { display: block; opacity: .8; font-size: .85rem; }
.contacto-dato strong { display: block; font-size: 1.02rem; overflow-wrap: anywhere; }
@media (max-width: 900px) { .contacto-grid { grid-template-columns: 1fr; } }

.formulario {
  background: #fff; color: var(--texto); border-radius: calc(var(--radio) + 6px);
  padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}
.formulario h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: .25em; }
.formulario .ayuda { color: var(--texto-suave); font-size: .95rem; margin-bottom: 22px; }
.fila { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .fila { grid-template-columns: 1fr; } }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.campo label .opcional { font-weight: 400; color: var(--texto-suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texto);
  padding: .8rem 1rem; border: 2px solid var(--input-borde); border-radius: 14px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23555' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--acento-form); box-shadow: 0 0 0 4px var(--anillo); }
.campo.invalido input, .campo.invalido select, .campo.invalido textarea { border-color: #d93025; }
.campo.invalido input:focus, .campo.invalido textarea:focus { box-shadow: 0 0 0 4px rgba(217, 48, 37, .15); }
.error-msg { display: block; color: #c5221f; font-size: .86rem; margin-top: 6px; min-height: 0; }
.error-msg:empty { display: none; }
.campo-check { display: flex; gap: 10px; align-items: flex-start; }
.campo-check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--acento-form); cursor: pointer; }
.campo-check label { font-weight: 400; margin: 0; cursor: pointer; }
.campo-check .error-msg { margin-left: 30px; }
.campo-oculto { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulario .btn-enviar { width: 100%; margin-top: 6px; font-size: 1.05rem; padding: 1rem 1.5rem; }
.girando { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

.form-estado { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-size: .97rem; border: 2px solid; }
.form-estado[hidden] { display: none; }
.form-estado svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.form-estado.exito { background: #e8f7ee; border-color: #1e8e3e; color: #0f5130; }
.form-estado.error { background: #fdecea; border-color: #d93025; color: #7a1a12; }
.form-estado.exito, .form-estado.error { animation: aparecer .25s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ========== Pie de página ========== */
.pie { background: var(--pie-fondo); color: var(--pie-texto); padding: 60px 0 28px; font-size: .98rem; }
.pie-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.pie-titulo { font-family: var(--fuente-titulos); font-weight: 800; color: var(--pie-titulo, #fff); font-size: 1rem; margin: 0 0 14px; letter-spacing: .02em; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: 10px; }
.pie a { color: var(--pie-enlace); text-decoration: none; }
.pie a:hover { color: var(--pie-titulo, #fff); text-decoration: underline; }
.pie-legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 44px; padding-top: 22px; text-align: center; font-size: .9rem; }
.pie-legal p { margin: 0; }
.pie-legal nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 8px; }
@media (max-width: 760px) { .pie-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ========== Páginas legales ========== */
.pagina-hero { background: var(--hero-fondo); color: var(--hero-texto); padding: clamp(40px, 6vw, 64px) 0 clamp(96px, 12vw, 128px); }
.migas { font-size: .92rem; margin-bottom: 14px; opacity: .9; }
.migas a { color: inherit; }
.pagina-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 900; margin-bottom: .3em; }
.actualizado { margin: 0; opacity: .85; }
.documento-envoltura { padding: 0 0 clamp(64px, 8vw, 96px); }
.documento {
  position: relative; max-width: 880px; margin: -72px auto 0; background: #fff; color: var(--texto);
  border-radius: calc(var(--radio) + 6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .10); padding: clamp(24px, 5vw, 56px);
}
.documento .intro { font-size: 1.08rem; }
.documento h2 { font-size: 1.28rem; font-weight: 800; margin: 2.1em 0 .6em; color: var(--doc-titulo); }
.documento h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4em 0 .5em; }
.documento ul { padding-left: 1.3em; margin: 0 0 1em; }
.documento li { margin-bottom: .45em; }
.documento li::marker { color: var(--doc-titulo); }
.documento .aceptacion { margin-top: 2.2em; padding: 18px 20px; border-radius: 16px; background: var(--nota-fondo); }
.doc-nav { max-width: 880px; margin: 28px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-nav a {
  display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 18px;
  background: #fff; border: 2px solid var(--texto); color: var(--texto); text-decoration: none; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.doc-nav a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--texto); color: var(--texto); }
.doc-nav a small { display: block; font-weight: 500; color: var(--texto-suave); font-size: .85rem; }
.doc-nav a:last-child { justify-content: flex-end; text-align: right; }
.doc-nav svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 640px) { .doc-nav { grid-template-columns: 1fr; } .doc-nav a:last-child { justify-content: flex-start; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ========== Logo del pie sobre caja clara (cuando no hay versión para fondo oscuro) ========== */
.pie-logo-caja { display: inline-block; background: var(--claro); padding: 14px 18px; border-radius: 16px; margin-bottom: 16px; }
.pie-logo-caja img { margin: 0; }

/* ========== Facebook ========== */
.facebook-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 5vw, 64px); align-items: center; }
.facebook-marco { width: 340px; max-width: 100%; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.facebook-marco iframe { display: block; width: 100%; height: 500px; border: 0; }
.btn-facebook { background: #1877f2; color: #fff; }
.btn-facebook:hover { background: #0f5fd0; color: #fff; }
@media (max-width: 860px) { .facebook-grid { grid-template-columns: 1fr; } .facebook-marco { margin-inline: auto; } }

/* ===== Diseño EDITORIAL: serio y formal, estilo periódico (titulares con serifa, filetes, esquinas rectas) ===== */
:root {
  --peso-titulo: 700;
  --radio: 4px;
  --texto: var(--oscuro);
  --texto-suave: var(--suave);
  --fondo: var(--claro);
  --enlace: var(--primario-en-claro);
  --enlace-hover: var(--oscuro);
  --foco: var(--primario-en-claro);
  --hover-suave: var(--primario-08);
  --encabezado-fondo: var(--claro);
  --menu-fondo: var(--claro);
  --tarjeta-fondo: transparent;
  --legal-fondo: #fff;
  --legal-hover: #fff;
  --nota-fondo: #fff;
  --dato-fondo: var(--sobre-primario-12);
  --input-borde: var(--borde);
  --acento-form: var(--primario-en-claro);
  --anillo: var(--primario-16);
  --pie-fondo: var(--oscuro);
  --pie-texto: var(--suave-inv);
  --pie-enlace: var(--sobre-oscuro);
  --pie-titulo: var(--sobre-oscuro);
  --hero-fondo: var(--primario);
  --hero-texto: var(--sobre-primario);
  --doc-titulo: var(--oscuro);
}

h1, h2, h3 { letter-spacing: -.01em; }
.btn { border-radius: 3px; }
.campo input, .campo select, .campo textarea { border-radius: 3px; }
.form-estado { border-radius: 3px; }

/* Encabezado tipo cabecera de periódico */
.ed-encabezado { position: relative; background: var(--claro); border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ed-barra { border-bottom: 1px solid var(--borde); font-size: .82rem; color: var(--texto-suave); }
.ed-barra-interior { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.ed-barra-interior span:last-child { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.ed-cabecera { flex-direction: column; justify-content: center; gap: 0; padding-top: 22px; }
.ed-cabecera .marca img { height: clamp(48px, 7vw, 76px); width: auto; max-width: min(460px, 80vw); }
.ed-nav {
  width: 100%; justify-content: center; gap: 4px 26px; flex-wrap: wrap; margin-top: 20px; padding: 10px 0;
  border-top: 1px solid var(--oscuro); border-bottom: 3px double var(--oscuro);
}
.ed-nav > a:not(.btn) {
  padding: .35rem 0; border-radius: 0; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
}
.ed-nav > a:not(.btn):hover, .ed-nav > a[aria-current="page"] { background: none; color: var(--primario-en-claro); text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 991px) {
  .ed-barra-interior span:last-child { display: none; }
  .ed-cabecera { flex-direction: row; justify-content: space-between; padding: 12px 0; min-height: 0; }
  .ed-cabecera .marca img { height: 44px; }
  .ed-nav { margin-top: 0; border-top: 0; border-bottom: 3px double var(--oscuro); left: -16px; right: -16px; padding: 12px 16px 16px; }
  .ed-nav > a:not(.btn) { padding: .7rem 0; font-size: .9rem; border-bottom: 1px solid var(--borde); }
}

/* Botones */
.btn-primario, .btn-hero { background: var(--primario); color: var(--sobre-primario); }
.btn-primario:hover, .btn-hero:hover { background: var(--primario-hover); color: var(--sobre-primario); }
.btn-borde, .btn-hero-2 { border-color: var(--oscuro); color: var(--oscuro); }
.btn-borde:hover, .btn-hero-2:hover { background: var(--oscuro); color: var(--sobre-oscuro); }

/* Acentos */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primario-en-claro);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.seccion-cabeza.centrada .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.resalta { font-style: italic; color: var(--primario-en-claro); }

/* Portada */
.hero { background: var(--claro); border-bottom: 1px solid var(--borde); }
.hero h1 { font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; }
.hero-texto p { color: var(--texto-suave); font-size: 1.2rem; }
.hero-legal a { color: var(--primario-en-claro); }
.hero-figura { margin: 0; }
.hero-figura .marco { background: #fff; border: 1px solid var(--oscuro); padding: 10px; }
.hero-figura .marco.caja-logo { padding: clamp(36px, 7vw, 72px); display: grid; place-items: center; }
.hero-figura .marco.caja-logo img { width: min(360px, 100%); }
.hero-figura figcaption { margin-top: 10px; font-size: .86rem; font-style: italic; color: var(--texto-suave); border-left: 3px solid var(--primario-en-claro); padding-left: 10px; }

/* Nosotros */
.nosotros { background: #fff; }
.nosotros-logo { border: 1px solid var(--borde); padding: clamp(28px, 5vw, 56px); display: grid; place-items: center; background: var(--claro); }
.nosotros-logo img { width: min(340px, 100%); }
.nosotros .lead:first-of-type::first-letter {
  float: left; font-family: var(--fuente-titulos); font-weight: 700; font-size: 3.5em; line-height: .86;
  padding: 6px 10px 0 0; color: var(--primario-en-claro);
}
.tarjetas { gap: 0; border-top: 3px solid var(--oscuro); }
.tarjeta { border: 0; border-radius: 0; border-right: 1px solid var(--borde); padding: 26px 24px 8px; }
.tarjeta:last-child { border-right: 0; }
.tarjeta .icono { width: auto; height: auto; place-items: start; background: none; color: var(--primario-en-claro); border-radius: 0; }
.tarjeta h3 { font-size: 1.3rem; font-weight: 700; }
@media (max-width: 991px) {
  .tarjeta { border-right: 0; border-bottom: 1px solid var(--borde); padding-bottom: 22px; }
  .tarjeta:nth-child(odd) { border-right: 1px solid var(--borde); }
}
@media (max-width: 560px) { .tarjeta:nth-child(odd) { border-right: 0; } }

/* Facebook */
.facebook { background: var(--claro); border-top: 1px solid var(--borde); }
.facebook-marco { border-radius: 3px; }

/* Información legal */
.informacion-legal { background: var(--claro); border-top: 1px solid var(--borde); }
.tarjeta-legal { border: 1px solid var(--oscuro); border-radius: 3px; }
.tarjeta-legal:hover { box-shadow: 6px 6px 0 var(--primario); }
.tarjeta-legal .icono { background: none; border: 1.5px solid var(--primario-en-claro); color: var(--primario-en-claro); border-radius: 50%; }
.tarjeta-legal h3 { font-weight: 700; }
.tarjeta-legal .leer { color: var(--primario-en-claro); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.nota { border: 1px solid var(--borde); border-radius: 3px; }

/* Contacto */
.contacto { background: var(--primario); color: var(--sobre-primario); }
.contacto .eyebrow { color: var(--acento-en-primario); }
.contacto .lead { color: var(--sobre-primario-suave); }
.contacto-dato { border-radius: 3px; }
.contacto-dato .icono { background: var(--acento); color: var(--sobre-acento); border-radius: 3px; }
.formulario { border-radius: 4px; }
.formulario .btn-enviar { background: var(--primario); color: var(--sobre-primario); }
.formulario .btn-enviar:hover { background: var(--primario-hover); }

/* Pie */
.pie-logo { width: 190px; margin-bottom: 16px; }
.pie-logo-caja { border-radius: 3px; }

/* Páginas legales */
.pagina-hero h1 { font-weight: 700; }
.documento { border-radius: 4px; }
.documento h2 { font-size: 1.35rem; border-bottom: 1px solid var(--borde); padding-bottom: .35em; }
.doc-nav a { border-radius: 3px; border-width: 1px; }

/* Ajustes propios del sitio (extra.css) */
/* Transformando Progreso: el logo es muy horizontal y trae el lema abajo; en la cabecera va más grande. */
.ed-cabecera .marca img { height: clamp(64px, 8.5vw, 104px); max-width: min(520px, 86vw); }
@media (max-width: 991px) {
  .ed-cabecera .marca img { height: 52px; }
}
