/* --- Sección "¿Cómo podemos ayudarte?" --- */
.help-section {
  background-color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.help-section h2,
.contact-info-section h2,
.brands-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.help-section p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.btn-chat {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-chat i {
  margin-right: 10px;
}

.btn-chat:hover {
  background-color: #ad1028;
  box-shadow: 0 4px 10px rgba(31, 27, 27, 0.596);
  transition: 0.25s;
}

/* --- Sección de Información de Contacto (Cards) --- */
.contact-info-section {
  background-color: var(--light-grey);
  text-align: center;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 0.95em;
  margin-bottom: 8px;
  flex-grow: 1;
}

.contact-detail {
  font-size: 1em;
  color: var(--primary-color);
  font-weight: bold;
  margin-top: auto;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav ul {
    flex-direction: column;
    margin-top: 15px;
  }
  .main-nav ul li {
    margin: 5px 0;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .help-section h2,
  .contact-info-section h2,
  .brands-section h2,
  .faq-section h2 {
    font-size: 2em;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h4 {
    margin-top: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Dos columnas en rango intermedio */
    gap: 25px; /* Espacio ajustado para 2 columnas */
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2em;
  }
}

/* --- Sección Preguntas Frecuentes --- */
.faq-section {
  background-color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.faq-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #081a30;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 40px 0 20px 0;
  font-size: 0.9em;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.social-icons a {
  color: var(--white);
  font-size: 1.5em;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* --- Responsividad --- */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav ul {
    flex-direction: column;
    margin-top: 15px;
  }
  .main-nav ul li {
    margin: 5px 0;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .help-section h2,
  .contact-info-section h2,
  .brands-section h2,
  .faq-section h2 {
    font-size: 2em;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h4 {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2em;
  }
}

.btn-google,
.btn-waze {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 6px 0 0;
  padding: 8px 20px;
  background: var(--primary-color, #cb1837);
  color: #fff;
  border-radius: 22px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(10, 34, 64, 0.07);
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-google:hover,
.btn-waze:hover {
  background: #a1142a;
  color: #fff;
  box-shadow: 0 4px 16px rgba(203, 24, 55, 0.13);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

/* FAQ Accordion Styles */
.faq-accordion {
  max-width: 700px;
  width: 70%;
  margin: 32px auto 32px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(10, 34, 64, 0.08);
  padding: 0;
}
.faq-section {
  background: transparent;
  max-width: 700px;
  width: 70%;
  margin: 32px auto 32px auto;
  border-radius: 12px;
  box-shadow: none;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  cursor: pointer;
  padding: 22px 28px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--primary-color, #cb1837);
  background: none;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question:hover,
.faq-question.active {
  background: #f8f8f8;
}

.faq-icon {
  font-size: 1.2em;
  margin-left: 12px;
  transition: transform 0.3s;
}

.faq-question.active .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  color: #444;
  font-size: 1rem;
  background: #fafafa;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 18px 28px;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-section .faq-accordion {
    max-width: 98vw;
    border-radius: 8px;
  }
  .faq-question {
    padding: 16px 14px;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 14px;
    font-size: 0.98rem;
  }
  .faq-item.open .faq-answer {
    padding: 12px 14px;
  }
}
