/* =========================================================
   1. VARIABLES GENERALES
   - Colores base
   - Sombras
   - Bordes
   - Contenedor
========================================================= */
:root {
  --main-blue: #005a8f;
  --light-blue: #98d9f1;
  --accent-blue: #007bbd;
  --grad: linear-gradient(135deg, #005a8f, #007bbd);
  --text-dark: #102033;
  --text-light: #64748b;
  --white: #ffffff;
  --dark-bg: #07111b;
  --card-bg: #ffffff;
  --border-soft: #e5eef5;
  --shadow-soft: 0 20px 45px rgba(0, 90, 143, 0.08);
  --shadow-strong: 0 28px 65px rgba(0, 90, 143, 0.14);
  --transition-soft: all 0.35s ease;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;

    /* NUEVAS VARIABLES */
  --bg-main: #ffffff;
  --text-main: #102033;
}

body.dark-mode {
  --bg-main: #07111b;
  --text-main: #ffffff;

  --card-bg: #0f1f2d;
  --border-soft: rgba(255,255,255,0.08);
}

.theme-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  cursor: pointer;

  background: linear-gradient(135deg, #007bbd, #00c6ff);

  color: white;
  font-size: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: .3s;
}

.theme-btn:hover {
  transform: translateY(-3px);
}
/* =========================================================
   2. RESET GENERAL
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  overflow-x: hidden;

  transition: background .35s ease, color .35s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* =========================================================
   3. HEADER / NAVBAR
========================================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.logo img {
  height: 52px;
  width: auto;
}

.main-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  color: #0f2238;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition-soft);
}

.nav-links > li > a:hover {
  color: var(--accent-blue);
}

.nav-links > li > a span {
  font-size: 0.72rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.16);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-soft);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a,
.dropdown-title {
  display: block;
  padding: 0.82rem 1rem;
}

.dropdown-menu li a {
  color: #13263a;
  font-weight: 600;
}

.dropdown-menu li a:hover {
  background: #f3f9fd;
  color: var(--accent-blue);
}

.dropdown-title {
  font-size: 0.74rem;
  font-weight: 800;
  color: #587087;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid #edf3f8;
  margin-top: 0.35rem;
}

.dropdown-title:first-child {
  border-top: 0;
  margin-top: 0;
}



/* =========================================================
   4. BOTONES
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition-soft);
  cursor: pointer;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: 0 14px 34px rgba(0, 123, 189, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(8px);
}

.btn-pill {
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
}

.hero-actions .btn,
.cta-actions .btn {
  padding: 1rem 1.7rem;
  border-radius: 18px;
}

.btn:hover {
  transform: translateY(-3px);
}

.nav-btns{
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  cursor: pointer;

  background: linear-gradient(135deg, #007bbd, #00c6ff);

  color: white;
  font-size: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 0 12px rgba(0,198,255,.45);

  transition: .35s ease;
}

.theme-btn:hover{
  transform: translateY(-3px) scale(1.05);

  box-shadow:
    0 0 18px rgba(0,198,255,.7);
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode{
  background: #07111b;
  color: #ffffff;
}

/* NAVBAR */
body.dark-mode .navbar{
  background: rgba(7,17,27,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

body.dark-mode .nav-links > li > a{
  color: #ffffff;
}

/* SECCIONES */
body.dark-mode .services-section,
body.dark-mode .partners-section,
body.dark-mode .about-premium-section
body.dark-mode .alliances-section,
body.dark-mode .contact-section{
  background: #07111b;
}

/* TEXTOS */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode p,
body.dark-mode strong{
  color: #ffffff;
}

/* CARDS */
body.dark-mode .service-card,
body.dark-mode .partner-card,
body.dark-mode .alliance-logo,
body.dark-mode .contact-container{
  background: #0d1b2a;
  border-color: rgba(255,255,255,.08);
}

/* INPUTS */
body.dark-mode .input-group input,
body.dark-mode .input-group textarea{
  background: #102033;
  border-color: rgba(255,255,255,.08);
  color: white;
}

/* FOOTER */
body.dark-mode .footer-tech{
  background: #020b13;
}
.hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(4, 15, 29, 0.82) 0%,
      rgba(4, 15, 29, 0.62) 45%,
      rgba(4, 15, 29, 0.35) 100%
    ),
    rgba(0, 90, 143, 0.18);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 84vh;
  padding: 120px 24px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 1rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  line-height: 1.05;
  color: #ffffff;
}

.hero-copy p {
  margin: 0 auto;
  max-width: 680px;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
}
/* =========================================================
   6. SECCIONES GENERALES
========================================================= */
.services-section,
.why-section,
.partners-section,
.cta-banner {
  padding: 50px 24px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.section-head {
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.section-head p {
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.95rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(0, 123, 189, 0.1);
  color: var(--accent-blue);
}

.dark-badge {
  background: rgba(255,255,255,0.08);
  color: var(--light-blue);
}


/* =========================================================
   7. SERVICIOS
========================================================= */
.services-section {
  background: var(--bg-main);
}
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1 rem;
}
/* CONTENEDOR PERMITE SALIRSE */
.servicesSwiper {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px 60px;
  position: relative;
  overflow: hidden;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-soft);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.featured-card {
  border-color: rgba(0, 123, 189, 0.26);
}

.service-card-link-wrap {
  display: block;
  height: 100%;
}

.service-image {
  height: 190px; /* CLAVE 🔥 */
  border-radius: 28px 28px 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.45s ease;
}

.service-card:hover .service-image {
  transform: scale(1.04);
}

/* CONTENIDO */
.service-body {
  position: relative;
  padding: 1.4rem 1.3rem 1.5rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(0, 123, 189, 0.08);
  color: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1rem;
}

/* ICONO */
.service-icon {
  position: absolute;
  top: -30px;
  right: 18px;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef8fe, #dff1fb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.2rem;
  box-shadow: 0 10px 25px rgba(0, 123, 189, 0.15);
}

/* TEXTO */
.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}


.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}


