:root {
  --primary-color: #e53e3e;
  --accent-color: #f56565;
  --text-dark: #1f2937;
  --text-light: #718096;
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === SOLUCIÓN DEFINITIVA PARA EL DESBORDE HORIZONTAL EN MÓVIL === */
html, body {
  overflow-x: hidden; 
  width: 100%;
}
/* ========================================================== */


body {
 /* font-family: "Inter", sans-serif;*/
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header, .angels-header { 
  background: var(--secondary-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar, .angels-navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-circle {
  width: 50px; /* Tamaño original del logo, no se altera en móvil */
  height: 50px; /* Tamaño original del logo, no se altera en móvil */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-text {
  color: var(--white);
  font-weight: 600;
  font-size: 1.25rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}
/* Estilos para la Hero Section de Contacto */
.hero-contact {
    /* Mantenemos la imagen de fondo y sus propiedades */
    background: url('https://blog.marti.mx/wp-content/uploads/2023/05/aprende-a-escoger-pelota-de-beisbol-jpeg.webp') center center / cover no-repeat;
    position: relative;
    height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px; 
    overflow: hidden; 
}

/* Overlay AJUSTADO para MEJOR CONTRASTE */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.6),    
        rgba(229, 62, 62, 0.5)     
    );
    z-index: 1; 
}

.hero-content-Contacto {
    position: relative;
    z-index: 2; 
    max-width: 800px;
    padding: 0 1.5rem; 
}

.hero-content-Contacto h1 {
    font-size: 3.8em; 
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9); 
}

.hero-content-Contacto p {
    font-size: 1.3em;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); 
}

.breadcrumb a, .breadcrumb .active {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); 
}

/* Main Contact Section */
.contact-main {
  padding: 80px 0;
  background: var(--gray-50);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Information */
.contact-info-section {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.info-header {
  text-align: center;
  margin-bottom: 3rem;
}

.info-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.info-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.info-note {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* Social Contact Section */
.social-contact-section {
  border-top: 2px solid var(--gray-100);
  padding-top: 2rem;
}

.social-contact-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.social-contact-section p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.social-card.whatsapp:hover {
  border-color: #25d366;
  background: #25d366;
  color: var(--white);
}

.social-card.messenger:hover {
  border-color: #0084ff;
  background: #0084ff;
  color: var(--white);
}

.social-card.instagram:hover {
  border-color: #e4405f;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
}

.social-card.twitter:hover {
  border-color: #1da1f2;
  background: #1da1f2;
  color: var(--white);
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.social-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.social-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.social-arrow {
  margin-left: auto;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.social-card:hover .social-arrow {
  transform: translateX(5px);
}

/* Contact Form */
.contact-form-section {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.form-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.submit-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.submit-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: var(--white);
}

.map-header {
  text-align: center;
  margin-bottom: 3rem;
}

.map-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.map-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.faq-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
.footer {
  background:  var( --text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ======================================================= */
/* --- SECCIÓN MÓVIL (Menos de 768px) --- */
/* ======================================================= */
@media (max-width: 768px) {
  
  /* --- AJUSTES DEL HEADER --- */
  .header, .angels-header { 
    width: 100% !important;
    max-width: 100vw !important; 
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .container, .nav-container {
    padding: 0 1rem !important; 
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .navbar, .angels-navbar {
    padding: 0.5rem 0 !important; 
    margin: 0 !important;
    width: 100% !important;
  }
  
  .hamburger {
    display: flex; 
  }

  .nav-menu {
    display: none; 
  }
    
  /* --- AJUSTES DE CONTENIDO (Contact Information y Contact Form) --- */
  .hero-contact {
    height: 40vh; 
    margin-top: 60px; 
  }
  
  .hero-content-Contacto h1 {
    font-size: 2.5rem;
  }
  
  .contact-main {
      padding: 40px 0; 
  }

  /* 1. Contact Wrapper: Se apilan las dos columnas principales (¡FORZADO!) */
  .contact-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important; 
    gap: 2rem !important;
    width: 100% !important; /* Asegura que ocupe todo el ancho disponible */
  }

  /* 2. Info Cards: Se apilan las tarjetas de contacto (¡FORZADO!) */
  .info-cards {
    grid-template-columns: 1fr !important; 
    gap: 1rem !important;
  }

  /* 3. Social Grid: Diseño compacto de 2 columnas para redes sociales */
  .social-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 0.75rem;
  }

  .social-card {
      padding: 0.75rem; 
  }
  
  /* Oculta texto secundario de redes y flecha para máxima simplicidad móvil */
  .social-content p, 
  .social-arrow {
      display: none; 
  }
  
  /* 4. Form Row: Se apilan los campos que estaban lado a lado (¡FORZADO!) */
  .form-row {
    grid-template-columns: 1fr !important; 
  }

  /* Reduce el padding interno de las secciones */
  .contact-info-section,
  .contact-form-section {
    padding: 2rem;
  }

  /* --- AJUSTES DEL FOOTER --- */
  .footer-content {
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 10px;
  }
  
  .footer-logo {
      justify-content: center;
  }

}