* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'EB Garamond', sans-serif;
  background-color: #fdfdfd;
  color: #333;
}

/* HEADER CON FONDO DIFUMINADO */
header {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}
.header-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../assets/images/header.png') center/cover no-repeat;
  filter: blur(6px) brightness(0.6);
  z-index: 1;
}
.header-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
header h1 {
  font-family: 'EB Garamond', serif;
  font-size: 5em;
  font-weight: 500;
  margin: 0;
}
header p {
  font-size: 2em;
  margin-top: 15px;
  opacity: 0.9;
}
/* SECCIONES */
.section {
  padding: 10px 20px;
  max-width: 1000px;
  margin: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out forwards;
}
.section:nth-of-type(2) { animation-delay: 0.5s; }
.section:nth-of-type(3) { animation-delay: 1s; }
.section:nth-of-type(4) { animation-delay: 1.5s; }

.section h2 {
  font-family: 'EB Garamond', serif;
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #203a43;
  text-align: center;
  font-weight: 500;
}
.section p {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin: auto;
}
.section img {
  display: block;
  margin: 30px auto 0;
  max-width: 90%;
  width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* CTA */
.cta {
  text-align: center;
  margin-top: 40px;
}
.cta a {
  background-color: #203a43;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.cta a:hover {
  background-color: #2c5364;
}

/* FOOTER */
footer {
  background-color: #203a43;
  color: white;
  text-align: center;
  padding: 30px 20px;
  animation: fadeIn 2s ease-in;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  header h1 {
    font-size: 2.2em;
  }
  .section img {
    width: 90%;
  }
}