/* ============================================================
   front.css — Front público de DIDIDAI (landing + formulario).
   Traducción a clases de los estilos del prototipo de Claude Design
   (que venían inline). Con la CSP estricta del proyecto, NADA de estilos
   inline: todo vive aquí. Fuentes autoalojadas (font-src 'self').

   Paleta de marca (dirección acordada): naranja #f7941d al mando,
   tinta cálida #241a12, fondos hueso/crema. Display: Fraunces; cuerpo: Poppins.
   ============================================================ */

:root {
  --c-naranja: #f7941d;
  --c-naranja-osc: #d97408;
  --c-terracota: #b8560f;
  --c-tinta: #241a12;
  --c-cuerpo: #55483d;
  --c-crema: #fffdf9;
  --c-crema-2: #f6efe4;
  --c-crema-3: #fbf4e9;
  --c-borde: #e8ddcb;
  --c-arena: #ffd9a0;
  --ancho: 1140px;
}

/* ---------- Fuentes autoalojadas (subconjunto latin + latin-ext) ---------- */
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/fraunces-500-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/fraunces-500-latin-ext.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;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/fraunces-600-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/fraunces-600-latin-ext.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;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/fraunces-700-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/poppins-400-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/poppins-400-latin-ext.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;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/poppins-500-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/poppins-500-latin-ext.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;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/poppins-600-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/poppins-600-latin-ext.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;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/poppins-700-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/poppins-700-latin-ext.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;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.front {
  margin: 0;
  overflow-x: clip;
  font-family: Poppins, 'Segoe UI', system-ui, sans-serif;
  color: var(--c-cuerpo);
  background: var(--c-crema);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.front a { color: var(--c-terracota); }
.front img { max-width: 100%; }
.wrap { max-width: var(--ancho); margin-inline: auto; padding-inline: 24px; }

.serif { font-family: Fraunces, Georgia, 'Times New Roman', serif; }
.eyebrow {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--c-naranja-osc); margin: 0 0 .7rem;
}
.eyebrow.on-dark { color: var(--c-arena); }

