/* ===== Tokens ===== */
:root{
  --bg:#0b0f14;
  --bg-soft:#0f141b; 
  --panel:#0f141b; 
  --surface:rgba(255,255,255,.04);
  --text:#e8eef6;
  --muted:#9aa4b2;
  --primary:#31b37c;
  --stroke:#1b2330;       /* borde principal */
  --card:#111824;         /* superficie de tarjetas */
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --maxw:1300px;
  /* alias para compatibilidad interna */
  --border: var(--stroke);
  --surface: var(--card);
  --radius: 16px;
  --bg-soft:#0d1218;
}

  /* ====== Reset + base ====== */
  *,*::before,*::after{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{
    margin:0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color:var(--text); background:var(--bg);
    line-height:1.6;
  }
  img{max-width:100%; height:auto; display:block}
  .logo img{max-width:70%; height:auto; display:block; margin:0 auto}
  a{color:var(--primary); text-decoration:none}
  .container{width:100%; max-width:var(--maxw); margin-inline:auto; padding:0 20px}

  /* Sutil grid holográfica de fondo */
  body::before{
    content:""; position:fixed; inset:0; z-index:-2;
    background:
      radial-gradient(1200px 600px at 80% -10%, rgba(30,136,255,.18), transparent 60%),
      radial-gradient(800px 400px at -10% 120%, rgba(255,48,64,.12), transparent 60%),
      linear-gradient(180deg, var(--bg), var(--bg-soft));
  }
  body::after{
    content:""; position:fixed; inset:0; z-index:-1; opacity:.07; pointer-events:none;
    background-image:
      linear-gradient(transparent 95%, rgba(255,255,255,.15) 96%, transparent 97%),
      linear-gradient(90deg, transparent 95%, rgba(255,255,255,.12) 96%, transparent 97%);
    background-size: 40px 40px, 40px 40px; /* cuadrícula sutil */
  }
/* ===== Header / Nav ===== */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(160%) blur(8px);
  background:linear-gradient(180deg, rgba(11,15,20,.9), rgba(11,15,20,.65));
  border-bottom:1px solid var(--stroke);
}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.5px}

