/* ===================== GOOGLE FONTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* ===================== VARIABLES CSS ===================== */
:root {
  --header-height: 3.5rem;
  --first-color: #fb5c76;
  --first-color-alt: #f3516a;
  --title-color: #000000;
  --text-color: #fb5c76;
  --text-color-light: #f3516a;
  --body-color: #f0f0f0;
  --container-color: hsl(21, 78%, 96%);
  --section: #000000;
  font-family: 'Source Sans 3', sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/* ===================== BASE ===================== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background 1s;
}
h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-medium);
}
ul {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}
a {
  text-decoration: none; 
}
img {
  max-width: 100%;
  height: auto;
}

/* ===================== SCROLL BAR ===================== */
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(340, 37%, 29%);
}
::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background-color: hsl(19, 8%, 65%);
}
::-webkit-scrollbar-thumb:hover {
  background-color: hsl(19, 8%, 55%);
}


/* ===================== SECCIÓN PRINCIPAL ===================== */
.section1 {
  background-color: #E6033F;
}

.selection {
  display: flex;
  gap: 8px;
  justify-content: center;
  background: #E6023F;
  padding: 8px 16px;
  flex-direction: column;
}

.selection h1 {
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  margin: 0;
  text-align: center;
  margin-bottom: 8px;
}
.headerycards{
  background-color: #E6023F;
}
/* ===================== CARDS ===================== */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 32px auto 10rem auto;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
}

.card-left,
.card-right {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px 24px 0 0;
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  cursor: pointer;
}

.card-left img,
.card-right img {
  border-radius: 1.5em 1.5em 0 0;
  max-width: 420px;
}

.card-left:hover {
  transform: rotate(-5deg) scale(1.04);
}
.card-right:hover {
  transform: rotate(5deg) scale(1.04);
}

.card-left .card-inner,
.card-right .card-inner {
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}

.card-left:hover .card-inner {
  transform: rotate(-5deg) scale(1.04);
}
.card-right:hover .card-inner {
  transform: rotate(5deg) scale(1.04);
}

/* ===================== ANIMACIONES ===================== */
.card-left.fade-in-up,
.card-right.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===================== HEADER ===================== */
.static-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  width: 100%;
  padding: 0 55px;
  height: 140px;
  box-sizing: border-box;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
  background: #E6023F;
}
.logo-area {
  display: flex;
  align-items: flex-start;
  height: 100px;
  margin-top: 20px;
}
.logo-img {
  height: 100px;
  width: auto;
}
.menu-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FA5B75;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  padding: 16px 20px 32px 20px;
  height: 140px;
  width: 100px ;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  position: relative;
}
.menu-label {
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
}
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}
.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 22px;
}
.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ===================== NOTICIAS ===================== */
.noticias-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 64px;
  width: 100%;
}

.noticias-title {
  color: #888;
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.noticias-row {
  display: flex;
  flex-direction: row;
  gap: 48px;
  width: 100%;
  justify-content: center;
  margin-top: 2rem;
  align-items: center;
}

.noticias-carrusel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carrusel-rect {
  background: #fb5c76;
  border-radius: 32px;
  width: 500px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carrusel-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 24px;
}

.carrusel-arrow {
  font-size: 2.5em;
  color: #f3516a;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  padding: 0 12px;
}

.noticias-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  width: 100%;
}

.noticia-titulo {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 18px;
  color: #f3516a;
  text-align: center;
}

.cenefa-noticia-img {
  width: 100%;
  max-width: 320px;
  margin-bottom: 18px;
  display: block;
}

.noticia-texto {
  font-size: 1em;
  color: #5f5f5f;
  border-radius: 12px;
  padding: 18px;
  text-align: justify;
}

