/* ============================= */
/* 9. MEDIA QUERIES RESPONSIVE   */
/* ============================= */

/* === General Mobile Adjustments === */
@media (max-width: 991px) {

  /* Separación para el navbar fijo si lo hubiese, o solo espaciado */
  body {
    padding-top: 0;
  }

  /* Ajuste título secciones */
  section {
    padding: 60px 0;
  }
}

/* === Navbar Mobile === */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .nav-item {
    margin: 10px 0;
    text-align: center;
  }

  .btn-primary-custom {
    width: 100%;
    margin: 10px 0 !important;
  }
}

/* === Mobile Devices (Portrait) === */
@media (max-width: 576px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo {
    height: 45px;
  }

  /* Footer adjustments */
  footer {
    padding-bottom: 90px;
    /* Espacio para el botón del chatbot */
  }

  .footer-contact {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact .separator {
    display: none;
  }
}

/* === Botón Chatbot en Móvil === */
@media (max-width: 576px) {
  #rc-chat-toggle {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  #rc-chat-toggle svg {
    width: 24px;
    height: 24px;
  }
}