  /* ********** Reset ********** */
  :root {
    --first-font: "Poppins", serif;
  }
  
  @font-face {
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('ruta-local/Cabin-Regular.woff2') format('woff2');
}
  
    html {
      box-sizing: border-box;
      font-size: 1rem;
      font-family: var(--first-font);
      scroll-behavior: smooth;
    }
    
    *,
    *::after,
    *::before {
      box-sizing: inherit;
    }
    
    body {
      margin: 0;
      overflow-x: hidden;
    }
    
    a {
      transition: all 0.5s ease-out;
    }
    
    a:hover {
      opacity: 0.75;
    }
    
    h1 {
      margin: 0;
      font-size: 2rem;
    }
    
    h2 {
      margin: 0;
      font-size: 1.5rem;
    }
    
    h3 {
      margin: 0;
      font-size: 1.25rem;
    }
    
    h4 {
      margin: 0;
      font-size: 1rem;
    }
    
    h5 {
      margin: 0;
      font-size: 0.85rem;
    }
    
    h6 {
      margin: 0;
      font-size: 0.7rem;
    }
    
    img {
      max-width: 100%;
      height: auto;
    }
    
    p {
      line-height: 1.6;
    }

      /* ********** Utilities **********  */

  .none {
    display: none;
  }

/* ********** Header ********** */
.header {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 3;
    padding: 1rem;
    background-color: white;
  }
  
  .header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img{
    width: 180px;
    height: 75px;
    object-fit: contain;
  }

  @media screen and (min-width: 1024px) {
    .header > .container {
      padding: 0.5rem 1rem;
    }
  }

  /* ********** Menu ********** */
  .menu-btn {
    border: 1px solid transparent;
    cursor: pointer;
    background-color: transparent;
  }
  
  .menu-btn svg {
    fill: white;
    background-color: rgba(0, 96, 190, 1);
    border-radius: 10%;
    width: 48px;
    height: 32px;
  }
  
  .menu {
    position: fixed;
    top: 95px;
    left: 0;
    width: 100%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
  
  .menu.is-active {
    opacity: 1;
    pointer-events: auto;

  }
  
  .menu a {
    font-family: var(--font);
    padding: 0.5rem;
    display: inline-block;
    text-decoration: none;
    color: rgba(0, 96, 190, 1);
    cursor: pointer;
  }
  
  .menu a:hover {
    color: black;
    background-color: white;
  }
  
  @media screen and (min-width: 768px) {
    .menu-btn {
      display: none;
    }
  
    .menu {
      display: contents;
      position: static;
      flex: 1;
      flex-direction: row;
      opacity: 1;
      pointer-events: auto;
      font-size: 1.3rem;
    }
  
    .menu a {
      position: relative;
      padding: 0 1rem;
      border-top: 0;
      transition: .5s;
      text-align: right;
    }

    .menu a:hover {
      color: black;
      background-color: transparent;
    }

    .menu a:hover::before {
      width: 101%;

    }
  
    .menu a::before {
      content: '';
      position: absolute;
      right: 0;
      top: 100%;
      height: 3px;
      width: 0;
      background-color: black;
      transition: 0.5s;
    }
  }

  /* ********** Hero ********** */

  #hero-banner {
    position: relative;
    width: 100%;
    object-fit: cover;
  }
  #hero-banner .container{
    max-width: 100%;
  }

  .hero-banner-text {
    position: relative;
    width: 100%;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 1rem;
  }

  .hero-banner-img  {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
  }

  .hero-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-banner-overlay {
    position: absolute;
    height: -webkit-fill-available; 
    height: -webkit-fill-available; 
    height: -moz-available;         
    top: 0;
    width: 100%;
    background: linear-gradient(355deg, rgba(0, 70, 120, .43) 62.6%, rgba(0, 0, 0, .62) 100%);;
  }

  @media screen and (min-width: 768px) {
    .hero-banner-text {
      text-align: left;
      padding: 2rem;
      width: 75%;
    }
  }

  /* ********** Why us ********** */
  #why-us .container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .why-us-title {
    text-align: center;
    padding: 1rem;
  }

  #why-us .container p {
    text-align: center;
  }

  .value {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem;
    box-shadow: 0 0 10px rgba(0, 96, 190, 0.5);
  }

  .value h2 {
    min-height: 70px;
  }

  .value h2,
  .value p {
    text-align: center;
  }

  .up-row .value:nth-child(2){
    background-color: rgba(0, 96, 190, 1);
    color: white;
  }
  .down-row .value:nth-child(1){
    background-color: rgba(0, 96, 190, 1);
    color: white;
  }

  .icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
  }

    .value svg {
    width: 75px;
    height: 75px;
    padding: 0.5rem;
  }

  .container .up-row > .value:nth-child(odd) > .icon{
    background-color: #0060be;
  }

  .container .up-row > .value:nth-child(even) > .icon{
    background-color: white;
  }

  .container .down-row > .value:nth-child(even) > .icon{
    background-color: rgba(0, 96, 190, 1);
  }

  .container .down-row > .value:nth-child(odd) > .icon{
    background-color: white;
  }

  @media screen and (min-width: 1024px) {
    #why-us .container {
      display: grid;
    }

    .up-row{
      display: grid;
      grid-template-columns: 40% 60%;
    }
  
    .down-row{
      display: grid;
      grid-template-columns: 60% 40%;
    }
  
  }
  /* ********** About us ********** */
  #about-us .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 2rem;
    gap: 1rem;
  }

  .about-us-image {
    width: 100%;
  }



  .about-us-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
  }


  @media screen and (min-width: 1024px) {
    #about-us .container {
      flex-direction: row;
    }

    .about-us{
      flex: 3;
    }
  
    .about-us-image {
      flex: 2;
    }

    .about-us-image img {
      height: 100%;
    }
  }

  /* ********** Services ********** */
  #services{
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), 
    url(src/services-background.webp);
    box-shadow: 0 0 45px rgba(0, 96, 190);
  }

  .services-title {
    color: black;
    text-align: center;
    padding: 1rem;
  }

  #services .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 1rem;    
  }

  .service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    position: relative;
    margin: 1rem;
    color: black;
    justify-content: space-between;

  }

  .service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(122, 122, 122, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .service-image{
    position: relative;
    z-index: 2;
  }

  .service-image img {
    border-radius: 10px 10px 0 0;
  }

  .service h3, 
  .service p,
  .service a {
    z-index: 2;
    text-align: center;
  }

  .service .btn {
    color: white;
    font-size: 1rem;
  }

  .service button {
    z-index: 2;
    background-color: rgba(0, 96, 190, 1);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    width: 120px;
    height: 50px;
    cursor: pointer;
    transition: all 0.5s ease;
    margin-top: auto;

  }

  .service-modal {
    position: fixed;
    background: radial-gradient(circle, rgba(222, 222, 222, 1) 0%, rgba(255, 255, 255, 1) 100%);
    color: black;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    width: 345px;
    overflow: scroll;
    border-radius: 10px;
    max-height: 90vh;
  }

  .close-container {
    position: relative;
    margin-left: auto;
    width: 50px;
    cursor: pointer;
  }

  .service-modal-image,
  .service-modal-text {
    width: 100%;
    height: auto;
  }

  .service-modal-text {
    padding: 0rem 1rem;
    margin-top: 50px;
  }

  .service-modal-image img {
    width: 100%;
    height: 350px;
  }
  
  .leftright {
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color: rgba(0, 96, 190, 1);
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all 0.3s ease-in;
  }
  
  .rightleft {
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color: rgba(0, 96, 190, 1);
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all 0.3s ease-in;
  }
  
  label.close {
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.6em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease-in;
    opacity: 0;
  }
  
  .close {
    margin: 60px 0 0 5px;
    position: absolute;
  }
  
  .close-container:hover .leftright {
    transform: rotate(-45deg);
    background-color: #F25C66;
  }
  
  .close-container:hover .rightleft {
    transform: rotate(45deg);
    background-color: #F25C66;
  }
  
  .close-container:hover label {
    opacity: 1;
  }

  


  @media screen and (min-width: 768px) {
    #services .container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      align-items: stretch;
    }

    .service-modal{
      width: 75%;
    }

  }

  @media screen and (min-width: 900px) and (max-width: 1199px) {
    #services .container > *:last-child {
      grid-column: 1 / -1; 
      justify-self: center; 
      width: 600px; 
    }
  }

  /* ********** Carousel ********** */

  @-webkit-keyframes carousel-animate {
    0% {
      visibility: hidden;
      opacity: 0;
      transform: translateX(200%) scale(0.7);
    }
    3%, 16.6667% {
      visibility: visible;
      opacity: 0.8;
      transform: translateX(100%) scale(0.9);
    }
    19.6667%, 33.3333% {
      visibility: visible;
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    36.3333%, 50% {
      visibility: visible;
      opacity: 0.8;
      transform: translateX(-100%) scale(0.9);
    }
    53% {
      visibility: visible;
      opacity: 0;
      transform: translateX(-200%) scale(0.9);
    }
    100% {
      visibility: hidden;
      opacity: 0;
      transform: translateX(-200%) scale(0.7);
    }
  }
  
  
:root {
  --light: 0;
  --light: 0;
  --max-width-post: 420px;
  --primary: rgba(0, 96, 190, 1);
  --bg: hsl(
  	calc(284 - 220 * var(--light)),
  	calc(70% + 7% * var(--light)),
  	calc(23% + 56% * var(--light))
  );
  --text-primary: hsl(
  	calc(60 * var(--light)),
  	calc(19% * var(--light)),
  	calc(97% - 89% * var(--light))
  );
  --font-size-sm: clamp(0.7rem, 0.91vw + 0.47rem, 1.2rem);
  --font-size-base: clamp(0.88rem, 1.14vw + 0.59rem, 1.5rem);
  --font-size-md: clamp(1.09rem, 1.42vw + 0.74rem, 1.88rem);
  --font-size-lg: clamp(1.37rem, 1.78vw + 0.92rem, 2.34rem);
  --font-size-xl: clamp(1.71rem, 2.22vw + 1.15rem, 2.93rem);
  --font-size-xxl: clamp(2.14rem, 2.77vw + 1.44rem, 3.66rem);
  --font-size-xxxl: clamp(2.67rem, 3.47vw + 1.8rem, 4.58rem);
}

#carousel-img .container {
  --container-padding-horizontal: 32px;
  position: relative;
  padding-inline: var(--container-padding-horizontal);
  display: grid;
  place-items: center;
  height: 100%;
  overflow: hidden;
}