/* ===================== CENEFA DECORATIVA ===================== */
.cenefa-img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  height: auto;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}
/* ===================== MENU OVERLAY ===================== */
.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 65vh;
  display: flex;
  flex-direction: column;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateY(-100%);
  padding-bottom: env(safe-area-inset-bottom);
  background-color: #FA5B75;
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.menu-section {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
  transition: transform 0.45s cubic-bezier(.23,1,.32,1), box-shadow 0.45s cubic-bezier(.23,1,.32,1);
  will-change: transform;
  backface-visibility: hidden;
  flex-direction: column;
}
.menu-section:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  z-index: 2;
}
.menu-section.yellow {
  background: #FA5B75;
  color: #fff;

}
.menu-section.red {
  background: #FF9BA6;
  color: #fff;
}
.menu-section-img {
  display: block;
  margin-bottom: 18px;
  height: 300px;
  width: auto;
  border-radius: 18px;
  transition: filter 0.3s;
  cursor: pointer;
}
.menu-section:hover .menu-section-img {
  filter: drop-shadow(0 18px 12px rgba(0,0,0,0.25));
}.menu-background {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.menu-background.active {
  opacity: 1;
  pointer-events: auto;
}
.menu-section-word {
  position: relative;
  display: inline-block;
  transition: color 0.2s;
  cursor: pointer;
}
.menu-section-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: scaleX(0);
}
.menu-section:hover .menu-section-word::after {
  opacity: 1;
  transform: scaleX(1);
}
.menu-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-img-overlay {
  height: 100px;
  width: auto;
}
.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.close-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-icon span {
  position: absolute;
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
}
.close-icon span:first-child {
  transform: rotate(45deg);
}
.close-icon span:last-child {
  transform: rotate(-45deg);
}
.menu-close-label {
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}
.menu-icon.hide {
  display: none;
}
.menu-overlay-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  padding: 40px 84px;
  z-index: 1001;
  box-sizing: border-box;
  pointer-events: none;
  background-color: #FF9BA6;
}
.menu-close-row,
.menu-overlay-header {
  pointer-events: auto;
  display: flex;
  align-items: center;
}

/*=============== FOOTER ===============*/

.footer{
    position: relative;
    margin: 2.5rem 2rem 7rem 2rem;
    overflow: hidden;
}
.footer__container{
    row-gap: 3rem;
}
.footer__logo{
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
    transition: color .3s;
}
.footer__logo img{
    width: 100px;
}
.footer__logo:hover{
    color: var(--first-color);
    text-decoration: underline;
}
.footer__description,
.footer__link,
.footer__information{
    font-size: var(--small-font-size);
}
.footer__content,
.footer__links{
    display: grid;
}
.footer__content{
    grid-template-columns: repeat(2, max-content);
    gap: 2.5rem;
}
.footer__title{
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}
.footer__links{
    row-gap: .5rem;
}
.footer__link{
    color: var(--text-color);
    transition: color .3s;
}
.footer__link:hover{
    color: var(--first-color);
}
.footer__social{
    display: flex;
    column-gap: 1.25rem;
}
.footer__social-link{
    color: var(--first-color);
    font-size: 1.25rem;
    transition: color .3s, transform .3s;  
}
.footer__social-link:hover{
    color: var(--first-color-alt);
    transform: translateY(-2px);
    text-decoration: underline;
}
.footer__onion,
.footer__spinach{
    width: 30px;
    position: absolute;
}
.footer__onion{
    top: 19.5rem;
    right: 11rem;
    
}
.footer__spinach{
    bottom: 7rem;
    left: 12rem;
    width: 75px;
    transform: scaleX(-1);
}
.footer__leaf{
    width: 100px;
    position: absolute;
    bottom: 22rem;
    right: 2rem;
}
.footer__info,
.footer__card{
    display: flex;
}
.footer__info{
    margin-top: 2rem;
    flex-direction: column;
    row-gap: 1.5rem;
}
.footer__card{
    column-gap: 1rem;
    justify-content: center;
}
.footer__card img{
    width: 35px;
}
.footer__copy{
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--title-color);
}
a.footer__link:hover{
    text-decoration: underline;
}
.fabixpage{
    color: var(--text-color);
}
.fabixpage:hover{
    color: #fff;
    text-decoration: underline;
}
.social-icon {
  font-size: 2em;
  color: var(--text-color);
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-icon:hover {
  color: #fff; /* Cambia el color al pasar el mouse */
  transform: scale(1.15) translateY(-4px); /* Sube un poco hacia arriba */
}
.menu-open {
  overflow: hidden !important;
  height: 100vh !important;
}
.menu-background {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.menu-background.active {
  opacity: 1;
  pointer-events: auto;
}
/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .selection {
    padding-top: 3rem;
  }
  .noticias-row {
    flex-direction: column !important;
    gap: 24px;
    align-items: center;
  }
}

@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
    margin: 1rem;
  }
  .images-row {
    gap: 32px;
  }
  .center-img {
    max-width: 400px;
    max-height: 250px;
  }
  .noticias-container {
    margin: 1rem;
    width: auto !important;
  }
}

