/* ==================== ESTILOS PAE - PROGRAMA DE ALIMENTACIÓN ESCOLAR ==================== */

/* Hero Section */
.hero-pae {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-pae::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-pae h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease;
}

.hero-pae p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Content Section */
.seccion-contenido {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

.contenido-principal {
  max-width: 1200px;
  margin: 0 auto;
}

.pae-container {
  background: white;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Intro Section */
.intro-section {
  background: linear-gradient(135deg, #f8f9ff 0%, white 100%);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  border-left: 4px solid var(--primary);
}

.intro-section p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
}

/* Objetivos Section */
.objetivos-section {
  margin-bottom: 4rem;
}

.objetivos-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.objetivos-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

.objetivo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.objetivo-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.objetivo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.objetivo-item svg {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  color: var(--primary);
  margin: 0 auto 1rem;
  display: block;
  flex-shrink: 0;
}

.objetivo-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.objetivo-item p {
  font-size: 0.938rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Cobertura Section */
.cobertura-section {
  margin-bottom: 4rem;
}

.cobertura-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.cobertura-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

.cobertura-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  color: white;
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.25);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(46, 125, 50, 0.35);
}

.stat-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-box p {
  font-size: 1rem;
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
}

/* Beneficios Section */
.beneficios-section {
  margin-bottom: 4rem;
}

.beneficios-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.beneficios-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

.beneficios-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.beneficios-list li {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9ff 0%, white 100%);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.beneficios-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.beneficios-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Proceso Section */
.proceso-section {
  margin-bottom: 4rem;
}

.proceso-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.proceso-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

.proceso-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.timeline-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--primary);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.timeline-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  text-align: center;
}

.timeline-item p {
  font-size: 0.938rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Contacto Section */
.contacto-section {
  background: linear-gradient(135deg, #f8f9ff 0%, white 100%);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
}

.contacto-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.contacto-section p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.contacto-section strong {
  color: var(--primary);
  font-weight: 700;
}

/* Override inline styles de SVG para asegurar tamaños correctos */
.objetivo-item svg[width],
.objetivo-item svg[height] {
  width: 48px !important;
  height: 48px !important;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .objetivo-grid,
  .cobertura-stats,
  .proceso-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .beneficios-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-pae {
    padding: 4rem 0 3rem;
  }

  .hero-pae h1 {
    font-size: 2.25rem;
  }

  .hero-pae p {
    font-size: 1.125rem;
  }

  .pae-container {
    padding: 2rem 1.5rem;
  }

  .objetivos-section h2,
  .cobertura-section h2,
  .beneficios-section h2,
  .proceso-section h2 {
    font-size: 2rem;
  }

  .objetivo-grid,
  .cobertura-stats,
  .proceso-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .objetivo-item svg {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }

  /* Override inline styles para móvil */
  .objetivo-item svg[width],
  .objetivo-item svg[height] {
    width: 40px !important;
    height: 40px !important;
  }

  .stat-box h3 {
    font-size: 2rem;
  }

  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-pae h1 {
    font-size: 1.875rem;
  }

  .objetivos-section h2,
  .cobertura-section h2,
  .beneficios-section h2,
  .proceso-section h2 {
    font-size: 1.75rem;
  }

  .pae-container {
    padding: 1.5rem 1rem;
  }

  .objetivo-item,
  .timeline-item {
    padding: 1.5rem;
  }
}
