.hero-section {
  position: relative;
  min-height: 300px; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(100, 27, 46, 0.5);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.hero-section .sobre-title,
.hero-section .sobre-subtitle {
  color: #FFFFFF;
}

.sobre-section {
  background: #FFFFFF;
  padding: 60px 40px; 
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-title {
  font-family: 'Teko', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #641B2E;
}

.sobre-subtitle {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 3rem; 
  color: #8A2D3B;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.quienes-somos-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px; 
  align-items: center;
  margin-bottom: 15px; 
  padding: 30px 0 10px 0; 
}

.quienes-content h2 {
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #641B2E;
  margin-bottom: 20px; 
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.quienes-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background: #BE5B50;
  border-radius: 2px;
}

.quienes-content p {
  font-family: 'Pridi', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #8A2D3B;
}

.quienes-imagen {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(100, 27, 46, 0.15);
  transition: all 0.4s ease;
}

.quienes-imagen:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(100, 27, 46, 0.2);
}

.quienes-imagen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.quienes-imagen:hover img {
  transform: scale(1.03);
}

.valores-section {
  background: #641B2E;
  padding: 110px 0; 
  margin-bottom: 20px; 
  width: 100%;
}

.valores-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.valores-header {
  text-align: center;
  margin-bottom: 40px; 
}

.valores-header h2 {
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 15px; 
  text-transform: uppercase;
}

.valores-header p {
  font-family: 'Pridi', serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px; 
}

.valor-card {
  background: #FFFFFF;
  border-radius: 15px;
  padding: 25px 20px; 
  border: 2px solid rgba(100, 27, 46, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.valor-card::before {
  display: none;
}

.valor-card:hover {
  transform: translateY(-8px); 
  border-color: #BE5B50;
  box-shadow: 0 20px 40px rgba(100, 27, 46, 0.15);
  background: #FFFFFF;
}

.valor-icon {
  width: 70px; 
  height: 70px; 
  background: linear-gradient(135deg, #641B2E, #8A2D3B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px; 
  font-size: 28px; 
  color: #FFFFFF;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.valor-card:hover .valor-icon {
  background: linear-gradient(135deg, #8A2D3B, #BE5B50);
  transform: rotate(15deg) scale(1.1);
}

.valor-card h3 {
  font-family: 'Teko', sans-serif;
  font-size: 1.6rem; 
  font-weight: 600;
  color: #641B2E;
  margin-bottom: 12px; 
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.valor-card p {
  font-family: 'Pridi', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #8A2D3B;
  position: relative;
  z-index: 1;
}

.filosofia-section {
  margin-top: 0; 
  margin-bottom: 50px; 
}

.filosofia-section h2 {
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #641B2E;
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px; 
  text-transform: uppercase;
}

.filosofia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px; 
}

.filosofia-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 35px 30px; 
  box-shadow: 0 15px 35px rgba(100, 27, 46, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid rgba(251, 219, 147, 0.3);
}

.mision-card {
  border-top: 5px solid #641B2E;
  border-right: 5px solid #BE5B50;
}

.vision-card {
  border-top: 5px solid #BE5B50;
  border-left: 5px solid #641B2E;
}

.filosofia-card:hover {
  transform: translateY(-8px); 
  box-shadow: 0 25px 50px rgba(100, 27, 46, 0.15);
}

.filosofia-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px; 
}

.filosofia-icon {
  width: 65px; 
  height: 65px; 
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px; 
  flex-shrink: 0;
  font-size: 28px; 
  color: #FFFFFF;
}

.mision-card .filosofia-icon {
  background: linear-gradient(135deg, #641B2E, #8A2D3B);
}

.vision-card .filosofia-icon {
  background: linear-gradient(135deg, #BE5B50, #8A2D3B);
}

.filosofia-card h3 {
  font-family: 'Teko', sans-serif;
  font-size: 2rem; 
  line-height: 1.3;
  text-transform: uppercase;
}

.filosofia-content p {
  font-family: 'Pridi', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #8A2D3B;
  margin-bottom: 15px;
}

.vision-year {
  background: linear-gradient(135deg, #641B2E, #BE5B50);
  color: #FFFFFF;
  padding: 8px 25px; 
  border-radius: 30px;
  font-family: 'Teko', sans-serif;
  font-size: 1.4rem; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(100, 27, 46, 0.2);
  transition: transform 0.3s ease;
}

.vision-year:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: 250px; 
  }
  
  .sobre-section {
    padding: 50px 30px; 
  }
  
  .quienes-somos-section {
    grid-template-columns: 1fr;
    gap: 35px; 
  }
  
  .quienes-imagen {
    order: -1;
  }
  
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
  }
  
  .filosofia-grid {
    grid-template-columns: 1fr;
    gap: 25px; 
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 200px; 
  }
  
  .hero-section .sobre-title {
    font-size: 2.5rem; 
  }
  
  .hero-section .sobre-subtitle {
    font-size: 1.1rem; 
  }
  
  .sobre-section {
    padding: 40px 20px; 
  }
  
  .sobre-title {
    font-size: 2.8rem; 
  }
  
  .sobre-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px; 
  }
  
  .quienes-content h2,
  .valores-header h2,
  .filosofia-section h2 {
    font-size: 2rem;
  }
  
  .quienes-content p,
  .valores-header p {
    font-size: 1.1rem;
  }
  
  .valores-container {
    padding: 0 25px;
  }
  
  .valores-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .valor-card {
    padding: 20px 18px; 
  }
  
  .filosofia-card {
    padding: 25px 20px; 
  }
  
  .filosofia-icon {
    width: 55px; 
    height: 55px; 
    font-size: 24px; 
  }
  
  .filosofia-card h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 160px; 
  }
  
  .hero-section .sobre-title {
    font-size: 2rem;
  }
  
  .hero-section .sobre-subtitle {
    font-size: 1rem;
  }
  
  .sobre-section {
    padding: 30px 15px; 
  }
  
  .sobre-title {
    font-size: 2.2rem;
  }
  
  .sobre-subtitle {
    font-size: 1.1rem;
  }
  
  .quienes-content h2,
  .valores-header h2,
  .filosofia-section h2 {
    font-size: 1.8rem;
  }
  
  .quienes-content p,
  .valores-header p,
  .filosofia-content p {
    font-size: 1rem;
  }
  
  .valor-icon {
    width: 60px; 
    height: 60px; 
    font-size: 24px; 
  }
  
  .valor-card h3 {
    font-size: 1.6rem;
  }
  
  .valor-card p {
    font-size: 0.95rem;
  }
  
  .filosofia-header {
    flex-direction: column;
    text-align: center;
  }
  
  .filosofia-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .vision-year {
    font-size: 1.2rem; 
    padding: 6px 20px; 
  }
}