@media (max-width: 1000px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }
  .card-left, .card-right {
    width: 100%;
    max-width: 300px;
  }
  .card-left img, .card-right img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 900px) {
  .carrusel-rect {
    width: 100%;
    height: auto;
    max-width: 400px;
    padding: 1rem;
  }
}

@media (max-width: 800px) {
  .selection {
    padding-top: 3rem;
  }
}

@media (max-width: 768px) {
  .center-img {
    max-width: 100%;
    max-height: 300px;
  }
}

@media (max-width: 600px) {
  .images-row {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .center-img {
    max-width: 200px;
    max-height: 250px;
    width: 100%;
    height: auto;
  }
  .carrusel-arrow {
    font-size: 1.5em;
    padding-left: 8px;
  }
  .noticias-container {
    width: auto !important;
    margin-top: 3rem;
  }
  .noticias-carrusel {
    max-width: 400px;
  }
  .noticias-row {
    width: auto !important;
  }
  .menu-overlay-header-row {
    padding: 25px 25px !important;
  }
  .menu-section{
    font-size: 1em;
  }
  .menu-section-img {
    height: 80px;
    max-width: 98vw;
  }
  .menu-close-label {
    font-size: 1rem;
  }
  .static-header {
        height: 150px;
        padding: 0 30px;
    }
       .logo-img
 {
        height: 80px;
        
    } 
    .logo-area{
      margin-top: 40px;
    }
     .cenefa-img-divider,
  .cenefa-divider .cenefa-img-divider {
    display: none !important;
  }
  /* Opcional: oculta el contenedor si solo tiene esa imagen */
  .cenefa-divider:has(.cenefa-img-divider) {
    display: none !important;
  }
  .footer__leaf{
    bottom: 24rem;
  }
  .footer__spinach{
    display: block!important;
  }
}


.cenefa-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -10px; /* Ajusta según el diseño */
  position: relative;
  z-index: 2;
  padding: 0 30px;
  margin-top: 3rem;
  margin-bottom: 4rem;
}
.cenefa-img-divider {
  width: 100%;
  max-width: 100vw;
  height: auto;
  display: block;
}


@media screen and (min-width: 1024px) {
  .footer__container {
    position: relative;
    grid-template-columns: repeat(2, max-content);
   justify-content: space-between;
   row-gap: 3rem ;
   margin-inline: auto;
   max-width: 1024px;
  }
  .grid{
    display: grid;
    gap: 1.5rem;
  }
  .container{
    margin-inline: auto;
    max-width: 1024px;
  }
  .footer__content{
    column-gap: 4rem;
    grid-template-columns: repeat(3, max-content) !important;
    gap: 2.5rem;
    display: grid;
  }
  .footer__title, .footer__link, .footer__information, .footer__description {
    font-size: var(--normal-font-size);
  }
  .footer{
    
    position: relative;
  }
  .footer__onion{
    top: 30.5rem;
    right: 11rem;
    
}
.footer__spinach{
    bottom: 15rem;
    left: 12rem;
    width: 75px;
    transform: scaleX(-1);
}
.footer__leaf{
    width: 100px;
    position: absolute;
    bottom: 34rem;
    right: 2rem;
}
.footer__title{
  margin-top: 0rem;
}
.cenefa-img-divider2,
  .cenefa-divider .cenefa-img-divider2 {
    display: none !important;
  }
  /* Opcional: oculta el contenedor si solo tiene esa imagen */
  .cenefa-divider:has(.cenefa-img-divider2) {
    display: none !important;
  }
  .menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: row!important;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateY(-100%);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
  transition: transform 0.45s cubic-bezier(.23,1,.32,1), box-shadow 0.45s cubic-bezier(.23,1,.32,1);
  will-change: transform;
  backface-visibility: hidden;
  overflow: hidden;
  flex-direction: column;
}

