/* Estilos para la página de Contacto */

/* Intro */
.contacto-intro {
  max-width: 800px;
  margin: 0 auto;
  margin-top: -50px;
  text-align: center;
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.7;
}

.contacto-intro strong {
  color: #667eea;
}

/* Tarjetas de información de contacto */

.contacto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contacto-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.contacto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #667eea;
}

.contacto-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}

.contacto-card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: #1f2937;
}

.contacto-detalle {
  font-size: 1.125rem;
  color: #374151;
  font-weight: 600;
  margin: 0.5rem 0;
}

.contacto-detalle a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contacto-detalle a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

.contacto-descripcion {
  margin: 1rem 0 0 0;
  font-size: 0.9375rem;
  color: #6b7280;
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  color: white;
}

.social-link svg {
  flex-shrink: 0;
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.twitter:hover {
  background: #1a8cd8;
}

.social-link.facebook {
  background: #1877f2;
}

.social-link.facebook:hover {
  background: #155db2;
}

.social-link.linkedin {
  background: #0a66c2;
}

.social-link.linkedin:hover {
  background: #004182;
}

/* Sección del formulario */
.contacto-form-section {
  max-width: 700px;
  margin: 0 auto;
  margin-top: -80px; 
}

.contacto-form-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.form-instruccion {
  text-align: center;
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.form-instruccion a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.form-instruccion a:hover {
  text-decoration: underline;
}

.contacto-form {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-nota {
  margin-top: 1.5rem;
  text-align: center;
}

.form-nota small {
  font-size: 0.875rem;
  color: #6b7280;
}

.form-nota a {
  color: #667eea;
  text-decoration: none;
}

.form-nota a:hover {
  text-decoration: underline;
}

.btn-sub {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 4rem;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 2.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid #667eea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  color: #1f2937;
}

.faq-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Otros recursos */
.otros-recursos h2 {
  text-align: center;
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 2.5rem;
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.recurso-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 2px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.recurso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.recurso-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.recurso-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  color: #1f2937;
}

.recurso-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Botón pequeño */
.btn-small {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #2846ce 0%, #4b51a2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.timezone-note {
  margin-top: 0.75rem;
}

.timezone-note small {
  color: #9ca3af;
  font-size: 0.8125rem;
}

/* Section subtitle */
.section-subtitle {
  text-align: center;
  margin-top: -1rem;
  font-size: 1.0625rem;
  color: #6b7280;
}

/* Char counter */
.char-count {
  text-align: right;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.char-count span {
  font-weight: 600;
  color: #667eea;
}

/* Checkbox group */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  flex: 1;
  cursor: pointer;
  margin-bottom: 0;
}

/* Recurso link */
.recurso-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #667eea;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Footer mejorado */
.footer-brand h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.5rem;
  color: white;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-active {
  color: #667eea !important;
  font-weight: 700;
}

.footer-credits {
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contacto-form {
    padding: 1.75rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .recursos-grid {
    grid-template-columns: 1fr;
  }

  .contacto-intro {
    font-size: 1rem;
  }

  .contacto-form-section h2,
  .faq-section h2,
  .otros-recursos h2 {
    font-size: 1.75rem;
  }

  .contacto-icon {
    font-size: 3rem;
  }
}