:root{
    --primary-font: "DM Sans", sans-serif;
    --arcilla: #A65007;
    --arcilla__hover: #F58220;
    --white: #F6F6F6;
    --grey: #EDEDED;
    --grey-2: #D4D4D4;
    --grey-3: #D9D9D9;
    --grey-4: #E9E9E9;
    --dark-1: #262626;
    --dark-2: #263F4A;
    --dark-3: #452103;
    --skyblue: #C2D7E0;
    --skyblue-2: #E4EDF1;
    --dustyblue: #7EA9BD;
    --steelblue: #48788E;
    --pageWidth: 1230px;
    --fz-display-xxl: 96px;
    --fz-display-xl: 80px;
    --fz-display-lg: 72px;
    --fz-display-md: 64px; /* 48px; */
    --fz-display-md10: 56px; 
    --fz-display-md20: 48px;
    --fz-display-sm: 36px;
    --fz-heading-xl: 40px;
    --fz-heading-lg: 32px;
    --fz-heading-md: 24px;
    --fz-body-lg: 20px;
    --fz-body-md: 16px;
    --fz-body-sm: 14px;
}
/*
@view-transition {
  navigation: auto;
}

::view-transition-group(*) {
  animation-duration: 1s;
}
*/
/*
::view-transition-new(root) {
  animation: 500ms ease-out both fade-in-scale-up;
}

::view-transition-old(root) {
  animation: 500ms ease-in both fade-out-scale-down;
}
*/
/*
::view-transition-new(hero-img),
::view-transition-new(hero-text),
::view-transition-new(h1) {
  animation: 500ms ease-out both fade-in-scale-up;
}

::view-transition-old(hero-img),
::view-transition-old(hero-text),
::view-transition-old(h1) {
  animation: 500ms ease-in both fade-out-scale-down;
}
*/

