/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem; /*56px*/

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --hue: 152;
  --first-color: #2A9C6E;
  --first-color-alt: #1c8a5e;
  --first-color-light: #348d69;
  --first-color-lighten:#348d69;
  --title-color: #0b1f16;
  --text-color: #555857;
  --text-color-light: #75a793;
  --body-color: #f4f8f6;
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --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 weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --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,
button,
input,
textarea{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body{
  margin: var(--header-height) 0 0 0;
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .4s; /*Para animación dark mode*/
}

button{
  cursor: pointer;
  border: none;
  outline: none;
}

h1,h2,h3{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/
body.dark-theme{
  --first-color-dark: #619681;
  --title-color: #f4f8f6;
  --text-color: #dee0df;
  --body-color: #091811;
  --container-color: #142e22 ;
}

/*========== Button Dark/Light ==========*/
.change-theme{
  color: var(--title-color);
  font-size: 1.15rem;
  cursor: pointer;
}

.nav__btns{
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
}

/*========== 
Color changes in some parts of 
the website, in dark theme 
==========*/

.dark-theme .steps__bg,
.dark-theme .questions{
  background-color: var(--first-color-dark);
}

.dark-theme .product__circle,
.dark-theme .footer__subscribe{
  background-color: var(--container-color);
}

.dark-theme .scroll-header{
  box-shadow: 0 1px 4px (var(--hue), 4%, 15%, .1);
}

.dark-theme .steps__card-description {
    color: #0b1f16;
}
.dark-theme .steps__card-title {
    color: #1c8a5e;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section{
  padding: 5.5rem 0 1rem;
}

.section__title,
.section__title-center{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  line-height: 140%;
}

.section__title-center{
  text-align: center;
}

.container{
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
}

.main{
  overflow: hidden; /*For animation*/
}

/*=============== HEADER ===============*/
.header{
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: .4s; /*For animation dark mode*/
}

/*=============== NAV ===============*/
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__close{
  color: var(--title-color);
}

.nav__logo{
  color: var(--title-color);
  font-weight: 700;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: center;
  column-gap: .4rem;
  transition: .3s;
}

.nav__logo-icon{
  width: 50px;
  font-size: 1rem;
  color: var(--first-color);
}

.nav__logo:hover{
  color: var(--first-color);
}

.nav__toggle{
  display: inline-flex;
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px){
  .nav__menu{
    position: fixed;
    background-color: var(--container-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px hsla(var(--first-color), 4%, 15%, .1);
    padding: 4rem 0 0 3rem;
    border-radius: 1rem 0 0 1rem;
    transition: .3s;
    z-index: var(--z-fixed);
  }
}

.nav__close{
  font-size: 1.5rem;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  cursor: pointer;
}

.nav__list{
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.nav__link{
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__link:hover{
  color: var(--first-color);
}

/* Show menu */
.show-menu{
  right: 0;
}

/* Change background header */
.scroll-header{
  box-shadow: 0 1px 4px hsla(var(--hue), 4%, 15%, .1);
}

/* Active link */
.active-link{
  position: relative;
  color: var(--first-color);
}

.active-link::after{
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--first-color);
}

/*=============== HOME ===============*/
.home{
  padding: 2.5rem 0 2rem;
}

.home__container{
  position: relative;
  row-gap: 3.5rem;
}

.home__img{
  width: 280px;
  justify-self: center;
}

.home__title{
  font-size: var(--big-font-size);
  line-height: 140%;
  margin-bottom: var(--mb-1);
}

.home__description{
  margin-bottom: var(--mb-2-5);
}

.home__social{
  position: absolute;
  top: 5rem;
  right: -1rem;
  display: grid;
  justify-items: center;
  row-gap: 3.5rem;
}

.home__social-follow{
  font-weight: var(--font-medium);
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  position: relative;
  transform: rotate(90deg);
  
}

.home__social-follow::after{
  content: '';
  position: absolute;
  width: 1rem;
  height: 2px;
  background-color: var(--first-color);
  right: -45%;
  top: 50%;
}

.home__social-links{
  display: inline-flex;
  flex-direction: column;
  row-gap: .25rem;
}

.home__social-link{
  font-size: 1rem;
  color: var(--first-color);
  transition: .3s;
}

.home__social-link:hover{
  transform: translateX(.25rem);
}

/*=============== BUTTONS ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button__icon_info{
  font-size: 1rem;  
}

.button__icon, .button__icon_info{
  transition: .3s;
}

.button:hover .button__icon {
  transform: translateX(.25rem);
}

.button__icon_info:hover{
  color: var(--title-color);
}

.button--flex{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}
.formWhatsApp{
  font-size: 3rem;
  color: #FFF;
}

.button--link {
  color: var(--first-color-alt);
  font-weight: var(--font-medium);
  transition: .3s;
}

.button--link h3 {
  color: var(--first-color-alt);
  transition: .3s;
}
.button--link h3:hover{
  color: var(--title-color);
}

.dark-theme .button--link h3 {
  color: var(--text-color);
}

.dark-theme .button--link h3:hover {
  color: var(--first-color-alt);
}

.button--link:hover .button__icon{
  transform: translateX(.25rem);
  color: var(--first-color-alt);
}



/*=============== ABOUT ===============*/

.about__container{
  row-gap: 2rem;
}

.about__img{
  width: 300px;
  justify-self: center;
  mask-image: linear-gradient(to bottom, var(--first-color) 75%, transparent 100%);
  border-top-right-radius: 2rem;
}

.about__title{
  margin-bottom: var(--mb-1);
}

.about__description{
  margin-bottom: var(--mb-2);
}

.about__details{
  display: grid;
  row-gap: 1rem;
  margin-bottom: var(--mb-2-5);
}

.about__details-description{
  display: inline-flex;
  column-gap: .5rem;
  font-size: var(--small-font-size);
}

.about__details-icon{
  font-size: 1rem;
  color: var(--first-color);
  margin-top: .15rem;
}

.conectate{
  margin-bottom: var(--mb-2-5);
}

/*=============== STEPS ===============*/
.steps__bg{
  background-color: var(--first-color);
  padding: 3rem 2rem 2rem;
  border-radius: 1rem;
}

.steps__container{
  gap: 2rem;
  padding-top: 1rem;
}

.steps__title{
  color: #FFF;
}

.steps__card{
  background-color: var(--container-color);
  padding: 2.5rem 3rem 2rem 1.5rem;
  border-radius: 1rem;
}

#steps__card-1{
  background-image: url(../img/fondoTto.png);
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: center;
  background-size: cover;
}

#steps__card-2{
  background-image: url(../img/fondoTto.png);
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: center;
  background-size: cover;
}

#steps__card-3{
  background-image: url(../img/fondoTto.png);
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: right;
  background-size: cover;
}

.dark-theme #steps__card-1{
  background-image: url(../img/fondoTto-dark.png);
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: center;
  background-size: cover;
}