.carousel {
  pointer-events: none;
  position: absolute;
  -webkit-padding-before: 67px;
          padding-block-start: 67px;
  -webkit-padding-after: max(24px, calc(29px + var(--font-size-md)));
          padding-block-end: max(24px, calc(29px + var(--font-size-md)));
  perspective: 100px;
  width: 100%;
}

.carousel-title{
  text-align: center;
  padding: 1rem;
}
@media (max-width: 568px) {
  .carousel {
    -webkit-padding-after: 52px;
            padding-block-end: 52px;
  }
}
.carousel__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  height: 61.2vh;
}
.carousel .item {
  position: absolute;
  max-width: 418px;
  height: 100%;
  margin-inline: var(--container-padding-horizontal);
  opacity: 0;
  will-change: transform, opacity;
  -webkit-animation: carousel-animate 27s cubic-bezier(0.37, 0, 0.63, 1) infinite;
          animation: carousel-animate 27s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
@media (max-width: 568px) {
  .carousel .item {
    margin-inline: calc(var(--container-padding-horizontal) + 1px);
  }
}
.carousel .item:nth-child(1) {
  -webkit-animation-delay: calc(4.5s * -1);
          animation-delay: calc(4.5s * -1);
}
.carousel .item:nth-child(2) {
  -webkit-animation-delay: calc(4.5s * 0);
          animation-delay: calc(4.5s * 0);
}
.carousel .item:nth-child(3) {
  -webkit-animation-delay: calc(4.5s * 1);
          animation-delay: calc(4.5s * 1);
}
.carousel .item:nth-child(4) {
  -webkit-animation-delay: calc(4.5s * 2);
          animation-delay: calc(4.5s * 2);
}
.carousel .item:nth-child(5) {
  -webkit-animation-delay: calc(4.5s * 3);
          animation-delay: calc(4.5s * 3);
}
.carousel .item:nth-child(6) {
  -webkit-animation-delay: calc(4.5s * 4);
          animation-delay: calc(4.5s * 4);
}

.carousel img {
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
}

.instagram {
  --pading-horizontal: 16px;
  --border: 1px solid var(--primary);
  max-width: var(--max-width-post);
  width: 100%;
  border: var(--border);
  border-radius: 30px;  
}
.instagram__header {
  padding-top: 16px;
}
.instagram__header figure {
  padding-block: 0;
  padding-inline: var(--pading-horizontal);
  margin: 0;
  display: flex;
  align-items: center;
}
.instagram__header figure img {
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: var(--border);
  -webkit-margin-end: 8px;
          margin-inline-end: 8px;
}
.instagram__media {
  display: flex;
}
.instagram__media .img {
  max-width: 100%;
  height: 62vh;
}
.instagram__buttons {
  padding-block: 12px;
  padding-inline: var(--pading-horizontal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.instagram__buttons .left {
  display: flex;
  align-items: center;
}
.instagram__buttons .left svg:nth-of-type(2) {
  margin-inline: 12px;
}

.instagram__buttons .right {
  display: flex;
  align-items: center;
}


.instagram__icon {
  cursor: pointer;
  width: 1em;
  height: 1em;
  font-size: var(--font-size-md);
  min-width: 24px;
  min-height: 24px;
}
.instagram__icon:hover {
  opacity: 0.7;
}
.instagram__icon path {
  stroke: var(--primary);
  stroke-linejoin: round;
}
.instagram__icon--comment path {
  stroke-width: 2;
}
.instagram__icon--message {
  -webkit-margin-before: 3px;
          margin-block-start: 3px;
}
.instagram__icon--message path {
  stroke-width: 2;
}
.instagram__icon--saved path {
  stroke-width: 2;
}

  /* ********** Whatsapp icon ********** */
  .icon-whatsapp a img{
    position: fixed;
    bottom: 45px;
    right: 15px;
    width: 45px;
    z-index: 3;
  }

  /* ********** Contact ********** */
  #contact-form{
    position: relative;
    z-index: 2;
    height: 100%;
    border: 1px solid transparent;
  }

  #contact-form .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin: 1rem;
    box-shadow: 0 0 10px #0060be80;
    background: rgb(122,122,122);
    background: radial-gradient(circle, rgba(122,122,122,0.18539915966386555) 0%, rgba(255,255,255,1) 100%);
}

  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    
  }

  .contact-form-second {
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }

  .cabin{
    border-radius: 10px;
    padding: 1rem;
    background-color: rgba(0, 95, 190, 0.7);
    color: white;
  }

  input::placeholder,
  textarea::placeholder {
    color: white;
    font-size: 1rem;
  }

  input.button {
    z-index: 2;
    background-color: rgba(0, 96, 190, 1);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    margin: 10px 0px;
    height: 50px;
    cursor: pointer;
    transition: all 0.5s ease;
  }

  @media screen and (min-width: 768px) {
    .hero {
      display: flex;
      align-items: center;
    }

    .hero-banner-text {
      width: 60%;
      font-size: 1.2rem;
    }

    #contact-form {
      width: 40%;
    }

    .contact-form {
      width: 100%;
      padding: 2rem;
    }

    .contact-form-second{
      width: 100%;
    }

    .input.button {
      margin: 20px 0px 0px;
    }
    
  }

    /* ********** Modal front********** */

    #modal > .container {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(222, 222, 222, 1) 0%, rgba(255, 255, 255, 1) 100%);
      z-index: 5;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      width: 100%;
      overflow-y: auto;
    }
  
    .modal-header{
      width: 100%;
      display: flex;
      justify-content: center;
    }
  
    .modal-btn{
      display: flex;
      flex-direction: column;
      gap: .5rem;
    }
  
    .btn-accept{
      background-color: rgba(0, 96, 190, .8);
      padding: 0.5rem 1rem;
      border-radius: 5px;
      cursor: pointer;
      color: white;
    }
  
    .btn-accept:hover{
      background-color: rgba(0, 96, 190, 1);
      opacity: 0.75;
    }
  
    .btn-reject{
      background-color: white;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      cursor: pointer;
    }
  
    .btn-reject:hover{
      background-color: white;
      opacity: 0.75;
    }
  
    .btn-custom{
      background-color:white;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      cursor: pointer;
    }
  
    .btn-custom:hover{
      background-color:white;
      opacity: 0.75;
    }
      /* ********** Modal back********** */
    
    .cookie-option label{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem;
      border-radius: 5px;
      margin: 0.5rem;
    }
  
    .cookie-option p{
      padding: 0.5rem;
      margin: 0.5rem;
    }
  
    @media screen and (min-width: 768px) {
      #modal > .container {
        width: auto;
      }
  
      .modal-btn{
        flex-direction: row;
      }
    }
  
    /* ********** Toggle Body ********** */
  
    .modal-open {
      height: 100%;
      width: 100%;
      position: absolute;
      min-height: 500px; /* Fijar altura mínima */
      top: 0;
      left: 0;
      overflow-x: hidden;
      overflow-y: hidden;
      background-color: rgba(0, 0, 0, .5);
      z-index: 99;
    }
  
    /* body.no-scroll {
      overflow: hidden;
      padding-right: 15px; 
    } */
  
    /* ********** Toggle checkbox ********** */
    .toggle-wrapper {
      display: inline-block;
      position: relative;
      border-radius: 3.125em;
      overflow: hidden;
    }
    
    .toggle-checkbox {
      -webkit-appearance: none;
      appearance: none;
      position: absolute;
      z-index: 1;
      top: 0;
      left: 0;
      border-radius: inherit;
      width: 100%;
      height: 100%;
      cursor: pointer;
    }
    
    .toggle-container {
      display: flex;
      position: relative;
      border-radius: inherit;
      width: 2.5em;
      height: 1.25em;
      background-color: #d1d4dc;
      box-shadow:
        inset .0625em 0 0 #d4d2de,
        inset -.0625em 0 0 #d4d2de,
        inset .125em .25em .125em .25em #b5b5c3;
      mask-image: radial-gradient(#fff, #000);
      transition: all .4s;
      .toggle-wrapper.blue > .toggle-checkbox:checked + & {
        background-color: #0099f9;
        box-shadow:
          inset .0625em 0 0 #0099f9,
          inset -.0625em 0 0 #0099f9,
          inset .125em .25em .125em .25em #0071b7;
      }
    }
    
    .toggle-ball {
      position: relative;
      border-radius: 50%;  
      width: 1.25em;
      height: 1.25em;
      background-image:
        radial-gradient(rgba(#fff, .6), rgba(#fff, 0) 16%),
        radial-gradient(#d2d4dc, #babac2);
      background-position: -.25em -.25em;
      background-size: auto, calc(100% + .25em) calc(100% + .25em);
      background-repeat: no-repeat;
      box-shadow:
        .25em .25em .25em #8d889e,
        inset .0625em .0625em .25em #d1d1d6,
        inset -.0625em -.0625em .25em #8c869e;
      transition: transform .4s, box-shadow .4s;
      
      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        background-position: -.25em -.25em;
        background-size: auto, calc(100% + .25em) calc(100% + .25em);
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity .4s;
    
        .toggle-wrapper.blue > .toggle-container > & {
          background-image:
            radial-gradient(rgba(#fff, .6), rgba(#fff, 0) 16%),
            radial-gradient(#419efe, #4ba2ff);
          box-shadow:
            .25em .25em .25em #2634d0,
            inset .0625em .0625em .25em #8dd5ff,
            inset -.0625em -.0625em .25em #1500ac;
        }
      }
      
      .toggle-wrapper > .toggle-checkbox:checked + .toggle-container > &::after {
        opacity: 1;
      }
      
      .toggle-checkbox:checked + .toggle-container > & {
        transform: translateX(100%);
      }
    }

  /* ********** Footer ********** */
  #footer .container{
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 0rem;
    margin-top: 1rem;
    color: white;
    background-color: rgba(0, 96, 190, 1);
  }

  .contact-form-response {
    padding: 1rem;
    width: 400px;
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
  }

  .visible {
    opacity: 1;
  }

  .contact-form-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

   
    .none {
      display: none;
    }