
    :root{
      --bg:#070b14;
      --panel:#0b1220;
      --card:#0e1930;
      --text:#eaf0ff;
      --muted:#b6c3e6;
      --line:rgba(255,255,255,.10);
      --accent:#6ee7ff;
      --accent2:#a78bfa;
      --ok:#22c55e;
      --warn:#f59e0b;
      --danger:#ef4444;

      --radius:18px;
      --shadow: 0 18px 60px rgba(0,0,0,.45);
      --max: 1120px;
    }

    *{box-sizing:border-box}
    body{
      margin:0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: radial-gradient(1200px 600px at 20% -10%, rgba(110,231,255,.16), transparent 60%),
                  radial-gradient(900px 520px at 100% 10%, rgba(167,139,250,.12), transparent 55%),
                  linear-gradient(180deg, var(--bg), #050714 70%);
      color:var(--text);
      line-height:1.45;
    }
      
      
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
 font-size: clamp(1rem, 2.5vmin, 1.2rem);
  line-height: 1.45;
}
      
    a{color:inherit}
    .container{max-width:var(--max); margin:0 auto; padding:0 18px}
    header{
      position:sticky; top:0; z-index:50;
      backdrop-filter: blur(10px);
      background: rgba(7,11,20,.65);
      border-bottom:1px solid var(--line);
    }
    .nav{
      display:flex; align-items:center; justify-content:space-between;
      padding:14px 0;
      gap:14px;
    }
    .brand{
      display:flex; align-items:center; gap:10px;
      text-decoration:none;
      font-weight:800;
      letter-spacing:.2px;
    }
    .logo{
      width:34px; height:34px; border-radius:10px;
      background: linear-gradient(135deg, rgba(110,231,255,.9), rgba(167,139,250,.85));
      box-shadow: 0 12px 30px rgba(110,231,255,.15);
    }
    nav ul{
      display:flex; gap:16px; padding:0; margin:0; list-style:none;
      color:var(--muted);
      font-weight:600;
      font-size:.95rem;
    }
    nav a{ text-decoration:none; opacity:.9 }
    nav a:hover{ opacity:1; color:var(--text) }
    .cta{
      display:flex; gap:10px; align-items:center; flex-wrap:wrap;
    }
    .btn{
      display:inline-flex; align-items:center; justify-content:center; gap:10px;
      padding:11px 14px;
      border-radius:12px;
      border:1px solid var(--line);
      text-decoration:none;
      font-weight:800;
      letter-spacing:.2px;
      background: rgba(255,255,255,.04);
    }
    .btn:hover{ border-color: rgba(110,231,255,.40) }
    .btn.primary{
      background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(167,139,250,.18));
      border-color: rgba(110,231,255,.35);
    }

    .hero{
      padding:56px 0 34px;
    }
    .hero-grid{
      display:grid;
      grid-template-columns: 1.25fr .9fr;
      gap:22px;
      align-items:stretch;
    }
    .chipbar{
      display:flex; flex-wrap:wrap; gap:10px;
      margin-bottom:14px;
    }
    .chip{
      display:inline-flex; align-items:center; gap:8px;
      padding:8px 10px;
      border:1px solid var(--line);
      border-radius:999px;
      background: rgba(255,255,255,.03);
      color:var(--muted);
         color: #4169E1;
      font-weight:700;
      font-size: clamp(1rem, 2.5vmin, 1.2rem);
    }
    h1{
      margin:10px 0 10px;
      font-size: clamp(2.0rem, 3.6vw, 3.1rem);
      line-height:1.08;
      letter-spacing:-.6px;
    }
    .lead{
      margin: 10px 0 18px;
      color: var(--muted);
      font-size: clamp(1rem, 2.5vmin, 1.2rem);
      max-width: 66ch;
    }
    .hero-actions{
      display:flex; gap:10px; flex-wrap:wrap;
      margin-top: 14px;
    }
    .kpis{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap:12px;
      margin-top: 18px;
    }
    .kpi{
      border:1px solid var(--line);
      background: rgba(255,255,255,.03);
      border-radius: 14px;
      padding: 12px;
    }
    .kpi b{display:block; font-size:1.15rem}
    .kpi span{color:var(--muted); font-weight:600; font-size:.92rem}

    .panel{
      border:1px solid var(--line);
      background: linear-gradient(180deg, rgba(14,25,48,.75), rgba(11,18,32,.70));
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow);
      height:100%;
    }
    .panel h2{margin:0 0 8px; font-size:1.1rem}
    .panel p{margin:0 0 12px; color:var(--muted)}
    .test-grid{
      display:grid;
      grid-template-columns: 1fr;
      gap:10px;
    }
    .test{
      display:flex; justify-content:space-between; align-items:center;
      gap:10px;
      border:1px solid var(--line);
      background: rgba(255,255,255,.03);
      border-radius: 14px;
      padding: 12px;
      text-decoration:none;
    }
    .test small{color:var(--muted); font-weight:700}
    .test strong{display:block}
    .badge{
      padding:7px 10px;
      border-radius: 999px;
      color: blue;
      font-weight:900;
      border:1px solid rgba(255,255,255,.15);
     background: #1877F2;
    border: 1px solid rgba(110, 231, 255, .22);
      white-space:nowrap;
    }
    .badge.a{border-color: rgba(34,197,94,.35); color: #bff7d1}
    .badge.f{border-color: rgba(239,68,68,.35); color: #ffd1d1}
    .badge.tip{border-color: rgba(110,231,255,.35); color: #d6f8ff}

    section{
      padding: 26px 0;
    }
    .grid-2{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:18px;
    }
    .card{
      border:1px solid var(--line);
      background: rgba(255,255,255,.03);
      border-radius: var(--radius);
      padding: 18px;
    }
    .card h3{margin:0 0 8px}
    .card p{margin:0; color:var(--muted)}
    .bullets{
      margin: 12px 0 0;
      padding-left: 18px;
      color: var(--muted);
      font-weight:650;
    }
    .bullets li{margin: 8px 0}

    .services{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:18px;
    }
    .service{
      border:1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
      border-radius: var(--radius);
      padding: 18px;
    }
    .service h3{margin:0 0 8px}
    .service p{margin:0 0 10px; color:var(--muted)}
    .service ul{margin:0; padding-left:18px; color:var(--muted); font-weight:650}
    .service li{margin:7px 0}

    .steps{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap:12px;
    }
    .step{
      border:1px solid var(--line);
      background: rgba(255,255,255,.03);
      border-radius: 16px;
      padding: 16px;
    }
    .step b{
      display:inline-flex; align-items:center; justify-content:center;
      width:34px; height:34px;
      border-radius: 12px;
      background: rgba(110,231,255,.12);
      border:1px solid rgba(110,231,255,.22);
      margin-bottom: 10px;
    }
    .step h4{margin:0 0 8px}
    .step p{margin:0; color:var(--muted)}

    .faq details{
      border:1px solid var(--line);
      background: rgba(255,255,255,.03);
      border-radius: 14px;
      padding: 12px 14px;
      margin: 10px 0;
    }
    .faq summary{
      cursor:pointer;
      font-weight:850;
    }
    .faq p{color:var(--muted); margin:10px 0 0}

    .contact-wrap{
      display:grid;
      grid-template-columns: 1.05fr .95fr;
      gap:18px;
      align-items:start;
    }
    form{
      display:grid; gap:10px;
    }
    label{font-weight:800; font-size:.95rem}
    input, textarea{
      width:100%;
      padding: 12px 12px;
      border-radius: 12px;
      border:1px solid var(--line);
      background: rgba(0,0,0,.25);
      color: var(--text);
      outline:none;
    }
    textarea{min-height: 140px; resize:vertical}
    input:focus, textarea:focus{
      border-color: rgba(110,231,255,.45);
      box-shadow: 0 0 0 4px rgba(110,231,255,.08);
    }
    .fine{
      color: var(--muted);
      font-size: clamp(1rem, 2.5vmin, 1.2rem);
      font-weight:650;
    }
    .form-actions{
      display:flex; gap:10px; flex-wrap:wrap; align-items:center;
      margin-top: 6px;
    }
    .msg{
      border:1px solid var(--line);
      border-radius: 12px;
      padding: 12px;
      background: rgba(255,255,255,.03);
      color: var(--muted);
      font-weight:650;
      display:none;
    }
    .msg.ok{border-color: rgba(34,197,94,.28); color:#c9f7d9}
    .msg.bad{border-color: rgba(239,68,68,.28); color:#ffd1d1}

    footer{
      padding: 26px 0 40px;
      border-top: 1px solid var(--line);
      color: var(--muted);
    }
    .footer-grid{
      display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
    }

    /* Responsive */
    @media (max-width: 980px){
      .hero-grid{grid-template-columns: 1fr}
      .grid-2{grid-template-columns:1fr}
      .services{grid-template-columns:1fr}
      .steps{grid-template-columns:1fr}
      .contact-wrap{grid-template-columns:1fr}
      nav ul{display:none}
      .kpis{grid-template-columns:1fr}
    }
  
   
 
    /* =========================
   AJUSTES RESPONSIVE MÓVIL
   ========================= */

@media (max-width: 768px) {
  .container{
    padding: 0 14px;
  }

  header{
    position: sticky;
    top: 0;
  }

  .nav{
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .brand{
   font-size: clamp(1rem, 2.5vmin, 1.2rem);
    gap: 8px;
  }

  .logo{
    width: 28px;
    height: 28px;
  }

  .cta{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .cta .btn{
    width: 100%;
    min-height: 52px;
    padding: 12px 10px;
    font-size: 1rem;
    text-align: center;
  }

  .hero{
    padding: 22px 0 20px;
  }

  .hero-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .chipbar{
    display: none;
  }

  h1{
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
    margin: 6px 0 12px;
    word-break: break-word;
  }

  .lead{
    font-size: clamp(1rem, 2.5vmin, 1.2rem);
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .btn{
    width: 100%;
    min-height: 52px;
    padding: 12px 10px;
    font-size: clamp(1rem, 2.5vmin, 1.2rem);
    text-align: center;
  }

  .hero-actions .btn:last-child{
    grid-column: 1 / -1; /* WhatsApp abajo a todo lo ancho */
  }

  .kpis{
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .kpi{
    padding: 14px;
  }

  .kpi b{
    font-size: 1.05rem;
  }

  section{
    padding: 18px 0;
  }

  .card,
  .panel,
  .service,
  .step,
  .faq details{
    padding: 16px;
    border-radius: 16px;
  }

  .card h2,
  .panel h2{
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .card h3,
  .service h3{
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .card p,
  .panel p,
  .service p,
  .step p,
  .faq p,
  .fine,
  .bullets,
  .service ul{
    font-size: clamp(1rem, 2.5vmin, 1.2rem);
    line-height: 1.6;
  }

  .test{
    flex-direction: column;
    align-items: flex-start;
  }

  .test .badge{
    align-self: stretch;
    text-align: center;
  }

  .contact-wrap{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  form{
    gap: 12px;
  }

  label{
    font-size: 1rem;
  }

  input,
  textarea{
    font-size: clamp(1rem, 2.5vmin, 1.2rem);
    padding: 14px 14px;
  }

  textarea{
    min-height: 150px;
  }

  .form-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .form-actions .btn{
    width: 100%;
    min-height: 52px;
    justify-content: center;
    text-align: center;
  }

  .footer-grid{
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* =========================
   AJUSTES EXTRA MÓVIL PEQUEÑO
   ========================= */
@media (max-width: 480px) {
  .container{
    padding: 0 12px;
  }

  .nav{
    gap: 10px;
  }

  .cta{
    grid-template-columns: 1fr 1fr;
  }

  .cta .btn{
    font-size: clamp(1rem, 2.5vmin, 1.2rem);
    padding: 10px 8px;
    min-height: 50px;
  }

  h1{
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    line-height: 1.03;
  }

  .lead{
    font-size: 0.98rem;
  }

  .hero-actions{
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn{
    font-size: clamp(1rem, 2.5vmin, 1.2rem);
    padding: 10px 8px;
    min-height: 50px;
  }

  .card h2,
  .panel h2{
    font-size: 1.35rem;
  }

  .card h3,
  .service h3{
    font-size: 1.1rem;
  }

  .card,
  .panel,
  .service,
  .step{
    padding: 14px;
  }

  .form-actions{
    grid-template-columns: 1fr;
  }

  .form-actions .btn{
    width: 100%;
  }
}
       
   @media (max-width: 768px) {
  #test.panel{
    margin-top: 4px;
  }
} 
       
 @media (max-width: 768px) {
  .cta{
    display: none;
  }
}      
       
       
       
   
    
  
        :root{
  --bg:#050814;
  --bg-soft:#081224;
  --panel:#0b1730;
  --panel-2:#0d1b36;
  --text:#f4f7ff;
  --text-soft:#c7d3ee;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(110,231,255,.20);
  --accent:#6ee7ff;
  --accent-2:#8b5cf6;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:20px;
  --max:1120px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,#050814 0%,#040712 70%,#03050d 100%);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}

/* =========================
   HEADER
   ========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:2000;
  backdrop-filter:blur(14px);
  background:rgba(5,8,20,.72);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.logo-box{
  width:46px;
  height:46px;
  border-radius:14px;
  flex:0 0 auto;
  background:
    radial-gradient(circle at 30% 30%, rgba(110,231,255,.28), transparent 55%),
    linear-gradient(135deg, #0c1b48 0%, #091735 50%, #070d22 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 30px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.06);
}

.brand-text{
  font-size: clamp(1rem, 2.5vmin, 1.2rem);
  font-weight:800;
  line-height:1;
  letter-spacing:-.5px;
  color:var(--text);
}

.desktop-nav ul{
  display:flex;
  align-items:center;
  gap:16px;
  list-style:none;
  margin:0;
  padding:0;
}

.desktop-nav a{
  color:var(--text-soft);
  font-size:.98rem;
  font-weight:700;
  padding:10px 12px;
  border-radius:12px;
  transition:.2s ease;
}

.desktop-nav a:hover{
  color:var(--text);
  background:rgba(255,255,255,.04);
}

.desktop-nav .nav-cta{
  color:var(--text);
  background:linear-gradient(135deg, rgba(110,231,255,.16), rgba(139,92,246,.12));
  border:1px solid var(--line-strong);
}

.menu-toggle{
  display:none;
  width:54px;
  height:54px;
  border:none;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  cursor:pointer;
  position:relative;
  padding:0;
}

.menu-toggle span{
  position:absolute;
  left:14px;
  width:26px;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:.25s ease;
}

.menu-toggle span:nth-child(1){ top:18px; }
.menu-toggle span:nth-child(2){ top:26px; }
.menu-toggle span:nth-child(3){ top:34px; }

/* =========================
   MOBILE MENU FULLSCREEN
   ========================= */
.mobile-menu{
  position:fixed;
  inset:0;
  z-index:4000;
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease;
}

.mobile-menu.is-open{
  opacity:1;
  pointer-events:auto;
}

.mobile-menu-backdrop{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,8,20,.96), rgba(3,6,16,.98)),
    radial-gradient(800px 400px at 20% 0%, rgba(110,231,255,.10), transparent 55%);
  backdrop-filter:blur(12px);
}

.mobile-menu-panel{
  position:relative;
  z-index:2;
  width:100%;
  min-height:100vh;
  padding:18px 20px 28px;
  display:flex;
  flex-direction:column;
}

.mobile-menu-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:28px;
}

.mobile-brand .brand-text{
  font-size:1.6rem;
}

.menu-close{
  width:54px;
  height:54px;
  border:none;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:1.5rem;
  cursor:pointer;
}

.mobile-nav{
  display:flex;
  flex-direction:column;
  gap:16px;
  width:100%;
}

.mobile-nav a{
  display:block;
  width:100%;
  padding:18px 18px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  font-size:1.45rem;
  font-weight:800;
  line-height:1.2;
}




.mobile-nav .cta-main{
  background:linear-gradient(135deg, rgba(110,231,255,.18), rgba(139,92,246,.12));
  border:1px solid rgba(110,231,255,.22);
}

.mobile-nav .cta-whatsapp{
  background:rgba(255,255,255,.06);
}

/* =========================
   PORTADA / HERO COVER
   ========================= */
.hero-cover{
  position:relative;
  overflow:hidden;
  min-height:88vh;
  display:flex;
  align-items:flex-end;
  padding:110px 0 56px;
  background-position:center center;
  background-repeat:no-repeat;
}

.cover-overlay{
  display:none;
}

.hero-cover-inner{
  position:relative;
  z-index:2;
  width:100%;
}

.hero-copy{
  max-width:760px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text-soft);
  font-size:.96rem;
  font-weight:800;
  margin-bottom:16px;
}

.hero-copy h1{
  margin:0 0 18px;
  font-size:clamp(3rem, 6vw, 5.2rem);
  line-height:.98;
  letter-spacing:-1.4px;
  color:#f7f9ff;
  max-width:12ch;
}

.hero-lead{
  margin:0 0 24px;
  
 font-size: clamp(1rem, 2.5vmin, 1.2rem);   
  line-height:1.75;
  color:var(--text-soft);
  max-width:60ch;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:14px 22px;
  border-radius:18px;
  font-size:1.05rem;
  font-weight:800;
  line-height:1.2;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#fff;
  box-shadow:var(--shadow);
}

.btn-primary{
  background:linear-gradient(135deg, rgba(110,231,255,.18), rgba(139,92,246,.10));
  border:1px solid rgba(110,231,255,.22);
}

.btn-secondary{
  background:rgba(255,255,255,.04);
}

.btn-whatsapp{
  background:rgba(255,255,255,.05);
}

/* =========================
   TU PORTADA CON IMÁGENES
   ========================= */
@media (min-width:820px) { 
  .CiberseguridadWeb {
    
    background-image: url('https://www.upwebmobilepro.com/ciberseguridad-web/pictures/ciberseguridad-web-proteccion-desde-houston.webp');
   background-size: 100% 100%;
  }
}

@media (max-width:821px) {
  .CiberseguridadWeb {
    background-image: url('https://www.upwebmobilepro.com/ciberseguridad-web/pictures/ciberseguridad-web-desde-houston-tx.jpg');
    background-size: 100% 100%;
  }
}

@media screen and (max-width:821px) and (orientation:landscape) {
  .CiberseguridadWeb {
    background-image: url('https://www.upwebmobilepro.com/pictures/ciberseguridad-web-proteccion-desde-houston.webp');
    background-size: 100% 100%;
  }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 980px){
  .desktop-nav{
    display:none;
  }

  .menu-toggle{
    display:block;
  }
}

@media (max-width: 768px){
  .container{
    width:min(100% - 24px, 1120px);
  }

  .header-inner{
    min-height:74px;
  }

  .logo-box{
    width:42px;
    height:42px;
  }

  .brand-text{
    font-size:1.35rem;
  }

  .hero-cover{
    min-height:auto;
    padding:84px 0 36px;
    align-items:flex-end;
  }

  .hero-copy{
    max-width:100%;
  }

  .hero-copy h1{
    font-size:clamp(2.6rem, 10vw, 4rem);
    line-height:1.01;
    letter-spacing:-1px;
    max-width:100%;
    margin-bottom:16px;
  }

  .hero-lead{
    font-size: clamp(1rem, 2.5vmin, 1.2rem);
    line-height:1.72;
    max-width:100%;
    margin-bottom:20px;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .hero-actions .btn{
    width:100%;
    min-height:56px;
    padding:14px 14px;
    font-size:1rem;
    text-align:center;
  }

  .hero-actions .btn-whatsapp{
    grid-column:1 / -1;
  }
}

@media (max-width: 480px){
  .brand-text{
    font-size:1.2rem;
  }

  .hero-cover{
    padding:78px 0 28px;
  }

  .hero-copy h1{
    font-size:clamp(2.3rem, 11vw, 3.4rem);
  }

  .hero-lead{
    font-size:1.08rem;
    line-height:1.68;
  }

  .mobile-nav a{
    font-size:1.3rem;
    padding:16px 16px;
  }

  .btn{
    border-radius:16px;
  }
}
    
        
        
  .hero-cover{
 background-size: 100% 100%;
}

.hero-intro{
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #050814 0%, #040712 100%);
  padding: 28px 0 18px;
}

.hero-copy{
  max-width: 760px;
}

.hero-copy h1{
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -1px;
}

.hero-lead{
  font-size: 1.14rem;
  line-height: 1.72;
  color: var(--text-soft);
  margin-bottom: 22px;
}

@media (max-width: 768px){
  .hero-cover{
    min-height: 100vh;
  }

  .hero-intro{
    padding: 18px 0 10px;
  }

  .hero-copy h1{
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }

  .hero-lead{
    font-size: 1.08rem;
  }
}      
        
        
        
        
        
    
    /* =========================================
   PREMIUM POLISH — UpwebmobilePro
   Pegar al final del CSS actual
   ========================================= */

/* 1) Ajuste fino global */
:root{
  --bg:#050814;
  --bg-2:#060b18;
  --panel:#0a1228;
  --panel-2:#0c1731;
  --text:#f4f7ff;
  --text-soft:#d7e2ff;
  --text-muted:#b8c6ea;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(110,231,255,.22);
  --glow:rgba(110,231,255,.12);
  --shadow-soft:0 10px 30px rgba(0,0,0,.22);
  --shadow-strong:0 18px 50px rgba(0,0,0,.34);
}

html{
  scroll-behavior:smooth;
}

body{
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(110,231,255,.08), transparent 58%),
    radial-gradient(700px 360px at 100% 10%, rgba(139,92,246,.06), transparent 56%),
    linear-gradient(180deg, #050814 0%, #040712 72%, #03050d 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1, h2, h3{
  letter-spacing:-0.02em;
  color:var(--text);  
}

p, li, small, .fine{
  color:var(--text-soft);
}

/* 2) Container y lectura premium */
.container{
  width:min(1120px, calc(100% - 32px));
  margin-inline:auto;
}

.reading-width{
  max-width:720px;
  margin-inline:auto;
}

.card p,
.panel p,
.service p,
.step p,
.faq p,
.bullets,
.service ul{
  max-width:100%;
}

.card1 p,
.panel p,
.service p,
.step p,
.faq p,
.bullets,
.service ul{
  max-width:100%;
}




/* 3) Tarjetas más premium */
.card,
.panel,
.service,
.step,
.kpi,
.faq details,
.test{
  background:
    linear-gradient(180deg, rgba(10,18,40,.82), rgba(7,13,28,.88));
  border:1px solid rgba(255,255,255,.07);
  box-shadow:
    0 10px 30px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.03);
  border-radius:20px;
}

/* 4) Tipografía general */
h1{
  font-size:clamp(2.5rem, 7vw, 5.2rem);
  line-height:1.01; 
}

h2{
  font-size:clamp(1.9rem, 4vw, 2.7rem);
  line-height:1.08;
  margin-bottom:14px;
}

h3{
  font-size:clamp(1.2rem, 2.5vw, 1.5rem);
  line-height:1.18;
}

.lead,
.hero-lead{
  font-size:1.16rem;
  line-height:1.72;
  color:var(--text-soft);
}

.card p,
.panel p,
.service p,
.step p,
.faq p,
.fine,
.bullets li,
.service li{
  font-size:1.08rem;
  line-height:1.75;
  color:var(--text-soft);
}

/* 5) Bullets con más aire */
.bullets{
  padding-left:1.2rem;
  margin-top:14px;
}

.bullets li,
.service li{
  margin-bottom:12px;
}

/* 6) Títulos internos y textos clave */
.kpi b,
.service h3,
.step h4{
  font-size:1.35rem;
  line-height:1.2;
  color:var(--text);
}

.kpi span{
  color:var(--text-muted);
  font-size:1rem;
  line-height:1.55;
}

/* 7) Botones premium */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:14px 22px;
  border-radius:18px;
  font-size:1.04rem;
  font-weight:800;
  letter-spacing:-0.01em;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(0,0,0,.28);
}

.btn-primary,
.nav-cta,
.mobile-nav .cta-main{
  background:linear-gradient(135deg, rgba(110,231,255,.18), rgba(139,92,246,.14));
  border:1px solid rgba(110,231,255,.24);
  color:#fff;
}

.btn-secondary,
.btn-whatsapp{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
}

/* 8) Formulario más limpio */
label{
  font-size:.98rem;
  font-weight:800;
  color:var(--text);
}

input,
textarea{
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  border-radius:16px;
}

input::placeholder,
textarea::placeholder{
  color:#9fb0d7;
}

input:focus,
textarea:focus{
  border-color:rgba(110,231,255,.32);
  box-shadow:0 0 0 4px rgba(110,231,255,.08);
  outline:none;
}

/* 9) Hero copy más refinado */
.hero-badge{
  color:var(--text-soft);
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.hero-copy{
  max-width:760px;
}

.hero-copy h1{
  max-width:12ch;
}

.hero-lead{
  max-width:58ch;
}

/* 10) Espaciado entre secciones */
section{
  padding-top:64px;
  padding-bottom:64px;
}

/* 11) Menú móvil más premium */
.mobile-nav a{
  box-shadow:
    0 8px 24px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03);
}

/* 12) Ajustes específicos de problema / lectura */
#problema .card p{
  max-width:95%;
}

#problema .card h2{
  
}

/* 13) Test cards */
.test{
  gap:14px;
}

.test small{
  color:var(--text-muted);
}

.badge{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

/* =========================================
   MÓVIL
   ========================================= */
@media (max-width: 768px){

  .container{
    width:min(100% - 24px, 1120px);
  }

  .reading-width{
    max-width:46ch;
  }

  section{
    padding-top:42px;
    padding-bottom:42px;
  }

  h1{
    font-size:clamp(2.35rem, 10vw, 3.9rem);
    line-height:1.02;
  }

  h2{
    font-size:clamp(2rem, 7vw, 2.5rem);
    line-height:1.08;
  }

  h3{
    font-size:1.28rem;
  }

  .lead,
  .hero-lead{
    font-size:1.12rem;
    line-height:1.72;
  }

  .card p,
  .panel p,
  .service p,
  .step p,
  .faq p,
  .fine,
  .bullets li,
  .service li{
    font-size:1.08rem;
    line-height:1.75;
  }

  .card,
  .panel,
  .service,
  .step,
  .kpi,
  .faq details,
  .test{
    padding:18px 16px;
    border-radius:18px;
  }

  .hero-copy h1{
    max-width:100%;
  }

  .hero-lead{
    max-width:100%;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .hero-actions .btn{
    width:100%;
    min-height:56px;
    padding:14px 12px;
    font-size:1rem;
    text-align:center;
  }

  .hero-actions .btn-whatsapp{
    grid-column:1 / -1;
  }

  .kpi b,
  .service h3,
  .step h4{
    font-size:1.45rem;
  }

  .bullets{
    padding-left:1.15rem;
  }

  .bullets li,
  .service li{
    margin-bottom:14px;
  }

  .test{
    flex-direction:column;
    align-items:flex-start;
  }

  .test .badge{
    align-self:stretch;
    text-align:center;
  }

  input,
  textarea{
    font-size:16px;
    padding:14px 14px;
  }
}

/* =========================================
   MÓVIL PEQUEÑO
   ========================================= */
@media (max-width: 480px){

  .container{
    width:min(100% - 20px, 1120px);
  }

  h1{
    font-size:clamp(2.2rem, 11vw, 3.4rem);
  }

  h2{
    font-size:clamp(1.85rem, 8vw, 2.25rem);
     
  }

  .lead,
  .hero-lead,
  .card p,
  .panel p,
  .service p,
  .step p,
  .faq p,
  .fine,
  .bullets li,
  .service li{
   font-size: clamp(1rem, 2.5vmin, 1.2rem);
  }

  .btn{
    min-height:54px;
    padding:12px 16px;
    border-radius:16px;
  }

  .hero-actions{
    grid-template-columns:1fr 1fr;
  }

  .mobile-nav a{
    font-size:1.26rem;
    padding:16px 16px;
  }
}
        
    /* =========================================
   HERO CYBER DOME
   ========================================= */
.hero-cover{
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  isolation: isolate;
}

.hero-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 72%, rgba(0,238,255,.10), transparent 26%),
    linear-gradient(180deg, rgba(2,8,18,.10) 0%, rgba(2,8,18,.28) 100%);
  z-index: 1;
  pointer-events: none;
}

#heroCyberCanvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:2;
  pointer-events:none;
}

.hero-cover-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 78%, rgba(0,255,255,.08), transparent 20%),
    linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.18) 100%);
}

/* Para que el contenido de abajo no se meta visualmente raro */
.hero-intro{
  position: relative;
  z-index: 5;
}

/* Ajuste móvil */
@media (max-width: 768px){
  .hero-cover{
    min-height: 100vh;
  }
}    
        
  .menu-toggle{
  position: relative;
  z-index: 5001;
  touch-action: manipulation;
}

.mobile-menu{
  display: block;
} 
        
 .hero-cover,
#heroCyberCanvas,
.hero-cover-overlay{
  pointer-events: none;
}

.site-header,
.site-header *{
  pointer-events: auto;
} 
        
        
 <!-- HTML !-->
<button class="button-63" role="button">Button 63</button>

/* CSS */
.button-63 {
  align-items: center;
  background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #FFFFFF;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 20px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 19px 24px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
}

.button-63:active,
.button-63:hover {
  outline: 0;
}

@media (min-width: 768px) {
  .button-63 {
    font-size: 24px;
    min-width: 196px;
  }
}       
        
 
        
        
        
        
        
        
        
   .cyber-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 255, 170, 0.10), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(0, 153, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #091a2d 45%, #06101b 100%);
  color: #fff;
  padding: 90px 0 80px;
}

.cyber-hero .hero-cover-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cyber-hero .hero-copy {
  max-width: 680px;
}

.cyber-hero .hero-badge {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(0, 255, 170, 0.35);
  background: rgba(0, 255, 170, 0.08);
  color: #8fffd4;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.08);
}

.cyber-hero h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cyber-hero .hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
}

.cyber-hero .hero-stat {
  display: inline-block;
  margin: 0 0 28px;
  padding: 12px 16px;
  border-left: 4px solid #00f5a0;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  color: #e8fff7;
  font-size: 1rem;
}

.cyber-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cyber-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cyber-hero .btn:hover {
  transform: translateY(-2px);
}

.cyber-hero .btn-primary {
  background: linear-gradient(135deg, #00f5a0 0%, #00c97f 100%);
  color: #04120d;
  box-shadow: 0 10px 30px rgba(0, 245, 160, 0.25);
}

.cyber-hero .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.cyber-hero .btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.20);
}