.menu-section:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  z-index: 2;
}

.menu-section.yellow {
  background: #fb5c76;
  color: #fff;
}

.menu-section.red {
  background: #ff9ca7;
}

.menu-section-img {
  display: block;
  margin-bottom: 18px;
  height: 190px;
  width: auto;
  border-radius: 18px;
  transition: filter 0.3s;
  cursor: pointer;
}

.menu-section:hover .menu-section-img {
  filter: drop-shadow(0 18px 12px rgba(0,0,0,0.25));
}

.menu-section-word {
  position: relative;
  display: inline-block;
  transition: color 0.2s;
  cursor: pointer;
}

.menu-section-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: scaleX(0);
}

.menu-section:hover .menu-section-word::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-img-overlay {
  height: 100px;
  width: auto;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-icon span {
  position: absolute;
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
}

.close-icon span:first-child {
  transform: rotate(45deg);
}

.close-icon span:last-child {
  transform: rotate(-45deg);
}

.menu-close-label {
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

.menu-icon.hide {
  display: none;
}

.menu-overlay-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 40px 84px;
  z-index: 1001;
  box-sizing: border-box;
  background-color: transparent;
  pointer-events: none; /* <-- Esto permite que los clics pasen a las opciones debajo */
}

.menu-close-row,
.menu-overlay-header {
  pointer-events: auto; /* <-- Esto permite que los botones dentro del header sí sean clickeables */
}
}


@media screen and (max-width: 1023px) {
  
  .cenefa-img-divider,
  .cenefa-divider .cenefa-img-divider {
    display: none !important;
  }
  /* Opcional: oculta el contenedor si solo tiene esa imagen */
  .cenefa-divider:has(.cenefa-img-divider) {
    display: none !important;
  }
  .container{
    min-height: 70vw;
  }
  .footer__spinach{
  display: none;
}
}

@media screen and (min-width: 601px) and (max-width: 1123px) {
     .footer__container {
        position: relative;
        grid-template-columns: repeat(2, max-content);
        justify-content: space-between;
        row-gap: 3rem;
        margin-inline: auto;
        max-width: 1024px;
    }
        .grid {
        display: grid;
        gap: 1.5rem;
    }
    .footer__content {
    grid-template-columns: repeat(3, max-content);
    gap: 2.5rem;
}
.footer {
    position: relative;
    margin: 2rem 5rem 7rem 5rem;
    overflow: hidden;
}
.footer__spinach{
  display: none;
}
.noticias-container{
  margin-top: 3rem;
}
}

@media screen and (min-width: 601px) and (max-width: 699px) {
     .footer__container {
        position: relative;
        grid-template-columns: repeat(2, max-content);
        justify-content: space-between;
        row-gap: 3rem;
        margin-inline: auto;
        max-width: 1024px;
    }
        .grid {
        display: grid;
        gap: 1.5rem;
    }
    .footer__content {
    grid-template-columns: repeat(3, max-content);
    gap: 2.5rem;
}
.footer {
    position: relative;
    margin: 2rem 2rem 7rem 2rem;
    overflow: hidden;
}
.footer__spinach{
  display: none;
}
.noticias-container{
  margin-top: 3rem;
}
}

