/* ============================================================
   ESTILOS — AiresCentralJR (Diseñado por Pitu)
   Estructura:
   00. RESET & BASE
   01. ANIMACIONES (keyframes)
   02. NAVBAR
   03. HERO
   04. SERVICIOS
   05. EQUIPOS
   06. NOSOTROS
   07. COBERTURA
   08. CONTACTO
   09. FOOTER
   10. WHATSAPP FLOTANTE
   11. ESTRUCTURA DE SECCIONES (colores y padding base)
   12. RESPONSIVE (max-width: 768px)
   13. HAMBURGUESA & MENÚ MOBILE
   14. PRELOADER
   15. SCROLL REVEAL
  
   ============================================================ */


/* ============================================================
   00. RESET & BASE
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html, body {
  overflow-x: hidden;
}


/* ============================================================
   01. ANIMACIONES (keyframes)
   ============================================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

@keyframes whatsappPulse {

  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }

}

@keyframes whatsappGlow {

  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0.5);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37,211,102,0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0);
  }

}

@keyframes heroZoom {

  from {
    background-size: 100%;
  }

  to {
    background-size: 108%;
  }

}

@keyframes preloaderFade {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes revealText {

  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* ============================================================
   02. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: 18px 80px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  z-index: 1000;
  background: rgba(0, 229, 255, 0.25);

backdrop-filter: blur(12px);

border-bottom: 1px solid rgba(255,255,255,0.08);
 
}

.logo {
  color: #00e5ff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: 0.3s;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

.logo img:hover {

  filter:
    drop-shadow(0 0 10px rgba(0,229,255,.4))
    drop-shadow(0 0 20px rgba(0,229,255,.3));
}

.nav-links {
  display: flex;
  justify-content: center;

  gap: 40px;

  list-style: none;

  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00e5ff;
}

.whatsapp-btn {
  background: rgba(0, 229, 255, 0.1) !important;
  border: 2px solid #00e5ff !important;
  padding: 10px 18px !important;
  border-radius: 6px !important;
  color: white !important;
  text-decoration: none !important;

  display: flex;
  align-items: center;
}

.whatsapp-btn:hover {
  background: rgba(0, 229, 255, 0.15);

  transform: translateY(-2px);

  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* ============================================================
   03. HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 80px 0;

  background-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.65) 35%,
      rgba(0, 0, 0, 0.25) 65%,
      rgba(0, 0, 0, 0.05) 100%
    ),
    url("../img/hero-background.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at left,
    rgba(0, 188, 212, 0.7),
    transparent 60%
  );

  z-index: 1;
  pointer-events: none;

  animation: glowPulse 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.55));

  z-index: 1;
  pointer-events: none;
}

.hero-content {
  max-width: 600px;
  color: white;
  animation: fadeUp 1s ease-out;
  display: flex;
  flex-direction: column;
  gap: 18px;

  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0;

  animation: fadeUp 0.8s ease-out both;
}

.hero p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;

  animation: fadeUp 0.8s ease-out 0.15s both;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;

  animation: fadeUp 0.8s ease-out 0.3s both;
}

.btn {
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
  position: relative;
}

.btn.primary {
  background: linear-gradient(135deg, #00bcd4, #00e5ff);
  color: #0a0d12;
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.35);
  border: none;
}

.btn.primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 188, 212, 0.5);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.hero {

  animation: heroZoom 12s ease-in-out infinite alternate;
}

.btn,
.whatsapp-btn,
.mobile-whatsapp-btn {

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.btn:hover,
.whatsapp-btn:hover,
.mobile-whatsapp-btn:hover {

  transform: translateY(-3px);

}


/* ============================================================
   04. SERVICIOS V2 — Cards con fondo claro
   ============================================================ */

.services-v2 {
  padding: 100px 80px;
  background: rgb(221, 223, 223);
  text-align: center;
}

.services-v2-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00bcd4;
  margin-bottom: 16px;
}

.services-v2-title {
  font-size: 42px;
  font-weight: 700;
  color: #0d1b2a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.services-v2-subtitle {
  font-size: 16px;
  color: #5a6a7a;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.services-v2-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card-v2 {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: 0.3s;
}

.service-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.service-card-v2-image {
  position: relative;
  width: 100%;
  height: 220px;
}

.service-card-v2-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #111824;
  display: block;
}