.cyber-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-wrap {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.shield-pulse {
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,160,0.20), rgba(0,245,160,0.02) 60%, transparent 72%);
  animation: pulseGlow 2.8s ease-in-out infinite;
  filter: blur(4px);
}

.shield-core {
  position: relative;
  z-index: 3;
  width: 220px;
  height: 220px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    rgba(4, 18, 31, 0.78);
  border: 1px solid rgba(0, 255, 170, 0.28);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 30px rgba(0,245,160,0.12),
    0 18px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}

.shield-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(0,255,170,.35));
}

.shield-text {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #baffea;
}

.scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,255,170,0.25);
  animation: spinSlow linear infinite;
}

.ring-1 {
  width: 72%;
  height: 72%;
  animation-duration: 12s;
}

.ring-2 {
  width: 88%;
  height: 88%;
  border-style: dashed;
  animation-duration: 18s;
  animation-direction: reverse;
}

.ring-3 {
  width: 104%;
  height: 104%;
  border-color: rgba(0,153,255,0.20);
  animation-duration: 22s;
}

.threat-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 14px rgba(255, 77, 109, 0.9);
  z-index: 2;
}

.threat-1 { top: 10%; left: 50%; animation: blinkDot 1.8s infinite; }
.threat-2 { top: 46%; right: 6%; animation: blinkDot 2.3s infinite; }
.threat-3 { bottom: 12%; left: 22%; animation: blinkDot 1.6s infinite; }
.threat-4 { top: 28%; left: 8%; animation: blinkDot 2.1s infinite; }