.h-sec {
  font-family: Fraunces, Georgia, serif; color: var(--c-tinta);
  line-height: 1.05; font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin: 0 0 1.2rem;
}
.h-sec.on-dark { color: #fff; }
.lead-sec { font-size: 1.15rem; color: var(--c-cuerpo); max-width: 60ch; }
.col-texto { margin-bottom: 1.4rem; }
.d-inline { display: inline; }

/* ---------- Botones ---------- */
.btn-pill {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: .62rem 1.3rem; border-radius: 999px; font-size: .95rem;
  border: 1.6px solid transparent; cursor: pointer;
}
.btn-naranja {
  background: var(--c-naranja); color: #fff;
  box-shadow: 0 6px 18px rgba(247, 148, 29, .35);
}
.btn-naranja:hover { background: var(--c-naranja-osc); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: #fff; color: var(--c-terracota); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-borde);
}
.site-header .bar { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand img { width: 52px; height: 52px; flex: none; object-fit: contain; }
.site-nav { margin-left: auto; display: flex; gap: 1.4rem; align-items: center; }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--c-tinta); font-size: .92rem; font-weight: 500;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom: 2px solid var(--c-naranja); }
.lang { display: flex; gap: .3rem; font-size: .78rem; align-items: center; }
.lang button, .lang a {
  padding: .2rem .45rem; border-radius: 6px; text-decoration: none;
  border: none; background: none; cursor: pointer; font: inherit; font-size: .78rem;
  color: #33667c;
}
.lang .is-active { background: var(--c-tinta); color: #fff; }

/* Acceso a gestión desde la cabecera del front (discreto, tono secundario). */
.admin-links { display: flex; gap: .9rem; align-items: center; font-size: .82rem; }
.admin-links a, .admin-acceso {
  text-decoration: none; color: #33667c; font-weight: 500; white-space: nowrap;
}
.admin-links a:hover, .admin-acceso:hover { color: var(--c-naranja-osc); text-decoration: underline; }
.admin-acceso { font-size: .82rem; }
.link-salir {
  border: none; background: none; cursor: pointer; font: inherit; font-size: .82rem;
  color: #b8560f; padding: 0;
}
.link-salir:hover { text-decoration: underline; }
.menu-btn {
  display: none; align-items: center; justify-content: center; background: none;
  border: 1.6px solid var(--c-borde); font-size: 1.2rem; line-height: 1;
  border-radius: 8px; width: 42px; height: 40px; cursor: pointer; color: var(--c-tinta);
}
/* CTA "Colaborar" dentro del menú desplegable: solo visible en móvil. */
.nav-cta-mobile { display: none; color: var(--c-terracota) !important; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 82vh; display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; top: -24%; left: 0; right: 0; bottom: 0;
  background-image: url('/images/front/hero.jpg');
  background-size: cover; background-position: center 40%; will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.05) 75%, rgba(0,0,0,0) 100%);
}
.hero-fg {
  position: relative; z-index: 2; width: 100%;
  padding-bottom: 66px; padding-top: 120px; will-change: transform;
}
.hero-inner { max-width: 820px; }
.hero-eyebrow { color: var(--c-arena); }
.hero-num {
  font-family: Fraunces, serif; font-weight: 600; color: #fff;
  font-size: clamp(5rem, 17vw, 11rem); line-height: .82; letter-spacing: -.04em;
  display: flex; align-items: baseline; gap: .05em; text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero-num span { font-size: .38em; color: var(--c-arena); }
.hero h1 {
  font-family: Fraunces, serif; color: #fff; line-height: 1.05; font-weight: 600;
  letter-spacing: -.01em; font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  margin: .6rem 0 .7rem; max-width: 18ch; text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-sub {
  font-size: 1.1rem; color: #fdeeda; max-width: 52ch; margin: 0 0 1.7rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Secciones ---------- */
.sec { padding: 84px 0; }
.sec-crema { background: var(--c-crema-2); }
.sec-crema-3 { background: var(--c-crema-3); }
.sec-oscura { background: var(--c-tinta); color: #fff; }
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
.foto {
  border-radius: 4px; aspect-ratio: 3/2; background-size: cover; background-position: center;
  box-shadow: 0 20px 50px rgba(36, 26, 18, .22); will-change: transform;
}
.foto-act { background-image: url('/images/front/ph-act.jpg'); }
.foto-fil { background-image: url('/images/front/ph-fil.jpg'); }

/* ---------- Transparencia (stats) ---------- */
.trans-cab { text-align: center; max-width: 60ch; margin: 0 auto 2.6rem; }
.trans-cab .lead-sec { color: #d8cdbf; max-width: 56ch; margin: .6rem auto 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: center; }
.stat-num {
  font-family: Fraunces, serif; font-size: clamp(2.8rem, 7vw, 4.2rem);
  color: var(--c-naranja); font-weight: 600; line-height: 1;
}
.stat-lbl { font-size: .95rem; color: #d8cdbf; margin-top: .4rem; }

/* ---------- Objetivos ---------- */
.obj-ol {
  list-style: none; padding: 0; margin: 1.8rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2.4rem;
}
.obj-ol li {
  position: relative; padding-left: 2.7rem; color: var(--c-tinta);
  font-size: .98rem; line-height: 1.55;
}
.obj-ol li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--c-naranja); box-shadow: 0 0 0 5px rgba(247, 148, 29, .16);
}
.obj-ol b { color: var(--c-terracota); font-weight: 600; }

/* ---------- Colaborar (formulario) ---------- */
.form-grid {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start;
}
.punto { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; font-size: .92rem; color: var(--c-tinta); }
.punto .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c-naranja); flex: none; margin-top: 2px; }

.form-card {
  background: var(--c-crema); border-radius: 14px; padding: 2rem;
  box-shadow: 0 24px 60px rgba(36, 26, 18, .14); border: 1px solid var(--c-borde);
}
.tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1.4rem; }
.tipo {
  border: 1.6px solid var(--c-borde); border-radius: 12px; padding: .9rem .6rem;
  cursor: pointer; text-align: center; background: var(--c-crema);
}
.tipo:hover { border-color: var(--c-naranja); }
.tipo.sel { border-color: var(--c-naranja); background: #fff6e9; box-shadow: 0 0 0 3px rgba(247, 148, 29, .12); }
.tipo .t-nombre { font-weight: 600; color: var(--c-tinta); display: block; font-size: .92rem; }
.tipo .t-desc { font-size: .74rem; color: var(--c-cuerpo); }
/* Panel Teaming: se muestra en lugar de los campos cuando el tipo es microdonación. */
.teaming-panel {
  text-align: center; padding: 1.6rem 1rem; border: 1.6px dashed var(--c-arena);
  border-radius: 12px; background: #fff8ee;
}
.teaming-lead { color: var(--c-tinta); font-size: .95rem; line-height: 1.55; margin: 0 auto 1.1rem; max-width: 34ch; }
.teaming-nota { color: var(--c-cuerpo); font-size: .74rem; margin: .9rem 0 0; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo { margin-bottom: 1rem; }
.campo label { display: block; font-size: .82rem; font-weight: 600; color: var(--c-tinta); margin-bottom: .35rem; }
.campo input, .campo select {
  width: 100%; padding: .65rem .75rem; border: 1.6px solid var(--c-borde);
  border-radius: 10px; font: inherit; color: var(--c-tinta); background: #fff;
}
.campo input:focus, .campo select:focus {
  outline: none; border-color: var(--c-naranja); box-shadow: 0 0 0 3px rgba(247, 148, 29, .12);
}
.rgpd-basica { background: rgba(0, 0, 0, .03); border: 1px solid rgba(0, 0, 0, .08); border-radius: 10px; padding: .8rem 1rem; margin: .8rem 0 1rem; font-size: .78rem; color: var(--c-cuerpo); }
.rgpd-basica-titulo { font-weight: 600; margin: 0 0 .5rem; }
.rgpd-basica dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; margin: 0; }
.rgpd-basica dt { font-weight: 600; }
.rgpd-basica dd { margin: 0; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; margin: .5rem 0 1.3rem; color: var(--c-cuerpo); }
.consent input { margin-top: .3rem; flex: none; }
.btn-enviar {
  width: 100%; background: var(--c-naranja); color: #fff; border: none; cursor: pointer;
  font-weight: 600; font-size: 1.02rem; padding: .85rem; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(247, 148, 29, .35);
}
.btn-enviar:hover { background: var(--c-naranja-osc); }
.form-nota { font-size: .8rem; color: #8a7c6d; margin-top: 1rem; }
.field-error { color: #b3261e; font-size: .78rem; margin-top: .25rem; display: block; }

/* Honeypot: fuera de la vista para humanos, presente para bots. NO usar
   display:none ni type=hidden (algunos bots los saltan). */
.hp-field {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px;
  overflow: hidden;
}

.aviso-ok {
  background: #eafaf0; border: 1px solid #24b662; color: #167a3e;
  padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.4rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-tinta); color: #b9ab9b; padding: 44px 0; font-size: .9rem; }
.site-footer .bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.footer-links a { white-space: nowrap; }

/* ---------- Páginas legales (aviso legal, privacidad, cookies) ---------- */
.legal-page { padding: 48px 0 64px; background: var(--c-crema, #faf6f0); }
.legal-wrap { max-width: 820px; }
.legal-wrap h1 { font-size: 2rem; margin-bottom: .5rem; }
.legal-wrap h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: .5rem; }
.legal-wrap h3 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: .4rem; }
.legal-wrap p, .legal-wrap li { line-height: 1.65; }
.legal-wrap ul, .legal-wrap ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-wrap li { margin-bottom: .35rem; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.legal-wrap th, .legal-wrap td { border: 1px solid #d9cfc2; padding: .55rem .7rem; text-align: left; vertical-align: top; }
.legal-wrap thead th { background: #efe7db; }
.legal-wrap code { background: #efe7db; padding: .1rem .35rem; border-radius: 4px; font-size: .9em; }
.legal-nota { margin-top: 2rem; padding: .9rem 1.1rem; background: #efe7db; border-radius: 8px; font-size: .9rem; color: #6b5d4d; }
.legal-updated { color: #8a7a68; font-size: .9rem; margin-bottom: 1.5rem; }
@media (max-width: 640px) {
  .legal-wrap table, .legal-wrap thead, .legal-wrap tbody, .legal-wrap th, .legal-wrap td, .legal-wrap tr { display: block; }
  .legal-wrap thead { display: none; }
  .legal-wrap td { border: none; border-bottom: 1px solid #d9cfc2; padding: .4rem 0; }
  .legal-wrap tr { border: 1px solid #d9cfc2; border-radius: 8px; padding: .6rem .8rem; margin-bottom: .8rem; }
}

/* ---------- Animaciones (scroll reveal + count-up) ---------- */
@keyframes heroRise { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: translateY(0); } }
.anim [data-hero] { opacity: 0; animation: heroRise .95s cubic-bezier(.22,1,.36,1) both; }
.anim [data-rv] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.anim [data-rv="left"] { transform: translateX(-48px); }
.anim [data-rv="right"] { transform: translateX(48px); }
.anim [data-rv="fade"] { transform: none; transition: opacity 1.1s ease; }
.anim [data-rv].in { opacity: 1; transform: translateY(0); }
.anim [data-rv="left"].in, .anim [data-rv="right"].in { transform: translateX(0); }

/* ---------- Responsive (mobile-first: colapsos por debajo de 860px) ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-crema); border-bottom: 1px solid var(--c-borde);
    padding: .5rem 24px 1rem; box-shadow: 0 12px 24px rgba(36, 26, 18, .1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--c-borde); }
  .menu-btn { display: inline-flex; }
  .site-nav { gap: .6rem; }
  /* En móvil el CTA "Colaborar" se ofrece dentro del menú desplegable; en la barra
     dejamos solo idioma + hamburguesa para que no se desborde en pantallas estrechas. */
  .site-nav > .btn-pill { display: none; }
  .nav-cta-mobile { display: block; }
  .split, .form-grid, .obj-ol, .row2, .tipos { grid-template-columns: 1fr; }
  .split.foto-primero > div:last-child { order: -1; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 0; }
  .hero-fg { padding-top: 92px; padding-bottom: 48px; }
  .hero-sub { font-size: 1rem; }
  .sec { padding: 60px 0; }
  .form-card { padding: 1.4rem; }
}

/* Pantallas muy estrechas: el idioma no roba sitio a la marca. */
@media (max-width: 400px) {
  .lang { font-size: .72rem; }
  .brand img { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim [data-hero], .anim [data-rv] { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