.service-card-v2-icon {
  position: absolute;
  bottom: -24px;
  left: 28px;
  width: 50px;
  height: 50px;
  background: #00bcd4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.4);
  border: 3px solid rgb(93, 204, 204);
}

.service-card-v2-body {
  padding: 40px 28px 28px;
}

.service-card-v2-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 12px;
}

.service-card-v2-body p {
  font-size: 15px;
  color: #5a6a7a;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .services-v2 {
    padding: 80px 20px;
  }

  .services-v2-title {
    font-size: 30px;
  }

  .services-v2-cards {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   05. EQUIPOS
   ============================================================ */

.equipos {
  text-align: center;
}

.equipos h2 {
  font-size: 38px;
  margin-bottom: 15px;
}

.equipos-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  opacity: 0.8;
}

.equipos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.equipo-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 40px 20px;
  transition: 0.3s;
  overflow: hidden;
}

.equipo-card:hover {
  transform: translateY(-8px);
  border-color: #00e5ff;
  box-shadow: 0 0 30px rgba(0,229,255,0.2);
}

.equipo-card h3 {
  margin-top: 0;
  color: white;
}

.equipo-card p {
  color: rgba(255,255,255,0.8);
}

.equipo-card img {
  width: 100%;
  height: 180px;

  object-fit: cover;

  border-radius: 10px;

  margin-bottom: 20px;

  transition: transform 0.4s ease;
}

.equipo-card:hover img {
  transform: scale(1.05);
}


/* ============================================================
   06. NOSOTROS
   ============================================================ */

.nosotros-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.nosotros-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
}

.nosotros-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.nosotros-lista {
  list-style: none;
  padding: 0;
}

.nosotros-lista li {
  margin-bottom: 15px;
  font-size: 17px;
}

.nosotros-image {
  display: flex;
  justify-content: center;
}

.nosotros-image img {
  width: 100%;
  height: auto;


  border-radius: 16px;
}


/* ============================================================
   07. COBERTURA
   ============================================================ */

.cobertura {
  text-align: center;
}

.cobertura h2 {
  font-size: 38px;
  margin-bottom: 15px;
}

.cobertura-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  opacity: 0.8;
}

.cobertura-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.zona-card {
  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 14px;

  padding: 35px;

  transition: 0.3s;
}

.zona-card:hover {
  transform: translateY(-8px);

  border-color: #00e5ff;

  box-shadow: 0 0 30px rgba(0,229,255,0.2);
}

.zona-card h3 {
  margin-top: 0;
  color: white;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 25px;

  justify-content: center;
}

.chips span {
  background: rgba(0,229,255,0.1);

  border: 1px solid rgba(0,229,255,0.3);

  color: #00e5ff;

  padding: 8px 14px;

  border-radius: 999px;

  font-size: 14px;

  transition: 0.3s;
}

.chips span:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: #00e5ff;
  color: white;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  cursor: default;
}


/* ============================================================
   08. CONTACTO
   ============================================================ */

.contact {
  padding: 80px;
  text-align: center;
  background: #0a0d12;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;

  margin-top: 50px;

  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background: #111824;

  border: 1px solid rgba(255,255,255,0.1);

  color: white;

  padding: 15px;

  border-radius: 10px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: #00e5ff;

  color: #0a0d12;

  border: none;

  padding: 15px;

  border-radius: 10px;

  font-weight: 700;

  cursor: pointer;
}

.contact-info {
  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 14px;

  padding: 35px;
}

.contact-info h3 {
  font-size: 28px;

  margin-top: 0;

  margin-bottom: 25px;

  color: #00e5ff;
}

.contact-info p {
  font-size: 17px;

  line-height: 1.8;

  margin-bottom: 18px;

  color: rgba(255,255,255,0.9);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;
}

.contact-item span {
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item p {
  margin: 0;
}

.contact-link {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.contact-link:hover {
  color: #00e5ff;
}


/* ============================================================
   09. FOOTER
   ============================================================ */

.footer {
  background: #070b10;

  border-top: 1px solid rgba(255,255,255,0.08);

  padding: 60px 80px 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 50px;
}

.footer h3,
.footer h4 {
  color: white;
  margin-top: 0;
}

.footer p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.75);

  text-decoration: none;

  transition: 0.3s;
}

.footer-links a:hover {
  color: #00e5ff;
}

