/* =====================================================
   FCB Seguros - Custom Styles
   ===================================================== */

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #F5F5F5;
  color: #0A1929;
}

/* =====================================================
   Logo
   ===================================================== */
.logo-fcb {
  width: auto;
  height: 3rem; /* 48px - nav */
}

@media (min-width: 1024px) {
  .logo-fcb {
    height: 3.5rem; /* 56px - desktop */
  }
}

.logo-fcb--footer {
  height: 4rem; /* 64px - footer */
  /* Invierte el azul a blanco sobre fondo oscuro */
  filter: brightness(0) invert(1);
}

/* SSN logo en footer */
.ssn-logo {
  filter: brightness(0) invert(1) opacity(0.75);
  height: 2.5rem;
  width: auto;
  flex-shrink: 0;
}

/* =====================================================
   Efectos y decoraciones
   ===================================================== */
.glow {
  box-shadow:
    0 30px 60px -20px rgba(75, 201, 232, 0.5),
    0 18px 36px -18px rgba(0, 84, 160, 0.3);
}

.card-shadow {
  box-shadow:
    0 1px 0 rgba(10, 25, 41, 0.04),
    0 8px 24px -8px rgba(10, 25, 41, 0.08);
}

.wa-float {
  box-shadow:
    0 18px 40px -10px rgba(37, 211, 102, 0.55),
    0 6px 18px -6px rgba(10, 25, 41, 0.3);
}

.underline-deco {
  background-image: linear-gradient(transparent 60%, #4BC9E8 60%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 0.15em;
}

.tilt {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tilt:hover {
  transform: translateY(-4px);
}

.dotmap {
  background-image: radial-gradient(circle, #5A6B7D 1.2px, transparent 1.4px);
  background-size: 14px 14px;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(0, 84, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 84, 160, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* =====================================================
   Animaciones
   ===================================================== */
.marquee {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}

.logo-respaldo {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%) opacity(50%);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.locations-track {
  animation: locations-scroll 28s linear infinite;
}

.locations-track:hover {
  animation-play-state: paused;
}

@keyframes locations-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ring-pulse {
  animation: ring 2.4s ease-out infinite;
}

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(75, 201, 232, 0.7); }
  100% { box-shadow: 0 0 0 18px rgba(75, 201, 232, 0); }
}

/* =====================================================
   FAQ
   ===================================================== */
details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] .chev {
  transform: rotate(45deg);
}

.chev {
  transition: transform 0.25s ease;
}