.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-blue);
  font-weight: 800;
  font-size: 0.95rem;
}

.swiper-button-next,
.swiper-button-prev {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 123, 189, 0.9);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 123, 189, 0.25);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

/* POSICIÓN CORRECTA */
.swiper-button-next {
  right: 5px;
}

.swiper-button-prev {
  left: 5px;
}

/* =========================================================
   EMPRESAS QUE CONFÍAN EN AEL GROUP
========================================================= */

.clients-tech-section {
  position: relative;
  overflow: hidden;
  padding: 78px 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 198, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(0, 123, 189, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.clients-tech-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 123, 189, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 123, 189, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  pointer-events: none;
}

.clients-tech-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

.clients-tech-head {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.clients-tech-head h2 {
  margin: 1rem 0 0.8rem;
  color: #0f2238;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.clients-tech-head p {
  margin: 0 auto;
  max-width: 620px;
  color: #5f7388;
  font-size: 0.98rem;
  line-height: 1.7;
}


.clients-tech-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.clients-tech-line {
  position: absolute;
  left: -30%;
  top: 50%;
  width: 160%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32,199,244,0.75), transparent);
  animation: clientLineMove 4s ease-in-out infinite;
}

.client-tech-card {
  position: relative;
  z-index: 2;
  min-height: 105px;
  padding: 1rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  transition: 0.35s ease;
}

.client-tech-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(32,199,244,0.42);
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}

.client-tech-card img {
  width: 100%;
  max-width: 125px;
  max-height: 46px;
  object-fit: contain;
  padding: 0.55rem;
  border-radius: 12px;
  background: #ffffff;
}

@keyframes clientLineMove {
  0%, 100% {
    opacity: 0.25;
    transform: translateX(-8%);
  }

  50% {
    opacity: 1;
    transform: translateX(8%);
  }
}

/* DARK MODE */
body.dark-mode .clients-tech-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 198, 255, 0.11), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(0, 123, 189, 0.12), transparent 28%),
    linear-gradient(180deg, #07111b 0%, #0b1724 100%) !important;
}

body.dark-mode .clients-tech-head h2 {
  color: #ffffff;
}

body.dark-mode .clients-tech-head p {
  color: rgba(255,255,255,0.72);
}



/* RESPONSIVE */
@media (max-width: 980px) {
  .clients-tech-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .clients-tech-section {
    padding: 72px 20px;
  }

  .clients-tech-showcase {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    border-radius: 22px;
  }

  .client-tech-card {
    min-height: 95px;
  }

  .clients-tech-head h2 {
    font-size: 1.9rem;
  }
}
/* =========================================================
   8. WHY
========================================================= */
.why-section {
  background: var(--dark-bg);
}

.why-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.why-copy h2 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: #ffffff;
}

.why-copy p {
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  font-size: 1rem;
}

.why-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  color: #e8f8ff;
  border: 1px solid rgba(255,255,255,0.07);
}

.why-item i {
  color: var(--light-blue);
}