.footer-bottom {
  margin-top: 40px;

  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,0.08);

  text-align: center;

  color: rgba(255,255,255,0.5);

  font-size: 14px;
}

.footer-logo {
  width: 320px;
  height: auto;
  margin-bottom: 20px;
}

/* ============================================================
   10. WHATSAPP FLOTANTE
   ============================================================ */

.whatsapp-float {
  position: fixed;

  bottom: 25px;
  right: 25px;

  width: 65px;
  height: 65px;

  border-radius: 50%;

  background: #25D366;

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  font-size: 30px;

  box-shadow: 0 8px 25px rgba(37,211,102,0.4);

  z-index: 9999;

  transition: 0.3s;

  animation: whatsappPulse 2.5s infinite,
             whatsappGlow 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);

  box-shadow: 0 12px 35px rgba(37,211,102,0.6);
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

/* ============================================================
   11. ESTRUCTURA DE SECCIONES (colores y padding base)
   ============================================================ */

.services,
.equipos,
.nosotros,
.cobertura,
.contact {
  min-height: 60vh;
  padding: 100px 80px;
}

.equipos {
  background: #111824;
}

.nosotros {
  background: #0d131c;
}

.cobertura {
  background: #111824;
}

.services,
.equipos,
.nosotros,
.cobertura,
.contact {
  color: white;
}

.services h2,
.equipos h2,
.nosotros h2,
.cobertura h2,
.contact h2 {
  color: white;
}

.services p,
.equipos p,
.nosotros p,
.cobertura p,
.contact p {
  color: rgba(255, 255, 255, 0.85);
}


/* ============================================================
   12. RESPONSIVE — max-width: 768px
   ============================================================ */

@media (max-width: 768px) {

  .navbar {
    padding: 15px 20px;
  }

  .nav-links {
    display: none;
  }

  .whatsapp-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero {
    padding: 100px 20px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .services,
  .equipos,
  .nosotros,
  .cobertura,
  .contact {
    padding: 80px 20px;
  }

  .nosotros-content {
    grid-template-columns: 1fr;
  }

  .nosotros-image img {
    width: 100%;
    height: auto;
  }

  .hero-content,
  .equipos-subtitle,
  .cobertura-subtitle,
  .contact-grid,
  .contact-form {
    max-width: 100%;
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1024px) {

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

}


/* ============================================================
   13. HAMBURGUESA & MENÚ MOBILE
   ============================================================ */

/* Botón hamburguesa — oculto en desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animación X al abrir */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú desplegable mobile */
.mobile-menu {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  height: calc(100vh - 100px);

  background: rgba(0, 229, 255, 0.18);
  backdrop-filter: blur(12px);

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;

  z-index: 1050;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu ul a {
  color: white;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.mobile-menu ul a:hover {
  color: #00e5ff;
}

.mobile-whatsapp-btn {
  background: rgba(0, 229, 255, 0.1);
  border: 2px solid #00e5ff;
  padding: 12px 28px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}

.mobile-whatsapp-btn:hover {
  background: rgba(0, 229, 255, 0.2);
}

@media (max-width: 1024px) {

  /* Mostrar hamburguesa, ocultar links y botón de desktop */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .whatsapp-btn {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

}

/*14 ================= PRELOADER ================= */

#preloader {
  position: fixed;
  inset: 0;

  background: #070b10;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;

  transition: opacity 0.8s ease,
              visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;

  animation: preloaderFade 1.2s ease;
}

.preloader-jr {
  width: min(320px, 70vw);
  height: auto;

  display: block;
  margin: 0 auto;
}

.preloader-text {
  width: min(420px, 85vw);
  height: auto;

  display: block;
  margin: 15px auto 0;

  opacity: 0;

  animation: revealText 0.8s ease forwards;
  animation-delay: 0.7s;
}

.preloader-logo {
  width: 280px;
  height: auto;

  margin-bottom: 20px;
}

.preloader-content h1 {
  color: white;

  font-size: 32px;

  font-weight: 600;

  letter-spacing: 1px;
}





/*15 ================= SCROLL REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(50px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.card,
.equipo-card,
.zona-card,
.service-card-v2 {

  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.card.active,
.equipo-card.active,
.zona-card.active,
.service-card-v2.active {

  opacity: 1;

  transform: translateY(0);
}




