

    html {
  min-height: 100%;
}
html {
  scroll-behavior: smooth;
}

.section {
  scroll-margin-top: 90px; /* altura de tu topbar */
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";

  /* IMPORTANTE */
  min-height: 100vh;
  min-height: 100dvh; /* mejor para mobile moderno */

  background:
    radial-gradient(1200px 700px at 30% 20%, rgba(46,215,255,0.18), transparent 60%),
    radial-gradient(1000px 600px at 80% 15%, rgba(85,240,201,0.16), transparent 60%),
    linear-gradient(180deg, #4f6272, var(--bg1) 70%, #03101a);

  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  color: var(--text);
}



    :root{
      --bg0:#061826;
      --bg1:#08243a;
      --card:rgba(255,255,255,0.06);
      --card2:rgba(255,255,255,0.08);
      --text:#eaf2ff;
      --muted:rgba(234,242,255,0.72);
      --line:rgba(255,255,255,0.12);
      --accent:#2ed7ff;
      --accent2:#55f0c9;
      --warn:#ffcc66;
      --danger:#ff6b6b;
      --ok:#4ade80;
      --shadow: 0 30px 90px rgba(0,0,0,0.45);
      --radius: 22px;
      --radius2: 16px;
      --max: 1120px;

      --h1: clamp(30px, 4vw, 52px);
      --h2: clamp(20px, 2.2vw, 30px);
      --p:  clamp(15px, 1.25vw, 18px);
      --small: clamp(12.5px, 1.0vw, 14.5px);
    }

    *{box-sizing:border-box}
   

    a{color:inherit}
    .wrap{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
    .topbar{
      position:sticky; top:0; z-index:50;
      background: rgba(6,24,38,0.55);
      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;
      padding:14px 0;
      gap:14px;
    }
    .brand{
      display:flex; align-items:center; gap:12px;
      font-weight:800; letter-spacing:0.2px;
      white-space:nowrap;
    }
    .logoDot{
      width:14px; height:14px; border-radius:999px;
      background: linear-gradient(180deg, var(--accent), var(--accent2));
      box-shadow: 0 0 0 4px rgba(46,215,255,0.12);
      flex:0 0 auto;
    }
    .nav{
      display:flex; gap:14px; align-items:center; flex-wrap:wrap;
      justify-content:flex-end;
    }
    .nav a{
      text-decoration:none;
      font-size: var(--small);
      color: var(--muted);
      padding:8px 10px;
      border-radius: 12px;
      border:1px solid transparent;
    }
    .nav a:hover{
      color: var(--text);
      border-color: rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.04);
    }

    .hero{
      padding: 56px 0 28px;
      position:relative;
    }
    .heroGrid{
      display:grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 24px;
      align-items:stretch;
    }
    @media (max-width: 920px){
      .heroGrid{grid-template-columns: 1fr; }
    }

    .heroCard{
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.05);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
      position:relative;
    }
    .heroCard .pad{padding: 28px}
    .kicker{
      font-size: var(--small);
      color: rgba(234,242,255,0.8);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      display:flex; align-items:center; gap:10px;
    }
    .kicker .pill{
      letter-spacing:0.08em;
      text-transform:none;
      padding:6px 10px;
      border-radius: 999px;
      border:1px solid rgba(255,255,255,0.16);
      background: rgba(255,255,255,0.04);
      font-weight:700;
      color: rgba(234,242,255,0.85);
    }
    h1{
      margin:14px 0 10px;
      font-size: var(--h1);
      line-height:1.05;
      letter-spacing:-0.02em;
    }
    .lead{
      margin: 0 0 18px;
      font-size: var(--p);
      color: rgba(234,242,255,0.84);
      line-height:1.6;
      max-width: 60ch;
    }
    .ctaRow{
      display:flex; gap:12px; align-items:center; flex-wrap:wrap;
      margin-top: 18px;
    }
    .btn{
      display:inline-flex; align-items:center; justify-content:center; gap:10px;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.06);
      color: var(--text);
      text-decoration:none;
      font-weight:800;
      cursor:pointer;
      user-select:none;
      transition: transform .12s ease, background .12s ease, border-color .12s ease;
      min-width: 190px;
    }
    .btn:hover{ background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18);}
    .btn:active{ transform: translateY(1px); }

    .btnPrimary{
      border:0;
      background: linear-gradient(180deg, var(--accent), rgba(85,240,201,0.92));
      color: #052033;
      box-shadow: 0 20px 50px rgba(46,215,255,0.18);
    }
    .btnPrimary:hover{ filter: brightness(1.03); }
    .btnSmall{
      min-width: unset;
      padding: 10px 12px;
      border-radius: 14px;
      font-size: var(--small);
      font-weight:800;
    }
    .note{
      font-size: var(--small);
      color: rgba(234,242,255,0.68);
      line-height:1.55;
      margin-top: 10px;
    }

    .miniPanel{
      padding: 18px;
      border-left: 1px solid rgba(255,255,255,0.10);
      background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
      border-radius: var(--radius);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    .miniPanel h3{
      margin:0 0 10px;
      font-size: 18px;
      letter-spacing:-0.01em;
    }
    .miniPanel ul{margin:0; padding-left: 18px; color: rgba(234,242,255,0.84); line-height:1.75; font-size: var(--small);}
    .chips{
      display:flex; flex-wrap:wrap; gap:8px; margin-top: 12px;
    }
    .chip{
      font-size: 12.5px;
      color: rgba(234,242,255,0.82);
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.04);
      padding: 7px 10px;
      border-radius: 999px;
      white-space:nowrap;
    }

    .section{
      padding: 34px 0;
    }
    .section h2{
      font-size: var(--h2);
      margin: 0 0 10px;
      letter-spacing:-0.01em;
    }
    .section p{
      margin: 0 0 12px;
      font-size: var(--p);
      color: rgba(234,242,255,0.82);
      line-height:1.7;
      max-width: 85ch;
    }

    .grid3{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-top: 14px;
    }
    @media (max-width: 960px){ .grid3{grid-template-columns: 1fr;} }
    .card{
      border: 1px solid var(--line);
      border-radius: var(--radius2);
      background: rgba(255,255,255,0.05);
      padding: 18px;
    }
    .card h3{margin:0 0 8px; font-size: 18px; letter-spacing:-0.01em;}
    .card .meta{font-size: var(--small); color: rgba(234,242,255,0.72); line-height:1.6; margin:0;}
    .card .bul{margin:10px 0 0; padding-left: 18px; color: rgba(234,242,255,0.84); line-height:1.75; font-size: var(--small);}

    .split{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 14px;
    }
    @media (max-width: 960px){ .split{grid-template-columns: 1fr;} }

    .callout{
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.06);
      border-radius: var(--radius2);
      padding: 18px;
    }
    .callout strong{color: rgba(234,242,255,0.95)}
    .callout p{margin:8px 0 0; font-size: var(--small); color: rgba(234,242,255,0.74); line-height:1.65}
    .badgeRow{
      display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px;
    }
    .badge{
      display:inline-flex; align-items:center; gap:8px;
      padding: 8px 10px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.04);
      font-size: var(--small);
      color: rgba(234,242,255,0.86);
      user-select:none;
    }
    .dot{width:10px;height:10px;border-radius:999px;background:var(--ok)}
    .dot.warn{background:var(--warn)}
    .dot.danger{background:var(--danger)}

    .legal{
      margin-top: 14px;
      border-radius: var(--radius2);
      padding: 18px;
      border: 1px solid rgba(255,255,255,0.18);
      background: rgba(0,0,0,0.25);
    }
    .legal h3{margin:0 0 8px; font-size: 18px}
    .legal p{margin:0; font-size: var(--small); color: rgba(234,242,255,0.78); line-height:1.7; max-width: 95ch;}
    .ack{
      display:flex; gap:10px; align-items:flex-start;
      margin-top: 12px;
      font-size: var(--small);
      color: rgba(234,242,255,0.82);
    }
    .ack input{margin-top: 3px; transform: scale(1.05);}

    .footer{
      padding: 34px 0 48px;
      color: rgba(234,242,255,0.66);
      font-size: var(--small);
      border-top: 1px solid rgba(255,255,255,0.10);
      background: rgba(0,0,0,0.10);
    }

    /* Modal */
    .modalBackdrop{
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display:none;
      align-items:center;
      justify-content:center;
      z-index: 2000;
      padding: 18px;
    }
    .modal{
      width: min(760px, 100%);
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,0.16);
      background: rgba(6,24,38,0.92);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .modalHeader{
      display:flex; align-items:center; justify-content:space-between;
      padding: 14px 16px;
      border-bottom: 1px solid rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.04);
    }
    .modalHeader strong{font-size: 14px; letter-spacing:0.08em; text-transform:uppercase; color: rgba(234,242,255,0.85)}
    .modalBody{ padding: 16px; }
    .modalBody p{ margin: 0 0 12px; font-size: var(--p); color: rgba(234,242,255,0.84); line-height:1.7;}
    .modalBody .grid2{
      display:grid; grid-template-columns: 1fr 1fr; gap: 10px;
    }
    @media (max-width: 720px){ .modalBody .grid2{grid-template-columns: 1fr;} }

    .miniCard{
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.04);
      border-radius: 16px;
      padding: 12px;
    }
    .miniCard h4{margin:0 0 6px; font-size: 14px; color: rgba(234,242,255,0.92)}
    .miniCard p{margin:0; font-size: var(--small); color: rgba(234,242,255,0.72); line-height:1.6;}

    .divider{
      height:1px; background: rgba(255,255,255,0.10);
      margin: 14px 0;
    }



    /* ================================
   BOTÓN HAMBURGUESA
================================ */

.menuToggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.05);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}

.menuToggle span{
  width:20px;
  height:2px;
  background:#eaf2ff;
  display:block;
  transition: all 0.25s ease;
}

/* animación a X */

.menuToggle.active span:nth-child(1){
  transform: rotate(45deg) translateY(5px);
}

.menuToggle.active span:nth-child(2){
  opacity:0;
}

.menuToggle.active span:nth-child(3){
  transform: rotate(-45deg) translateY(-5px);
}


/* ================================
   NAV DEFAULT (desktop)
================================ */

.nav{
  display:flex;
  gap:14px;
  align-items:center;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 860px){

  .menuToggle{
    display:flex;
  }

  .nav{
    position:absolute;
    top:100%;
    right:0;
    left:0;

    flex-direction:column;
    align-items:stretch;

    background: rgba(6,24,38,0.98);

    border-bottom:1px solid rgba(255,255,255,0.12);

    max-height:0;
    overflow:hidden;

    transition: max-height 0.35s ease;

  }

  .nav.open{
    max-height:400px;
  }

  .nav a,
  .nav button{

    padding:14px 18px;
    border-bottom:1px solid rgba(255,255,255,0.08);

    text-align:left;
    width:100%;
  }

  .nav a:hover{
    background:rgba(255,255,255,0.05);
  }

}


