/* ======================= */
/* Variables de colores    */
/* ======================= */
/*id:#125A9F id#142841 id#f59E20*/
:root {
    --primary:#125A9F ;
    --secondary:#142841 ;
    --accent: #000000;
    --bg-dark: #001;
    --text-light: #fff;
    --icon-color:#F59E20;
    --hamburger-active: #F59E20; /* ámbar para hamburguesa activa */
}
.unit {
    color: #f59E20;
}
/* ======================= */
/* Reset / Body            */
/* ======================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans MT';
}
.rastreo {
    text-align:center;
    color:#125A9F;
    
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f0f2f5;
    color: #333;
    overflow-x: hidden;
}

.mb-4 {
    text-align: center;
    color: whitesmoke;
}

/* ======================= */
/* Canvas de fondo         */
/* ======================= */
#pixel-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-dark);
}

/* ======================= */
/* Navbar                  */
/* ======================= */
.navbar {
    position: relative;
    z-index: 10;
    background: var(--secondary);
}

.navbar-brand {
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.3rem;
}

.navbar-brand:hover {
    color: #ffbf00;
}

.navbar-toggler {
    border: none;
    background: transparent;
    z-index: 2;
    width: 35px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 0;
}

.navbar-toggler span {
    display: block;
    height: 4px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.navbar-toggler:not(.collapsed) span {
    background: var(--hamburger-active);
}

/* ======================= */
/* Hero Section            */
/* ======================= */
.hero {
    height: 80vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

/* ======================= */
/* Grid Cards              */
/* ======================= */
.grid-card {
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    cursor: pointer;
    text-align: center;
    color: var(--text-light);
}

.grid-card:hover {
    color:#F59E20
}
.titu {
    color: #0056b3;
}
.servicio-card h3,
.servicio-card p {
  transition: color 0.4s ease;
}

/* hover cambia color de título y párrafo */
.servicio-card:hover h3 {
  color: #F59E20;
}
.servicio-card:hover p {
  color: #fff; /* texto más legible en hover */
}

.grid-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--accent), var(--secondary),0.85);
}


/* Tamaños específicos */
.grid-card.large { height: 400px; }
.grid-card.medium { height: 200px; }
.grid-card.small { height: 150px; }

/* ======================= */
/* Section Titles          */
/* ======================= */
h2 {
    color: var(--secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 2rem;
}

/* ======================= */
/* Textos tipo mb3/mb4     */
/* ======================= */
.text-mb3 {
    color: whitesmoke;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
}

.text-mb4{
    text-align: center;
    font-weight: 500;
    color: whitesmoke;
}

/* ======= Tarjetas de Servicios ======= */
.servicio-card {
  background: linear-gradient(135deg, rgba(0,123,255,0.9), rgba(0,86,179,0.9));
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* efecto de luz diagonal */
.servicio-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  transform: rotate(25deg);
  transition: 0.6s;
}

/* hover con glow */
.servicio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.servicio-card:hover::before {
  left: 0;
  top: 0;
}

/* ícono con animación */
.servicio-card .valor-icon {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}
.servicio-card:hover .valor-icon {
  transform: rotate(10deg) scale(1.1);
  color: #F59E20;
}

.servicio-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.mt-3 {
  color: #F59E20;
}
.servicio-card p {
  font-size: 0.95rem;
  color: #f1f1f1;
  margin-bottom: 0.75rem;
}

/* ======= Animaciones AOS (ajuste suave) ======= */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ======= Responsive Cards ======= */
@media (max-width: 768px) {
  .servicio-card {
    padding: 1.5rem;
  }
  .servicio-card .valor-icon {
    font-size: 2.4rem;
  }
}

  
/* ======================= */
/* Formulario Contacto     */
/* ======================= */
.contact-form {
    background: rgba(0, 51, 102, 0.8);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    max-width: 500px;
    margin: 2rem auto;
    color: whitesmoke;
    backdrop-filter: blur(6px);
}

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.75rem;
    width: 100%;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.05);
    color: whitesmoke;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}
.form-label {
    color: #F59E20;
    font-family: 'Gill Sans MT';
}

.contact-form button {
    border-radius: 8px;
    padding: 0.75rem;
    width: 100%;
    font-weight: 600;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
    background: var(--accent);
    transform: scale(1.03);
}

/* ======================= */
/* Footer                  */
/* ======================= */
.footer-custom {
    background:var(--primary);
    color: #fff;
    transition: all 0.3s ease-in-out;
    margin-top: auto;
}

.footer-custom a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-custom a:hover {
    color: #F59E20;
}

