:root {
  --primary: #0d6efd;
  --bg: #050b17;
  --card: #0c1426;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
}

/* LOADER */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loader-ring {
  width: 70px;
  height: 70px;
  border: 6px solid rgba(255,255,255,.2);
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  padding-top: 20px;
}
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* LANGUAGE */
.lang-switch {
  position: absolute;
  top: 25px;
  right: 25px;
}

/* ===== LOGO HERO ===== */
.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.logo-svg {
  width: 320px;
  max-width: 90%;
  height: auto;
}

/* Responsive */
@media (max-width: 576px) {
  .logo-svg {
    width: 240px;
  }
}



/* LOGO */
.logo svg {
  max-width: 220px;
  margin-bottom: 30px;
}

/* COUNTERS */
.counter {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
}

/* CARDS */
.card-hub {
  background: var(--card);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  transition: all .5s ease;
  transform-style: preserve-3d;
  box-shadow: 0 25px 60px rgba(0,0,0,.4);
}
.card-hub:hover {
  transform: perspective(1000px) rotateX(6deg) rotateY(-6deg) translateY(-12px);
  box-shadow: 0 45px 90px rgba(0,0,0,.6);
}
.card-hub i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* CREDITOS IMPLEMENTADOR */
.dev-credit {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(12, 20, 38, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,.6);
  text-decoration: none;
  color: #fff;
  transition: all .4s ease;
}
.dev-credit:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 25px 60px rgba(13,110,253,.45);
}
.dev-credit img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
}
.dev-credit small {
  font-size: 11px;
  opacity: .7;
  display: block;
}
.dev-credit strong {
  font-size: 14px;
  font-weight: 600;
}

/* ===== LAYOUT BASE ===== */
html, body {
  height: 100%;
}

.awl-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* El main empuja el footer */
main {
  flex: 1;
  padding-top: 80px;
}

/* ===== HEADER OFFSET ===== */
.hero-charolas {
  padding-top: 10px; /* espacio SOLO al inicio */
}

/* ===== HEADER DINÁMICO ===== */
#mainHeader {
  transition: all .4s ease;
}

#mainHeader.scrolled {
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.step {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: #0d6efd;
  margin-bottom: .5rem;
}