.why-panel {
  position: relative;
  min-height: 380px;
  border-radius: 30px;
  background:
    radial-gradient(circle at center, rgba(0, 123, 189, 0.16) 0%, rgba(0, 123, 189, 0.02) 55%, transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.why-main-icon {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-size: 2.7rem;
  color: var(--light-blue);
}

.why-floating {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ffffff;
  font-size: 1.25rem;
}

.why-f1 { top: 70px; left: 70px; }
.why-f2 { top: 90px; right: 70px; }
.why-f3 { bottom: 70px; left: 50%; transform: translateX(-50%); }



/* =========================================================
   10. CTA
========================================================= */
.cta-banner {
  position: relative;
  background:
    linear-gradient(rgba(0, 90, 143, 0.38), rgba(0, 90, 143, 0.38)),
    url('img/contacto-ael.jpg') center/cover no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 18, 34, 0.74) 0%,
    rgba(5, 18, 34, 0.48) 45%,
    rgba(5, 18, 34, 0.22) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  margin: 1rem 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.cta-content p {
  margin: 0 0 1.6rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* =========================================================
   HERO MÁS PREMIUM
   - Mejor equilibrio visual
========================================================= */
.hero-copy h1 {
  text-wrap: balance;
}

.hero-copy p {
  max-width: 640px;
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.02)
  );
  pointer-events: none;
}

/* =========================================================
   SERVICIOS MÁS ELEGANTES
========================================================= */
.service-card {
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, #005a8f, #98d9f1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.05);
}

.service-icon {
  transition: transform 0.35s ease;
}

/* =========================================================
   IMÁGENES DE SERVICIOS
========================================================= */
/* =========================================================
   IMÁGENES DE SERVICIOS
========================================================= */

.service-card {
  position: relative;
  overflow: hidden;
}

.service-image {
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 28px 28px 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.45s ease;
}

/* ISSABEL */
.img-issabel {
  background-image: url("img/issaserv.jpg");
  background-color: #190640;
}

/* ZEXTRAS CARBONIO */
.img-correo {
  background-image: url("img/carbonioservicio.jpg");
  background-color: #0b0b0b;
}

/* SPAMTITAN */
.img-spam {
  background-image: url("img/spanservicio.jpg");
  background-color: #0b0b0b;
}

/* KASPERSKY EDR */
.img-edr {
  background-image: url("img/kspservicioo.jpg");
  background-color: #001f2a;
}

/* FORTINET */
.img-fortinet {
  background-image: url("img/fortiser.jpg");
  background-color: #0b0b0b;
}

/* MIKROTIK*/
.img-mikrotik {
  background-image: url("img/mikroser.jpg");
  background-color: #0b0b0b;
}
.service-card:hover .service-image {
  transform: scale(1.04);
}
/* =========================================================
   WHY SECTION MÁS PRO
========================================================= */
.why-item {
  transition: var(--transition-soft);
}

.why-item:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,0.08);
}

/* =========================================================
   PARTNERS MÁS LIMPIOS
========================================================= */
.partner-card {
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,123,189,0.04),
    rgba(152,217,241,0.02)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.partner-card:hover::before {
  opacity: 1;
}

/* Clientes / partners más limpios */
.clients-tech-section {
  position: relative;
  overflow: hidden;
  padding: 84px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
}

.clients-tech-section::before,
.clients-tech-showcase::before,
.clients-tech-line {
  display: none !important;
}


.client-tech-card {
  min-height: 120px;
  padding: 1.2rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(32,199,244,0.18);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}




.client-tech-card img {
  width: 100%;
  max-width: 150px;
  max-height: 62px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.client-logo-large {
  max-width: 190px !important;
  max-height: 85px !important;
}
.client-logo-larg {
  max-width: 250px !important;
  max-height: 85px !important;
}

.clients-tech-section {
  position: relative;
  overflow: hidden;
  padding: 84px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
}

.clients-tech-section::before,
.clients-tech-showcase::before,
.clients-tech-line {
  display: none !important;
}

.clients-tech-container {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
}

.clients-tech-head {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.clients-tech-head h2 {
  margin: 1rem 0 0.8rem;
  color: #0f2238;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.clients-tech-head p {
  margin: 0 auto;
  max-width: 620px;
  color: #5f7388;
  font-size: 0.98rem;
  line-height: 1.7;
}

.clients-tech-showcase {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 24px;
  background: #071426;
  box-shadow: 0 24px 60px rgba(7, 20, 38, 0.16);
}

.clients-marquee {
  overflow: hidden;
  width: 100%;
}

.clients-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: clientsMove 28s linear infinite;
}

.clients-tech-showcase:hover .clients-track {
  animation-play-state: paused;
}

.client-tech-card {
  width: 178px;
  height: 104px;
  flex: 0 0 178px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(0,0,0,0.24);
}

.client-tech-card img {
  width: 100%;
  max-width: 132px;
  max-height: 58px;
  object-fit: contain;
  display: block;
}

@keyframes clientsMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

body.dark-mode .clients-tech-section {
  background: linear-gradient(180deg, #07111b 0%, #0b1724 100%) !important;
}

body.dark-mode .clients-tech-head h2 {
  color: #ffffff;
}

body.dark-mode .clients-tech-head p {
  color: rgba(255,255,255,0.72);
}

@media (max-width: 560px) {
  .clients-tech-section {
    padding: 72px 20px;
  }

  .clients-tech-showcase {
    border-radius: 20px;
  }

  .client-tech-card {
    width: 150px;
    height: 92px;
    flex-basis: 150px;
  }

  .client-tech-card img {
    max-width: 112px;
    max-height: 50px;
  }

  .clients-track {
    animation-duration: 22s;
  }
}

/* =========================================================
   CTA MÁS IMPACTANTE
========================================================= */
.cta-content {
  padding: 0 8px;
}

.cta-content h2 {
  text-wrap: balance;
}



/* Contenedor Principal */
.partners-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Centra el bloque completo */
  gap: 50px;
  padding: 80px 10%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Ajuste del Texto */
.partners-text {
  flex: 0 0 300px; /* Ancho fijo para el texto para que no empuje a los logos */
  text-align: left;
}

.partners-text h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0;
}

/* El Carrusel */
.slider-controls-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.partners-slider-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 800px; /* Ajusta esto según qué tan ancho quieras el bloque de logos */
}

