/* Acerca de la Iniciativa Page Styles */
:root {
  --primary-color: #8b0000;
  --secondary-color: #dc143c;
  --accent-color: #ff6b6b;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero-section {
  height: 60vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/placeholder.svg?height=600&width=1200") center / cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 0, 0, 0.7);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 0 auto;
  border-radius: 2px;
}

/* Mission Section */
.mission-section {
  padding: 6rem 0;
  background: var(--white);
}

.mission-content {
  display: flex;
  justify-content: center;
}

.mission-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 600px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.mission-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.mission-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.mission-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* Vision Section */
.vision-section {
  padding: 6rem 0;
  background: var(--background-light);
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vision-text .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.vision-text .title-underline {
  margin: 0 0 2rem 0;
}

.vision-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.vision-goals {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.goal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.goal-number {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.goal-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.vision-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

/* Timeline Section */
.background-section {
  padding: 6rem 0;
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin: 0 2rem;
  flex: 1;
  border-left: 4px solid var(--primary-color);
}

.timeline-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Target Population Section */
.target-section {
  padding: 6rem 0;
  background: var(--background-light);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.target-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.target-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.target-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.target-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.target-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .vision-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vision-text .section-title {
    text-align: center;
  }

  .vision-text .title-underline {
    margin: 0 auto 2rem auto;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 60px;
  }

  .timeline-year {
    position: absolute;
    left: 0;
    min-width: 60px;
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .timeline-content {
    margin: 0;
    margin-left: 1rem;
  }

  .target-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-stats {
    gap: 2rem;
  }

  .goal-item {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .mission-card,
  .target-card {
    padding: 2rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}
