/* =====================================================================
   Business Humanizers Academy · LANDING 2 — limpia, moderna, profesional.
   Fondo claro cálido + hero oscuro de impacto + galería B/N asimétrica.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --soft: #f7f5f1;          /* secciones claras alternas (cálido) */
  --ink: #17171c;
  --muted: #61626b;
  --line: #ebe8e1;
  --dark: #141418;          /* hero, confianza, footer */
  --dark-2: #1f1f26;        /* tarjetas sobre oscuro */
  --dark-line: #2c2c34;
  --on-dark: #f2f1ee;
  --dim: #a9a8b0;
  --yellow: #ffc700;
  --yellow-d: #e6b400;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --maxw: 1140px;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 44px -26px rgba(20,20,25,.22);
  --shadow-h: 0 30px 60px -30px rgba(20,20,25,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.l2 { margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.l2 a { color: inherit; text-decoration: none; }
.l2 img { max-width: 100%; display: block; }
.l2 h1, .l2 h2, .l2 h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; font-size: .98rem; border-radius: 12px; padding: .82em 1.5em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-y { background: var(--yellow); color: #1a1300; box-shadow: 0 6px 16px -10px rgba(0,0,0,.45); }
.btn-y:hover { background: #ffd53a; box-shadow: 0 10px 22px -12px rgba(0,0,0,.5); }
.btn-line { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn-line:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: .95em 1.8em; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* Cabeceras de sección */
.head { max-width: 720px; margin: 0 0 2.6rem; }
.head-center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--yellow-d); margin-bottom: .9rem; }
.kicker-y { color: var(--yellow); }
.head h2, .sec h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.sub { font-size: 1.12rem; color: var(--muted); margin: .9rem 0 0; line-height: 1.6; }
.head-center .sub { margin-left: auto; margin-right: auto; max-width: 60ch; }

/* ===================== HEADER ===================== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.nav-logo img { height: 38px; width: auto; }
.nav-cta { padding: .6em 1.25em; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark);
  padding: clamp(72px, 12vh, 132px) 0 clamp(64px, 10vh, 116px); text-align: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(820px 460px at 50% -8%, rgba(255,199,0,.16), transparent 62%),
              radial-gradient(700px 500px at 88% 120%, rgba(255,199,0,.07), transparent 60%); }
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.badge { display: inline-block; background: rgba(255,199,0,.13); color: var(--yellow);
  border: 1px solid rgba(255,199,0,.42); border-radius: 999px; padding: .55em 1.2em;
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.7rem; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.08; color: #fff; max-width: 16ch; margin: 0 auto; }
.hero h1 .hl { color: var(--yellow); }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--dim); max-width: 620px; margin: 1.5rem auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2.3rem; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  padding: 0; margin: 2.6rem auto 0; max-width: 760px; }
.hero-tags li { position: relative; padding-left: 1.7em; color: var(--dim); font-size: .95rem; }
.hero-tags li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 800; }

/* ===================== SECCIONES ===================== */
.sec { padding: clamp(64px, 8.5vw, 110px) 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec-dark .sub { color: var(--dim); }

/* Galería: fotos a la izquierda (grandes) + texto a la derecha */
.gal-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 46px; align-items: center; }
.gal-text { max-width: 360px; }
.gal-text h2 { margin-bottom: .5em; }
.gal-text .sub { margin-top: .8rem; }
.gal-text .btn { margin-top: 1.6rem; }

/* Galería B/N asimétrica (4 fotos en 2 columnas) */
.gallery { display: grid; grid-template-columns: 1.1fr .9fr;
  grid-template-rows: 232px 168px 232px;
  grid-template-areas: "a b" "a c" "d c"; gap: 16px; }
.g-item { position: relative; border-radius: var(--r-sm); overflow: hidden; background-color: #ddd7cb;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.03); transform: scale(1); box-shadow: var(--shadow);
  transition: filter .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.g-item:hover { filter: grayscale(0); transform: scale(1.035); z-index: 2; box-shadow: var(--shadow-h); }
.g-1 { grid-area: a; } .g-2 { grid-area: b; } .g-3 { grid-area: c; } .g-4 { grid-area: d; } .g-5 { grid-area: e; }
@media (prefers-reduced-motion: reduce) { .g-item:hover { transform: none; } }

/* Tarjetas en rejilla de 3 */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: #e0ddd4; }
.card h3 { font-size: 1.22rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.sec-soft .card { background: #fff; }

/* Reto: lista numerada editorial */
.numlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.numlist li { display: flex; gap: 20px; align-items: baseline; padding: 22px 2px; border-top: 1px solid var(--line); }
.numlist .nl-n { font-weight: 800; font-size: 1.05rem; color: var(--yellow-d); flex: 0 0 auto; }
.numlist .nl-t { font-weight: 600; font-size: 1.08rem; }

/* Solución: asimétrica sobre oscuro (cita izquierda, pilares en lista derecha) */
.sol-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.sol-left h2 { color: #fff; }
.quote-left { font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.28;
  letter-spacing: -.02em; color: #fff; border-left: 4px solid var(--yellow); padding-left: 22px; margin: 1.5rem 0 2rem; }
.sol-right { display: grid; }
.prow { padding: 22px 0; border-top: 1px solid var(--dark-line); }
.prow:first-child { border-top: 0; padding-top: 0; }
.prow h3 { color: #fff; font-size: 1.25rem; margin-bottom: .3em; }
.prow p { margin: 0; color: var(--dim); }

/* Bonificación: filas horizontales con divisores */
.bonrows { list-style: none; margin: 0; padding: 0; }
.bonrows li { display: grid; grid-template-columns: 60px .85fr 1.6fr; gap: 30px; align-items: center;
  padding: 26px 0; border-top: 1px solid var(--line); }
.bonrows li:first-child { border-top: 0; }
.bonrow-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.bonrow-ic img { width: 30px; height: 30px; }
.bonrow-t { font-weight: 800; font-size: 1.45rem; }
.bonrow-d { color: var(--muted); }
.notice { margin: 2.6rem auto 0; max-width: 700px; text-align: center; font-size: .95rem; color: var(--muted);
  background: var(--yellow-soft, #fff7d9); border: 1px solid #ffe6a0; border-radius: 12px; padding: 14px 20px; }

/* Programa: checklist en columnas fluidas (sin cajas) */
.proglist { list-style: none; margin: 0 auto; padding: 0; columns: 2; column-gap: 60px; max-width: 940px; }
.proglist li { break-inside: avoid; position: relative; padding: 15px 0 15px 40px; border-bottom: 1px solid var(--line); font-weight: 600; }
.proglist li::before { content: "✓"; position: absolute; left: 0; top: 14px; width: 24px; height: 24px;
  background: var(--yellow); color: #1a1300; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: .78rem; }

/* Para quién */
.aud { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; max-width: 880px; margin: 0 auto; }
.aud-tag { font-weight: 600; font-size: 1.02rem; background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: .68em 1.35em; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.aud-tag:hover { transform: translateY(-3px); border-color: var(--yellow); background: var(--yellow-soft, #fff7d9); }

/* Confianza (oscuro) */
.conf { max-width: 920px; }
.conf-quote { margin: 1.4rem 0 0; font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800;
  line-height: 1.3; letter-spacing: -.02em; color: #fff; }
.conf-quote footer { font-size: 1rem; font-weight: 700; color: var(--yellow); margin-top: 1.4rem; }
.conf-foot { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-end; justify-content: space-between;
  margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--dark-line); }
.m-tag { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-weight: 800; }
.m-name { font-size: 1.55rem; font-weight: 800; color: #fff; margin: .35rem 0 .2rem; }
.m-role { color: var(--dim); margin: 0; }
.conf-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.conf-badges li { border: 1px solid var(--dark-line); border-radius: 999px; padding: .5em 1.05em; font-size: .86rem; color: var(--on-dark); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.st-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); }

/* ===================== FORMULARIO ===================== */
.sec-form { background: var(--soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.form-aside h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.form-aside .sub { margin-top: 1rem; }
.reassure { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 12px; }
.reassure li { position: relative; padding-left: 2em; font-weight: 600; }
.reassure li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4em; height: 1.4em;
  background: var(--yellow); color: #1a1300; border-radius: 6px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px;
  box-shadow: var(--shadow-h); position: relative; scroll-margin-top: 100px; }
.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.45rem; margin-bottom: .25em; }
.form-sub { color: var(--muted); margin-bottom: 1.4em; }
.lead-form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 1rem;
  padding: .78em .9em; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); width: 100%; }
.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 { 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; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.field-consent input { width: auto; margin-top: 3px; accent-color: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert-ok { background: var(--yellow-soft, #fff7d9); border: 1px solid var(--yellow); color: var(--ink); border-radius: 14px; padding: 22px; font-size: 1.05rem; line-height: 1.6; }
.alert-err { background: #fdecea; border: 1px solid #f5c6c0; color: #a52c1e; border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; }
.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-weight: 700; font-size: .92rem; color: var(--ink);
  background: var(--soft); border: 1px dashed #d8d4c9; border-radius: 10px; padding: 12px 16px; }
.more-fields > summary::-webkit-details-marker { display: none; }
.more-fields > summary::after { content: "▾"; color: var(--yellow-d); transition: transform .2s ease; }
.more-fields[open] > summary::after { transform: rotate(180deg); }
.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; }

/* ===================== FOOTER (simple) ===================== */
.site-footer { background: var(--dark); color: var(--dim); padding: 56px 0 30px; border-top: 3px solid var(--yellow); }
.foot-main { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 460px; }
.foot-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 16px; }
.foot-brand p { margin: 0; font-size: .9rem; line-height: 1.6; }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-col h4 { color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 4px; }
.foot-col a:hover { color: var(--yellow); }
.foot-copy { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: .85rem; }

/* ===================== PÁGINAS LEGALES ===================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.container.narrow { max-width: 800px; }
.legal-page { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.62; }
.legal-page h1, .legal-page h2, .legal-page h3 { font-weight: 800; letter-spacing: -.02em; }
.legal-page a.brand { text-decoration: none; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px); -webkit-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-logo { height: 38px; width: auto; display: block; }
.header-cta { padding: .6em 1.25em; }
.legal-wrap { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 90px); }
.legal-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); 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: #3b3c44; 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-d); font-weight: 600; }
.legal-note { background: var(--soft); border-left: 4px solid var(--yellow); border-radius: 8px;
  padding: 14px 18px; color: var(--muted); font-size: .92rem; margin-top: 2em; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .cards-3, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 30px; }
  .gal-grid { grid-template-columns: 1fr; gap: 30px; }
  .gal-text { max-width: none; }
  .sol-grid { grid-template-columns: 1fr; gap: 28px; }
  .numlist { grid-template-columns: 1fr; }
  .proglist { columns: 1; }
  .bonrows li { grid-template-columns: 52px 1fr; grid-template-areas: "ic t" "ic d"; gap: 6px 20px; }
  .bonrow-ic { grid-area: ic; width: 52px; height: 52px; }
  .bonrow-t { grid-area: t; } .bonrow-d { grid-area: d; }
}
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-template-areas: none; grid-auto-rows: 190px; }
  .g-item { grid-area: auto !important; }
  .g-1 { grid-column: 1 / 3; grid-row: span 2; }
}
@media (max-width: 540px) {
  body.l2 { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-inner { height: 64px; } .nav-logo img { height: 30px; }
  .nav-cta { padding: .5em 1em; font-size: .9rem; }
  .form-card { padding: 26px; }
  .conf-foot { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* ===================== ANIMACIONES ===================== */
@media (prefers-reduced-motion: no-preference) {
  /* Entrada del hero al cargar */
  .hero-inner > * { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .badge { animation-delay: .04s; }
  .hero h1 { animation-delay: .12s; }
  .hero-sub { animation-delay: .24s; }
  .hero-cta { animation-delay: .36s; }
  .hero-tags { animation-delay: .46s; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* Reveal al entrar en pantalla (activado por reveal.js) */
  .reveal { opacity: 0; transform: translateY(22px);
    transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}
