main {
  width: 100%;
  background: var(--fondo);
  flex: 1;
  display: flex;
  flex-direction: column;
}
section {
  width: 100%;
}
.hero {
  width: 100%;
  position: relative;
  height: auto;
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
  transition: all 0.5s ease;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/SLIDE_01.webp');
  background-size: 110%;
  background-position: center;
  background-repeat: no-repeat;
  animation: zoomHero 20s ease-in-out infinite;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
@keyframes zoomHero {
  0% {
    background-size: 100%;
  }
  50% {
    background-size: 115%;
  }
  100% {
    background-size: 100%;
  }
}
.hero h3 {
  font-family: var(--heading-font);
  font-size: 1em;
  color: var(--main-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  z-index: 102;
}
.hero h1 {
  font-family: var(--heading-font);
  letter-spacing: 3px;
  font-weight: 500;
  font-size: 4em;
  color: var(--main-color);
  text-transform: uppercase;
  z-index: 102;
}
.hero p {
  font-family: var(--body-font);
  font-size: 1em;
  color: var(--main-color);
  line-height: 1.5em;
  z-index: 102;
}
.hero-text {
  width: 60%;
  height: 500px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
}
.buttons {
  display: flex;
  column-gap: 30px;
  margin: 0 auto;
}
.button {
  width: 200px;
  height: 50px;
  background: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 2px solid var(--main-color);
  border-radius: 15px;
  transition: all 0.5s ease;
  z-index: 102;
  color: var(--text-white);
}
.button:hover {
  background-color: #116c04;
  scale: 1.1;
  color: var(--text-white);
}
.button a {
  font-family: var(--heading-font);
  font-size: 1em;
  color: var(--text-white);
  text-transform: uppercase;
}
.button:hover a {
  color: var(--text-white);
}
.red:hover {
  background-color: #d43200;
  scale: 1.1;
}
button {
  display: block;
  margin: 0 auto;
  padding: 1rem 3.5rem;
  background-color: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #45a049;
}
.container-2 {
  display: flex;
  height: 400px;
  column-gap: 30px;
  justify-content: center;
  align-items: center;
}
.como-funciona-img {
  width: 60%;
  height: 100%;
  display: flex;
  padding-top: 20px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
i {
  margin-right: 5px;
}
.scroll-image {
  opacity: 0;
  transform: translateX(100px) rotate(20deg);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.scroll-image.show {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}
.como-funciona-text {
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  padding-top: 40px;
}
h2 {
  font-family: var(--heading-font);
  font-size: 2em;
  color: var(--text-dark);
  text-transform: uppercase;
}
h3 {
  color: var(--main-color);
  font-size: 1.5em;
  margin-bottom: 10px;
  margin-top: 10px;
}
p {
  font-family: var(--body-font);
  font-size: 1em;
  color: var(--text-medium);
  line-height: 1.2em;
  margin-bottom: 15px;
}
.como-funciona-text.button {
  margin: 0 auto;
}
.numbers {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
}
.number {
  width: 20%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 30px;
  transition: all 0.5s ease;
  color: var(--text-medium);
}
.number:hover {
  transform: scale(1.1);
}
.number span {
  font-family: var(--heading-font);
  font-size: 3em;
  color: var(--main-color);
}
.cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.card {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-top: 30px;
}
.image-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.card h3,
.card p {
  padding: 0 20px;
  text-align: center;
}
.transformacion {
  position: relative;
  width: 100%;
  padding: 60px 30px;
  margin: 0 auto;
  background-color: #8ec038;
  overflow: hidden;
}
.transformacion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/veg_pattern_01.webp');
  background-size: contain;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
}
.transformacion h2 {
  color: var(--text-dark);
}
.transformacion h3 {
  color: var(--text-medium);
}
.transformacion h3:nth-child(1) {
  color: var(--main-color);
  font-size: 1.5em;
}
.transformacion-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}
.transformacion-card,
.transformacion-card-img {
  width: 300px;
  height: 400px;
  border-radius: 8px;
  background-color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.transformacion-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 10px;
  padding-left: 10px;
}
.transformacion-card li {
  margin-bottom: 10px;
  color: var(--text-dark);
}
.transformacion-card.more {
  margin-left: 15px;
  color: var(--main-color);
  position: relative;
  display: inline-block;
  width: fit-content;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: color 0.5s ease;
  z-index: 0;
  overflow: hidden;
}
.transformacion-card.more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  border-radius: 5px;
}
.transformacion-card.more:hover {
  color: white;
  text-decoration: none;
}
.transformacion-card.more:hover::before {
  transform: scaleX(1);
}
.transformacion-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.recipes-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}
.recipes-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 30px;
}
.recipes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}
.recipe-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease;
}
.recipe-card:hover {
  transform: translateY(-5px);
}
.recipe-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.recipe-card h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: #333;
}
.recipe-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 5px 0;
}
.newsletter {
  background-image: url('../images/fondo.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: bottom;
  padding: 4rem 2rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-container {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 15px;
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.newsletter-text h3 {
  font-size: 1.5rem;
  color: var(--secundary-color);
}
.newsletter-text h2 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  color: var(--text-white);
}
.newsletter-text p {
  font-family: 'Cabin', sans-serif;
  font-size: 1.1rem;
  color: var(--text-white);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.newsletter-form input[type='email'] {
  padding: 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}
.error-message {
  color: #ffcccc;
  font-size: 0.9rem;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
  position: relative;
}
.modal-content img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: #2e7d32;
  cursor: pointer;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.link {
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
}