/* 
 * contacto.css
 * Contiene estilos específicos de la página contacto.html,
 * incluyendo secciones como hero, información de contacto, preguntas frecuentes,
 * por qué contactar, y sus media queries.
 */

/* Wrappers para extender los fondos a los márgenes */
.contact-hero-wrapper { background-color: #e6f0fa; width: 100%; }
.contact-info-wrapper { background-color: #fff; width: 100%; }
.faq-section-wrapper { background-color: #f5f7fa; width: 100%; }
.why-contact-wrapper { background-color: #e6f0fa; width: 100%; }

.contact-hero { padding: 60px 0; }
.contact-hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-hero-text { display: flex; flex-direction: column; justify-content: center; text-align: center; height: 100%; }
.contact-hero-text h1 { font-size: 3em; color: #003087; margin-bottom: 20px; font-weight: 700; }
.contact-hero-text p { font-size: 1.2em; color: #555; line-height: 1.8; }
.contact-hero-form { background-color: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.static-form input, .static-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1em; }
.static-form textarea { resize: vertical; }
.static-form p { font-size: 0.9em; color: #555; margin-bottom: 10px; }
.static-form .form-buttons { display: flex; gap: 10px; margin-bottom: 10px; }
.static-form .privacy-note { font-size: 0.8em; color: #555; margin-top: 10px; text-align: left; }
.btn { padding: 12px 20px; border-radius: 5px; text-decoration: none; font-size: 1em; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; display: block; text-align: center; border: none; }
.btn--primary { background-color: #003087; color: #fff; }
.btn--primary:hover { background-color: #002060; transform: translateY(-2px); }
.btn--secondary { background-color: #f4a261; color: #fff; }
.btn--secondary:hover { background-color: #e08e4e; transform: translateY(-2px); }

.contact-info { padding: 20px 0; }
.contact-info-content { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.contact-grid { display: flex; justify-content: center; gap: 30px; }
.contact-item { display: flex; flex-direction: column; align-items: center; gap: 5px; background-color: #f9f9f9; border: 1px solid #ddd; padding: 25px; border-radius: 8px; width: 350px; }
.contact-item i { font-size: 1.5em; color: #f4a261; margin-bottom: 5px; }
.contact-item strong { font-size: 1em; color: #003087; font-weight: 500; }
.contact-item p { font-size: 0.9em; color: #666; margin: 0; }
.contact-item a { color: #003087; text-decoration: none; }
.contact-item a:hover { color: #f4a261; }

.faq-section { padding: 40px 0; text-align: center; }
.faq-section h2 { font-size: 2em; color: #003087; margin-bottom: 30px; font-weight: 700; }
.faq-item { margin-bottom: 15px; border: 1px solid #ddd; border-radius: 10px; background-color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.faq-question { background: none; border: none; width: 100%; padding: 20px; text-align: left; font-size: 1.2em; font-weight: 500; color: #003087; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease; }
.faq-question:hover { background-color: #f5f7fa; }
.faq-icon { font-size: 0.9em; color: #f4a261; }
.faq-answer { display: none; padding: 20px; font-size: 1em; color: #555; background-color: #f9f9f9; border-top: 1px solid #ddd; }
.faq-answer p { margin: 0; line-height: 1.8; }
.faq-answer a { color: #003087; text-decoration: none; }
.faq-answer a:hover { color: #f4a261; }

.why-contact { padding: 40px 0; text-align: center; }
.why-contact h2 { font-size: 2em; color: #003087; margin-bottom: 20px; font-weight: 700; }
.why-contact p { font-size: 1.1em; color: #555; margin-bottom: 30px; line-height: 1.8; }
.why-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.why-contact-card { background-color: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.why-contact-card:hover { transform: translateY(-5px); }
.why-contact-card i { font-size: 2em; color: #f4a261; margin-bottom: 15px; }
.why-contact-card h3 { font-size: 1.3em; color: #003087; margin-bottom: 10px; font-weight: 500; }
.why-contact-card p { font-size: 0.9em; color: #666; line-height: 1.6; }

/* Media queries específicas de contacto.html */
@media (max-width: 768px) {
  .contact-hero { padding: 40px 0; }
  .contact-hero-content { grid-template-columns: 1fr; gap: 20px; }
  .contact-hero-text h1 { font-size: 2.5em; }
  .contact-hero-text p { font-size: 1.1em; }
  .contact-hero-form { padding: 20px; }
  .contact-info, .faq-section, .why-contact { padding: 20px 0; }
  .contact-grid { flex-direction: column; align-items: center; gap: 15px; }
  .contact-item { width: 100%; max-width: 300px; }
}

@media (max-width: 480px) {
  .contact-hero-text h1 { font-size: 2em; }
  .contact-hero-text p { font-size: 1em; }
  .faq-section h2, .why-contact h2 { font-size: 1.6em; }
  .faq-question { font-size: 1.1em; }
  .faq-answer { font-size: 0.9em; }
  .why-contact-card h3 { font-size: 1.2em; }
  .why-contact-card p { font-size: 0.85em; }
}