.cyber-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  opacity: 0.22;
  pointer-events: none;
}

.cyber-scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,255,170,0.10) 48%, rgba(0,255,170,0.18) 50%, transparent 52%);
  background-size: 100% 220px;
  animation: scanMove 6s linear infinite;
  opacity: 0.45;
  pointer-events: none;
}

.cyber-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.7) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(0,255,170,.5) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(0,153,255,.4) 1px, transparent 1.5px);
  background-size: 180px 180px, 240px 240px, 300px 300px;
  background-position: 0 0, 60px 80px, 120px 40px;
  opacity: .25;
  animation: particlesFloat 18s linear infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.95); opacity: .7; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blinkDot {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.5); opacity: 1; }
}

@keyframes scanMove {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@keyframes particlesFloat {
  from { transform: translateY(0); }
  to { transform: translateY(40px); }
}

@media (max-width: 980px) {
  .cyber-hero .hero-cover-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cyber-hero {
    padding: 72px 0 56px;
  }

  .cyber-hero .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .cyber-hero .hero-actions {
    justify-content: center;
  }

  .cyber-hero .hero-stat {
    display: block;
  }

  .shield-wrap {
    width: min(340px, 88vw);
  }

  .shield-core {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 640px) {
  .cyber-hero h1 {
    font-size: 2rem;
  }

  .cyber-hero .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .cyber-hero .btn {
    width: 100%;
  }

  .shield-wrap {
    width: min(300px, 90vw);
  }

  .shield-core {
    width: 170px;
    height: 170px;
    border-radius: 24px;
  }

  .shield-icon {
    font-size: 3.2rem;
  }

  .shield-text {
    font-size: 0.82rem;
  }
}     
        
        
        
   /* =========================================
   FIX DEFINITIVO - FORMULARIO VISIBLE
   ========================================= */
   
/* Forzar que los campos del formulario sean visibles */
#contactForm input,
#contactForm select,
#contactForm textarea {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  width: 100% !important;
  box-shadow: none !important;
}

/* Placeholders visibles */
#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

/* Labels visibles */
#contactForm label {
  color: #1e293b !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  display: block !important;
  background: transparent !important;
}

