@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

/* Unique Slick Dots Styling */
.slick-dots {
  position: absolute;
  bottom: -40px;
  display: flex !important;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 640px) {
  .slick-dots {
    bottom: -24px;
  }
}

.slick-dots li {
  margin: 0;
}
.slick-dots li button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(185, 184, 184);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.slick-dots li.slick-active button {
  background: #C62828;
  border-color: #C62828;
  transform: scale(1.2);
}

.slick-prev,
.slick-next {
  color: #C62828 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  }
}

.animate-scroll {
  animation: scroll 30s linear infinite;
}

header {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.mask-fade {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* WhatsApp Button */
.btn-whatsapp {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  border-radius: 12px;
  padding: 12px 22px 12px 16px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  font-family: sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  color: white;
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-whatsapp-texto {
  display: flex;
  flex-direction: column;
}

.btn-whatsapp-texto .linea1 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.btn-whatsapp-texto .linea2 {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

/* Marquee Bar Styles */
.anuncio-barra {
  background-color: #C62828;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
}

.anuncio-barra-flex {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.anuncio-redes {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

@media (max-width: 768px) {
  .anuncio-redes {
    display: none;
  }
}

/* Fix Mobile Menu Drawer */
#mobile-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 100000 !important;
  background-color: #ffffff !important;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex !important;
  flex-direction: column !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: 100% !important;
}

#menu-overlay {
  z-index: 99999 !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  position: fixed !important;
  inset: 0 !important;
}

#mobile-menu nav a {
  display: block;
  width: 100%;
  color: #1a2540 !important;
  background-color: #ffffff !important;
  font-weight: 600;
  padding: 15px 25px !important;
  border-bottom: 1px solid #f1f5f9;
}

#mobile-menu nav a:hover {
  background-color: #f8fafc !important;
}

#mobile-menu i {
  color: #1a2540 !important;
}

#mobile-menu .border-b {
  border-bottom-color: #f1f5f9 !important;
}

.anuncio-contenido {
  width: 100%;
  max-width: 800px;
  text-align: center;
  overflow: hidden;
  position: relative;
  height: 22px;
}

.anuncio-item {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  letter-spacing: 0.02em;
}

.anuncio-item.activo {
  opacity: 1;
  transform: translateX(0);
}

.anuncio-item.saliendo {
  opacity: 0;
  transform: translateX(-40px);
}

/* ================= FOOTER ================= */
.footer-principal {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-titulo {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-titulo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: #C62828;
}

.footer-link {
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-redes-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.footer-redes-icon:hover {
  background: #C62828;
  color: white;
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 60px;
}

/* Global Font Override */
body {
  font-family: 'Outfit', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: -0.02em;
}
