*,
*::before,
*::after,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

* {
  font-family: "Bellota Text", sans-serif;
  font-weight: 100;
  font-size: 0.938rem;
  line-height: 120%;
  color: #0c1d37;
}

body {
  color: #0c1d37;
  background-color: #f4f5f8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Aboreto", serif;
  font-weight: 400;
  line-height: 1.1;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img,
video,
canvas {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background-color: transparent;
  border: none;
  outline: none;
}

input,
textarea,
select {
  color: inherit;
  font: inherit;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.color-white {
  color: white;
}

.shadow {
  box-shadow: 0 0.25rem 0.9375rem 0 rgba(0, 0, 0, 0.3);
}

.shadow-1 {
  box-shadow: 0 0.28075rem 0.28075rem 0 rgba(0, 0, 0, 0.1);
}

.w-100 {
  width: 100%;
}

.w-full {
  width: 100vw;
}

.wh-100 {
  width: 100%;
  height: 100%;
}

.wh-full {
  width: 100vw;
  height: calc(100vh - 140px);
}

.h-100 {
  height: 100%;
}

.h-full {
  height: calc(100vh - 140px);
}

.flex {
  display: flex;
}
.flex.col {
  flex-direction: column;
}
.flex.row {
  flex-direction: row;
}
.flex.around {
  justify-content: space-around;
}
.flex.between {
  justify-content: space-between;
}
.flex.evenly {
  justify-content: space-evenly;
}
.flex.wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.grid {
  display: grid;
}

.gap {
  gap: 0.5rem;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.gap-5 {
  gap: 5rem;
}

.center {
  justify-content: center;
  align-items: center;
}

.center-x {
  justify-content: center;
}

.center-y {
  align-items: center;
}

.start {
  justify-content: flex-start;
  align-items: flex-start;
}

.start-x {
  justify-content: flex-start;
}

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

.end {
  justify-content: flex-end;
  align-items: flex-end;
}

.end-x {
  justify-content: flex-end;
}

.end-y {
  align-items: flex-end;
}

.hidden {
  display: none;
}

.opacity-0 {
  opacity: 0;
  visibility: hidden;
}

.container,
.contenedor {
  width: 1390px;
  max-width: 95%;
  margin: 0 auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main.site-main {
  flex: 1 0 auto;
  width: 100%;
  margin-top: var(--header-h, 4.5rem);
  min-height: calc(100dvh - var(--header-h, 4.5rem) - var(--footer-h, 12rem));
}

body.home main.site-main,
body.front-page main.site-main {
  margin-top: 0;
  min-height: calc(100dvh - var(--footer-h, 12rem));
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.72);
  opacity: 0;
  z-index: -1;
  transition: all 0.5s ease;
}
#overlay.active {
  opacity: 0.5;
  z-index: 90;
}

section {
  width: 100%;
  height: 85vh;
  min-height: 40rem;
}

.screen-reader-text {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: linear-gradient(180deg, #0c1d37 0%, rgba(12, 29, 55, 0) 100%);
  transition: all 0.3s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 1.5rem;
}
.site-header.active-scrolled {
  background: var(--1, #0c1d37);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 16rem;
}
.site-header__logo img,
.site-header__logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 3rem;
  height: auto;
}
.site-header__logo-text {
  font-family: "Aboreto", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #c6ae8b;
}
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 24px;
  height: 24px;
}
.site-header__toggle span {
  display: block;
  width: 100%;
  height: 0.125rem;
  background: #c6ae8b;
  border-radius: 999rem;
}
.site-header__panel {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}
.site-header__nav {
  width: 100%;
}
.site-header__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
}
.site-header__menu > li {
  position: relative;
  display: flex;
  align-items: center;
}
.site-header__menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding-block: 0.25rem;
  min-height: 71px;
  color: #f0efe5;
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
}
.site-header__menu > li:hover > a,
.site-header__menu > li.current-menu-item > a,
.site-header__menu > li.current-menu-ancestor > a {
  color: #c6ae8b;
}
.site-header__menu > li:last-child > a {
  padding: 10px 16px;
  padding-block: 8px;
  min-height: 0;
  border: 0.0625rem solid #c6ae8b;
  background: #c6ae8b;
  color: #0c1d37;
}
.site-header__menu > li:last-child:hover > a,
.site-header__menu > li:last-child.current-menu-item > a,
.site-header__menu > li:last-child.current-menu-ancestor > a {
  background: transparent;
  color: #c6ae8b;
}
.site-header__menu .site-header__submenu-toggle {
  display: none;
}
.site-header__menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.0625rem solid currentColor;
  border-bottom: 0.0625rem solid currentColor;
  transform: rotate(45deg) translateY(-0.125rem);
}
.site-header__menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.site-header__menu .sub-menu {
  width: 100vw;
  left: 0;
  position: fixed;
  top: 68px;
  padding: 0.875rem 0;
  background: #0c1d37;
  border: 0.0625rem solid rgba(198, 174, 139, 0.16);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  .container ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px 10px;
    li a {
      position: relative;
      width: 294px;
      aspect-ratio: 147/80;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 12px;
      justify-content: flex-end;
      border-radius: 5px;
      overflow: hidden;
      img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
      }
      div {
        transform: translateY(1.6rem);
        z-index: 1;
        width: 100%;
        transition: all 0.3s ease;
        p {
          display: flex;
          align-items: center;
          justify-content: space-between;
          strong {
            max-width: 209px;
          }
          svg {
            transition: all 0.3s ease;
            path {
              transition: all 0.3s ease;
            }
          }
        }
        span {
          transition: all 0.3s ease;
          opacity: 0;
        }
      }
      p,
      span,
      strong {
        color: #fff;
        font-family: "Bellota Text";
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 21px;
      }
      span {
        color: #c6ae8b;
        font-family: "Bellota Text";
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 19px;
        margin-top: 10px;
        display: block;
      }
      &::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          180deg,
          rgba(34, 83, 157, 0) 0%,
          #0c1d37 100%
        );
        pointer-events: none;
        transition: all 0.3s ease;
      }
      &::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.6;
        background: #000;
        pointer-events: none;
        transition: all 0.3s ease;
      }
      &:hover {
        div {
          transform: translateY(0);
          p {
            svg {
              transform: rotate(-45deg);
              path {
                fill: #c6ae8b;
              }
            }
          }
          span {
            opacity: 1;
          }
        }
        &::after {
          background: linear-gradient(
            180deg,
            rgba(34, 83, 157, 0.8) 0%,
            #0c1d37 100%
          );
        }
        &::before {
          opacity: 0.1;
        }
      }
    }
  }
}