/* Select desplegable */
#contactForm select {
  appearance: auto !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
}

/* Checkbox group - asegurar visibilidad */
.checkbox-group {
  background: #f8fafc  !important;
  padding: 16px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
}

.checkbox-group label {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  color: #1e293b !important;
}

.checkbox-group input[type="checkbox"] {
  width: auto !important;
  margin-right: 8px !important;
  accent-color: #2c7da0 !important;
}

/* Campo honeypot - mantener invisible */
input[name="website_confirm"] {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}     
        
        
   
   /* =========================================
   FIX LABELS FORMULARIO - VISIBLES EN FONDO OSCURO
   ========================================= */

#contactForm label {
  color: #f4f7ff !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  display: block !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
}

/* Texto de los placeholders en campos */
#contactForm input,
#contactForm select,
#contactForm textarea {
  background-color: #E0FFFF !important;
  color: black !important;
  border: 1px solid rgba(110, 231, 255, 0.25) !important;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: black !important;
  opacity: 1 !important;
}

/* Checkbox group para fondo oscuro */
.checkbox-group {
  background: rgba(10, 18, 40, 0.6) !important;
  border: 1px solid rgba(110, 231, 255, 0.2) !important;
}

.checkbox-group label {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(110, 231, 255, 0.2) !important;
  color: #f4f7ff !important;
}