@keyframes fade-in-scale-up {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fade-out-scale-down {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}


*{
  box-sizing: border-box;
  font-family: inherit;
}

body{
  background-color: var(--white);
  margin: 0;
  font-family: var(--primary-font);
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

section{
  overflow: hidden;
}

h1, h2, h3, h4, h5{
  margin: 0;
}

img{
  max-width: 100%;
}

a{
  text-decoration: none;
  color: inherit;
}

.gradient{
  background: linear-gradient(180deg, #F6F6F6 0%,  #D4D4D4 100%);
}

/* utilities colors  */

.bgc-00{
  background-color: var(--skyblue-2); /* #C2D7E0 */
}

.bgc-01{
  background-color: var(--skyblue); /* #C2D7E0 */
}

.bgc-02{
  background-color: var(--dark-2); /* #263F4A */
}

.bgc-03{
  background-color: var(--grey);
}

.bgc-04{
  background-color: var(--dustyblue); /* #263F4A */
}

.bgc-05{
  background-color: var(--steelblue); /* #263F4A */
}

.bgc-06{
  background-color: #FCFCFC;
}

.bgc-07{
  background-color: var(--white);
}

.bgc-08{
  background-color: var(--grey-3);
}

.bgc-09{
  background-color: var(--grey-4);
}

.color-00{
  color: var(--dark-1);
}

.color-01{
  color: var(--skyblue); /* #C2D7E0 */
}

.color-02{
  color: var(--dark-2);
}

.color-03{
  color: var(--grey);
}

.color-05{
  color: var(--steelblue);
}

.color-07{
  color: var(--white);
}
.color-08{
  color: var(--arcilla__hover);
}

.color-09{
  color: var(--dark-3);
}
/* utilities weights */
.fw-700{
  font-weight: 700;
}

.fw-500{
  font-weight: 500;
}


/* utilities spacings */

.m-0{
  margin: 0 !important;
}
.px-xxxl{
  padding-left: 25px;
  padding-right: 25px;
  @media (width > 768px){
    padding-left: 50px;
    padding-right: 50px;
  }
  @media (width > 1024px){
    padding-left: 150px;
    padding-right: 150px;
  }
}

.py-xxl{
  padding-top: 40px;
  padding-bottom: 40px;
  @media (width > 1024px){
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.pb-xxl{
  padding-bottom: 120px;
}

.py-xl{
  padding-top: 32px;
  padding-bottom: 32px;
  @media (width > 1024px){
  padding-top: 96px;
  padding-bottom: 96px;
  }
}

.pt-xl{
  padding-top: 96px;
}

.py-xl2{
  padding-top: 80px;
  padding-bottom: 80px;
}



.py-lg{
  padding-top: 44px;
  padding-bottom: 44px;
}

.pt-lg{
  padding-top: 44px;
}

.py-md{
  padding-top: 34px;
  padding-bottom: 34px;
}

.my-xl{
  padding-top: 48px;
  padding-bottom: 48px;
}

.mt-lg{
  margin-top: 15px;
  @media (width > 768px) {
    margin-top: 40px;
  }
}

.mt-xl{
  margin-top: 48px;
}

.mb-md{
  margin-bottom: 24px;
}

.my-md{
  margin-top: 24px;
  margin-bottom: 24px;
}

.my-sm{
  margin-top: 20px;
  margin-bottom: 20px;
}

.mb-lg{
  margin-bottom: 40px;
}


.mb-xxl{
  margin-bottom: 120px;
}

.mb-sm{
  margin-bottom: 16px;
}

/* utilities align */

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

/* utilities font size */

.display-1{
  font-size: calc(var(--fz-display-xxl) * 0.6);
  line-height: 1.083;
  @media (width > 1024px){
    font-size: var(--fz-display-xxl);
    
  }
}

.display-2{
  font-size: calc(var(--fz-display-xl) * 0.6);
  line-height: 1.2;
  @media (width > 1024px){
    font-size: var(--fz-display-xl);
    
  }
}

.display-3{
  font-size: calc(var(--fz-display-lg) * 0.6);
  line-height: 1;
  @media (width > 1024px){
    font-size: var(--fz-display-lg);
    line-height: 1.11111;
  }
}

.display-4{
  font-size: calc(var(--fz-display-md) * 0.6);
  line-height: 0.875;
  @media (width > 1024px){
    font-size: var(--fz-display-md);
  }
}

.display-5{
  font-size: calc(var(--fz-display-md10) * 0.6);
  line-height: 1;
  @media (width > 1024px){
    font-size: var(--fz-display-md10);
  }
}

.display-6{
  font-size: calc(var(--fz-display-md20) * 0.6);
  line-height: 1.16666;
  @media (width > 1024px){
    font-size: var(--fz-display-md20);
  }
}

.display-7{
  font-size: calc(var(--fz-display-sm) * 0.6);
  line-height: 1.3333;
  @media (width > 1024px){
    font-size: var(--fz-display-sm);
  }
}

.heading-1{
  font-size: calc(var(--fz-heading-xl) * 0.8);
  line-height: 1.2;
  @media (width > 1024px){
    font-size: var(--fz-heading-xl);
  }
}

.heading-2{
  font-size: calc(var(--fz-heading-lg) * 0.8);
  line-height: 1.25;
  @media (width > 1024px){
    font-size: var(--fz-heading-lg);
  }
}

.heading-3{
  font-size: calc(var(--fz-heading-md) * 0.75);
  line-height: 1.3333;
  @media (width > 1024px){
    font-size: var(--fz-heading-md);
  }
}

.body-1{
  font-size: calc(var(--fz-body-lg) * 0.8);
  line-height: 1.4;
  @media (width > 1024px){
    font-size: var(--fz-body-lg);
  }
}

.body-2{
  font-size: var(--fz-body-md);
  line-height: 1.5;
}

.body-3{
  font-size: var(--fz-body-sm);
}


.home .header{
  /* top: 58px; */
}
.header{
    position: absolute;
    z-index: 1000;
    top: 32px;
    width: 100%;

    &.fixed{
      position: fixed;
      top: 16px;
    }
    .header__container{
      background-color: var(--white);
      border-radius: 50px;
      padding: 5px 40px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.529);
      
      @media (width < 1200px){
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
        padding-left: 15px;
        padding-right: 15px;
      }
      @media (width < 1024px) {
        display: flex;
      }
    }
    img{
        display: block;
    }
    .menu{
      display: flex;
      justify-content: space-between;
      align-items: center;
      @media (width < 1024px) {
        width: 100%;
      }
    }
    .menu__list{
      padding: 0;
      margin: 0;
      list-style: none;
      display: flex;
      align-items: center;
      flex-grow: 1;
      gap: 20px;

      @media (width >= 1024px){
        gap: 0;
        li:first-child{
          margin-left: auto;
        }
        li:not(:last-child){
          margin-right: 30px;
        }
        li:nth-last-child(2){
          margin-right: auto;
        }
      }

      @media (width < 1024px){
        /*display: flex; /* Mantiene flexbox para alinear los elementos */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Posiciona el menú debajo del header */
        right: 15px;
        width: 260px;
        padding: 20px;
        background-color: var(--white);
        border-radius: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(70%);
        opacity: 0;
        transition: all 0.4s ease-in-out;
        pointer-events: none;
        &.active {
          transform: translateY(0);
          opacity: 1;
          pointer-events: initial;
        }
      }

      svg{
        width: 18px;
        height: auto;
      }
      a:not(.cta){
        text-decoration: none;
        font-weight: 700;
        color: var(--dark-1);
        padding: 4px 20px;
        border-radius: 20px;
        transition: background 300ms;
        &:hover{
          background-color: #D4D4D4;
        }
      }
      .current-menu-item:not(:last-child){
        a{
          background-color: #D4D4D4;
        }
      }

    }

    .burger-button {
      display: none;
      @media (width < 1024px) {
        margin: 0 15px;
        display: block;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 1001; /* Asegura que esté encima del menú */

        /* */
        &.active{
          .burger-line:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
          }
          .burger-line:nth-child(2) {
            opacity: 0; /* La línea del medio se oculta */
          }
          .burger-line:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
          }
        }


        /* */
      }
      .burger-line {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--dark-1);
        margin: 5px 0;
        transition: all 0.3s ease;
      }
      /**/
    }
    

}


.container{
    width: var(--pageWidth);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;

    &.container--two-cols{
        display: grid;
        gap: 30px;
        @media (width > 768px) {
          grid-template-columns: repeat(2, 1fr);
          gap: 60px;
        }
        @media (width > 1280px) {
          gap: 100px;
        }
    }
}

.cta{
  font-size: var(--fz-body-lg);
  line-height: 1;
  padding: 10px 32px;
  background-color: var(--arcilla);
  color: var(--white);
  border-radius: 30px !important;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 300ms;
  border: none;
  cursor: pointer;
  justify-content: center;
  @media (width > 768px){
    line-height: 1.4;
  }
  &.cta--full{
    width: 100%;
  }
  &::after{
    content: url(images/icon-arrow-right-cta.svg);
  }
  &:hover{
    background-color: var(--arcilla__hover);
  }
  &[type="submit"]{
      background-image: url(images/icon-arrow-right-cta.svg);
      background-repeat: no-repeat;
      background-position: calc(50% + 52px) center;
  }
}

.hero{
  position: relative;
  color: var(--white);
  background-image: linear-gradient(90deg,#E39037, #e49038, #f6d5b2,  #E9A864);
  padding: 152px 0 64px;
  @media (width > 1024px){
    height: 720px;
  }
  @media (width < 1024px){
    padding: 110px 0 30px;
  }
  &::before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 50%;
    height: 100%;
    background-image: url(images/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    translate: -50% 0;
    width: 1300px;
    mix-blend-mode: lighten;
    @media (width < 2300px){
      width: 80%;
    }
    @media (width < 1700px){
      width: 100%;
      mix-blend-mode: normal;
    }
  }
  .hero__row{
    gap: 32px;
  }
  &.hero--inner{
    padding: 150px 0 64px;

    @media (width > 1024px){
      padding: 100px 0 64px;
      height: 560px;
    }
    .swiper-slide{
      &::before{
        /* content: none; */
      }
    }
  }
  .hero__media{
    position: relative;
    img{
      height: auto;
    }
  }
  .hero__header{
    position: relative;
    /* padding-top: 152px; */

    h1{
      margin: 0;
    }
    h2{
      margin: 0;
    }
  }
  .hero__cta{
    text-align: center;
  }
  .swiper{
    height: 100%;
    width: 100%;
  }
  .swiper-slide{
    height: 100%;
    background-size: cover;
    &::before{
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgb(0 0 0 / 0.5);
    }
  }
  .display-7{
    @media (width < 1024px){
      font-size: calc(var(--fz-display-md20) * 0.6);
      line-height: 1.16666;
    }
  }
}

.footer{
  border-radius: 40px 40px 0 0;
  color: var(--white);
  padding-top: 80px;
  padding-bottom: 16px;
  background-size: auto 100%;
  background-position: right top;
  background-repeat: no-repeat;
  @media (width > 1260px){
    background-image: url(images/logo-footer.png);
  }
  .socials{
    display: flex;
    gap: 12px;
    padding: 0;
    list-style: none;
    margin: 0;
    a{
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--white);
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--dark-2);
      text-decoration: none;
      font-size: 24px;
      @media (width > 1024px){
        width: 76px;
        height: 76px;
        font-size: 40px;
      }
    }
  }
  address{
    margin-top: 50px;
    font-style: normal;
    @media (width > 1260px){
      margin-top: 216px;
    }
    h2{
      margin: 0;
    }
   
  }
  .footer__row{
    display: grid;
    @media (width > 1024px){
      grid-template-columns: repeat(2, 1fr);
    } 
    /* margin-bottom: 40px; */
  }
  img{
    display: block;
  }
}

