/* Paleta de colores basada en el logo AQPtec */
:root {
      --aqp-blue: #0078D4;
      /* Azul vibrante del fondo */
      --aqp-orange: #FF5A00;
      /* Naranja de "tec" */
      --aqp-white: #FFFFFF;
      --aqp-dark: #1a1a1a;
      /* Para un toque corporate dark */

      --aqp-shadow: rgba(0, 0, 0, 0.2);
}

body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #333;
}

/* --- ESTILOS DEL MENÚ --- */
.navbar {
      background-color: var(--aqp-blue) !important;
      padding: 0.8rem 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
      max-height: 60px;
      /* Ajuste para el logo */
      transition: transform 0.3s;
}

.nav-link {
      color: var(--aqp-white) !important;
      font-weight: 500;
      margin: 0 5px;
      transition: all 0.3s ease;
}

.nav-link:hover {
      color: var(--aqp-orange) !important;
}

/* Dropdown Estilo Corporate */
.dropdown-menu {
      background-color: var(--aqp-blue);
      border: none;
      border-top: 3px solid var(--aqp-orange);
      border-radius: 0 0 8px 8px;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
      color: var(--aqp-white);
      padding: 10px 20px;
      font-size: 0.95rem;
}

.dropdown-item:hover {
      background-color: var(--aqp-orange);
      color: white;
}

.dropdown-divider {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botón de Contacto Destacado */
.btn-contacto {
      border: 2px solid var(--aqp-orange);
      color: var(--aqp-white) !important;
      border-radius: 25px;
      padding: 8px 25px !important;
      margin-left: 15px;
}

.btn-contacto:hover {
      background-color: var(--aqp-orange);
      color: white !important;
}

/* --- ESTILOS DEL FOOTER --- */
.main-footer {
      background-color: #fcfcfc;
      border-top: 5px solid var(--aqp-orange);
      padding-top: 60px;
}

.footer-heading {
      color: var(--aqp-blue);
      font-weight: 700;
      margin-bottom: 25px;
      position: relative;
      padding-bottom: 10px;
}

.footer-heading::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 3px;
      background-color: var(--aqp-orange);
}

.footer-links a {
      text-decoration: none;
      color: #666;
      display: block;
      margin-bottom: 12px;
      transition: 0.3s;
}

.footer-links a:hover {
      color: var(--aqp-orange);
      transform: translateX(5px);
}

.contact-info li {
      margin-bottom: 15px;
      display: flex;
      align-items: center;
}

.contact-info i {
      color: var(--aqp-orange);
      font-size: 1.2rem;
      margin-right: 15px;
}

.bottom-bar {
      background-color: var(--aqp-blue);
      color: white;
      padding: 15px 0;
      margin-top: 50px;
}

/* --- OPTIMIZACIÓN MÓVIL --- */
@media (max-width: 991px) {
      .navbar-collapse {
            background-color: var(--aqp-blue);
            padding: 20px;
            margin-top: 15px;
            border-radius: 10px;
      }

      .btn-contacto {
            margin-left: 0;
            margin-top: 10px;
            display: block;
            text-align: center;
      }

      .footer-heading {
            margin-top: 20px;
      }
}

/* Estilos específicos para el formulario de contacto */
.custom-input {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.custom-input:focus {
    border-color: var(--aqp-blue);
    box-shadow: 0 0 0 0.25 darkred; /* Sutil halo azul */
    outline: 0;
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 120, 212, 0.1);
    color: var(--aqp-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 90, 0, 0.3) !important;
}

/* Ajustes móviles para el mapa */
@media (max-width: 991px) {
    iframe {
        height: 250px;
    }
}

/* Badge */
.badge-wrapper {
      max-width: 1320px;
      margin: 40px auto;
      padding: 0 15px;
      display: flex; 
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
}
.badge-aqp {
      display: inline-block;
      padding: 10px 24px;
      background-color: var(--aqp-blue);
      color: var(--aqp-white) !important;
      text-decoration: none;
      border-radius: 50px;
      font-family: 'Segoe UI', Roboto, sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      border: 2px solid transparent;
      transition: all 0.3s ease;
}
.badge-aqp.alt {
      background-color: var(--aqp-orange);
}
.badge-aqp:hover {
      opacity: 0.85;
      box-shadow: 0 6px 15px var(--aqp-shadow);
      transform: translateY(-3px);
      border-color: rgba(255, 255, 255, 0.3);
      background-color: var(--aqp-orange);
}

/* Contenedor de botones flotantes */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Estilo base circular y flotante */
.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Redondeado total estilo pastilla [cite: 5] */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aqp-white) !important;
    font-size: 30px;
    text-decoration: none !important;
    transition: all 0.3s ease; /* Transición suave [cite: 6] */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Colores específicos */
.btn-whatsapp {
    background-color: #25D366; /* Color oficial WhatsApp o usa --aqp-blue */
}

.btn-messenger {
    background-color: var(--aqp-blue); /* Tu azul corporativo [cite: 57] */
}

/* Efecto Hover solicitado */
.btn-float:hover {
    opacity: 0.85; /* Un poco opaco al pasar el mouse [cite: 17, 59] */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Sombra más intensa [cite: 17] */
    transform: translateY(-5px); /* Desplazamiento hacia arriba [cite: 17] */
}