.site-header__menu .sub-menu a {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
}
.site-header__menu .sub-menu a:hover {
  color: #c6ae8b;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 64rem) {
  .site-header__logo {
    width: 114px;
    height: 20px;
    aspect-ratio: 57/10;
  }

  header#site-header {
    padding-block: 15px;
  }

  .site-header__inner {
    min-height: auto;
    padding-block: 15px;
    padding: 0;
  }
  .site-header__toggle {
    display: flex;
  }
  .site-header__panel {
    position: fixed;
    top: var(--header-h, 5rem);
    left: 0;
    width: 100%;
    max-height: calc(100dvh - var(--header-h, 5rem));
    overflow-y: auto;
    padding: 1.5rem 2.5%;
    background: rgba(12, 29, 55, 0.98);
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease,
      visibility 0.35s ease;
  }
  .site-header__panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .site-header__menu > li {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header__menu > li > a {
    justify-content: space-between;
    width: 100%;
    min-height: 0;
    padding: 0.875rem 0;
  }
  .site-header__menu > li:last-child {
    margin-top: 0.75rem;
  }
  .site-header__menu > li:last-child > a {
    justify-content: center;
    padding: 0.9375rem 1.25rem;
  }
  .site-header__menu .site-header__submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 0.875rem 0;
    margin: 0;
    flex: 0 0 auto;
  }
  .site-header__menu .site-header__submenu-toggle svg,
  .site-header__menu .site-header__submenu-toggle svg path {
    color: #ffffff;
    stroke: #ffffff;
  }
  .site-header__menu .site-header__submenu-toggle svg {
    transition: transform 0.25s ease;
  }
  .site-header__menu .site-header__submenu-toggle.is-open svg {
    transform: rotate(180deg);
  }
  .site-header__menu .menu-item-has-children {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .site-header__menu .menu-item-has-children > a {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
  }
  .site-header__menu .menu-item-has-children > a::after {
    content: none;
    display: none;
  }
  .site-header__menu .menu-item-has-children > .sub-menu {
    flex: 0 0 100%;
    width: 100%;
  }
  .site-header__menu .sub-menu {
    position: static;
    min-width: 0;
    margin-top: 0.25rem;
    padding: 0.25rem 0 0.5rem 1rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
  }
  .site-header__menu .sub-menu a {
    padding: 0.625rem 0;
    color: rgba(255, 255, 255, 0.82);
  }
}
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: linear-gradient(180deg, #0c1d37 0%, #061328 100%);
  color: #ffffff;
  padding: 50px 0 0;
}
.site-footer * {
  color: inherit;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  &.menu-navigation {
    padding-bottom: 40px;
  }
  &.legals {
    background: #0c1d37;
    padding: 12px 0;
    .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }
}