.dark-theme #steps__card-2{
  background-image: url(../img/fondoTto-dark.png);
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: center;
  background-size: cover;
}

.dark-theme #steps__card-3{
  background-image: url(../img/fondoTto-dark.png);
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: right;
  background-size: cover;
}

.steps__card-number{
  display: inline-block;
  background-color: var(--first-color-alt);
  color: #FFF;
  padding: .5rem .75rem;
  border-radius: .25rem;
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1-5);
  transition: .3s;
}

.steps__card-title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}


.steps__card-description{
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-75);
  padding: .5rem;
  backdrop-filter: blur(1px);
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--text-color);
  border-radius: .5rem;
}




.steps__card:hover .steps__card-number{
  transform: translateY(-.25rem);
}

/*=============== PRODUCTS ===============*/
.product__description{
  text-align: center;
}

.product__container{
  padding: 3rem 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.product__card{
  display: grid;
  position: relative;
  border-radius: .5rem; 
  padding: .2rem;
  transition: .3s;  
}

.product__img{
  position: relative;
  width: 120px;
  justify-self: center;
  margin-bottom: var(--mb-0-75);
  transition: .3s;
}


.product__price{
  /* font-size: var(--h3-font-size); */
  /* font-weight: var(--font-semi-bold); */
  color: var(--title-color);  
  margin-bottom: 2rem;
}

.product__title{
  font-size: var(--h3-font-size); 
  font-weight: var(--font-semi-bold);
  color: var(--title-color);  
}

.product__button{
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--first-color);
  color: #FFF;
  padding: .25rem;
  border-radius: .35rem;
  font-size: 1.15rem;
}

.product__button:hover{
  background-color: var(--first-color-alt);
}

.product__circle{
  width: 90px;
  height: 90px;
  background-color: var(--first-color-lighten);
  border-radius: 50%;
  position: absolute;
  top: 18%;
  left: 5%;
}

.product__card:hover .product__img{
  transform: translateY(-.5rem);
}