.checkbox-group label:hover {
  background: rgba(110, 231, 255, 0.1) !important;
}

.checkbox-group input[type="checkbox"] {
  accent-color: #6ee7ff !important;
}

/* Notas pequeñas */
.field-note {
  color: #b8c6ea !important;
}     
        
        
  /* =========================================
   HERO CYBER DOME
   ========================================= */
.cyber-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 255, 170, 0.10), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(0, 153, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #091a2d 45%, #06101b 100%);
  color: #fff;
  padding: 90px 0 80px;
}

.cyber-hero .hero-cover-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cyber-hero .hero-copy {
  max-width: 680px;
}

.cyber-hero .hero-badge {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(0, 255, 170, 0.35);
  background: rgba(0, 255, 170, 0.08);
  color: #8fffd4;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

.cyber-hero h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cyber-hero .hero-lead {
  
  font-size: clamp(1rem, 2.5vmin, 1.2rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
}

.cyber-hero .hero-stat {
  display: inline-block;
  margin: 0 0 28px;
  padding: 12px 16px;
  border-left: 4px solid #00f5a0;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  color: #e8fff7;
  font-size: 1rem;
}

.cyber-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cyber-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease;
}

.cyber-hero .btn:hover {
  transform: translateY(-2px);
}

.cyber-hero .btn-primary {
  background: linear-gradient(135deg, #00f5a0 0%, #00c97f 100%);
  color: #04120d;
}

.cyber-hero .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.cyber-hero .btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.cyber-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === SHIELD WRAP === */
.shield-wrap {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

/* Pulso de fondo */
.shield-pulse {
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,160,0.20), rgba(0,245,160,0.02) 60%, transparent 72%);
  animation: pulseGlow 2.8s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Escudo redondo principal */
.shield-core {
  position: relative;
  z-index: 3;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 255, 170, 0.12), rgba(0, 153, 255, 0.05)), rgba(4, 18, 31, 0.85);
  border: 1px solid rgba(0, 255, 170, 0.5);
  box-shadow: 0 0 30px rgba(0, 245, 160, 0.2), 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* Icono del escudo */
.shield-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(0, 255, 170, 0.6));
  animation: softPulse 2s ease-in-out infinite;
  will-change: transform;
}