.site-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr) minmax(12rem, 0.62fr) minmax(0, 1.42fr)
    minmax(0, 1.12fr);
  gap: 2.4rem;
  align-items: flex-start;
}
.site-footer__brand,
.site-footer__col {
  min-width: 0;
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  width: 200px;
  aspect-ratio: 40/7;
}
.site-footer__logo img,
.site-footer__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  object-fit: cover;
}
.site-footer__social-label {
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.35;
}
.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.95rem;
}
.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.92);
  border-radius: 999rem;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease;
}
.site-footer__social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: #c6ae8b;
  border-color: #c6ae8b;
}
.site-footer__col-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 1.25rem;
  color: #c6ae8b;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.site-footer__col-title::after {
  content: "";
  background: #c6ae8b;
  transform: translateY(0.0625rem);
  width: 100%;
  height: 1px;
}
.site-footer__nav {
  width: 100%;
}
.site-footer__menu,
.site-footer__practice-list,
.site-footer__contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.site-footer__menu li {
  margin: 0;
}
.site-footer__menu a {
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
  color: #c6ae8b;
}
.site-footer__practice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 0.85rem;
}
.site-footer__practice-list li {
  margin: 0;
}
.site-footer__practice-list a {
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.site-footer__practice-list a:hover,
.site-footer__practice-list a:focus-visible {
  color: #c6ae8b;
}
.site-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}
.site-footer__contact-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
}
.site-footer__contact-item a,
.site-footer__contact-item span {
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1.45;
}
.site-footer__contact-item a {
  transition: color 0.25s ease;
}
.site-footer__contact-item a:hover,
.site-footer__contact-item a:focus-visible {
  color: #c6ae8b;
}
.site-footer__contact-item--address span:last-child {
  max-width: 16rem;
}
.site-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #c6ae8b;
}
.site-footer__contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ti-whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 190;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.ti-whatsapp-float svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}
.ti-whatsapp-float:hover,
.ti-whatsapp-float:focus-visible {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.28);
}

.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;

  &.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .cookie-popup__overlay {
    position: absolute;
    inset: 0;
    background: #0c1d37;
    cursor: pointer;
    opacity: 0.7;
  }

  .cookie-popup__box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cookie-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    color: inherit;
    padding: 4px;
  }

  .cookie-popup__title {
    color: #0c1d37;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 19px;
  }

  .container__text--popup {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-popup__text {
    p {
      color: #000;
      font-size: 12px;
      font-style: normal;
      font-weight: 400;
      line-height: 17px;
    }

    a {
      text-decoration: underline;
    }
  }

  .cookie-popup__btn {
    align-self: flex-start;
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    border-radius: 2px;
    border: 1px solid var(--1, #0c1d37);
    background: var(--1, #0c1d37);
  }
}

@media (max-width: 75rem) {
  .site-header__menu {
    gap: 20px;
    & > li:last-child {
      margin-top: 0;
      a {
        padding: 10px 16px;
        width: fit-content;
      }
    }
    li a {
      padding: 0;
    }
    .sub-menu {
      padding: 0;
      .container ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        li {
          .site-header__submenu-toggle {
            display: none;
          }
          a {
            padding: 0;
            width: auto;
            aspect-ratio: auto;

            &::after,
            &::before {
              content: none;
            }
            img {
              display: none;
            }
            div {
              transform: translateY(0rem);
              p {
                width: 100%;
                strong {
                  max-width: 100%;
                  width: 100%;
                }
                svg {
                  display: none;
                }
              }
              span {
                display: none;
              }
              &:hover {
              }
            }
          }
        }
      }
    }
  }

  .cookie-popup {
    align-items: center;
    justify-content: center;
    .cookie-popup__box {
      .container__text--popup {
        flex-direction: column;
        .cookie-popup__btn {
          margin-top: 15px;
        }
      }
    }
  }

  .site-footer {
    padding: 4rem 0;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.2rem;
  }
  .site-footer__contact-item--address span:last-child {
    max-width: none;
  }
  .site-footer__inner.legals {
    width: 1390px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0;
    .container {
      padding: 12px 20px;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
  }
}
@media (max-width: 48rem) {
  .site-footer {
    padding: 50px 0;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .site-footer__logo img,
  .site-footer__logo-img {
    max-height: 2.15rem;
  }
  .site-footer__social-label {
    font-size: 0.95rem;
  }
  .site-footer__col-title {
    margin-bottom: 1rem;
    font-size: 0.92rem;
  }
  .site-footer__menu,
  .site-footer__practice-list {
    gap: 0.7rem;
  }
  .site-footer__menu a,
  .site-footer__practice-list a {
    font-size: 0.95rem;
  }
  .site-footer__practice-list {
    grid-template-columns: 1fr;
  }
  .site-footer__contact-list {
    gap: 0.9rem;
  }
  .site-footer__contact-item a,
  .site-footer__contact-item span {
    font-size: 0.95rem;
  }
}