: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;
}

/* ===============================
   NAVBAR CHAROLAS – FIX FINAL
================================ */

/* HEADER BASE */
#mainHeader {
  background: rgba(5,11,23,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(0,0,0,.45);
  z-index: 1000;
}

/* BRAND */
#mainHeader .navbar-brand span {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .6px;
}

/* LINKS */
#mainHeader .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  position: relative;
  transition: color .3s ease;
}

#mainHeader .nav-link:hover {
  color: #ffffff;
}

/* UNDERLINE ANIMADO */
#mainHeader .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .3s ease;
}

#mainHeader .nav-link:hover::after {
  width: 100%;
}

/* BOTÓN COTIZAR */
#mainHeader .btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border: none;
  box-shadow: 0 10px 25px rgba(13,110,253,.4);
}

/* TOGGLER (MÓVIL) */
#mainHeader .navbar-toggler {
  border-color: rgba(255,255,255,.4);
}

#mainHeader .navbar-toggler-icon {
  filter: invert(1);
}


/* 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;
}


.hero-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(
      ellipse at center,
      rgba(13,110,253,.15),
      rgba(0,0,0,.95)
    ),
    url("/assets/img/hero-bg.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
}

:root {
  --awl-blue: #0d6efd;
  --awl-blue-dark: #063b8f;
  --awl-dark: #05070d;
  --awl-dark-2: #0b1020;
  --awl-light: #f5f7fb;
  --awl-border: rgba(255,255,255,.12);
}

body {
  background: var(--awl-light);
}

/* HERO */
.awl-hero {
  background:
    radial-gradient(circle at top left, rgba(13,110,253,.35), transparent 35%),
    linear-gradient(135deg, #02040a 0%, #07111f 45%, #0d1b33 100%);
  color: #fff;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .45;
}

.awl-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .45;
  z-index: 1;
}

.awl-glow-1 {
  width: 360px;
  height: 360px;
  background: #0d6efd;
  top: 12%;
  right: 8%;
}

.awl-glow-2 {
  width: 260px;
  height: 260px;
  background: #00d4ff;
  bottom: 10%;
  left: 8%;
}

.logo-svg {
  width: 280px;
  max-width: 100%;
}

.awl-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--awl-border);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #dce9ff;
  backdrop-filter: blur(10px);
  font-size: .9rem;
}

.hero-panel {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--awl-border);
  border-radius: 2rem;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.panel-line {
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--awl-blue), transparent);
}

.panel-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: rgba(5,7,13,.78);
  border: 1px solid var(--awl-border);
}

.panel-card i {
  color: var(--awl-blue);
  font-size: 1.7rem;
}

/* SECCIONES */
.awl-dark-section {
  background: linear-gradient(180deg, #05070d 0%, #0b1020 100%);
}

.section-kicker {
  color: var(--awl-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}

.awl-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--awl-border);
  transition: all .3s ease;
}

.awl-card:hover {
  transform: translateY(-8px);
  background: rgba(13,110,253,.12);
  border-color: rgba(13,110,253,.45);
}

.awl-card i {
  color: var(--awl-blue);
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.awl-card h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: .8rem;
}

.awl-card p {
  color: rgba(255,255,255,.65);
  margin-bottom: 0;
}

/* FEATURE */
.awl-feature-section {
  background: #fff;
}

.feature-visual {
  min-height: 620px;
  background:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.65)),
    url("assets/img/industrial-bg.jpg") center/cover no-repeat;
  position: relative;
}

.feature-overlay {
  position: absolute;
  left: 8%;
  bottom: 10%;
  color: #fff;
}

.feature-overlay span {
  color: #8ab8ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.feature-overlay h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  max-width: 560px;
}