.pillow{
  display: grid;
  border-radius: 32px;
  padding: 16px;
  row-gap: 30px;
  text-align: center;
  align-items: center;
  img{
    display: block;
    margin: 0 auto;
  }
  @media (width > 768px){
    grid-template-columns: 1fr auto;
    column-gap: 38px;
  }
  @media (width > 1024px){
    grid-template-columns: auto auto; 
    column-gap: 38px;
    padding: 34px 119px;
  }
  &.pillow--link{
    text-decoration: none;
    padding: 22px 40px;
    color: inherit;
    transition: background-color 300ms;
    &:hover{
      background-color: var(--dustyblue);
    }
    @media (width > 1024px){
      text-align: left;
    }
  }
  p{
    margin: 0;
    @media (width > 768px){
      grid-column: 2/3;
    }
  }
}

.row{
  display: grid;
  gap: 10px;

  @media (width > 768px){
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
  }

  &.row--align-center{
    align-items: center;
  }

  &.row--inverted{
    .row__media{
      order: -1;
    }
  }
  /*
  .row__media{
    width: 60%;
  }
  .row__text{
    width: 40%;
  }
  */
}

.zigzag-rows{
  display: grid;
  gap: 72px;
  .row:nth-child(odd){
    @media (width > 768px){
      .row__media{
        order: -1;
      }
    }
  }
}

