:root{
  --bru-bg:#0b1620; --bru-white:#ffffff; --bru-red:#e0362a;
  --bru-gray:#9aa3ad; --bru-card:#0f1e2c; --bru-muted:#dae1e7;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial}
body{background:var(--bru-bg);color:var(--bru-white)}
a{color:inherit;text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
.section{padding:84px 0}
.section.dark{background:var(--bru-bg);color:var(--bru-white)}
.section.light{background:#fff;color:#111}
.section.light .muted{color:#516074}
.h1{font-size:64px;line-height:1.05;margin:0 0 18px;font-weight:800;letter-spacing:-.02em}
.h2{font-size:46px;margin:0 0 12px;font-weight:800}
.kicker{max-width:1000px;margin:18px auto 0;font-size:22px;color:var(--bru-muted)}
.subkicker{max-width:980px;margin:12px auto 0;font-size:20px;color:var(--bru-muted)}
.center{text-align:center}
.grid{display:grid;gap:22px}
.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:var(--bru-card);border:1px solid rgba(255,255,255,.06);border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.section.light .card{background:#f7f9fc;border-color:#e7eef5;box-shadow:0 10px 30px rgba(0,0,0,.06)}
.card h3{margin:6px 0 8px;font-size:22px}
.card p{margin:0;color:var(--bru-muted);font-size:18px;line-height:1.55}
.badge{display:inline-block;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--bru-red);background:rgba(224,54,42,.1);border:1px solid rgba(224,54,42,.35);padding:8px 12px;border-radius:999px;margin-bottom:14px}
.hero{padding:120px 0 96px}
.underline{position:relative}
.underline::after{content:"";position:absolute;left:0;right:0;height:8px;background:var(--bru-red);bottom:-10px;border-radius:6px;transform:scaleX(0);transform-origin:left;transition:transform .9s cubic-bezier(.22,.9,.24,1)}
.underline.in-view::after{transform:scaleX(1)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:18px 28px;border-radius:999px;background:var(--bru-red);color:#fff;font-weight:700;border:0;cursor:pointer;transition:transform .15s ease,opacity .15s ease}
.btn.sm{padding:10px 16px}
.btn:hover{transform:translateY(-1px);opacity:.95}
.topbar{position:sticky;top:0;backdrop-filter:saturate(180%) blur(10px);background:rgba(11,22,32,.7);z-index:50;border-bottom:1px solid rgba(255,255,255,.06)}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.logo{height:56px}
.menu{display:flex;gap:18px;align-items:center}
.menu a{opacity:.9}
.menu a:hover{opacity:1}
.hamburger{display:none;background:transparent;border:0;cursor:pointer}
.hamburger span{display:block;width:22px;height:2px;background:#fff;margin:4px 0}
.typeform-embed{width:100%;max-width:980px;height:640px;border:0;border-radius:16px;box-shadow:0 14px 50px rgba(0,0,0,.35);overflow:hidden;margin:28px auto 0;display:none}
.typeform-embed.open{display:block}
.red{color:var(--bru-red)}
.subline{font-size:28px;font-weight:800;margin-top:18px}
.big-emoji{font-size:54px;margin-top:8px}
.footer{padding:42px 0;color:#6b7785;font-size:14px;border-top:1px solid rgba(0,0,0,.08);margin-top:24px}
.logo.mark{width:90px;height:auto;margin-bottom:12px}
@media (max-width:1024px){
  .h1{font-size:46px}
  .h2{font-size:34px}
  .cards-3{grid-template-columns:1fr}
  .hero{padding:88px 0 64px}
  .menu{display:none}
  .hamburger{display:block}
  .menu.open{display:flex;position:absolute;top:64px;left:0;right:0;flex-direction:column;background:rgba(11,22,32,.98);padding:16px 24px;border-bottom:1px solid rgba(255,255,255,.06)}
}


/* --- Mejora de legibilidad en tarjetas claras --- */
.section.light .card p{color:#111 !important;}

/* Legibilidad: texto negro en tarjetas claras */
.section.light .card p{color:#111!important;}


/* Header logo más grande */
.topbar .logo{height:56px}
@media (max-width:1024px){.topbar .logo{height:40px}}


/* Logo centrado en héroe */
.hero .hero-mark{width:110px;height:auto;display:block;margin:0 auto 18px}


/* Logo más grande en contacto */
.logo.mark{width:140px;height:auto;margin-bottom:12px}


/* separación extra bajo H2 + subrayado */
.h2{margin-bottom:32px}

/* hero: logo 40% más grande */
.hero .hero-mark{width:154px; height:auto; display:block; margin:0 auto 18px}

/* spacing: títulos y texto de sección */
.h2{margin-bottom:40px}
.kicker{margin-bottom:22px}
.subkicker{margin-bottom:26px}
.section .grid{margin-top:10px}

/* Espacio extra entre logo y H1 del héroe */
.hero .hero-mark{margin-bottom:40px !important;}

/* separa logo y H1 del héroe */
.hero .hero-mark{display:block!important;margin:0 auto 56px!important}
.hero .h1{margin-top:0!important}

/* subir logo del héroe y abrir hueco con el H1 */
.hero .hero-mark{display:block!important;margin:-12px auto 64px!important}

@media (max-width: 768px) {
  .hero .h1 {
    line-height: 1.3; /* Puedes ajustar este valor, por ejemplo a 1.4 o 1.5, si necesitas más espacio */
  }
}