.menu{display:flex;gap:18px;align-items:center}
.menu a{opacity:.9}
.menu a:hover{opacity:1}
.cta{
  background:var(--primary); color:#04150e;
  padding:10px 14px; border-radius:10px; font-weight:700; box-shadow:var(--shadow);
}
.burger{display:none;background:transparent;border:0;cursor:pointer}
.burger span{display:block;width:22px;height:2px;background:#dfe7f0;margin:5px 0;border-radius:1px}
.nav-panel{display:none;flex-direction:column;gap:12px;padding:12px 16px;background:var(--panel);border-bottom:1px solid var(--stroke)}
.nav-panel.open{display:flex}

/* ===== Hero ===== */

.hero{
  position: relative;
  min-height: calc(100vh - var(--header-h)); /* que no quede tapado por el header */
  display: grid;
  justify-items: start;     /* mantiene el contenido a la IZQUIERDA */
  background:
    linear-gradient(rgba(11,15,20,.82), rgba(11,15,20,.86)),
    url('../icons/hero-bg-3.png') center/cover no-repeat; /* tu imagen */
  overflow: hidden;
}

/* controla ancho y respiración del texto dentro del hero */
.hero .container{
  max-width: 1200px;
        /* un pelín de aire bajo el header */
}


/* Experiencia */
.experiencia {color: #f3f4f6;padding: 60px 20px;text-align: center;}
.wrap-exp {max-width: 1000px;margin: 0 auto;}
.titulo-exp {font-size: 2rem;font-weight: 800;margin-bottom: 10px;letter-spacing: .03em;}
.intro-exp {font-size: 1.1rem;margin-bottom: 40px;line-height: 1.6;color: #d1d5db;}
.stats-exp {display: grid;grid-template-columns: repeat(3, 1fr);gap: 30px;text-align: center;}
.stat span {font-size: 2.5rem;font-weight: 900;color: #31b37c;}
.stat .plus {font-size: 2rem;margin-left: 4px;}
.stat p {margin-top: 8px;font-size: 1.1rem;color: #9ca3af;}
@media (max-width: 720px) {
  .stats-exp {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}



.eyebrow{display:inline-block;font-size:12px;letter-spacing:.12em;color:var(--muted);text-transform:uppercase;margin-bottom:10px}
.title{font-size:clamp(28px,5vw,48px);line-height:1.1;margin:0 0 10px}
.subtitle{color:#cdd6e3;max-width:700px;margin:0 0 18px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}

/* ===== Secciones ===== */
section{padding:60px 0}
.section-title{font-size:22px;margin:0 0 16px}

/* ===== Servicios ===== */
.services{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.card{background:var(--card);border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:var(--shadow)}
.service-card{padding:16px}
.service-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.service-icon{
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(180deg,#14202a,#0d141c);border:1px solid #1e2a39;color:#d8e4f1
}
.service-card p{margin:0;color:#c8d2e0}

/* ===== Sobre nosotros ===== */
.about{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.about-media{overflow:hidden}

/* ===== Testimonios ===== */
.tst-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tst-card{padding:16px}
.tst-stars{color:#ffcc66;font-size:14px;margin-bottom:6px}
.tst-quote{color:#dce5f3;margin:0 0 10px}
.tst-author{display:flex;align-items:center;gap:10px}
.tst-author img{width:36px;height:36px;border-radius:50%;background:#0f1622;border:1px solid #213147}
.tst-meta{color:var(--muted)}

/* ===== Contacto ===== */
.contact{display:grid;grid-template-columns:1.4fr .9fr;gap:14px}
.map{min-height:340px;overflow:hidden}
.maps-iframe{width:100%;height:100%;border:0}
.panel{padding:16px}
.list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.list li{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}
.muted{color:var(--muted)}
.cta-wide{display:block;text-align:center;margin-top:12px}

/* ===== Footer ===== */
.footer{border-top:1px solid var(--stroke);background:linear-gradient(180deg,rgba(10,14,20,.8),rgba(10,14,20,.6))}
.footer-wrap{display:grid;gap:16px;padding:24px 0;text-align:center;justify-items:center}
.footer-social{display:flex;gap:14px;flex-wrap: wrap; justify-content: center;}
.dot{color:#fff; width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#101826;border:1px solid #1c2840}
.footer-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.footer-bottom{
  width:100%;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
  font-size:.95rem;
}
.login-ghost{opacity:.7}
.login-ghost:hover{opacity:1}

/* ===== Botón subir ===== */
.to-top{
  position:fixed;right:16px;bottom:16px;width:44px;height:44px;border-radius:12px;
  border:1px solid var(--stroke);background:#0f1622;color:#eaf2ff;
  display:grid;place-items:center;cursor:pointer;opacity:0;pointer-events:none;
  box-shadow:var(--shadow);transform:translateY(8px);transition:.25s transform,.25s opacity;
}
.to-top.show{opacity:1;pointer-events:auto;transform:translateY(0)}
.to-top:active{transform:translateY(2px)}













/* ===== Responsive ===== */

@media (min-width: 1920px) {
  .brand .logo{max-width: 300px; max-height: 100px;}
  .hero{
    height: 110vh;
    padding-top: 30vh;

  }
}

@media (max-width: 1440px) {
  .brand .logo{max-width: 300px; max-height: 100px;}
  .hero{
    height: 90vh;
    background-position: center;
    padding-top: 25vh;
  }

  
}

@media (max-width: 1028px) {
  .brand .logo{max-width: 300px; max-height: 100px;}
  .hero{
    height: 90vh;
    background-position: center;
  }

}

@media (max-width: 769px) {
  .brand .logo{max-width: 300px; max-height: 100px;}
  .hero{
    min-height: calc(100vh - var(--header-h));
    background-position: center;

  }
  .title{ max-width: 22ch; }
  .footer-bottom{
    justify-content: center;
  }
}

@media (min-width:640px){
  .footer-wrap{ gap:20px; }
  .footer-bottom{ flex-direction:row; justify-content:center; }

}

@media (max-width:426px){
  .brand .logo{max-width: 150px; max-height: 100px;}
  .about-media{width: 100%;height: 100%;}
  .hero{padding-top: 200px;}
}

@media (max-width:960px){
  .services{grid-template-columns:repeat(2,1fr)}
  .about{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .tst-grid{grid-template-columns:1fr 1fr}
  .menu{display:none}
  .burger{display:block}
}
@media (max-width:560px){
  .services{grid-template-columns:1fr}
  .tst-grid{grid-template-columns:1fr}
}





@media (prefers-reduced-motion:no-preference){
  .to-top{ transition: opacity .18s ease, transform .18s ease; }
  .to-top:hover{ transform: translateY(4px); }
}
.to-top.show{ opacity:1; pointer-events:auto; transform: translateY(0); }