.partners-slider-track {
  display: flex;
  gap: 40px; /* Espacio entre los logos */
  transition: transform 0.5s ease-in-out;
  align-items: center;
}

.partner-item img {
  width: 100%;
  max-height: 50px; /* Controla el alto para que no se deformen */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
}

.partner-item {
  /* Esto hace que se vean 4 logos exactos */
  flex: 0 0 calc(25% - 30px); 
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Flechas más grandes y visibles */
.slider-arrow {
  background: none;
  border: none;
  font-size: 40px;
  color: #bbb;
  cursor: pointer;
  padding: 0 15px;
}


:root {
  --primary-blue: #0077b6;
  --text-dark: #333;
  --bg-light: #f8f9fa;
}

.contact-section {
  padding: 50px 20px;
  background-color: #fff;
}

.contact-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.contact-form-side {
  flex: 1.2;
  padding: 50px;
}

.contact-map-side {
  flex: 1;
  min-height: 450px;
}

/* Encabezado */
.form-header h2 { font-size: 2.2rem; color: var(--text-dark); margin-bottom: 10px; }
.form-header h2 span { color: #8b8b3d; } /* El color dorado de tu imagen */
.form-header p { color: #777; margin-bottom: 30px; }

/* Inputs Modernos con Label Flotante */
.input-row { display: flex; gap: 20px; margin-bottom: 25px; }
.input-group { position: relative; flex: 1; margin-bottom: 25px; }

.input-group input, .input-group textarea {
  width: 100%;
  padding: 15px;
  border: 1.5px solid #eee;
  border-radius: 10px;
  background: var(--bg-light);
  outline: none;
  transition: 0.3s;
}

.input-group label {
  position: absolute;
  left: 15px;
  top: 15px;
  color: #999;
  transition: 0.3s;
  pointer-events: none;
}

/* Efecto al escribir */
.input-group input:focus, .input-group textarea:focus { border-color: var(--primary-blue); background: #fff; }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: white;
  padding: 0 5px;
  color: var(--primary-blue);
}

/* Botón y Captcha */
.form-footer { display: flex; justify-content: space-between; align-items: center; }
.captcha-box { display: flex; align-items: center; gap: 10px; font-weight: bold; }
.captcha-box input { width: 60px; padding: 10px; border-radius: 5px; border: 1px solid #ddd; }

.btn-send {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-send:hover { background: #005f92; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,119,182,0.3); }

/* Móvil */
@media (max-width: 768px) {
  .contact-container { flex-direction: column; }
  .input-row { flex-direction: column; gap: 0; }
}


/* =========================================================
   SCROLL INDICATOR MÁS BONITO
========================================================= */
.scroll-indicator a {
  transition: var(--transition-soft);
  animation: floatArrow 2s ease-in-out infinite;
}

.scroll-indicator a:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.2);
}

@keyframes floatArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* =========================================================
   SWIPER ALIANZAS
========================================================= */

.alliancesSwiper{
  width: 100%;
  padding: 20px 70px;
  overflow: hidden;
}

.alliance-logo{
  height: 120px;
  width: 100%;

  background: #ffffff;

  border-radius: 24px;

  border: 1px solid #e5eef5;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px;

  overflow: hidden;

  transition: .3s;
}

.alliance-logo:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0,90,143,.12);
}

.alliance-logo img{
  width: 100%;
  max-width: 150px;

  max-height: 45px;

  object-fit: contain;
}


/* ===== FIX DARK MODE ===== */

body.dark-mode .about-preview-section,
body.dark-mode .services-section,
body.dark-mode .partners-section,
body.dark-mode .alliances-section,
body.dark-mode .contact-section {
  background: #07111b !important;
}

body.dark-mode .section-head h2,
body.dark-mode .section-head p,
body.dark-mode .about-preview-copy h2,
body.dark-mode .about-preview-copy p,
body.dark-mode .alliances-copy h2,
body.dark-mode .alliances-copy p,
body.dark-mode .service-card p,
body.dark-mode .service-card h3 {
  color: white !important;
}

body.dark-mode .service-card,
body.dark-mode .partner-card,
body.dark-mode .alliance-logo,
body.dark-mode .contact-container {
  background: #0d1b2a !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;

  background-color: #25D366;
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;

  text-decoration: none;
  transition: all 0.3s ease;
}

/* Ocultamos el texto por defecto */
.whatsapp-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;

  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: Arial, sans-serif;

  transition: all 0.3s ease;
  margin-right: 0;
}

/* Icono */
.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* Efecto hover: aparece el texto */
.whatsapp-float:hover .whatsapp-text {
  max-width: 120px;
  opacity: 1;
  margin-right: 10px;
}

/* pequeño efecto al pasar mouse */
.whatsapp-float:hover {
  transform: scale(1.05);
}

/* =========================================================
   ABOUT PREMIUM
========================================================= */

.about-premium-section{
  position: relative;
  padding: 110px 24px;
  overflow: hidden;

  background:
    radial-gradient(circle at top left,
      rgba(0,123,189,.12),
      transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
}

.about-premium-container{
  max-width: 1280px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.about-premium-copy h2{
  margin: 1rem 0;

  font-size: clamp(2.3rem,4vw,4rem);
  line-height: 1.05;

  color: #0f2238;

  max-width: 700px;
}

.about-premium-copy p{
  font-size: 1.05rem;
  line-height: 1.9;

  color: #5d7288;

  max-width: 650px;
}

/* FEATURES */

.about-features{
  margin-top: -300px; /* más arriba */

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  position: relative;
  left: 500px;
  gap: 2rem; /* separación entre cada item */
}

.feature-item{
  width: fit-content;

  display: flex;
  gap: 1rem;

  padding: 1rem 1.1rem;

  border-radius: 20px;

  background: rgba(255,255,255,.75);

  border: 1px solid rgba(0,123,189,.08);

  backdrop-filter: blur(10px);

  transition: .35s ease;
}

.feature-item:hover{
  transform: translateX(8px);
  box-shadow: 0 18px 45px rgba(0,123,189,.08);
}

.feature-item i{
  width: 58px;
  height: 58px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg,#007bbd,#00c6ff);

  color: white;
  font-size: 1.2rem;

  flex-shrink: 0;
}

.feature-item strong{
  display: block;
  margin-bottom: .35rem;

  color: #102033;
  font-size: 1rem;
}

.feature-item span{
  color: #6b7f92;
  font-size: .93rem;
}

/* STATS */

.about-stats{
  display: flex;
  gap: 1rem;
  margin-top: -50px;
  flex-wrap: wrap;
} 

.stat-box{
  min-width: 140px;

  padding: 1.2rem;

  border-radius: 22px;

  background: #fff;

  border: 1px solid #e9f2f8;

  box-shadow: 0 14px 35px rgba(0,90,143,.06);
}

.stat-box h3{
  margin: 0;

  font-size: 2rem;
  color: #007bbd;
}

.stat-box p{
  margin: .35rem 0 0;
  font-size: .9rem;
}

/* BUTTON */

.about-btn{
  margin-top: 2rem;

  padding: 1rem 1.6rem;
  border-radius: 18px;
}

/* =========================================================
   RIGHT SIDE
========================================================= */

.about-premium-visual{
  position: relative;
  min-height: 620px;
}

/* Glow */

.about-circle{
  position: absolute;

  width: 420px;
  height: 420px;

  right: 0;
  top: 40px;

  border-radius: 50%;

  background: rgba(0,198,255,.15);

  filter: blur(60px);
}

/* Main image */

.about-main-image{
  position: absolute;

  width: 82%;
  height: 500px;

  top: 0;
  right: 0;

  border-radius: 34px;

  overflow: hidden;

  box-shadow: 0 30px 70px rgba(0,0,0,.16);

  border: 1px solid rgba(255,255,255,.4);
}

.about-main-image img{
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Mini image */

.about-mini-image{
  position: absolute;

  width: 230px;
  height: 180px;

  bottom: 0;
  left: 10px;

  border-radius: 28px;

  overflow: hidden;

  border: 6px solid white;

  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.about-mini-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating cards */

.floating-card{
  position: absolute;

  display: flex;
  align-items: center;
  gap: .8rem;

  padding: 1rem 1.2rem;

  border-radius: 18px;

  background: rgba(255,255,255,.75);

  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,.4);

  box-shadow: 0 20px 40px rgba(0,0,0,.1);

  font-weight: 700;

  color: #102033;
}

.floating-card i{
  color: #007bbd;
}

.card-1{
  top: 60px;
  left: -20px;
}

.card-2{
  bottom: 140px;
  right: -20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 992px){

  .about-premium-container{
    grid-template-columns: 1fr;
  }

  .about-premium-visual{
    min-height: 550px;
  }

}

@media(max-width: 768px){

  .about-premium-section{
    padding: 80px 20px;
  }

  .about-main-image{
    position: relative;
    width: 100%;
    height: 380px;
  }

  .about-mini-image{
    width: 170px;
    height: 130px;
  }

  .floating-card{
    transform: scale(.9);
  }

}

/* =========================================================
   SCROLL SNAP
========================================================= */

html{
  scroll-behavior: smooth;
}

body.presentation-mode{
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}

.snap-section{
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal{
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal.active{
  opacity: 1;
  transform: translateY(0);
}

/* Variantes opcionales */

.reveal-left{
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1s ease;
}

.reveal-left.active{
  opacity: 1;
  transform: translateX(0);
}

.reveal-right{
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease;
}

.reveal-right.active{
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom{
  opacity: 0;
  transform: scale(.9);
  transition: all 1s ease;
}

.reveal-zoom.active{
  opacity: 1;
  transform: scale(1);
}



/* =========================================================
   AEL GROUP - UPGRADE INICIO CORPORATIVO TECH
   Pegar al final de style.css
========================================================= */

:root {
  --ael-navy: #061525;
  --ael-blue: #006fae;
  --ael-cyan: #20c7f4;
  --ael-ink: #0d2238;
  --ael-muted: #64748b;
  --ael-line: rgba(0, 111, 174, 0.14);
  --ael-glow: 0 24px 70px rgba(0, 111, 174, 0.16);
}

/* NAV más limpio */
.navbar {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 35px rgba(6, 21, 37, 0.06);
}

.nav-links > li > a {
  position: relative;
}

.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ael-blue), var(--ael-cyan));
  transition: width .3s ease;
}

.nav-links > li > a:hover::after {
  width: 100%;
}

/* HERO con fondo tecnológico real */
.hero {
  min-height: 100vh;
  background: #061525;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,21,37,.94), rgba(6,21,37,.76), rgba(6,21,37,.35)),
    url("img/porque-ael.jpg") center/cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 20%, rgba(32,199,244,.22), transparent 24%),
    radial-gradient(circle at 72% 28%, rgba(0,111,174,.18), transparent 24%),
    linear-gradient(135deg, rgba(6,21,37,.58), rgba(6,21,37,.14));
}

.eyebrow::before {
  content: "AEL GROUP | TECNOLOGIA EMPRESARIAL";
}

.hero-copy h1 {
  max-width: 820px;
  letter-spacing: -1px;
}

.hero-copy p {
  font-size: 1.08rem;
}

.hero-card {
  max-width: 420px;
  border-radius: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(32,199,244,.16), transparent 42%),
    linear-gradient(180deg, transparent, rgba(255,255,255,.05));
  pointer-events: none;
}

/* ABOUT: arregla el layout roto por márgenes negativos */
.about-premium-container {
  grid-template-columns: 1fr;
}

.about-premium-copy {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 3rem;
  align-items: start;
}

.about-premium-copy > .section-badge,
.about-premium-copy > h2,
.about-premium-copy > p,
.about-stats,
.about-btn {
  grid-column: 1;
}

.about-features {
  grid-column: 2;
  grid-row: 1 / span 5;
  margin-top: 0;
  left: auto;
  align-items: stretch;
  gap: 1rem;
}

.feature-item {
  width: 100%;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 45px rgba(0,90,143,.08);
}

.about-stats {
  margin-top: 1.8rem;
}

.stat-box {
  border-radius: 18px;
}

/* Servicios más premium */
.services-section {
  padding: 90px 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(32,199,244,.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.service-card {
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(6,21,37,.08);
}

.service-image {
  border-radius: 22px 22px 0 0;
}

.service-body {
  min-height: 255px;
}

.service-card h3 {
  color: var(--ael-ink);
}

.service-card p {
  color: var(--ael-muted);
}

/* Alianzas más corporativas */
.alliances-section {
  padding: 95px 24px;
}

.alliance-logo {
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(6,21,37,.06);
}

/* Swiper buttons más finos */
.swiper-button-next,
.swiper-button-prev {
  background: linear-gradient(135deg, var(--ael-blue), var(--ael-cyan));
  box-shadow: 0 12px 28px rgba(0,111,174,.28);
}

/* Footer más moderno */
.footer-tech {
  background:
    radial-gradient(circle at top left, rgba(32,199,244,.12), transparent 26%),
    #03111f;
}

/* Arreglo dark mode que estaba mal concatenado */
body.dark-mode .about-premium-section,
body.dark-mode .alliances-section {
  background: #07111b !important;
}

body.dark-mode .feature-item,
body.dark-mode .stat-box {
  background: #0d1b2a;
  border-color: rgba(255,255,255,.08);
}

body.dark-mode .feature-item span,
body.dark-mode .stat-box p {
  color: rgba(255,255,255,.74);
}

/* Responsive decente */
@media (max-width: 980px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .hero-card {
    justify-self: start;
  }

  .about-premium-copy {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  body.presentation-mode {
    scroll-snap-type: none;
    height: auto;
  }

  .navbar {
    position: sticky;
  }

  .main-menu {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-container {
    min-height: auto;
    padding: 120px 20px 80px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .servicesSwiper,
  .alliancesSwiper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .about-premium-copy h2 {
    font-size: 2.1rem;
  }
}

/* =========================================================
   NOSOTROS - AEL GROUP VISUAL TECH
========================================================= */

.about-ael-section {
  position: relative;
  overflow: hidden;
  padding: 82px 24px;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 198, 255, 0.13), transparent 26%),
    radial-gradient(circle at 86% 20%, rgba(0, 123, 189, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.about-ael-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 123, 189, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 123, 189, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}

.about-ael-container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.2rem;
  align-items: center;
}

/* VISUAL */
.about-ael-visual {
  position: relative;
  min-height: 430px;
}

.about-ael-main-img {
  position: absolute;
  inset: 28px 62px 34px 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(6, 21, 37, 0.18);
  border: 1px solid rgba(255,255,255,0.55);
}

.about-ael-main-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6,21,37,0.08), rgba(0,123,189,0.18)),
    linear-gradient(180deg, transparent 58%, rgba(6,21,37,0.28));
}

.about-ael-main-img img,
.about-ael-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-ael-mini-img {
  position: absolute;
  width: 155px;
  height: 118px;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid #ffffff;
  box-shadow: 0 18px 42px rgba(6, 21, 37, 0.18);
  animation: aelFloat 4s ease-in-out infinite;
}

.about-ael-mini-img.img-one {
  right: 8px;
  top: 40px;
}

.about-ael-mini-img.img-two {
  right: 24px;
  bottom: 28px;
  animation-delay: 1.2s;
}

.about-ael-floating {
  position: absolute;
  left: 24px;
  bottom: 55px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(6, 21, 37, 0.82);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

.about-ael-floating i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #007bbd, #00c6ff);
  box-shadow: 0 0 20px rgba(0,198,255,0.38);
}

.about-ael-floating span {
  font-weight: 800;
  font-size: 0.9rem;
}

/* TEXTO */
.about-ael-copy h2 {
  margin: 1rem 0 1rem;
  max-width: 620px;
  color: #0f2238;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.about-ael-copy p {
  max-width: 580px;
  margin: 0;
  color: #5f7388;
  font-size: 1rem;
  line-height: 1.75;
}

.about-ael-highlights {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.about-ael-highlights div {
  min-height: 92px;
  padding: 1rem;
  border-radius: 18px;
  display: grid;
  align-content: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid rgba(0,123,189,0.12);
  box-shadow: 0 14px 34px rgba(0,90,143,0.07);
  transition: 0.3s ease;
}

.about-ael-highlights div:hover {
  transform: translateY(-5px);
  border-color: rgba(0,198,255,0.35);
}

.about-ael-highlights i {
  color: #007bbd;
  font-size: 1.3rem;
}

.about-ael-highlights span {
  color: #102033;
  font-weight: 800;
  font-size: 0.88rem;
}

.about-ael-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.about-ael-stats div {
  padding: 1rem;
  border-radius: 18px;
  background: #061525;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-ael-stats strong {
  display: block;
  color: #20c7f4;
  font-size: 1.55rem;
  line-height: 1;
}

.about-ael-stats span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 700;
}

.about-ael-btn {
  margin-top: 1.4rem;
  padding: 0.95rem 1.5rem;
  border-radius: 16px;
}

@keyframes aelFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* DARK MODE */
body.dark-mode .about-ael-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 198, 255, 0.11), transparent 26%),
    radial-gradient(circle at 86% 20%, rgba(0, 123, 189, 0.12), transparent 28%),
    linear-gradient(180deg, #07111b 0%, #0b1724 100%) !important;
}

body.dark-mode .about-ael-copy h2 {
  color: #ffffff;
}

body.dark-mode .about-ael-copy p {
  color: rgba(255,255,255,0.72);
}

body.dark-mode .about-ael-highlights div {
  background: #0d1b2a;
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .about-ael-highlights span {
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 940px) {
  .about-ael-container {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .about-ael-visual {
    min-height: 390px;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .about-ael-section {
    padding: 72px 20px;
  }

  .about-ael-visual {
    min-height: 330px;
  }

  .about-ael-main-img {
    inset: 20px 0 46px 0;
  }

  .about-ael-mini-img {
    width: 125px;
    height: 92px;
  }

  .about-ael-mini-img.img-one {
    right: 12px;
    top: 6px;
  }

  .about-ael-mini-img.img-two {
    right: 18px;
    bottom: 10px;
  }

  .about-ael-floating {
    left: 14px;
    bottom: 28px;
    padding: 0.75rem 0.85rem;
  }

  .about-ael-copy h2 {
    font-size: 2rem;
  }

  .about-ael-highlights,
  .about-ael-stats {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FOOTER - AEL GROUP PREMIUM TECH + WHATSAPP
========================================================= */

.footer-ael-tech {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #020b13 0%, #061525 55%, #03111f 100%);
}

.footer-ael-tech::before,
.footer-ael-glow {
  display: none !important;
}

.footer-ael-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1.1fr 1.15fr;
  gap: 3.2rem;
  align-items: start;
}

.footer-ael-brand,
.footer-ael-column {
  min-width: 0;
}

.footer-ael-logo {
  width: 190px;
  margin-bottom: 1.25rem;
}

.footer-ael-brand p {
  max-width: 310px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
  line-height: 1.75;
}

.footer-ael-social {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.8rem;
}

.footer-ael-social a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s ease;
}

.footer-ael-social a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #007bbd, #00c6ff);
  box-shadow: 0 0 22px rgba(0,198,255,0.42);
}

.footer-ael-column h4 {
  position: relative;
  margin: 0 0 1.45rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
}

.footer-ael-column h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #007bbd, #00c6ff);
}

.footer-ael-links,
.footer-ael-contact,
.footer-ael-support {
  display: grid;
  gap: 1rem;
}

.footer-ael-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.93rem;
  font-weight: 700;
  transition: 0.3s ease;
}

.footer-ael-links a i {
  color: #20c7f4;
  font-size: 0.72rem;
}

.footer-ael-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-ael-contact li,
.footer-ael-support li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-ael-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #007bbd, #00c6ff);
  box-shadow: 0 0 24px rgba(0,198,255,0.28);
}