.langFlags{
  display:flex;
  gap:6px;
  margin-bottom:10px;
  justify-content:center;
  width:100%;
}

.langFlag{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:10px;
  padding:4px 6px;
  font-size:16px;
  cursor:pointer;
  opacity:.45;
  transition:.15s;
  color: #ffffff;
}

.langFlag.active{
  opacity:1;
  border-color:var(--accent);
  box-shadow:0 0 0 2px rgba(64,200,216,.25);
}



/* =========================
   SLIDER
========================= */

/* =========================
   SLIDER RESPONSIVE
========================= */

.slider {

  position: relative;
  width: 100%;
  max-width: 900px;

  margin: 0 auto 20px auto;

  border-radius: 14px;
  overflow: hidden;

}


/* CONTENEDOR DE TODOS LOS SLIDES */

.slides {

  display: flex;
  transition: transform 0.4s ease;

}


/* CADA SLIDE */

.slide {

  flex: 0 0 100%;
  padding: 6px;
  box-sizing: border-box;

}


/* CONTENEDOR INTERNO (IMPORTANTE) */

.slideInner {

  position: relative;

  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

}


/* IMAGEN */

.slide img {

  width: 100%;
  height: auto;

  display: block;

  border-radius: 12px;

  object-fit: contain;

}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* TABLET */
@media (min-width: 700px){

  .slide {
    flex: 0 0 50%;
  }

}

/* DESKTOP */
@media (min-width: 1100px){

  .slide {
    flex: 0 0 33.333%;
  }

}



/* =========================
   CAPTION (CORREGIDO)
========================= */

.slideCaption {

  position: absolute;

  left: 6px;
  right: 6px;
  bottom: 6px;

  padding: 8px 10px;

  font-size: 13px;
  line-height: 1.35;

  border-radius: 8px;

  background: rgba(0,0,0,0.55);

  backdrop-filter: blur(4px);

  color: white;

  pointer-events: none;

}


/* efecto hover (desktop) */

.slideCaption {

  opacity: 1;
  transform: translateY(0);
  transition: 0.25s;

}

@media (hover:hover){

  .slideCaption {

    opacity: 0;
    transform: translateY(10px);

  }

  .slide:hover .slideCaption {

    opacity: 1;
    transform: translateY(0);

  }

}


/* =========================
   BOTONES
========================= */

.sliderBtn {

  position: absolute;
  top: 50%;

  transform: translateY(-50%);

  background: rgba(0,0,0,0.4);
  border: none;

  color: white;
  font-size: 22px;

  padding: 8px 12px;

  cursor: pointer;

  border-radius: 8px;

  z-index: 10;

}

.sliderBtn.prev {
  left: 10px;
}

.sliderBtn.next {
  right: 10px;
}


/* =========================
   DOTS
========================= */

.sliderDots {

  position: absolute;

  bottom: 8px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  gap: 6px;

}

.sliderDot {

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: rgba(255,255,255,0.5);

  cursor: pointer;

}

.sliderDot.active {

  background: white;

}