:root{
  --navy:#081a30;
  --accent:#2f8fe0;
  --accent-soft:#6fb7ff;
  --accent-contrast:#00ffd5;
  --text:#f1f6fb;
  --muted:#b8c9db;
  --radius:20px;
  --container:1200px;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

body{
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47,143,224,.25), transparent 45%),
    radial-gradient(900px 500px at 90% 10%, rgba(0,255,213,.18), transparent 45%),
    linear-gradient(180deg,#081a30,#050f1e);
  color:var(--text);
  line-height:1.75;
  overflow-x:hidden;
}

/* ANIMACIONES BASE */
.fade-up{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

/* NAVBAR */
header{
  position:fixed;
  top:0;left:0;width:100%;
  z-index:1000;
  background:rgba(8,26,48,.75);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.1);
}

.nav{
  max-width:var(--container);
  margin:auto;
  padding:18px 22px;
  display:flex;
  align-items:center;
}

.logo{
  width:50px;height:50px;
  border-radius:14px;
  background:rgba(255,255,255,.18);
  /* padding:6px; */
  margin-right:14px;
}

.brand{
  font-weight:600;
  font-size:20px;
  letter-spacing:.4px;
  text-decoration: none;
  color:inherit;
}
.brand a{
  color:inherit;
  text-decoration:none;
}


.nav-links{
  margin-left:auto;
  display:flex;
  gap:20px;
}

.nav-links a{
  color:var(--muted);
  text-decoration:none;
  font-size:16px;
  padding:10px 14px;
  border-radius:12px;
  transition:.3s;
}

.nav-links a:hover{
  color:#fff;
  background:rgba(47,143,224,.25);
}

/* CONTENEDOR */
.container{
  max-width:var(--container);
  margin:auto;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:34px;
}

/* SECCIONES */
section{
  min-height:100vh;
  padding:180px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* TEXTOS */
h1{
  font-size:54px;
  max-width:960px;
  background:linear-gradient(135deg,#fff,var(--accent-soft));
  background-clip:text;              /* estándar */
  -webkit-background-clip:text;      /* compatibilidad */
  -webkit-text-fill-color:transparent;
}


h2{
  font-size:40px;
  background:linear-gradient(135deg,#fff,var(--accent-contrast));
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}


h3{font-size:22px}

p{
  max-width:860px;
  color:var(--muted);
  font-size:20px;
}

/* ICONOS */
.icon{
  width:26px;
  height:26px;
  color:var(--accent-contrast);
  margin-right:10px;
  vertical-align:middle;
  flex-shrink:0;
}

/* HERO STATS */
.stats{
  display:flex;
  gap:36px;
  margin-top:40px;
  flex-wrap:wrap;
  justify-content:center;
}

.stat{
  background:rgba(255,255,255,.12);
  padding:22px 30px;
  border-radius:16px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:0 15px 30px rgba(0,0,0,.35);
  transition:.35s;
}

.stat:hover{
  transform:translateY(-6px);
  background:rgba(47,143,224,.3);
}

/* GRID */
.grid{
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:32px;
  width:100%;
}

.card{
  background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.05));
  padding:36px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 25px 50px rgba(0,0,0,.45);
  transition:.4s;
}

.card:hover{
  transform:translateY(-12px) scale(1.02);
  border-color:var(--accent-contrast);
}

.card h3{
  display:flex;
  align-items:center;
  margin-bottom:14px;
}

/* NOSOTROS ICONOS */
.value{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:500;
}

/* FORM */
.contact-form{
  margin-top:40px;
  max-width:620px;
  width:100%;
  display:grid;
  gap:22px;
}

.contact-form input,
.contact-form textarea{
  min-height:56px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  padding:18px;
  color:#fff;
  font-size:17px;
}

.contact-form textarea{min-height:160px}

.contact-form button{
  background:linear-gradient(135deg,var(--accent),var(--accent-contrast));
  border:0;
  border-radius:16px;
  padding:18px;
  font-weight:600;
  cursor:pointer;
  font-size:17px;
  color:#041426;
  transition:.3s;
}

.contact-form button:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 30px rgba(0,0,0,.4);
}

.contact-note{
  font-size:14px;
  color:var(--muted);
}

footer{
  text-align:center;
  padding:70px 20px;
  background:#050f1e;
  border-top:1px solid rgba(255,255,255,.1);
  color:var(--muted);
}

/* RESPONSIVE */
@media(max-width:768px){
  h1{font-size:38px}
  h2{font-size:30px}
  p{font-size:18px}
  section{padding:150px 18px}
}

/* De aqui en adelante agregue */

/* NAVBAR BASE */
header{
  position:fixed;
  top:0;left:0;width:100%;
  z-index:1000;
  background:rgba(8,26,48,.75);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.1);
}

.nav{
  max-width:var(--container);
  margin:auto;
  padding:18px 22px;
  display:flex;
  align-items:center;
}

.brand-link{
  display:flex;
  align-items:center;
}

.logo{
  width:50px;
  height:50px;
  border-radius:14px;
  margin-right:14px;
}

.brand a{
  font-weight:600;
  font-size:20px;
  color:inherit;
  text-decoration:none;
}

/* LINKS DESKTOP */
.nav-links{
  margin-left:auto;
  display:flex;
  gap:20px;
}

.nav-links a{
  color:var(--muted);
  text-decoration:none;
  font-size:16px;
  padding:10px 14px;
  border-radius:12px;
  transition:.3s;
}

.nav-links a:hover{
  color:#fff;
  background:rgba(47,143,224,.25);
}

/* HAMBURGUESA */
.menu-toggle{
  display:none;
  margin-left:auto;
  background:none;
  border:none;
  cursor:pointer;
  width:36px;
  height:28px;
  position:relative;
}

.menu-toggle span{
  position:absolute;
  left:0;
  width:100%;
  height:3px;
  background:#fff;
  border-radius:2px;
  transition:.3s;
}

.menu-toggle span:nth-child(1){top:0}
.menu-toggle span:nth-child(2){top:12px}
.menu-toggle span:nth-child(3){top:24px}

/* ANIMACIÓN X */
.menu-toggle.active span:nth-child(1){
  transform:rotate(45deg);
  top:12px;
}
.menu-toggle.active span:nth-child(2){
  opacity:0;
}
.menu-toggle.active span:nth-child(3){
  transform:rotate(-45deg);
  top:12px;
}

/* RESPONSIVE */
@media(max-width:900px){

  .menu-toggle{
    display:block;
  }

  .nav-links{
    position:fixed;
    top:80px;
    left:0;
    width:100%;
    background:rgba(8,26,48,.95);
    backdrop-filter:blur(18px);
    flex-direction:column;
    align-items:center;
    gap:26px;
    padding:40px 0;
    transform:translateY(-120%);
    transition:.4s ease;
  }

  .nav-links.open{
    transform:translateY(0);
  }

  .nav-links a{
    font-size:20px;
  }
}

/* REDES SOCIALES INLINE */
.contact-socials-inline{
  display:flex;
  justify-content:center;
  gap:18px;
  margin-top:26px;
}

.contact-socials-inline a{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:rgba(255,255,255,.15);
  color:var(--text);
  transition:.3s;
}

.contact-socials-inline a:hover{
  background:rgba(47,143,224,.35);
  transform:translateY(-4px);
}

.contact-socials-inline svg{
  width:22px;
  height:22px;
  color:var(--accent-contrast);
}

/* MOBILE */
@media(max-width:520px){
  .contact-socials-inline{
    flex-wrap:wrap;
    gap:14px;
  }
}