.footer-ael-icon i {
  font-size: 1rem;
}

.footer-ael-contact strong,
.footer-ael-support strong {
  display: block;
  margin-bottom: 0.22rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-ael-contact a,
.footer-ael-contact span,
.footer-ael-support a,
.footer-ael-support span {
  color: rgba(255,255,255,0.68);
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.footer-ael-contact a:hover,
.footer-ael-support a:hover {
  color: #20c7f4;
}

.footer-ael-bottom {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 3.4rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,0.09);
  text-align: center;
}

.footer-ael-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.56);
  font-size: 0.86rem;
}

/* =========================================================
   WHATSAPP FLOAT PREMIUM
========================================================= */

.whatsapp-ael-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #18c964, #25d366);
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    0 16px 35px rgba(37,211,102,0.35),
    0 0 0 1px rgba(255,255,255,0.16);
  transition: 0.35s ease;
}

.whatsapp-ael-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  background: rgba(37,211,102,0.18);
  opacity: 0;
  transform: scale(0.92);
  transition: 0.35s ease;
  z-index: -1;
}

.whatsapp-ael-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  transition: 0.35s ease;
}

.whatsapp-ael-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 1.65rem;
  color: #ffffff;
}

.whatsapp-ael-float:hover {
  transform: translateY(-5px);
  box-shadow:
    0 22px 45px rgba(37,211,102,0.44),
    0 0 24px rgba(37,211,102,0.42);
}

