/* ======================================================
   VARIABLES
====================================================== */
:root{
  --bg:#0b0d10;
  --panel:#11151b;
  --panel2:#0f1318;
  --text:#e8edf2;
  --muted:#a8b3bf;
  --yellow:#ffcc00;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 28px rgba(0,0,0,.35);
  --radius:18px;
}

/* ======================================================
   RESET / BASE
====================================================== */
*{box-sizing:border-box}

html, body{
  height:100%;
  min-height:100%;
}

body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background: transparent;
  position:relative;
  overflow-x:hidden;
}

/* Fondo FIXED estable para mobile */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;

  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(255,204,0,.08), transparent 60%),
    radial-gradient(900px 600px at 100% 30%, rgba(255,204,0,.06), transparent 55%),
    var(--bg);

  background-repeat:no-repeat;
  background-size:cover;
  background-position:center top;
}

@supports (height: 100dvh){
  body{ min-height:100dvh; }
}

a{color:inherit; text-decoration:none}

.container{
  max-width:1080px;
  margin:0 auto;
  padding:0 16px;
}

/* ======================================================
   TOPBAR / HEADER
====================================================== */
.topbar{
  position:sticky;
  top:0;
  z-index:40;
  background: rgba(11,13,16,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:70px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand__name{
  font-weight:700;
  font-size:14px;
}

.brand__tag{
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
  max-width:220px;
}

/* ======================================================
   NAV
====================================================== */
.navbtn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius:14px;
  width:48px;
  height:44px;
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
}

.navbtn__line{
  width:18px;
  height:2px;
  background:var(--text);
  border-radius:2px;
}

.nav{
  position:fixed;
  top:0;
  right:-320px;
  height:100vh;
  width:300px;
  background: rgba(17,21,27,.96);
  border-left:1px solid var(--border);
  padding:86px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:right .2s ease;
}

.nav.is-open{ right:0; }

.nav__link{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-weight:600;
  font-size:14px;
}

.nav__link.is-active{
  border-color: rgba(255,204,0,.35);
  background: rgba(255,204,0,.08);
}

.nav__cta{
  margin-top:10px;
  text-align:center;
  padding:12px;
  border-radius:14px;
  background: var(--yellow);
  color:#000;
  font-weight:800;
}

/* ======================================================
   LAYOUT
====================================================== */
.main{ padding:22px 0 44px; }

.hero{ padding:18px 0 6px; }

.hero__card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
}

.kicker__dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255,204,0,.10);
}

.h1{
  margin:10px 0 8px;
  font-size:26px;
  line-height:1.15;
}

.p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

/* ======================================================
   BUTTONS
====================================================== */
.hero__actions{
  display:flex;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-weight:700;
  font-size:14px;
}

.btn--primary{
  background: var(--yellow);
  color:#000;
  border-color: rgba(255,204,0,.35);
}

.btn--ghost{ background:transparent; }

/* ======================================================
   GRID / CARDS
====================================================== */
.grid{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;
  margin-top:14px;
}

.card{
  background: rgba(17,21,27,.7);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.card__title{
  font-weight:800;
  font-size:15px;
  margin-bottom:6px;
}

.card__meta{
  color:var(--muted);
  font-size:13px;
  margin-bottom:10px;
}

/* ======================================================
   BADGES / SECTIONS
====================================================== */
.badge{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  color:var(--muted);
}

.badge--yellow{
  border-color: rgba(255,204,0,.35);
  background: rgba(255,204,0,.10);
  color:var(--text);
}

.section{ margin-top:18px; }

.section__title{
  font-size:18px;
  font-weight:800;
  margin-bottom:10px;
}

.hr{
  height:1px;
  background: var(--border);
  margin:14px 0;
}

/* ======================================================
   FORM
====================================================== */
.form{ display:grid; gap:10px; }

.input,
.select,
.textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-family:inherit;
  font-size:14px;
}

.select option{
  background:#11151b;
  color:#e8edf2;
}

.select option[value=""]{ color:#a8b3bf; }

.textarea{
  min-height:110px;
  resize:vertical;
}

.label{
  font-size:12px;
  color:var(--muted);
}

.row{
  display:grid;
  gap:10px;
  grid-template-columns:1fr;
}

/* ======================================================
   WHATSAPP FLOAT
====================================================== */
.wa-float{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:50;
  background: var(--yellow);
  color:#000;
  font-weight:900;
  border-radius:999px;
  padding:12px 16px;
  box-shadow: 0 12px 28px rgba(255,204,0,.20);
}

/* ======================================================
   FOOTER
====================================================== */
.footer{
  border-top:1px solid var(--border);
  background: rgba(11,13,16,.75);
  padding:22px 0 10px;
}

.footer__inner{
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}

.footer__title{ font-weight:900; }

.footer__text{
  color:var(--muted);
  font-size:13px;
}

.footer__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.footer__bottom{
  color:var(--muted);
  font-size:12px;
  text-align:center;
  margin-top:14px;
}

/* ======================================================
   DESKTOP
====================================================== */
@media (min-width:860px){
  .nav{
    position:static;
    height:auto;
    width:auto;
    padding:0;
    border:0;
    background:transparent;
    flex-direction:row;
    align-items:center;
    gap:10px;
  }

  .navbtn{ display:none; }

  .grid{ grid-template-columns:repeat(2,1fr); }

  .row{ grid-template-columns:repeat(2,1fr); }

  .brand__tag{ max-width:420px; }
}

/* ======================================================
   LOGO RESPONSIVE (ACHICAR EN CELU)
====================================================== */
.brand__img{
  height:42px;       /* desktop */
  width:auto;
  object-fit:contain;
  display:block;
}

@media (max-width: 600px){
  .brand__img{
    height:32px;     /* celular */
  }

  .brand__tag{
    display:none;    /* opcional: limpia el header en mobile */
  }

  .topbar__inner{
    height:60px;     /* header un poco más bajo en celu */
  }
}


