/* ===========================================================================
   Business Humanizers Academy — Landing de captación (FUNDAE / Kit Digital)
   Identidad: amarillo #ffc700 + antracita/negro + blanco + gris claro.
   Motivo de marca: cuadrados entrelazados (geometría del logo).
   Amarillo solo en acentos. Sin azul.
   =========================================================================== */
:root {
  --yellow: #ffc700;
  --yellow-dark: #e6b000;
  --yellow-soft: #fff6d1;
  --ink: #181818;          /* títulos / texto oscuro */
  --ink-soft: #3a3a3a;     /* gris del logo */
  --text: #33343a;
  --muted: #6b6f78;
  --line: #e8e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f6f7;      /* gris claro de marca */
  --bg-soft-2: #efeff1;
  --dark: #111111;
  --dark-2: #1b1b1e;       /* tarjetas sobre oscuro */
  --dark-3: #232327;
  --dark-line: #313136;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px -22px rgba(0, 0, 0, .22);
  --shadow-card: 0 30px 70px -28px rgba(0, 0, 0, .4);
  --maxw: 1180px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;            /* salvaguarda anti-desbordamiento horizontal */
}
h1, h2, h3 { font-family: var(--font); color: var(--ink); line-height: 1.14; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 4.8vw, 3.45rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: none; }
ul { margin: 0; }
img { max-width: 100%; }
code { background: var(--bg-soft-2); padding: .1em .4em; border-radius: 5px; font-size: .9em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }

/* ----- Intro animada ----- */
.intro-overlay { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: #fff; cursor: pointer; transition: opacity .55s ease, visibility .55s ease; }
.intro-overlay.intro-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-logo { width: min(460px, 74vw); height: auto; }
@media (prefers-reduced-motion: reduce) { .intro-overlay { display: none; } }

/* ----- Botones (no "pastilla genérica": rectángulo redondeado premium) ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--yellow); color: var(--ink); font-family: var(--font); font-weight: 700;
  border: 0; border-radius: 12px; padding: .92em 1.8em; cursor: pointer; font-size: 1.02rem;
  letter-spacing: .005em; line-height: 1.1;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  box-shadow: 0 10px 22px -10px rgba(255, 199, 0, .85);
}
.btn:hover { background: var(--yellow-dark); transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(255, 199, 0, .9); text-decoration: none; color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1.05em 2.2em; font-size: 1.1rem; }
.btn-xl { padding: 1.2em 2.8em; font-size: 1.18rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ----- Header ----- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; }
.brand-logo-anim svg { height: 46px; width: auto; display: block; overflow: visible; }
.header-cta { padding: .72em 1.5em; font-size: .98rem; }

/* ----- HERO ----- */
.hero { position: relative; overflow: hidden; padding: clamp(14px, 1.8vw, 24px) 0 clamp(8px, 1.2vw, 16px);
  background:
    radial-gradient(780px 420px at 90% -12%, rgba(255,199,0,.18), transparent 60%),
    radial-gradient(640px 420px at -10% 110%, rgba(24,24,24,.05), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 70%); }
/* Motivo de marca: cuadrados entrelazados, sutiles (totalmente visibles, detrás del contenido) */
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-deco .sq { position: absolute; border-radius: 8px; }
.hero-deco .sq-1 { width: 128px; height: 128px; top: 34px; right: 70px; border: 6px solid rgba(24,24,24,.09); }
.hero-deco .sq-2 { width: 128px; height: 128px; top: 80px; right: 122px; border: 6px solid rgba(255,199,0,.45); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 52px; align-items: start; }
.hero-copy, .form-card { min-width: 0; }   /* permite encoger en grid y evita overflow */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font); font-weight: 800; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  background: var(--yellow); padding: .42em .95em; border-radius: 8px; margin: 0 0 .8em; }
.hero h1 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); line-height: 1.1; max-width: 17ch; margin-bottom: .3em; }
.hero .lead { font-size: 1.04rem; line-height: 1.5; color: var(--muted); max-width: 48ch; margin-bottom: 1em; }
.hero-bullets { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .5em; }
.hero-bullets li { position: relative; padding-left: 2em; font-weight: 500; font-size: .98rem; color: var(--ink); }
.hero-bullets li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.45em; height: 1.45em;
  background: var(--yellow); color: var(--ink); border-radius: 7px; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: .9em; }