.footer-custom .social-icon i {
    margin-right: 5px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.footer-custom .social-icon:hover i {
    color: #F59E20;
}


/* ======================= */
/* Responsive básico       */
/* ======================= */
@media (max-width: 768px) {
    .grid-card {
        padding: 1.5rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero-text {
        padding: 0 1rem;
    }
}

/* ======================= */
/* Botones y valores       */
/*   Icons y valores       */
/* ======================= */
.valor-icon {
    font-size: 40px;
    color: whitesmoke;
    margin-bottom: 10px;
}

.valor-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--secondary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.valor-button:hover {
    background-color: #0056b3;
}

/*========= Privacidad =============== */
.aviso-privacidad {
    padding: 50px 20px;
    font-family: "Poppins", sans-serif;
    color: whitesmoke;
    text-align: justify;
    line-height: 1.7;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.container-privacidad {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ======== TÍTULOS ======== */
.titulo-privacidad {
    font-size: 2.2rem;
    font-weight: 700;
    color: #F59E20;
    text-align: center;
    margin-bottom: 20px;
}
.mb-3 {
    text-align: center;
    color: whitesmoke;
}
.subtitulo-privacidad {
    font-size: 1.4rem;
    color: #F59E20;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ======== TEXTO Y LISTAS ======== */
.texto-privacidad {
    font-size: 1rem;
    color: whitesmoke;
    margin-bottom: 15px;
    text-align: justify;
}

.lista-privacidad {
    padding-left: 25px;
    margin-bottom: 15px;
}

.lista-privacidad li {
    margin-bottom: 5px;
    color: whitesmoke;
    list-style: disc;
}

/* ======== ENLACES ======== */
.enlace-privacidad {
    color: #f57c00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.enlace-privacidad:hover {
    color: #F59E20;
    text-decoration: underline;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .container-privacidad {
        padding: 25px;
    }

    .titulo-privacidad {
        font-size: 1.8rem;
    }

    .subtitulo-privacidad {
        font-size: 1.2rem;
    }

    .texto-privacidad {
        font-size: 0.95rem;
    }
}
/* --- Contacto Section --- */
.contacto-section {
    background: transparent !important; /* deja ver tu animación de fondo */
    position: relative;
    z-index: 2; /* que quede encima del canvas/video */
  }
  
  .contacto-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
  }
  
  .contacto-section p {
    font-size: 1rem;
  }
  
  /* Cards estilo glass */
  .contacto-section .card {
    background:var(--primary);
    border: none;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
  }
  
  .contacto-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  /* Botón */
  .contacto-section .btn-primary {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
  }
  
  .contacto-section .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.5);
  }


  /* Inputs */
  .contacto-section .form-control {
    border-radius: 0.75rem;
    border: 1px  #ddd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .contacto-section .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  }
  
  /* Google Maps embed */
  .contacto-section iframe {
    border-radius: 1rem;
  }

.text-contact {
    color:var(--text-light);
}
.text-contact:hover {
    color:#F59E20;
    
}
/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    color: #fff;
}
 /* Integracion del login */
 /* Contenedor con borde iluminado animado */
/* Caja de login */

/* ====== AVATAR ICON ====== */
.icon-user {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  transition: all 0.3s ease;
}

.icon-user:hover {
 transform: scale(1.1) rotate(-2deg);
}

/*.icon-user:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(245, 158, 32, 0.7);
}

/* ====== CARD ====== */
.card {
  background: var(--primary); /* glass effect */
  opacity: .90;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35),
              0 0 25px rgba(245, 158, 32, 0.25);
}

/* ====== BOTÓN ====== */
.btn-primary {
  background: linear-gradient(135deg, #125A9F, #6610f2);
  border: none;
  font-size: 1rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6610f2, #125A9F);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.6);
}

/* ====== TÍTULOS ====== */
.text-primary {
  color: whitesmoke !important;
  text-align: center;
  font-weight: 700;
}

/* ====== INPUTS ====== */
.form-control {
  border-radius: 0.8rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.15); /* más claro para mejor contraste */
  border: 1px solid rgba(255, 255, 255, 0.3); 
  color: whitesmoke; /* texto más visible */
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7); /* placeholder legible */
}

.form-control:focus {
  border-color: #F59E20;
  box-shadow: 0 0 12px rgba(245, 158, 32, 0.6);
  background: rgba(255, 255, 255, 0.25);
  color: whitesmoke;
}

/* ====== CENTRADO DE TEXTO ====== */
.col-12 {
  text-align: center;
  color: white;
}

/* ====== LINKS ====== */
.card a {
  color: #F59E20;
  font-weight: 500;
  transition: color 0.2s ease;
}

.card a:hover {
  color: whitesmoke;
  text-decoration: underline;
}
