:root{
  /* Manteniendo colores del logo (azules/verde). Sin cálidos. */
  --bg0:#030612;
  --bg1:#050a18;
  --panel: rgba(15, 23, 42, 0.72);
  --panel2: rgba(30, 41, 59, 0.62);
  --stroke: rgba(255,255,255,0.10);

  --text:#E6ECFF;
  --muted:#A9B7D9;

  --accent:#19C2FF;   /* azul/cyan */
  --accent2:#38E07B;  /* verde logo */
  --glow: rgba(25, 194, 255, 0.18);

  --radius:18px;
  --shadow: 0 30px 90px rgba(0,0,0,0.55);
  --shadow2: 0 18px 60px rgba(25,194,255,0.16);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background: radial-gradient(1200px 800px at 25% 0%, #091a38 0%, var(--bg0) 55%) fixed; color:var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
a{ color:inherit; }
img{ display:block; max-width:100%; }

.top-glow{
  position:fixed; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, rgba(25,194,255,0.8), rgba(56,224,123,0.7), transparent);
  z-index:9999;
  opacity:0.85;
}

/* =========================
   NAVBAR (BASE)
   ========================= */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: visible;              /* ⬅️ CLAVE para que el logo sobresalga */
}

.glass{
  background: rgba(6, 12, 28, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* =========================
   CONTENEDOR (ALTURA CONTROLADA)
   ========================= */
.container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;                /* sin padding vertical */
  height: 88px;                   /* altura realista navbar */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* =========================
   LOGO
   ========================= */
.brand{
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-main{
  height: 300px;                  /* LOGO GRANDE DESKTOP */
  width: auto;
  position: relative;
  top: 20px;                      /* sobresale hacia abajo */
  filter: drop-shadow(0 0 18px rgba(25,194,255,0.25));
  pointer-events: none;
}

/* =========================
   NAVEGACIÓN DESKTOP
   ========================= */
.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a{
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(230,236,255,0.86);
  padding: 10px 8px;
  border-radius: 10px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.nav a:hover{
  background: rgba(255,255,255,0.05);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================
   BOTONES
   ========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  padding: 12px 18px;
  user-select: none;
}

.btn-small{
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 1px;
}

.btn-primary{
  border-color: rgba(25,194,255,0.45);
  background: linear-gradient(
    90deg,
    rgba(25,194,255,0.18),
    rgba(56,224,123,0.10)
  );
  box-shadow:
    0 0 0 1px rgba(25,194,255,0.12),
    0 14px 40px rgba(25,194,255,0.12);
}

.btn-primary:hover{
  box-shadow:
    0 0 0 1px rgba(25,194,255,0.18),
    0 18px 55px rgba(25,194,255,0.18);
  transform: translateY(-1px);
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.14);
}

.btn-ghost:hover{
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.btn-whatsapp{
  border-color: rgba(56,224,123,0.55);
  color: rgba(56,224,123,0.95);
}

.btn-whatsapp:hover{
  background: rgba(56,224,123,0.06);
  transform: translateY(-1px);
}

/* =========================
   IDIOMA
   ========================= */
.lang-btn{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(230,236,255,0.86);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1px;
}

.lang-btn:hover{
  background: rgba(255,255,255,0.07);
}

/* =========================
   HAMBURGER
   ========================= */
.hamburger{
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.hamburger span{
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(230,236,255,0.85);
  margin: 5px 0;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .nav{ display: none; }
  .hamburger{ display: block; }
}

@media (max-width: 900px){
  .container{
    height: 64px;                 /* ⬅️ navbar más alta en móvil */
  }

  .logo-main{
    height: 350px;                /* ⬅️ LOGO GRANDE EN MÓVIL */
    top: 45px;                    /* sobresale sin romper */
  }
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu{
  display: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 18px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.mobile-menu a,
.mobile-menu button{
  display: block;
  margin: 10px 0;
}

.lang-btn-mobile{
  width: 100%;
}

.mobile-menu.open{
  display: block;
}


/* Hero */
.hero{
  position:relative;
  min-height: 100vh;
  padding-top: 130px; /* espacio por navbar */
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: saturate(0.98) contrast(1.05);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 500px at 25% 20%, rgba(25,194,255,0.18), transparent 60%),
    radial-gradient(700px 500px at 70% 40%, rgba(56,224,123,0.12), transparent 60%),
    linear-gradient(90deg, rgba(2,6,23,0.92), rgba(2,6,23,0.35));
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 28px 40px;
}
.hero-kicker{ display:flex; flex-wrap:wrap; gap:12px; }
.pill{
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(230,236,255,0.9);
}

.hero-title{
  margin: 22px 0 0;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.hero-title .accent{
  background: linear-gradient(90deg, rgba(25,194,255,1), rgba(56,224,123,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(25,194,255,0.12);
}
.hero-sub{
  margin: 18px 0 0;
  max-width: 900px;
  color: rgba(230,236,255,0.86);
  font-size: 18px;
  line-height: 1.7;
}
.hero-cta{
  margin-top: 24px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.trust-row{
  margin-top: 28px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.trust-card{
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
}
.trust-num{
  font-size: 18px;
  font-weight: 700;
  color: rgba(25,194,255,0.95);
}
.trust-text{
  margin-top: 6px;
  color: rgba(169,183,217,0.95);
  font-size: 13px;
  line-height: 1.45;
}

@media(max-width:980px){
  .hero-title{ font-size: 42px; }
  .trust-row{ grid-template-columns: 1fr; }
}

/* Ads strip */
.ads-strip{ display:none; margin-top: 26px; }
.ads-strip.active{ display:block; }
.ads-strip-inner{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  background: rgba(15,23,42,0.60);
  border: 1px solid rgba(56,224,123,0.22);
  border-radius: 16px;
  padding: 14px 16px;
}
.ads-badge{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56,224,123,0.35);
  color: rgba(56,224,123,0.95);
  font-size: 12px;
  letter-spacing: 1px;
}
.ads-text{
  color: rgba(230,236,255,0.85);
  font-size: 13px;
  flex: 1 1 380px;
}

/* Sections */
.section{
  padding: 120px 28px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-dark{
  background: linear-gradient(180deg, rgba(6,10,24,0.9), rgba(2,6,18,0.95));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-head{
  max-width: 980px;
}
.section-head h2{
  margin:0;
  font-size: 34px;
  letter-spacing: -0.2px;
}
.section-sub{
  margin-top: 12px;
  color: rgba(169,183,217,0.95);
  line-height: 1.7;
}

/* Grid */
.grid{ display:grid; gap: 26px; }
.services-grid{
  margin-top: 44px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media(max-width:1200px){
  .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:650px){
  .services-grid{ grid-template-columns: 1fr; }
}

/* Cards */
.card{
  background: var(--panel2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.card-media{
  position:relative;
  height: 210px;
  overflow:hidden;
  background: rgba(2,6,23,0.55);
}
.card-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}
.card-body{ padding: 22px 22px 26px; }
.card-body h3{ margin:0; font-size: 16px; letter-spacing: 0.3px; }
.card-body p{
  margin: 12px 0 0;
  color: rgba(169,183,217,0.97);
  line-height: 1.65;
}

/* Premium hover */
.hover{ transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease; }
.hover:hover{
  transform: translateY(-10px);
  border-color: rgba(25,194,255,0.20);
  box-shadow: 0 35px 110px rgba(25,194,255,0.16);
}

/* CTA band */
.cta-band{
  margin-top: 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 22px 22px;
  border-radius: 18px;
  border: 1px solid rgba(56,224,123,0.18);
  background: rgba(15,23,42,0.55);
}
.cta-band h3{ margin:0; font-size: 18px; }
.cta-band p{ margin: 8px 0 0; color: rgba(169,183,217,0.95); line-height: 1.6; }
@media(max-width:900px){
  .cta-band{ flex-direction:column; align-items:flex-start; }
}

/* About */
.about-grid{
  margin-top: 44px;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}
@media(max-width:980px){
  .about-grid{ grid-template-columns: 1fr; }
}
.about-text p{
  margin: 0 0 16px;
  color: rgba(230,236,255,0.86);
  line-height: 1.8;
}
.about-card{
  background: linear-gradient(180deg, rgba(15,23,42,0.85), rgba(2,6,18,0.96));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  box-shadow: var(--shadow2);
  padding: 22px;
}
.about-card-top{
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.badge{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(25,194,255,0.25);
  background: rgba(25,194,255,0.08);
  color: rgba(25,194,255,0.95);
  font-size: 12px;
  letter-spacing: 1px;
}
.about-name{
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}
.about-role{
  margin-top: 6px;
  color: rgba(169,183,217,0.95);
  font-size: 13px;
  letter-spacing: 1px;
}
.about-card-body{ margin-top: 16px; }
.about-card-body p{
  margin: 0 0 12px;
  color: rgba(230,236,255,0.84);
  line-height: 1.7;
}
.about-link{
  display:inline-block;
  margin-top: 10px;
  color: rgba(25,194,255,0.95);
  text-decoration: underline;
}

/* Region */
.region-grid{
  margin-top: 44px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media(max-width:980px){
  .region-grid{ grid-template-columns: 1fr; }
}
.region-card{
  background: rgba(15,23,42,0.60);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.region-title{
  font-size: 16px;
  font-weight: 700;
}
.region-desc{
  margin-top: 10px;
  color: rgba(169,183,217,0.95);
  line-height: 1.7;
}

/* Legal */
.legal-box{
  margin-top: 34px;
  background: rgba(15,23,42,0.60);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px;
  max-width: 980px;
}
.legal-box h3{ margin: 0 0 10px; }
.legal-box p{
  margin: 0 0 14px;
  color: rgba(169,183,217,0.95);
  line-height: 1.75;
}
.legal-note{
  opacity: 0.88;
  font-size: 13px;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(2,6,18,0.92);
  padding: 34px 22px;
}
.footer-inner{
  max-width: 1400px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.footer-left{ display:flex; align-items:center; gap:16px; }
.footer-logo{ height: 54px; width:auto; opacity:0.92; }
.footer-copy{ display:flex; flex-direction:column; gap:6px; }
.muted{ color: rgba(169,183,217,0.85); font-size: 13px; }
.footer-right a{
  margin-left: 14px;
  text-decoration:none;
  color: rgba(230,236,255,0.86);
}
.footer-right a:hover{ text-decoration:underline; }
.wa-link{ color: rgba(56,224,123,0.95) !important; }

/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(10, 14, 30, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  z-index: 3000;
  box-shadow: 0 30px 100px rgba(0,0,0,0.55);
}
.cookie-title{ font-weight:700; }
.cookie-desc{ color: rgba(169,183,217,0.95); font-size: 13px; margin-top: 6px; line-height: 1.55; }
.cookie-actions{ display:flex; gap:10px; }
@media(max-width:820px){
  .cookie-banner{ flex-direction:column; align-items:flex-start; }
  .cookie-actions{ width:100%; }
  .cookie-actions button{ flex:1; }
}

/* Floating WhatsApp */
.float-wa{
  position: fixed;
  right: 18px;
  bottom: 100px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(56,224,123,0.10);
  border: 1px solid rgba(56,224,123,0.45);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 2500;
  text-decoration:none;
  box-shadow: 0 20px 70px rgba(56,224,123,0.12);
}
.float-wa span{
  color: rgba(56,224,123,0.95);
  font-weight: 800;
  letter-spacing: 1px;
}

/* Reveal animations (Framer-ish) */
.reveal-init{
  opacity:0;
  transform: translateY(26px) scale(0.985);
  filter: blur(3px);
}
.reveal-in{
  opacity:1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.8,.2,1), filter 800ms ease;
}

/* Anti-copy disuasorio (visual) */
body.copy-guard{
  -webkit-user-select: none;
  user-select: none;
}
