
:root {
  --azul:#0a8fdc;
  --azul-claro:#27b4ff;
  --gris:#f7f9fb;
  --texto:#1e2a38;
  --metal:#e6edf7;
  --blanco:#ffffff;
}

/* =========================================
   GENERAL
========================================= */
* {margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif;}
body {background:var(--gris);color:var(--texto);scroll-behavior:smooth;}
.container {width:90%;max-width:1200px;margin:auto;}
a {text-decoration:none;color:inherit;}
.btn-primary {
  background: var(--azul);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-block;
  transition: 0.3s;
}
.btn-primary:hover { background: var(--azul-claro); transform: scale(1.05); }

/* =========================================
   NAVBAR - AZUL OSCURO GLASS
========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(5, 20, 35, 0.85); /* azul muy oscuro con transparencia */
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.logo img { width: 180px; }

/* === Enlaces de navegación === */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  color: #f0f4f8;
  letter-spacing: 0.3px;
  transition: color 0.3s, transform 0.3s;
}

/* Hover moderno con línea luminosa azul */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(39,180,255,0.4);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--azul-claro);
  transform: translateY(-1px);
}

/* === Dropdowns === */
.dropdown {
  position: relative;
}
.dropdown > .dropbtn {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-weight: 500;
  color: #f2f4f7;
  transition: color 0.3s;
}
.dropdown:hover > .dropbtn {
  color: var(--azul-claro);
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: rgba(10,25,45,0.95);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
  backdrop-filter: blur(12px);
}
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #f2f4f7;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.dropdown-content a:hover {
  background: rgba(39,180,255,0.12);
  color: var(--azul-claro);
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* === Botón de contacto destacado === */
.nav-contact-btn {
  background: linear-gradient(135deg, var(--azul), var(--azul-claro));
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(39,180,255,0.35);
  transition: all 0.3s ease;
  margin-left: 20px;
}
.nav-contact-btn i {
  font-size: 1.1rem;
}
.nav-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(39,180,255,0.5);
  background: linear-gradient(135deg, var(--azul-claro), var(--azul));
}

/* === Móvil === */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #f0f4f8;
  border-radius: 5px;
}
@media(max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 60px; right: -100%;
    background: rgba(5,20,35,0.97);
    width: 230px;
    height: calc(100vh - 60px);
    flex-direction: column;
    gap: 25px;
    padding-top: 35px;
    transition: 0.3s;
    backdrop-filter: blur(12px);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-contact-btn { display: none; }
}




/* ===============================
   PÁGINA EN CONSTRUCCIÓN - ESTILO
================================= */

body {
    margin: 0;
    padding: 0;
    background: #eef5ff;
    font-family: "Poppins", sans-serif;
    color: #1a2a41;
}

.construction-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 30px;
}

.construction-box {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    animation: fadeIn 0.8s ease-out;
}

.construction-img {
    width: 200px;
    margin-bottom: 25px;
    animation: float 3s infinite ease-in-out;
}

/* TÍTULO */
.construction-box h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #0b2238;
}

/* PÁRRAFO */
.construction-box p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #35506a;
}

/* BOTÓN */
.btn-volver {
    display: inline-block;
    padding: 12px 25px;
    background: #0a8fdc;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.25s ease;
    box-shadow: 0 4px 18px rgba(10,143,220,0.4);
}

.btn-volver:hover {
    background: #066bb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10,143,220,0.5);
}

/* ===============================
   ANIMACIONES
================================= */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ===============================
   RESPONSIVE
================================= */

@media(max-width: 480px) {
    .construction-box {
        padding: 30px 20px;
    }
    .construction-img {
        width: 160px;
    }
    .construction-box h1 {
        font-size: 1.8rem;
    }
}



/* =========================================
   FOOTER 
========================================= */
.footer {
  position: relative;
  background: linear-gradient(135deg, #06101c, #0b2238 60%, #08182c);
  color: white;
  padding: 100px 20px 40px;
  overflow: hidden;
}

/* Fondo estático tipo textura */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(39,180,255,0.08), transparent 70%);
  opacity: 0.4;
  z-index: 0;
}

/* Contenido principal */
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 180px;
  margin-bottom: 20px;
  filter: brightness(1.1);
}

.footer-desc {
  color: #d5e7f9;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

/* CONTACTO */
.footer-contact h3,
.footer-social h3 {
  color: var(--azul-claro);
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.footer-contact p {
  font-size: 0.95rem;
  color: #e3f1ff;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-contact a {
  color: #b7dbf8;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-contact a:hover {
  color: var(--azul-claro);
}

/* REDES SOCIALES */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--azul-claro);
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: var(--azul-claro);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(39,180,255,0.4);
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.footer-bottom p {
  font-size: 0.9rem;
  color: #a7c6e4;
}
.footer-bottom a {
  color: var(--azul-claro);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom a:hover {
  color: white;
}

/* === Responsive === */
@media(max-width: 992px){
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-desc {
    margin: 0 auto;
  }
  .social-icons {
    justify-content: center;
  }
}

/* =========================================
   ANIMACIÓN GLOBAL HERO (fade + slide up)
========================================= */
.reveal-hero {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal-hero.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   COLOREADO - BOTÓN WHATSAPP
========================================= */
.nav-contact-btn {
  background: linear-gradient(135deg, #25D366, #1EBE5A) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 30px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.3s ease !important;
}

.nav-contact-btn i {
  font-size: 1.1rem !important;
  color: #fff !important;
}

/* Hover verde más oscuro */
.nav-contact-btn:hover {
  background: linear-gradient(135deg, #1EBE5A, #128C4A) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.48) !important;
}