/* Texto del escudo */
.shield-text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ccfff0, #8fffd4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Radar sweep (efecto escáner giratorio) */
.radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 255, 170, 0) 0deg, rgba(0, 255, 170, 0.5) 10deg, rgba(0, 255, 170, 0) 30deg);
  animation: rotateRadar 3s linear infinite;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  will-change: transform;
}

/* Línea de escáner lineal que cruza el escudo */
.scan-line-overlay {
  position: absolute;
  
}

/* Anillos giratorios externos */
.scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 170, 0.35);
  animation: spinSlow linear infinite;
  will-change: transform;
}

.ring-1 {
  width: 72%;
  height: 72%;
  animation-duration: 12s;
}

.ring-2 {
  width: 88%;
  height: 88%;
  border-style: dashed;
  animation-duration: 18s;
  animation-direction: reverse;
}

.ring-3 {
  width: 104%;
  height: 104%;
  border-color: rgba(0, 153, 255, 0.25);
  animation-duration: 22s;
}

/* Puntos de amenaza */
.threat-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.8);
  z-index: 2;
  animation: blinkDot 2s infinite;
}

.threat-1 { top: 10%; left: 50%; animation-delay: 0s; }
.threat-2 { top: 46%; right: 6%; animation-delay: 0.5s; }
.threat-3 { bottom: 12%; left: 22%; animation-delay: 1s; }
.threat-4 { top: 28%; left: 8%; animation-delay: 1.5s; }

