* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d1e0c9' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  color: #111827;
}

h1,
		h2,
		h3,
		h4,
		h5,
		h6 {
			font-family: 'Playfair Display', serif;
}

h1 > span { 
  color: brown;
}

.contenedor-principal {
  max-width: 1050px;
  margin: 0 auto;
}

.carousel {
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  height: 250px;
  /* default móvil */
  object-fit: cover;
  flex-shrink: 0;
}

/* Estilos personalizados para mejorar el diseño */
.decoracion-subtitulo {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.decoracion-subtitulo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #190404;
  border-radius: 2px;
}

.tarjeta-valor {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.tarjeta-valor:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border-left-color: brown;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.pilar-educativo {
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.pilar-educativo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

footer {
  font-family: 'Playfair Display', serif;
  background-color: #FCF9D8;
  position: relative;
  overflow: hidden;
}

/* Wave superior decorativa */
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px; /* puedes ajustar */
}

/* Estilos para el contenedor principal del footer */
.bg-custom-gradient {
  background: #FCF9D8;
}

/* Tablets en adelante (>=768px) */
@media (min-width: 768px) {
  .slides img {
    height: 370px;
  }
}

/* Laptops (>=1024px) */
@media (min-width: 1024px) {
  .slides img {
    height: 410px;
  }
}

/* Pantallas grandes (>=1280px) */
@media (min-width: 1280px) {
  .slides img {
    height: 450px;
  }
}

/* Extra grandes (>=1536px) */
@media (min-width: 1536px) {
  .slides img {
    height: 500px;
  }
}

/* Animación para elementos que aparecen al hacer scroll */
.scroll-effect {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-effect.visible {
  opacity: 1;
  transform: translateY(0);
}