@media (max-width: 1700px) {
    .menu-overlay {
        flex-direction: column;
        padding-bottom: env(safe-area-inset-bottom);
        -webkit-overflow-scrolling: touch;
    }
}
@media (max-width: 600px) {
    .menu-section-img {
        height: 70px !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 1200px) and (min-width: 601px) {
    .menu-section-img {
        height: 120px!important;
        max-width: 95vw;
    }
    
}

@media (max-width: 1200px) {
    .menu-section {
        font-size: 1.1em;
    }
}

@media (max-width: 800px) {
    .logo-img-overlay {
        height: 60px;
        width: auto;
    }
}

@media (max-width: 800px) {
    .menu-section {
        font-size: 1em;
        padding: 7px 0;
    }
}

@media (max-width: 1200px) {
    .menu-section {
        font-size: 1.1em;
    }
}


@media (max-width: 800px) {
    .menu-close-label
 {
        font-size: 1rem;
    }
}

/* Animación para la cenefa 2: fade in y slide desde la derecha */
@keyframes fadeInCenefa2 {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.cenefa-img-divider2 {
  opacity: 0;
  animation: fadeInCenefa2 1s ease forwards;
  animation-delay: 0.9s;
}

.cenefa-img-divider {
  opacity: 0;
  animation: fadeInCenefa2 1s ease forwards;
  animation-delay: 0.9s;
}

/* Animación para el footer: fade in desde abajo */
@keyframes fadeInFooter {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer {
  opacity: 0;
  animation: fadeInFooter 1s ease forwards;
  animation-delay: 0.7s;
}

/* ===================== DECORATIVE SHAPES ===================== */
.shape {
  position: absolute;
  z-index: 5;
  transition: all 0.3s ease;
}

.shape:hover {
  opacity: 1;
  transform: scale(1.1);
}

.shape img {
  width: 80px;
  height: auto;
  pointer-events: none;
}

/* Posiciones iniciales aleatorias para cada shape */
  .shapes-1 {
  top: 93%;
  left: 30%;
  transform: scalex(-1);
}
.shapes-1 img{
  width: 100px;
}

.shapes-2 {
  top: 100%;
  right: 20%;
}
.shapes-2 img{
  width: 100px;
}

.shapes-3 {
  top: 111%;
  left: 8%;
}
.shapes-3 img{
  width: 200px;
}


.shapes-4 {
  top: 126%;
  right: 5%;
  transform: scaleX(-1);
}

.shapes-4 img{
  width: 100px;
}


.shapes-5 {
  top: 128%;
  left: 79%;
}

.shapes-5 img{
  width: 200px;
}


/* Ocultar shapes en pantallas menores a 1200px */
@media screen and (max-width: 1199px) {
  .shape {
    display: none;
  }
}

/* Ocultar shapes en pantallas menores a 1200px */
@media screen and (max-width: 1824px) {
  .shapes-1 {
  top: 136%;
  left: 21%;
  transform: scalex(-1);
}
.shapes-1 img{
  width: 100px;
}

.shapes-2 {
  top: 139%;
  right: 20%;
}
.shapes-2 img{
  width: 100px;
}

.shapes-3 {
  top: 136%;
  left: 4%;
}
.shapes-3 img{
  width: 200px;
}


.shapes-4 {
  top: 167%;
  right: 5%;
  transform: scaleX(-1);
}

.shapes-4 img{
  width: 100px;
}


.shapes-5 {
  top: 175%;
  left: 79%;
  display: none;
}

.shapes-5 img{
  width: 200px;
}
}


/* ===================== CARRUSEL DE IMÁGENES ===================== */
.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(232, 90, 122, 0.2);
  background: #F48A9D;
  border: 5px solid #E85A7A;
}

.carousel-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(232, 90, 122, 0.9);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: rgba(232, 90, 122, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: 15px;
}

.carousel-btn-next {
  right: 15px;
}

/* Indicadores */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
  border-radius: 20px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.carousel-indicator.active {
  background: white;
  transform: scale(1.2);
  border-color: #E85A7A;
}


@media screen and (max-width: 768px) {

 /* Carrusel responsive */
  .carousel-container {
    height: 300px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
  
  .carousel-indicators {
    bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
/* Carrusel responsive móvil */
  .carousel-container {
    height: 250px;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .carousel-btn-prev {
    left: 5px;
  }
  
  .carousel-btn-next {
    right: 5px;
  }
  
  .carousel-indicator {
    width: 10px;
    height: 10px;
  }

}