/* =========================================
   IMPORTACIONES (NO BORRAR)
   ========================================= */
@import url('base.css');
@import url('layout.css');
@import url('header.css');
@import url('hero.css');
@import url('buttons.css');
@import url('sections.css');
@import url('cards.css');
@import url('form.css');
@import url('contacto.css');
@import url('slider.css');
@import url('gallery.css');
@import url('servicios.css');
@import url('nosotros.css');
@import url('footer.css');
@import url('modal.css');


/* =========================================
   NUEVO: BOTONES DE AYUDA FLOTANTE (PANIC BUTTON)
   ========================================= */
.sticky-help {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px; /* Espacio entre los dos botones */
  z-index: 9999; /* Para que quede siempre encima de todo */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.btn-float {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: bold;
}

.btn-float:hover {
  transform: translateY(-3px); /* Efecto de subida al pasar el mouse */
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Estilo específico Botón Llamada (Rojo Urgencia) */
.btn-float.call {
  background-color: #c0392b; 
  padding: 12px 24px;
  font-size: 16px;
}

.btn-float.call .icon { 
  margin-right: 8px;
  font-size: 18px; 
}

/* Estilo específico Botón WhatsApp (Verde) */
.btn-float.whatsapp {
  background-color: #25D366;
  width: 50px;
  height: 50px;
  font-size: 28px; /* Icono un poco más grande */
  border-radius: 50%; /* Completamente redondo */
}


/* =========================================
   RESPONSIVE (MÓVILES)
   ========================================= */
@media (max-width: 768px) {
  
  /* 1. EL "COLCHÓN" (IMPORTANTE)
     Añade espacio al final de la web para que los botones 
     no tapen el footer ni los enlaces legales. */
  body {
    padding-bottom: 90px; 
  }

  /* 2. Ajuste de la barra de botones en móvil */
  .sticky-help {
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 15px; /* Relleno interno */
    background: rgba(255, 255, 255, 0.95); /* Fondo blanco semitransparente */
    border-top: 1px solid #ddd; /* Línea separadora sutil */
    justify-content: space-between; /* Separar los botones */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  
  /* Botón de llamada ocupa casi todo el ancho */
  .btn-float.call {
    flex: 1; /* Crece para ocupar espacio */
    border-radius: 8px; /* Menos redondeado en móvil */
    padding: 12px 0;
    font-size: 18px; /* Texto más grande para dedo */
  }
  
  /* Botón de WhatsApp se queda cuadrado/pequeño a la derecha */
  .btn-float.whatsapp {
    width: auto;
    flex: 0 0 55px; /* Ancho fijo */
    height: auto;
    border-radius: 8px;
    margin-left: 10px;
  }
}


  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 14px;
  }

  .cookie-banner a {
    color: #ffd700;
    text-decoration: underline;
  }

  .btn-cookie {
    background: #ffd700;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
  }


  /* =========================================
   ESTILOS FAQ (ACORDEÓN)
   ========================================= */
.faq-section {
    background-color: #f9f9f9; /* Fondo suave para separar visualmente */
    padding: 60px 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #002e5b; /* Tu azul corporativo */
    position: relative;
    list-style: none; /* Quita el triángulo por defecto */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Icono personalizado (+) */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #7f8c8d;
    transition: transform 0.3s ease;
}

/* Efecto al abrir */
details[open] .faq-question::after {
    transform: rotate(45deg); /* Se convierte en X */
    color: #002e5b;
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
}

/* Ocultar triángulo nativo en algunos navegadores */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}