/* === ANIMACIONES === */
@keyframes pulseGlow {
  0%, 100% { transform: scale(0.96); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blinkDot {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
}

@keyframes rotateRadar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scanMoveLinear {
  0% { transform: rotate(45deg) translate(-30%, -30%); }
  100% { transform: rotate(45deg) translate(30%, 30%); }
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* === MEDIA QUERIES === */
@media (max-width: 980px) {
  .cyber-hero .hero-cover-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cyber-hero {
    padding: 72px 0 56px;
  }

  .cyber-hero .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .cyber-hero .hero-actions {
    justify-content: center;
  }

  .cyber-hero .hero-stat {
    display: block;
  }

  .shield-wrap {
    width: min(340px, 88vw);
  }

  .shield-core {
    width: 190px;
    height: 190px;
  }
  
  .shield-icon {
    font-size: 3.5rem;
  }
}

@media (max-width: 640px) {
  .cyber-hero h1 {
    font-size: 2rem;
  }

  .cyber-hero .hero-lead {
   font-size: clamp(1rem, 2.5vmin, 1.2rem);
    line-height: 1.65;
  }

  .cyber-hero .btn {
    width: 100%;
  }

  .shield-wrap {
    width: min(300px, 90vw);
  }

  .shield-core {
    width: 170px;
    height: 170px;
  }

  .shield-icon {
    font-size: 3rem;
  }

  .shield-text {
    font-size: 0.75rem;
  }
}       
        
        
    
/* ===== TEST DE CABECERAS - ESTILOS SEGUROS ===== */
#test-cabeceras, #test-cabeceras * {
  color: #041E42 !important; /* Fuerza texto oscuro */
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

#test-cabeceras {
  background: #0C2340 !important;
  border-radius: 28px;
  padding: 24px;
  margin: 40px auto;
  max-width: 950px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
}

#test-cabeceras h2, #test-cabeceras h3, #test-cabeceras h4 {
  color: #0f172a !important;
  font-weight: 700;
}

#test-cabeceras input {
  background: white !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  padding: 12px !important;
  border-radius: 32px !important;
}

#test-cabeceras button {
  background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
  color: white !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 32px !important;
  font-weight: bold !important;
  cursor: pointer !important;
}

#test-cabeceras button:hover {
  background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
  transform: translateY(-2px);
}

/* Tarjetas de resultados */
#resultadoTest {
  background: background:radial-gradient(center center, circle, black, #1162ac);
 !important;
  border-radius: 24px !important;
  padding: 20px !important;
  border: 1px solid #e2e8f0 !important;
}

.risk-card {
  border-radius: 20px;
  padding: 12px;
  text-align: center;
}

.risk-card.critical {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
}

.risk-card.recommended {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
}

.risk-card .number {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #b91c1c !important;
}

.risk-card.recommended .number {
  color: #b45309 !important;
}

.confianza-bar {
  background: #e2e8f0 !important;
  border-radius: 40px;
  height: 12px;
  overflow: hidden;
}

.confianza-fill {
  height: 100%;
  border-radius: 40px;
  transition: width 0.6s;
}

/* Tarjetas de cada cabecera */
.header-card {
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-left-width: 5px;
}

.header-card.critical-missing {
  background: #fef2f2 !important;
  border-left: 5px solid #ef4444 !important;
}

.header-card.recommended-missing {
  background: #fffbeb !important;
  border-left: 5px solid #f59e0b !important;
}

.header-card.present {
  background: #f0fdf4 !important;
  border-left: 5px solid #22c55e !important;
}

.header-card .header-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.header-card .message {
  font-size: 0.9rem;
  color: #1e293b !important;
  line-height: 1.4;
}

/* Botones de compartir */
.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
}

.share-btn.whatsapp {
  background: #25D366 !important;
  color: white !important;
}

.share-btn.email {
  background: #3b82f6 !important;
  color: white !important;
}

/* FAQ */
#faq-seguridad {
  background: white !important;
  border-radius: 28px;
  padding: 24px;
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  font-weight: 700;
  color: #0f172a !important;
}

.faq-answer {
  color: #334155 !important;
}

/* Responsive */
@media (max-width: 700px) {
  #test-cabeceras { padding: 16px; }
  .share-buttons { flex-direction: column; align-items: center; }
}
    
    
    
   @media (max-width: 700px) {
  #test-cabeceras .flex-inputs {
    flex-direction: column;
  }
  #test-cabeceras input, 
  #test-cabeceras button {
    width: 100%;
    box-sizing: border-box;
  }
} 
    
    
    
    


    
   
  /* ========== FIX FINAL PARA WEBVIEW ========== */
  html {
   /* Base styles and fallback for older browsers */
html {
  font-size: 16px; /* Default root size for rem calculation */
}

body {
  font-size: 1rem; /* 16px default font size for body text */
}

h1 {
  /* Mobile: 1.75rem, Fluid: 5vmin, Desktop: 2.5rem */
  font-size: clamp(1.75rem, 5vmin, 2.5rem); 
}

h2 {
  /* Mobile: 1.5rem, Fluid: 4vmin, Desktop: 2rem */
  font-size: clamp(1.5rem, 4vmin, 2rem);color: #4169E1;
}

h3 {
  /* Mobile: 1.2rem, Fluid: 3.5vmin, Desktop: 1.75rem */
  font-size: clamp(1.2rem, 3.5vmin, 1.75rem);color:#4169E1;
}

h4 {
  /* Mobile: 1.1rem, Fluid: 3vmin, Desktop: 1.5rem */
  font-size: clamp(1.1rem, 3vmin, 1.5rem);color: #4169E1;
}

p {
  /* Mobile: 1rem, Fluid: 2.5vmin, Desktop: 1.2rem (e.g., 16px to 19px) */
  font-size: clamp(1.2rem, 2.5vmin, 1.2rem);
}
  
        
/* ============================================
   SECCIÓN SERVICE2 - TEST DE CABECERAS
   ============================================ */

.service2 {
  background: #f4f6f9;
  padding: 3rem 0;
}

.test-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Tarjeta principal del test */
.test-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.test-card h2 {
  color: #0f2b3d;
  border-left: 5px solid #dc2626;
  padding-left: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.test-description {
  color: #475569;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Formulario */
.flex-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0 0.5rem;
}

.flex-inputs input {
  flex: 1;
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 40px;
  background: white;
  font-size: 0.95rem;
  font-family: inherit;
}

.flex-inputs input:focus {
  outline: none;
  border-color: #1e4a76;
  box-shadow: 0 0 0 3px rgba(30, 74, 118, 0.15);
}

#runTestBtn {
  background: #1e4a76;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}

#runTestBtn:hover {
  background: #0f3a5a;
}

.security-note {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 8px;
}

/* Resultados */
.resultado-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1rem;
  margin-top: 1.5rem;
  border: 1px solid #e2e8f0;
  display: none;
}

.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 1rem;
  display: none;
}