/*=============== QUESTIONS ===============*/
.questions{
  background-color: var(--first-color-lighten);
}

.questions__container{
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.questions__group{
  display: grid;
  row-gap: 1.5rem;
}

.questions__item{
  background-color: var(--container-color);
  border-radius: .25rem;
}

.questions__item-title{
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.questions__icon{
  font-size: 1.25rem;
  color: var(--title-color);
}

.questions__description{
  font-size: var(--smaller-font-size);
  padding: 0 1.25rem 1.25rem 2.5rem;
}

.questions__header{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  padding: .75rem .5rem;
  cursor: pointer;
}

.questions__content{
  overflow: hidden;
  height: 0;
}

.questions__item,
.questions__header,
.questions__item-title,
.questions__icon,
.questions__description,
.questions__content{
  transition: .3s;
}

.questions__item:hover{
  box-shadow: 0 2px 8px hsla(var(--hue), 4%, 15%, .15);
}

/*Rotate icon, change color of titles and background*/
.accordion-open .questions__header,
.accordion-open .questions__content{
  background-color: var(--first-color);
}

.accordion-open .questions__item-title,
.accordion-open .questions__description,
.accordion-open .questions__icon{
  color: #FFF;
}

.accordion-open .questions__icon{
  transform: rotate(45deg);
}

/*=============== CONTACT ===============*/
.contact__container{
  row-gap: 3.5rem;
}

.contact__data{
  display: grid;
  row-gap: 2rem;
}

.contact__subtitle{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  margin-bottom: var(--mb-0-5);
}

.contact__description{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.contact__icon{
  font-size: 1.25rem;
}

.contact__inputs{
  display: grid;
  row-gap: 2rem;
  margin-bottom: var(--mb-2-5);
}

.contact__content{
  position: relative;
  height: 3rem;
  border-bottom: 1px solid var(--text-color-light);
}

.contact__input{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 1rem 0;
  background: none;

  color: var(--text-color);

  
  border: none;
  outline: none;
  z-index: 1;
}

.contact__label{
  position: absolute;
  top: .75rem;
  width: 100%;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  transition: .3s;
}

.contact__area{
  height: 7rem;
}

.contact__area textarea{
  resize: none;
}

.contact__map{
  color: var(--first-color);
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  margin-top: .5rem;
  font-size: 1rem;
}
/*Input focus move up label*/
.contact__input:focus + .contact__label{
  top: -.75rem;
  left: 0;
  font-size: var(--smaller-font-size);
  z-index: 10;
}

/*Input focus sticky top label*/
.contact__input:not(:placeholder-shown).contact__input:not(:focus) + .contact__label{
  top: -.75rem;
  font-size: var(--smaller-font-size);
  z-index: 10;
}

/*=============== FOOTER ===============*/
.footer__container{
  row-gap: 3rem;
}

.footer__logo{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: var(--mb-2-5);
  transition: .3s;
}

.footer__logo-icon{
  font-size: 1.15rem;
  color: var(--first-color);
}

.footer__logo:hover{
  color: var(--first-color);
}

.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
}

.footer__subscribe{
  background-color: var(--first-color-lighten);
  padding: .75rem;
  display: flex;
  justify-content: space-between;
  border-radius: .5rem;
}

.footer__input{
  width: 70%;
  padding: 0 .5rem;
  background: none;
  color: var(--text-color);
  border: none;
  outline: none;
}
.footer__input::placeholder{
  color: var(--text-color-light);
}

.footer__button{
  padding: 1rem;
}

.footer__data{
  display: grid;
  row-gap: .75rem;
}

.footer__information{
  font-size: var(--small-font-size);
}

.footer__social{
  display: inline-flex;
  column-gap: .75rem;
}

.footer__social-link{
  font-size: 1rem;
  color: var(--text-color);
  transition: .3s;
}

.footer__social-link:hover{
  transform: translateY(-.25rem);
}

.footer__cards{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}
.footer__card{
  width: 35px;
}

.footer__copy{
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--first-color);
  margin: 5rem 0 1rem;
}
.footer__copy a{
  color: var(--first-color);
  font-weight: var(--font-medium);
  transition: .3s;  
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  background-color: var(--first-color);
  right: 1rem;
  bottom: -30%;
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: .4s;
}

.scrollup__icon{
  font-size: 1rem;
  color: #FFF;
}

.scrollup:hover{
  background-color: var(--first-color-alt);
  opacity: 1;
}

/* Show Scroll Up*/
.show-scroll{
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background: hsl(var(--hue), 4%, 53%);
}

::-webkit-scrollbar-thumb{
  background: hsl(var(--hue), 4%, 29%);
  border-radius: .5rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__img{
    width: 280px;
    border-radius: 50%;
    /* position: relative;
    top: -1rem; */
  }
  .home__title{
    font-size: var(--h1-font-size);
  }

  .steps__bg{
    padding: 2rem 1rem;
  }
  .steps__card{
    padding: 1.5rem;
  }

  .product__container{
    grid-template-columns: .6fr;
    justify-content: center;
  }
}

/* For medium devices */
@media screen and (min-width: 576px){
  .steps__container{
    grid-template-columns: repeat(2, 1fr);
  }

  .product__description{
    padding: 0 4rem;
  }
  .product__container{
    grid-template-columns: repeat(2, 170px);
    justify-content: center;
    column-gap: 5rem;
  }

  .footer__subscribe{
    width: 400px;
  }
}

@media screen and (min-width: 767px){
  body{
    margin: 0;
  }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 3rem;
  }
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__menu{
    margin-left: auto;
  }

  .home__container,
  .about__container,
  .questions__container,
  .contact__container,
  .footer__container{
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home{
    padding: 7rem 0 5rem;
  }
  .home__container{
    align-items: center;
  }
  .home__img{
    width: 280px;
    order: 1;
    border-radius: 50%;
  }
  .home__social{
    top: 30%;
  }

  .questions__container{
    align-items: flex-start;
  }

  .footer__container{
    column-gap: 3rem;
  }
  .footer__subscribe{
    width: initial;
  }
}

/* For large devices */
@media screen and (min-width: 992px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .section{
    padding: 8rem 0 1rem;
  }
  .section__title,
  .section__title-center{
    font-size: var(--h1-font-size);
  }

  .home{
    padding: 9rem 0 5rem;
  }
  .home__img{
    width: 380px;
  }
  .home__description{
    padding-right: 7rem;
  }

  .about__img{
    width: 400px;
  }

  .steps__container{
    grid-template-columns: repeat(3, 1fr);
  }
  .steps__bg{
    padding: 3.5rem 2.5rem;
  }
  .steps__card-title{
    font-size: var(--normal-font-size);
  }

  .product__description{
    padding: 0 16rem;
  }
  .product__container{
    padding: 4rem 0;
    grid-template-columns: repeat(3, 185px);
    gap: 4rem 6rem;
  }
  .product__img{
    width: 160px;
  }
  .product__circle{
    width: 110px;
    height: 110px;
  }
  .questions__container{
    padding: 1rem 0 4rem;
  }
  .questions__title{
    text-align: initial;
  }
  .questions__group{
    row-gap: 2rem;
  }
  .questions__header{
    padding: 1rem;
  }
  .questions__description{
    padding: 0 3.5rem 2.25rem 2.75rem;
  }

  .footer__logo{
    font-size: var(--h3-font-size);
  }
  .footer__container{
    grid-template-columns: 1fr .5fr .5fr .5fr;
  }
  .footer__copy{
    margin: 5rem 0 1rem;
  }
  .custom-modal-content {
    margin: auto;
  }
}

@media screen and (min-width: 1200px){
  .home__social{
    right: -3rem;
    row-gap: 4.5rem;
  }
  .home__social-follow{
    font-size: var(--small-font-size);
  }
  .home__social-follow::after{
    width: 1.5rem;
    right: -60%;
  }
  .home__social-link{
    font-size: 1.15rem;
  }

  .about__container{
    column-gap: 7rem;
    margin-bottom: 2rem;
  }

  .scrollup{
    right: 3rem;
  }

  .custom-modal-content {
    margin: auto;
  }
    
}

/*=============== MODAL ===============*/
  .modal,
  .modal--banner {
    display: none;
    position: fixed;
    z-index: 999;
    opacity: 0;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
    color: #333;
  }

  .modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .modal.show,
  .modal--banner.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .modal--banner {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: var(--container-color, #f5f5f5);
    color: var(--text-color, #333);
    padding: 16px 24px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
    text-align: center;
  }

  .modal--banner.show {
    transform: translateX(-50%) scale(1);
  }

  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 998;
  }

  .modal-overlay.show {
    display: flex;
  }

  .modal__content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 420px;
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
  }

  .modal-overlay.show .modal__content {
    transform: scale(1);
    opacity: 1;
  }

  .modal__content h2 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--first-color-alt, #007BFF);
  }

  .modal__content p {
    margin-bottom: .5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color:#091811 ;
  }

  .modal__button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .modal__button:hover {
    background-color: #0056b3;
  }

  .modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .modal__close:hover {
    color: #333;
  }

  /* Backdrop */
  .custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
  }

  /* Contenido del modal */
  .custom-modal-content {
    background-color: #e6fbf3;
    margin: 4% auto;
    padding: 5px;
    border-radius: 10px;
    width: 95%;
    max-width:410px;
    text-align: center;
    position: relative;
  }

  /* Imagen */
  .custom-img {
    max-height: 400px;
    width: 100%;
    object-fit: scale-down;
    border-radius: 8px;
    margin-bottom: 5px;
  }

  /* Botón */
  .custom-button {
    display: inline-block;
    background-color: #113e2cd9;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  /* Cierre */
  .custom-close {
    position: absolute;
    top: 4px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
  }

  @media screen and (max-width: 480px) {
    .modal__content {
      max-width: 90%;
      padding: 16px 20px;
      font-size: 0.95rem;
    }
    .custom-modal-content {
    margin: 17% auto;
    } 

    .modal__button {
      width: 100%;
      padding: 10px;
      font-size: 0.95rem;
    }

    .modal--banner {
      padding: 12px 16px;
      font-size: 0.9rem;
    }
  }

  .footer__link, .footer__link a {
    text-align: center;
    background: none;
    border: none;
    color: var(--text-color-light, #2A9C6E);
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
  }
  .footer__link:hover {
    color: var(--first-color-alt, #2A9C6E);
    text-decoration: underline;
  }
  .footer__link a:hover {
    color: var(--first-color-alt, #2A9C6E);
    text-decoration: underline;
  }

  .swiper-slide {
  margin-top: 2rem;
  text-align: center;
  background-color: transparent;
  color: var(--text);
  padding: 1rem;
  border-radius: 10px;
}
.swiper-slide img {
  max-width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
}
.btn-wsp {
  display: block;
  max-width: 200px;
  justify-self: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: #e4ebe8;
  color:var(--title-color);
  border-radius: 5px;
  text-decoration: none;
}
.btn-wsp:hover {
  background-color: var(--title-color);
  color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
  color:var(--title-color)!important;
  font-size: 3.5rem;
}

.swiper-pagination-bullet {
  background:var(--title-color)!important;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.dark-theme .swiper-pagination-bullet {
  background: #e4ebe8;
}
.dark-theme .btn-wsp {
  background-color: var(--first-color-light);
  color: #f4f8f6;
}
.dark-theme .btn-wsp:hover {
  background-color: #f4f8f6;
  color: var(--first-color);
}
.info-trigger{
  cursor: pointer;
}

.obras-sociales {
  padding: 20px 10px 20px 25px;
  background-color: #f4f8f6f1;
  text-align: center;
}

.obras-sociales h2 {
  padding-top: 20px;
  color: #091811;
}

.carrusel-logos {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.carrusel-track {
  display: flex;
  gap: 40px;
  animation: scrollLogos 15s linear infinite;
  animation-play-state: running;
  transition: transform 0.3s ease;
}

.carrusel-logos:hover .carrusel-track {
  animation-play-state: paused;
}


.carrusel-track img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.carrusel-track img:hover {
  filter: grayscale(0%);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .carrusel-track {
    gap: 20px;
  }

  .carrusel-track img {
    height: 48px;
  }
}

@media (max-width: 480px) {
  .carrusel-track {
    gap: 10px;
  }

  .carrusel-track img {
    height: 60px;
  }
}
video{
  max-width: 90vh;
  max-height: 90vh;
}
.video-gallery {
  padding: 20px;
}

.video-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
}

.video-thumbnail {
  min-width: 200px;
  cursor: pointer;
  text-align: center;
  margin-bottom: 20px;
}

.video-thumbnail img {
  width: 100%;
  max-height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  background: #ffffff73;
  padding: 5px;
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.video-modal-content video,
.video-modal-content iframe {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.video-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
}

.share-buttons {
  margin-top: -5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  position: absolute;
  top: 1rem;
  color: black;
  right: 50%;
  transform: translateX(50%) ;
  background-color: #ffffff94;
  padding: 0 0.5rem;
  border-radius: 5%;
}

.share-buttons a {
  color: var(--container-color);
  text-decoration: none;
  font-size: 22px;
  transition: color 0.3s;
}

.share-buttons a:hover {
  color: var(--first-color);
}