.featured-list{
  display: grid;
  grid-template-columns: 1fr 1.29fr;
  grid-template-rows: auto auto auto;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px;
  @media (width > 768px){
    gap: 32px;
  }
  li{
    &:nth-child(1){
      img{
        aspect-ratio: 1.4/1;
      }
    }
    &:nth-child(2){
      grid-row: 1 / 3;
      grid-column: 2 / 3;
      img{
        aspect-ratio: 1.2/1;
      }
    }
    &:nth-child(3){
      grid-row: 2 / 4;
      img{
        aspect-ratio: 1/1;
      }
    }
    &:nth-child(4){
      grid-row: 3 / 4;
      grid-column: 2 / 3;
      img{
        aspect-ratio: 1.6/1;
      }
    }
  }
  
}

.works-list{
  display: grid;
  padding: 0;
  margin: 60px 0;
  list-style: none;
  gap: 32px;
  @media (width > 768px){
    grid-template-columns: repeat(2, 1fr);
  }
  .works-list__item{
    display: block;
    aspect-ratio: 1 / 1;
    position: relative;

    @media (width > 768px){
      aspect-ratio: auto;
      height: 410px;
    }
    @media (width > 1024px){
      &:hover{
        .works-list__item__overlay{
          opacity: 1;
          scale: 1;
        }
      }
    }
  }
  .works-list__item__overlay{
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(0 0 0 / 0.5);
    
    transition: opacity 300ms, scale 300ms;

    @media (width > 1024px){
      opacity: 0;
      scale: 1.2;
    }
    h3{
      margin-bottom: 16px;
    }
    h4{

    }
    p{
      margin-top: 0;
    }
  }
  .works-list__item__link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--white);
    img{
      width: 24.37px;
    }
    &:hover{
      background-color: var(--grey-2);
      img{
        filter: brightness(10);
      }
    }
  }
}