.feature-content {
  min-height: 620px;
  padding: clamp(3rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-content p {
  color: #5c6575;
  font-size: 1.05rem;
}

.mini-stat {
  padding: 1.4rem;
  border-radius: 1.2rem;
  background: #f3f6fb;
  border: 1px solid #e6ebf2;
}

.mini-stat strong {
  display: block;
  color: var(--awl-blue);
  font-size: 1.4rem;
}

.mini-stat span {
  color: #263244;
  font-weight: 600;
}

/* PROCESO */
.awl-process {
  background: #f5f7fb;
}

.process-card {
  height: 100%;
  padding: 2rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid #e8edf5;
  box-shadow: 0 20px 50px rgba(10,20,40,.06);
  transition: all .3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(10,20,40,.12);
}

.step {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--awl-blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.process-card h5 {
  font-weight: 700;
}

.process-card p {
  color: #667085;
  margin-bottom: 0;
}

/* INDUSTRIAS */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 1.5rem;
  overflow: hidden;
}

.industry-grid div {
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,.06);
  color: #fff;
  text-align: center;
  font-weight: 600;
  transition: all .25s ease;
}

.industry-grid div:hover {
  background: var(--awl-blue);
}

/* CTA */
.awl-cta {
  padding: 7rem 0;
  background:
    linear-gradient(rgba(5,7,13,.82), rgba(5,7,13,.92)),
    radial-gradient(circle at center, rgba(13,110,253,.5), transparent 55%),
    #05070d;
}

/* BOTONES */
.btn-primary {
  background: var(--awl-blue);
  border-color: var(--awl-blue);
  box-shadow: 0 12px 30px rgba(13,110,253,.28);
}

.btn-primary:hover {
  background: #0b5ed7;
  border-color: #0b5ed7;
  transform: translateY(-2px);
}

.btn-outline-light:hover {
  color: #05070d;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .awl-hero {
    text-align: center;
    padding: 6rem 0;
  }

  .min-vh-100 {
    min-height: auto !important;
  }

  .feature-visual,
  .feature-content {
    min-height: auto;
  }

  .feature-visual {
    height: 420px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .display-3 {
    font-size: 2.4rem;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .feature-overlay h2 {
    font-size: 2.4rem;
  }
}

/* NAVBAR MODERNA */

.awl-navbar{
    padding: 14px 0;
    transition: all .35s ease;
    background: rgba(4,8,18,.45);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 1100;
}

.awl-navbar.scrolled{
    background: rgba(5,7,13,.92);
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
    padding: 10px 0;
}

.navbar-logo{
    height:48px;
    width:auto;
    transition:.3s;
}

.brand-text{
    display:flex;
    flex-direction:column;
    line-height:1.05;
}

.brand-text strong{
    color:#fff;
    font-size:1rem;
    font-weight:700;
}

.brand-text small{
    color:#8ea8c8;
    font-size:.72rem;
    letter-spacing:.05em;
}

.navbar-nav .nav-link{
    color:rgba(255,255,255,.82);
    font-weight:500;
    padding:.75rem 1rem;
    position:relative;
    transition:.3s;
}

.navbar-nav .nav-link:hover{
    color:#fff;
}

.navbar-nav .nav-link::after{
    content:'';
    position:absolute;
    left:1rem;
    bottom:.4rem;
    width:0;
    height:2px;
    background:#0d6efd;
    transition:.3s;
}

.navbar-nav .nav-link:hover::after{
    width:55%;
}

.btn-lang{
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.05);
    color:#fff;
    border-radius:999px;
    padding:.5rem .9rem;
    transition:.3s;
}

.btn-lang:hover{
    background:#0d6efd;
    border-color:#0d6efd;
    color:#fff;
}

.nav-cta{
    border-radius:999px;
    font-weight:600;
    box-shadow:0 10px 25px rgba(13,110,253,.25);
}

.navbar-toggler{
    color:#fff;
    font-size:1.8rem;
}

.navbar-toggler:focus{
    box-shadow:none;
}

@media (max-width:991px){

    .awl-navbar{
        background:#05070d;
    }

    .navbar-collapse{
        margin-top:1rem;
        padding:1.25rem;
        border-radius:1.25rem;
        background:#0b1020;
        border:1px solid rgba(255,255,255,.08);
    }

    .navbar-nav .nav-link{
        padding:1rem;
        border-radius:.8rem;
    }

    .navbar-nav .nav-link:hover{
        background:rgba(255,255,255,.05);
    }

    .nav-cta{
        width:100%;
        margin-top:1rem;
    }
}


/* FOOTER */

.awl-footer {
    background: linear-gradient(180deg, #05070d 0%, #02040a 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
    font-weight: 800;
    margin-bottom: .4rem;
}

.awl-footer p {
    color: rgba(255,255,255,.8);
}

.awl-footer small {
    color: rgba(255,255,255,.55);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.footer-links a:hover {
    color: #0d6efd;
}

.awl-footer hr {
    border-color: rgba(255,255,255,.12);
    margin: 2rem 0 1.5rem;
}

.footer-bottom {
    color: rgba(255,255,255,.55);
}

/* CRÉDITO IMPLEMENTADOR */

.dev-credit {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: rgba(5,7,13,.82);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
    transition: .3s;
}

.dev-credit:hover {
    transform: translateY(-3px);
    background: rgba(13,110,253,.9);
    color: #fff;
}

.dev-credit img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
}

.dev-credit small {
    display: block;
    font-size: .68rem;
    color: rgba(255,255,255,.65);
    line-height: 1;
}

.dev-credit strong {
    display: block;
    font-size: .78rem;
    line-height: 1.1;
}

@media (max-width: 575px) {
    .dev-credit {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: center;
        border-radius: 1rem;
    }
}