/* Enlaces externos */
.external-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.external-links p {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 1rem;
}

.external-links a {
  color: #2563eb;
  text-decoration: none;
}

.external-links a:hover {
  text-decoration: underline;
}

/* Tarjeta de advertencia */
.warning-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  text-align: left;
}

.warning-card h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  color: #0f2b3d;
}

.warning-card p {
  margin: 0;
  color: #334155;
}

.badge-f {
  background: #dc2626;
  color: white;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
}

/* FAQ */
.faq-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.faq-card h3 {
  color: #0f2b3d;
  border-left: 5px solid #dc2626;
  padding-left: 1rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h4 {
  margin: 0 0 6px 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  font-size: 0.95rem;
}

.faq-footer {
  margin-top: 1.5rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  color: #475569;
}

.faq-footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.faq-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  .test-card, .faq-card {
    padding: 1.2rem;
  }
  .test-card h2 {
    font-size: 1.3rem;
  }
  .flex-inputs {
    flex-direction: column;
  }
  #runTestBtn {
    width: 100%;
  }
  .service2 {
    padding: 2rem 0;
  }
}
      
      
      
      /* Estilos complementarios para mantener coherencia con la primera sección */
  .service-unified {
    padding: 3rem 0;
    background: #ffffff;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }
  /* Chips */
  .chipbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  .chip {
    background: #eef2ff;
    color: #1e3a8a;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  /* KPIs */
  .kpis {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .kpi b {
    font-size: 1.2rem;
    color: #0f172a;
    display: block;
    margin-bottom: 0.3rem;
  }
  .kpi span {
    color: #475569;
    line-height: 1.4;
    font-size: 0.95rem;
  }
  /* Panel derecho (tu test) */
  .panel {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
  }
  .panel h2 {
    color: #0f172a;
    border-left: 5px solid #dc2626;
    padding-left: 1rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
  }
  .panel > p {
    color: #334155;
    margin-bottom: 1.5rem;
  }
  /* Formulario */
  .flex-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.5rem 0 0.5rem;
  }
  .flex-inputs input {
    flex: 1;
    min-width: 160px;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    font-size: 0.95rem;
    background: white;
    transition: 0.2s;
  }
  .flex-inputs input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
  }
  #runTestBtn {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
  }
  #runTestBtn:hover {
    background: #1e40af;
  }
  /* Resultado y share */
  #resultadoTest {
    background:radial-gradient(center center, circle, black, #1162ac);

    border-radius: 20px;
    padding: 1rem;
    margin-top: 1.5rem;
    border: 1px solid #e2e8f0;
  }
  #shareButtons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 1rem;
  }
  /* Enlaces externos (secundarios) y tarjeta de advertencia */
  .external-refs {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
  }
  .external-refs p {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.75rem;
  }
  .external-refs a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
  }
  .external-refs a:hover {
    text-decoration: underline;
  }
  .card {
    background: #ffffffdd;
    backdrop-filter: blur(2px);
    background: white;
    border-radius: 20px;
    padding: 1rem 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    text-align: left;
  }
  .card h3 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    color: #0f172a;
  }
  .badge.f {
    background: #dc2626;
    color: white;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
  }
  .badge {
    background: #e2e8f0;
    border-radius: 30px;
    padding: 2px 10px;
    font-size: 0.75rem;
  }
  @media (max-width: 800px) {
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .flex-inputs {
      flex-direction: column;
    }
    #runTestBtn {
      width: 100%;
    }
  }
      
      

.logo-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0c1b48 0%, #091735 50%, #070d22 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.06);
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.desktop-nav .nav-cta {
  background: linear-gradient(135deg, rgba(110,231,255,.16), rgba(139,92,246,.12));
  border: 1px solid var(--line-strong);
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s ease;
}

.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle span:nth-child(3) { top: 34px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,8,20,.96);
  backdrop-filter: blur(12px);
}

.mobile-menu-panel {
  position: relative;
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.menu-close {
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 1.45rem;
  font-weight: 800;
}

.mobile-nav .cta-main {
  background: linear-gradient(135deg, rgba(110,231,255,.18), rgba(139,92,246,.12));
  border: 1px solid rgba(110,231,255,.22);
}

/* ============================================
   SECCIÓN SERVICE2 - TEST DE CABECERAS (ACTUALIZADA)
   ============================================ */
.service2 {
  background: #f4f6f9;
  padding: 3rem 0;
}

.test-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Tarjeta principal del test */
.test-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.test-card h2 {
  color: #0f2b3d;
  border-left: 5px solid #dc2626;
  padding-left: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.test-description {
  color: #475569;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Formulario */
.flex-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0 0.5rem;
}

.flex-inputs input {
  flex: 1;
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 40px;
  background: white;
  font-size: 0.95rem;
  font-family: inherit;
}

.flex-inputs input:focus {
  outline: none;
  border-color: #1e4a76;
  box-shadow: 0 0 0 3px rgba(30, 74, 118, 0.15);
}

#runTestBtn {
  background: #1e4a76;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}

#runTestBtn:hover {
  background: #0f3a5a;
}

.security-note {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 8px;
}

/* Resultados */
.resultado-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1rem;
  margin-top: 1.5rem;
  border: 1px solid #e2e8f0;
  display: none;
}

.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 1rem;
  display: none;
}

/* Enlaces externos */
.external-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.external-links p {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 1rem;
}

.external-links a {
  color: #2563eb;
  text-decoration: none;
}

.external-links a:hover {
  text-decoration: underline;
}

/* Tarjeta de advertencia */
.warning-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  text-align: left;
}

.warning-card h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  color: #0f2b3d;
}

.warning-card p {
  margin: 0;
  color: #334155;
}

.badge-f {
  background: #dc2626;
  color: white;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
}

/* FAQ */
.faq-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.faq-card h3 {
  color: #0f2b3d;
  border-left: 5px solid #dc2626;
  padding-left: 1rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h4 {
  margin: 0 0 6px 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  font-size: 0.95rem;
}

.faq-footer {
  margin-top: 1.5rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  color: #475569;
}

.faq-footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.faq-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  .test-card, .faq-card {
    padding: 1.2rem;
  }
  .test-card h2 {
    font-size: 1.3rem;
  }
  .flex-inputs {
    flex-direction: column;
  }
  #runTestBtn {
    width: 100%;
  }
  .service2 {
    padding: 2rem 0;
  }
}

/* ============================================
   BOTONES GENERALES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 22px;
  border-radius: 18px;
  font-size: 1.04rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(110,231,255,.18), rgba(139,92,246,.14));
  border: 1px solid rgba(110,231,255,.24);
  color: #fff;
}

/* ============================================
   RESPONSIVE GENERAL
   ============================================ */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
    