/* ===================== RESPONSIVE ===================== */

/* Móvil grande / tablets (≤991px) */
@media (max-width: 991px) {
  /* Menú hamburguesa */
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background: #111; /* Fondo negro opaco */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: left 0.4s ease-in-out;
    z-index: 2000;
  }

  .nav-links a {
    display: block;
    margin: 15px 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff; /* Enlaces blancos */
  }

  .nav-links a.btn-ayuda {
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 26px;
    border-radius: 30px;
  }

  .nav-links.active {
    left: 0;
  }

  /* Hero */
  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-hero {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Cards servicios */
  .swiper-slide .card {
    margin: 0 auto;
  }

  .btn-card {
    font-size: 0.95rem;
    padding: 8px 18px;
  }

  /* Logos aseguradoras */
  .logos-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 logos por fila */
    gap: 15px;
  }
}

/* Tablets pequeñas / móviles medianos (≤768px) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .btn-hero {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  /* Logos aseguradoras */
  .logos-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 logos por fila */
    gap: 12px;
  }
}

/* Móviles pequeños (≤576px) */
@media (max-width: 576px) {
  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .btn-hero {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  /* Logos aseguradoras */
  .logos-grid {
    grid-template-columns: repeat(2, 1fr); /* Mantener 2 logos por fila */
    gap: 10px;
  }

  .topbar span {
    display: block;
    text-align: center;
    margin: 5px 0;
  }

  footer .col-md-4 {
    text-align: center;
  }

  footer .social-links {
    justify-content: center;
  }
}
