/**
 * CONTACTO.CSS - Hereda estilo de CARACTERISTICAS.CSS y añade mínimos ajustes
 */

/* 1) Heredar TODO el estilo base de Características */
@import url("./caracteristicas.css");

/* 2) Ajustes suaves para Contacto */
.hero-section { 
  padding-bottom: 28px !important; /* pegamos el grid al hero como en características ajustada */
}

/* el primer bloque después del hero */
.hero-section + .section { 
  padding-top: 12px !important; 
}

/* enlaces dentro de tarjetas (email/redes/horario) */
.benefit-card a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.benefit-card a:hover { text-decoration: underline; }

/* Tipografía específica para Contacto */
.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}

/* Ajuste responsive en desktop grande */
@media (min-width: 1025px){
  .hero-section { padding-bottom: 24px !important; }
  .hero-section + .section { padding-top: 8px !important; }
}

/* === ORGANIZACIÓN DE TARJETAS DE CONTACTO === */
/* 💡 Opción: tres tarjetas en una sola fila (más equilibrado) */
@media (min-width: 1025px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* FAQ */
.faq-section { padding-top: 2rem; }
.faq-title { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); margin-bottom: .5rem; }
.faq-intro { color: var(--text-muted, #6b7280); margin-bottom: 1rem; }

.faq-accordion { display: grid; gap: .75rem; }
.faq-item { border: 1px solid rgba(0,0,0,.08); border-radius: 12px; background: #fff; overflow: hidden; }

.faq-question { margin: 0; }
.faq-toggle {
  width: 100%; text-align: left; padding: 1rem 1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.faq-toggle:focus { outline: 2px solid var(--primary, #FF385C); outline-offset: 2px; }

.faq-icon { width: 20px; height: 20px; transition: transform .2s ease; }
.faq-toggle[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-panel { padding: 0 1rem 1rem; color: var(--text-muted, #4b5563); }


/* === PREGUNTAS FRECUENTES === */
.faq-section {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 80px;
}

.faq-section .section-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-section .section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}

.faq-section .section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.6;
}

.faq-section .section-subtitle a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.faq-section .section-subtitle a:hover {
  text-decoration: underline;
}

/* Contenedor general */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cada pregunta */
.faq-item {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* Encabezado de la pregunta */
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

/* Icono */
.faq-summary .chevron {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color);
  stroke-width: 2.5;
  transform: rotate(0deg);
  transition: transform .25s ease;
}

.faq-item[open] .chevron {
  transform: rotate(180deg);
}

/* Contenido */
.faq-content {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Hover */
.faq-item:hover .faq-summary {
  background: rgba(0,0,0,0.02);
}

/* ====== Responsivo ====== */
@media (max-width: 768px) {
  .faq-section .section-title {
    font-size: 26px;
  }

  .faq-section .section-subtitle {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .faq-summary {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-content {
    padding: 0 18px 16px;
    font-size: 14px;
  }
}