.whatsapp-ael-float:hover::before {
  opacity: 1;
  transform: scale(1);
}

.whatsapp-ael-float:hover .whatsapp-ael-text {
  max-width: 150px;
  opacity: 1;
  padding-left: 0.35rem;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .footer-ael-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.6rem;
  }
}

@media (max-width: 680px) {
  .footer-ael-tech {
    padding: 58px 20px 24px;
  }

  .footer-ael-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-ael-logo {
    width: 180px;
  }

  .footer-ael-brand p {
    max-width: none;
  }

  .whatsapp-ael-float {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-ael-text {
    display: none;
  }

  .whatsapp-ael-icon {
    width: 52px;
    height: 52px;
  }
}


/* NAVBAR arriba: transparente */
.navbar {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s ease, border 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar .nav-links > li > a {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

/* NAVBAR al hacer scroll: color natural */
.navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 122, 26, 0.16);
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.navbar.nav-scrolled .nav-links > li > a {
  color: #071426 !important;
  text-shadow: none;
}

.navbar.nav-scrolled .nav-links > li > a:hover {
  color: #ff7a1a !important;
}

/* Modo oscuro al hacer scroll */
body.dark-mode .navbar.nav-scrolled {
  background: rgba(5, 7, 11, 0.94) !important;
  border-bottom: 1px solid rgba(255, 122, 26, 0.22);
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}

body.dark-mode .navbar.nav-scrolled .nav-links > li > a {
  color: #ffffff !important;
}
.logo a {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-normal {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.logo-light {
  opacity: 1;
}

/* Cuando baja: aparece el logo normal */
.navbar.nav-scrolled .logo-light {
  opacity: 0;
}

.navbar.nav-scrolled .logo-normal {
  opacity: 1;
}

/* Dark mode bajando: puedes mantener el blanco si quieres */
body.dark-mode .navbar.nav-scrolled .logo-light {
  opacity: 1;
}

body.dark-mode .navbar.nav-scrolled .logo-normal {
  opacity: 0;
}