.hero-proof { font-weight: 700; color: var(--ink); font-size: .98rem; margin: 0;
  padding-left: 14px; border-left: 4px solid var(--yellow); }
.hero-seal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; width: fit-content; max-width: 100%;
  background: var(--ink); color: #fff; padding: .7em 1.2em; border-radius: 10px; font-family: var(--font);
  font-weight: 600; font-size: .86rem; letter-spacing: .01em; }
.hero-seal i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); display: inline-block; }

/* Tarjeta de formulario */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-card); position: relative; scroll-margin-top: 96px; }
.form-card::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 5px;
  background: var(--yellow); border-radius: 0 0 6px 6px; }
.form-title { font-size: 1.42rem; margin-bottom: .25em; }
.form-sub { color: var(--muted); font-size: 1rem; margin-bottom: 1.4em; }
.lead-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .78em .9em; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-width: 0; max-width: 100%; }
.field select { text-overflow: ellipsis; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,199,0,.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.err { color: #c0392b; font-size: .85rem; }
.field-consent .consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  font-weight: 400; font-family: var(--font-body); color: var(--muted); font-size: .85rem; line-height: 1.55; }
.field-consent input { width: auto; margin-top: 4px; accent-color: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert { border-radius: var(--radius-sm); padding: 20px 22px; }
.alert-success { background: var(--yellow-soft); border: 1px solid var(--yellow); color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.alert-error { background: #fdecea; border: 1px solid #f5c6c0; color: #a52c1e; margin-bottom: 14px; }

/* ----- Secciones ----- */
.section { padding: clamp(58px, 7.5vw, 100px) 0; }
.section h2 { text-align: center; }
.section h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--yellow);
  border-radius: 4px; margin: .6em auto 0; }
.section-intro { text-align: center; color: var(--muted); font-size: 1.15rem; line-height: 1.65; max-width: 64ch; margin: 0 auto 2.6em; }
.section-cta { text-align: center; margin-top: 2.4em; }
.section-problem { background: var(--bg-soft); }
.section-bonus { background: var(--bg-soft); }
.section-process { background: var(--bg-soft); }
.section-includes { background: var(--bg-soft); }
.section-audience { background: var(--bg); }
.section-faq { background: var(--bg); }

/* Secciones oscuras (antracita, con textura sutil) */
.section-dark { position: relative;
  background:
    radial-gradient(820px 440px at 86% -12%, rgba(255,199,0,.12), transparent 60%),
    linear-gradient(168deg, #18181b 0%, #0e0e0f 100%); }
.section-dark h2 { color: #fff; }
.section-dark .section-intro { color: #c4c6cc; }

/* Grids y tarjetas */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { margin: 0; color: var(--text); font-size: 1.02rem; }

/* Problema: encabezado a la izquierda, tarjetas ordenadas a la derecha */
.problem-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: start; }
.problem-head h2 { text-align: left; }
.problem-head h2::after { margin: .55em 0 0; }
.problem-intro { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin: 0; }
.problem-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.problem-cards .card:last-child { grid-column: 1 / -1; }
.card-problem { display: flex; gap: 16px; align-items: center; background: var(--white);
  box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px 24px;
  transition: transform .16s ease, box-shadow .16s ease; }
.card-problem:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -22px rgba(0,0,0,.26); }
.card-problem p { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.prob-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--yellow);
  position: relative; }
.prob-icon::before, .prob-icon::after { content: ""; position: absolute; top: 50%; left: 50%;
  width: 17px; height: 3px; background: var(--ink); border-radius: 2px; transform: translate(-50%,-50%) rotate(45deg); }
.prob-icon::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* Solución: cabecera fuera (encima de la imagen) + banner con foto y tarjetas dentro */
/* Sin padding inferior: el banner llega al borde y no deja franja negra vacía debajo. */
.section-solution { padding-bottom: 0; }
.solution-head { text-align: center; max-width: 820px; margin: 0 auto 2.2em; }
.section-solution h2 { text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: #fff; }
.section-solution h2::after { margin: .55em auto 0; }
.solution-text { color: #c8cad0; font-size: 1.1rem; line-height: 1.6; margin: .7em auto 0; max-width: 72ch; }
/* Banner a sangre completa (la imagen llega a los bordes de la página) */
.solution-banner { position: relative; overflow: hidden; min-height: 460px;
  background: url('/static/solucion.jpg') left center / cover no-repeat, #1b1b1e;
  display: flex; align-items: center; }
.solution-banner::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(17,17,18,.12) 0%, rgba(17,17,18,.28) 34%, rgba(17,17,18,.9) 56%, #16161a 80%); }
.solution-banner > .container { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.solution-cards { width: min(500px, 100%); padding: 46px 0; }
.solution-highlight { margin: 0 0 1.4em; font-family: var(--font); font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; color: #fff;
  border-left: 5px solid var(--yellow); padding-left: 20px; text-align: left; }
.pillars { display: grid; gap: 12px; margin: 0 0 1.5em; }
.card-pillar { display: flex; gap: 16px; align-items: stretch; padding: 16px 20px;
  background: rgba(24,24,27,.78); border: 1px solid var(--dark-line); border-radius: 14px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.card-pillar h3 { color: #fff; font-size: 1.08rem; margin: 0 0 .15em; }
.card-pillar p { color: #b6b9c0; font-size: .96rem; margin: 0; }
.pillar-bar { flex: 0 0 auto; width: 5px; align-self: stretch; background: var(--yellow); border-radius: 4px; }
.solution-cta { margin-top: .2em; }

/* Formulario: bloque plegable "Ver más" */
.more-fields { margin: 2px 0; }
.more-fields > summary { list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: .95rem; color: var(--ink);
  background: var(--bg-soft); border: 1px dashed #d4d6dd; border-radius: 10px; padding: 12px 16px; }
.more-fields > summary::-webkit-details-marker { display: none; }
.more-fields > summary::after { content: "▾"; color: var(--yellow-dark); font-size: 1.05rem; transition: transform .2s ease; }
.more-fields[open] > summary::after { transform: rotate(180deg); }
.more-fields > summary:hover { border-color: var(--yellow); }
.more-fields > summary .vmenos { display: none; }
.more-fields[open] > summary .vm { display: none; }
.more-fields[open] > summary .vmenos { display: inline; }
.more-inner { display: grid; gap: 14px; padding-top: 14px; }

/* Bonificación */
.bonus-grid { gap: 22px; }
.card-bonus { border-top: 5px solid var(--yellow); box-shadow: var(--shadow); padding-top: 26px;
  transition: transform .18s ease, box-shadow .18s ease; }
.card-bonus:hover { transform: translateY(-8px); box-shadow: 0 30px 56px -22px rgba(0,0,0,.30); }
.card-bonus:hover .bonus-icon { transform: rotate(-6deg) scale(1.08); background: var(--yellow); }
.bonus-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 14px;
  background: var(--yellow-soft); border: 2px solid var(--yellow); margin-bottom: 16px;
  transition: transform .18s ease, background .18s ease; }
.bonus-icon img { width: 32px; height: 32px; display: block; }
.bonus-title { font-size: 1.3rem; margin-bottom: .35em; }
.notice { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 2.2em auto 0;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 10px;
  padding: 14px 18px; color: var(--muted); font-size: .95rem; }
.notice-mark { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--yellow);
  display: grid; place-items: center; font-family: var(--font); font-weight: 800; font-style: normal; font-size: .8rem; }

/* Qué incluye (2 columnas, tarjetas) */
.check-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.check-grid li { position: relative; padding: 20px 22px 20px 64px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink);
  font-size: 1.05rem; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.check-grid li:hover { transform: translateY(-5px); border-color: var(--yellow);
  box-shadow: 0 24px 44px -22px rgba(0,0,0,.24); }
.check-grid li::before { content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; background: var(--yellow); color: var(--ink); border-radius: 9px;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; transition: transform .16s ease; }
.check-grid li:hover::before { transform: translateY(-50%) rotate(8deg) scale(1.12); }

/* Para quién: tarjetas NUMERADAS (insignia oscura con nº amarillo) para que se
   distingan claramente del checklist de "Qué incluye". */
.section-audience .grid-3 { counter-reset: aud; }
.card-audience { counter-increment: aud; display: flex; align-items: center; gap: 18px;
  padding: 24px 26px; border-left: 4px solid var(--yellow); box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.card-audience:hover { transform: translateY(-5px);
  box-shadow: 0 24px 44px -22px rgba(0,0,0,.24); }
.card-audience h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.card-audience .dot { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  background: var(--ink); color: var(--yellow); display: grid; place-items: center;
  font-family: var(--font); font-weight: 800; font-size: 1.05rem; transition: transform .16s ease; }
.card-audience .dot::before { content: counter(aud, decimal-leading-zero); }
.card-audience:hover .dot { transform: scale(1.08) rotate(-4deg); }

/* Prueba social (oscuro) */
.metrics { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-bottom: 2em; }
.metric { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 16px;
  padding: 26px 38px; text-align: center; min-width: 200px; }
.metric-value { display: block; font-family: var(--font); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--yellow); line-height: 1; }
.metric-label { color: #c4c6cc; font-size: .98rem; margin-top: .4em; display: block; }
.proof-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 2.4em; }
.proof-badge { background: var(--dark-2); border: 1px solid var(--yellow); border-radius: 999px;
  padding: .6em 1.3em; font-family: var(--font); font-weight: 600; color: #fff; font-size: .96rem; }
.proof-cols { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.mentor-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 18px; padding: 30px;
  display: flex; flex-direction: column; justify-content: center; }
.mentor-tag { display: inline-block; align-self: flex-start; font-family: var(--font); font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--yellow);
  padding: .4em .9em; border-radius: 7px; margin-bottom: 1em; }
.mentor-name { font-family: var(--font); font-weight: 800; font-size: 1.6rem; color: #fff; margin: 0 0 .15em; }
.mentor-role { color: #bcbfc6; margin: 0; font-size: 1rem; }
.section-proof .testimonial { margin: 0; background: var(--dark-2); border: 1px solid var(--dark-line);
  border-radius: 18px; padding: 32px; position: relative; }
.section-proof .testimonial .quote-mark { position: absolute; top: 8px; left: 22px; font-family: var(--font);
  font-size: 4rem; color: var(--yellow); line-height: 1; opacity: .9; }
.section-proof .testimonial p { font-size: 1.22rem; color: #fff; font-style: italic; margin: .8em 0 1em; padding-top: 18px; }
.section-proof .testimonial footer { color: #aeb1b9; font-size: .95rem; font-style: normal; }

/* Proceso en 3 pasos (con conector) */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-line { display: none; }
.step { text-align: center; padding: 14px; position: relative; z-index: 1; }
.step-num { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-family: var(--font); font-weight: 800; font-size: 1.7rem;
  margin-bottom: 20px; box-shadow: 0 12px 26px -12px rgba(255,199,0,.9); }
.step h3 { margin-bottom: .4em; font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* FAQ */
.section-faq h2 { margin-bottom: 1.6em; }
.faq { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: box-shadow .15s ease, border-color .15s ease; }
.faq-item[open] { box-shadow: var(--shadow); border-color: #dcdce2; }
.faq-item summary { cursor: pointer; padding: 22px 24px; font-family: var(--font); font-weight: 700; font-size: 1.08rem;
  color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 800; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 1.05rem; }
.faq-answer p { margin: 0; }

/* CTA final (antracita) */
.section-finalcta { background:
    radial-gradient(700px 380px at 50% -20%, rgba(255,199,0,.16), transparent 60%),
    linear-gradient(168deg, #18181b, #0d0d0e); }
.section-finalcta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-finalcta h2::after { margin-left: auto; margin-right: auto; }
.finalcta-text { color: #c4c6cc; text-align: center; max-width: 62ch; margin: 0 auto 2.2em; font-size: 1.16rem; }
.finalcta-proof { margin: 1.4em 0 0; color: #9da0a8; font-size: .95rem; font-weight: 600; }

/* Footer (gris oscuro, logo blanco integrado, contenido de izquierda a derecha) */
.site-footer { background: #1b1b1d; color: #b3b6bd; padding: 54px 0 34px; border-top: 4px solid var(--yellow); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; text-align: left; }
.footer-brandcol { max-width: 56ch; }
.footer-logo img { height: 44px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .9; }
.footer-legal { font-size: .9rem; color: #9498a1; margin: 16px 0 0; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title { font-family: var(--font); font-weight: 800; color: #fff; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.footer-nav a { color: var(--yellow); font-weight: 600; }
.footer-copy { font-size: .84rem; color: #797d86; margin: 30px 0 0; padding-top: 22px;
  border-top: 1px solid #2c2c30; text-align: left; }

/* ----- Páginas legales ----- */
.legal-wrap { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 90px); background: var(--bg); }
.legal-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .2em; }
.legal-updated { color: var(--muted); font-size: .92rem; margin: 0 0 2em; padding-bottom: 1.4em; border-bottom: 3px solid var(--yellow); display: inline-block; }
.legal-body h2 { font-size: 1.3rem; margin: 1.6em 0 .4em; }
.legal-body p { color: var(--text); margin: 0 0 1em; }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.legal-body li { margin-bottom: .5em; }
.legal-body a { color: var(--yellow-dark); font-weight: 600; }
.legal-note { background: var(--bg-soft); border-left: 4px solid var(--yellow); border-radius: 8px;
  padding: 14px 18px; color: var(--muted); font-size: .92rem; margin-top: 2em; }

/* ----- Responsive ----- */
@media (min-width: 921px) {
  /* El hero ocupa justo el alto de pantalla (menos la top bar): al entrar,
     la vista termina donde acaba el hero, sin que asome la sección siguiente. */
  .hero { min-height: calc(100vh - 74px); display: flex; align-items: center; }
  /* conector entre pasos */
  .steps-line { display: block; position: absolute; top: 34px; left: 16.66%; right: 16.66%; height: 3px;
    background: repeating-linear-gradient(90deg, var(--yellow) 0 14px, transparent 14px 26px); z-index: 0; }
}
@media (max-width: 920px) {
  .topbar-inner { height: 70px; }
  .brand-logo-anim svg { height: 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-deco { display: none; }
  .form-card { order: 2; }               /* en móvil el formulario va tras el texto del hero */
  /* La columna de texto llena la primera pantalla: al entrar NO se ve el formulario. */
  .hero-copy { min-height: calc(100vh - 96px); min-height: calc(100svh - 96px);
    display: flex; flex-direction: column; justify-content: center; }
  .hero h1 { font-size: 1.7rem; line-height: 1.15; max-width: none; }
  .hero .lead { font-size: 1rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .proof-cols { grid-template-columns: 1fr; }
  /* Problema: apilar cabecera y tarjetas en una sola columna (evita el recorte lateral) */
  .problem-layout { grid-template-columns: 1fr; gap: 26px; }
  .problem-cards { grid-template-columns: 1fr; }
  .problem-cards .card:last-child { grid-column: auto; }
  .problem-head h2 { text-align: center; }
  .problem-head h2::after { margin: .55em auto 0; }
  .problem-intro { text-align: center; }
  /* El sello (flourish de escritorio) sobra y se corta en móvil */
  .hero-seal { display: none; }
  .metric { min-width: 140px; padding: 22px 26px; }
  /* Solución en móvil: foto arriba (banner), tarjetas debajo */
  .solution-banner { background-position: 32% top; min-height: 0; }
  .solution-banner::before { background: linear-gradient(180deg,
    rgba(17,17,18,.22) 0%, rgba(17,17,18,.45) 26%, rgba(17,17,18,.9) 56%, #16161a 76%); }
  .solution-banner > .container { justify-content: stretch; }
  .solution-cards { width: 100%; padding: 200px 0 30px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .form-card { padding: 24px; }
  .section { padding: 52px 0; }
  .header-cta { padding: .6em 1.1em; font-size: .9rem; }
  .hero h1 { font-size: 1.55rem; }
  .hero .lead { font-size: .96rem; margin-bottom: .8em; }
  .hero-bullets li { font-size: .94rem; }
}