.stats{
  .stats-list{  
    padding: 0;
    margin: 32px 0 0;
    list-style: none;
    
    /* overflow: auto; */
    @media (width > 768px){
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    li{
      background-color: var(--white);
      padding: 24px 70px;
      border-radius: 32px;
      /* min-width: 300px; */
      @media (width > 768px){
        padding: 24px 40px;
      }
      p{
        margin-bottom: 0;
      }
    }
  }

  [class*="swiper-button"]{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    transition: opacity 300ms, background 300ms;
    translate: 0 16px;
    @media (width > 768px){
      display: none;
    }
    &::after{
      line-height: 0;
    }
    &.swiper-button-disabled{
      opacity: 0;
    }
    &:hover{
      background-color: #D4D4D4;
      &::after{
        filter: brightness(10)
      }
    }
  }
  .swiper-button-prev{
    &::after{
      content: url(images/icon-arrow-left.svg);
      scale: 0.8;
    }
  }
  .swiper-button-next{
    &::after{
      content: url(images/icon-arrow-right.svg);
      scale: 0.8;
    }
  }

}


.image-fx{
  border-radius: 20px;
  overflow: hidden;
  display: block;
  &.image-fx--corners-right{
    border-radius: 0 20px 20px 0;
  }
  &:hover{
    img{
      scale: 1.2;
    }
  }
  &.image-fx--sm{
    img{
      scale: 0.9;
    }
    &:hover{
      img{
        scale: 0.95;
      }
    }
  }
  > img{
    display: block;
    width: 100%;
    transition: scale 400ms ease-in-out;
    height: 100%;
    object-fit: cover;
  }
}

.cards{
  .swiper-slide{
    border-radius: 32px;
    background-color: var(--dustyblue);
    color: var(--white);
    padding-top: 30px;
    aspect-ratio: 1 / 1;
    @media (width > 768px){
      padding-top: 100px;
      aspect-ratio: auto;
    }
    img{
      display: block;
      margin: 0 auto;
      width: 80%;
    }
    h4{
      padding: 40px 42px;
    }
    
    &:nth-child(even){
      background-color: var(--steelblue);
    }
  }
  [class*="swiper-button"]{
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    transition: opacity 300ms, background 300ms;
    &::after{
      line-height: 0;
    }
    &.swiper-button-disabled{
      opacity: 0;
    }
    &:hover{
      background-color: #D4D4D4;
      &::after{
        filter: brightness(10)
      }
    }
  }
  .swiper-button-prev{
    &::after{
      content: url(images/icon-arrow-left.svg);
    }
  }
  .swiper-button-next{
    &::after{
      content: url(images/icon-arrow-right.svg);
    }
  }
}

.clients{
  .swiper-wrapper{
    transition-timing-function: linear;
  }
  img{
    width: 200px;
    height: 100px;
  }
}


.testimonials{
  overflow: visible !important;
  margin: 20px 0;
  .swiper-wrapper, .swiper-slide{
    overflow: visible !important;
  }
  .swiper-slide{
    @media (width > 768px){
      max-width: 924px;
    }
  }
  blockquote{
    margin: 0;
    padding: 0;
    display: grid;
    align-items: center;
    background-color: white;
    overflow: hidden;
    border-radius: 40px;


    @media (width > 768px){
      grid-template-columns: 7fr 4fr;
      height: 580px;
      
    }
    
    > div {
      &::before{
        content: url(images/icon-quote.svg);
      }
      padding: 24px;
      @media (width > 768px){
        padding: 56px 48px;
      }
    }
    cite{
      font-style: normal;
    }
    img{
      width: 100%;
      height: 120px;
      translate: 0 30%;
      object-fit: contain;
      order: -1;
      @media (width > 768px) {
        height: inherit;
        order: unset;
        object-fit: cover;
        translate: none;
      }
    }
  }
  .swiper-slide{
    opacity: 0.5;
    scale: 0.85;
    transition: opacity 300ms, scale 300ms, transform-origin 300ms;
    &.swiper-slide-active{
      opacity: 1;
      scale: 1;
      /*
      blockquote{
        @media (width > 768px){
          width: 924px;
          margin: 0 auto;
        }
      }
      */
    }
    &.swiper-slide-next{
      transform-origin: center left;
    }
    &.swiper-slide-prev{
      transform-origin: center right;
    }
  }
  .swiper-button-prev,
  .swiper-button-next{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    @media (width > 768px) {
      width: 40px;
      height: 40px;
    }
    &::before{
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background-color: var(--grey-2);
      transition: background 300ms ease-in-out, scale 300ms ease-in-out;

    }
    &:hover{
      &::before{
        background-color: var(--arcilla__hover);
        scale: 1.4;
      }
    }
  }
  .swiper-button-prev{
    left: -15px;
    @media (width > 768px) {
      left: 0;
    }
    @media (width > 1200px) {
      left: 60px;
    }
    &::after{
      content: url(images/icon-arrow-left.svg);
      line-height: 0;
      scale: 0.55;
      filter: brightness(10);
      @media (width > 768px) {
        scale: 0.7;
      }
    }
  }
  .swiper-button-next{
    right: -15px;
    @media (width > 768px) {
      right: 0;
    }
    @media (width > 1200px) {
      right: 60px;
    }
    &::after{
      content: url(images/icon-arrow-right.svg);
      line-height: 0;
      scale: 0.55;
      filter: brightness(10);
      @media (width > 768px) {
        scale: 0.7;
      }
    }
  }
  .swiper-wrapper{
    @media (width > 768px) {
      padding-bottom: 50px;
    }
  }
  .swiper-pagination{
    bottom: -20px !important;
  }
  .swiper-pagination-bullet{
    height: 10px;
    width: 10px;
    transition: padding 300ms, background-color 300ms;
    border-radius: 5px;
    background-color: #D5E2DC;
    opacity: 1;
    &.swiper-pagination-bullet-active{
      padding-left: 20px;
      padding-right: 20px;
      background-color: var(--arcilla);
    }
  }
}

.cform{
  background-color: var(--grey-2);
  padding: 40px;
  border-radius: 32px;
  form{
      position: relative;
  }
  ul{
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    li{
        position: relative;
    }
    label{
      display: block;
      font-weight: 700;
    }
    input, textarea{
      width: 100%;
      border-radius: 4px;
      padding: 12px;
      border: none;
    }
    textarea{
      height: 144px;
    }
    li:nth-child(n+3){
        grid-column: 1 / 3;
    }
  }
  .wpcf7-spinner{
      position: absolute;
      right: 15px;
      top: 50%;
      translate: 0 -50%;
  }
  .wpcf7-not-valid-tip{
      font-size: 12px;
  }
  .wpcf7-response-output{
      position: absolute;
      margin: 5px 0 0 !important;
      padding: 0 !important;
      width: 100%;
      text-align: center;
      font-size: 14px;
      border: none !important;
  }
}

.mini-cards{
  display: grid;
  gap: 32px;
  margin: 84px 0;
  @media (width > 1128px){
    grid-template-columns: repeat(3, 1fr);
  }
  .mini-cards__item{
    border-radius: 32px;
    padding: 37px;
    @media ( 1128px >= width >= 768px){
      padding: 70px 37px 37px;
    }
    &:nth-child(1),
    &:nth-child(3){
      /*
      background-image: url(images/black-box.png);
      background-repeat: no-repeat;
      background-position: 8% 20%;
      */
    }
    img{
      margin-top: 37px;
    }
  }
  .mini-cards__square{
    @media (width < 768px){
      aspect-ratio: 1 / 1;
    }  
    @media (width > 1128px){
      aspect-ratio: 1 / 1;
    }  
  }
}


.section-cards{
  overflow: unset;
  position: relative;
  h2{
    position: sticky;
    top: 150px;
    
    @media (width > 1024px){
      top: 15vh;
      float: left;
    }
  }
  .card{
    max-width: 820px;
    margin-left: auto;
    padding: 20px 30px;
    border-radius: 32px;
    position: sticky;
    top: 244px;
    min-height: 402.78px;

    @media (width > 768px) {
      padding: 40px 80px;
    }
    @media (width > 1024px){
      top: 15vh;
    }
    
    /*
    &:nth-child(odd){
      background-image: url(images/black-box.png);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: top -100px right -150px;
    }
    */
    
    &:not(:first-child){
      margin-top: 24px;
    }
    ul{
      list-style: none;
      padding: 0;
      margin-bottom: 0;
    }
  }
}

.card-full{
  display: grid;
  
  border-radius: 32px;
  padding: 40px;
  align-items: center;
  .card-full__body{
    /* padding: 25.5px 39px 25.5px 32px; */
    @media (width > 768px){
      order: -1;
    }
    
  }
  @media (width > 768px){
    grid-template-columns: 1.5fr 1fr;
  }
}

.overlay{
  background-color: rgb(0 0 0 / 0.5);
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  overflow: hidden;
  transition: z-index 500ms, opacity 500ms;
  &.overlay--visible{
    opacity: 1;
    z-index: 5000;
  }
}

.modal{
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--white);
  padding: 43px 15px 34px;
  max-width: 1300px;
  z-index: 50001;
  translate: 100% 0;
  transition: translate 500ms;
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media (width > 768px){
    padding: 43px 50px 34px;
  }
  &.modal--visible{
    translate: 0% 0;
  }
  .modal__close{
    position: absolute;
    top: 43px;
    left: 15px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    rotate: 180deg;
    background-color: var(--grey-2);
    @media (width > 768px){
      left: 50px;
    }
    img{
      width: 24.37px;
    }
  }
  /* ///// */
  &.modal--loading .modal__content-placeholder {
      /* Ocultamos el contenido que tiene las imágenes, pero permitimos que el modal se deslice */
      opacity: 0; 
      /* Usamos un transform pequeño para asegurar que no interfiera */
      transform: translateY(10px); 
      /* Transición para el ocultamiento rápido */
      transition: opacity 200ms ease-in, transform 200ms ease-in; 
  }
  
  /* 2. ESTADO DE LISTO: Mostrar el contenido con transición suave */
  &.modal--visible:not(.modal--loading) .modal__content-placeholder {
      /* Cuando se quita modal--loading, el contenido aparece */
      opacity: 1;
      transform: translateY(0);
      /* Esta es la transición de entrada del contenido. Es más lenta y tiene un ligero retraso */
      transition: opacity 400ms 200ms ease-out, transform 400ms 200ms ease-out;
      
  }
  &.modal--visible{
      translate: 0% 0; /* Regla de deslizamiento existente */
  }
  /* ///// */
  .modal__loader {
    display: none; /* Oculto por defecto */
    position: absolute; /* Posicionamiento absoluto para centrar */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado perfecto */
    z-index: 50002; /* Asegurarse de que esté por encima del contenido */
    flex-direction: column; /* Para centrar imagen y texto si hay */
    align-items: center;
    justify-content: center;
    img {
    /* Estilos para tu GIF de carga */
    width: 80px; /* Ajusta el tamaño */
    height: 80px;
    }
    p {
    margin-top: 10px;
    color: var(--color-del-texto-de-carga); /* Define un color */
    }
  }
  
    /* 1. ESTADO DE CARGA: Ocultar el contenido multimedia y mostrar loader */
    &.modal--loading .modal__content-placeholder {
        opacity: 0; 
        transform: translateY(10px); 
        transition: opacity 200ms ease-in, transform 200ms ease-in; 
    }
  
    /* 2. ESTADO DE LISTO: Mostrar el contenido con transición suave */
    &.modal--visible:not(.modal--loading) .modal__content-placeholder {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 400ms 200ms ease-out, transform 400ms 200ms ease-out; 
    }
  /* //// */
}


.hide-tablet-down{
  @media (width < 1024px){
    display: none;
  }
}
  