/* =============================================
   NOTAM TRADEMARKS — styles.css
   Estilos custom (complementa Tailwind CSS)
   ============================================= */

/* ------------------------------------------
   Configuración de Tailwind (colores y fuentes)
   ------------------------------------------ */
/* Este bloque se carga vía <script> en index.html junto con el CDN de Tailwind */

/* ------------------------------------------
   Efecto Reveal para Scroll
   ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------
   FAQ — Ocultar flecha default del <details>
   ------------------------------------------ */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Animación del icono del FAQ */
details[open] summary ~ * {
  animation: fadeIn 0.4s ease-in-out;
}
details[open] summary svg {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------
   Timeline — línea vertical central
   ------------------------------------------ */
.timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #e5e7eb; /* Tailwind gray-200 */
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline-line::before {
    left: 24px; /* Alineado a la izquierda en móvil */
  }
}

/* ------------------------------------------
   Botón WhatsApp Flotante — pulso suave
   ------------------------------------------ */
.wa-float {
  animation: pulse-soft 2s infinite;
}
@keyframes pulse-soft {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ------------------------------------------
   Selector de Idioma
   ------------------------------------------ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 3px;
  border: 1px solid #e5e7eb;
}

.lang-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: #6b7280;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.lang-btn:hover {
  color: #50223f;
  background: #f3e8ee;
}

.lang-btn.lang-active {
  background: #50223f;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(92,26,58,0.25);
}
