@font-face {
  font-family: "Neue";
  src: url("../fonts/NeueHaasDisplay-Roman.woff") format("woff"), url("../fonts/NeueHaasDisplay-Roman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Neue";
  src: url("../fonts/NeueHaasDisplay-Bold.woff") format("woff"), url("../fonts/NeueHaasDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
html {
  box-sizing: border-box;
  overscroll-behavior: none;
  text-wrap: pretty;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

:root {
  --color-grey: #f5f5f5;
  --color-green: #397d63;
  --color-blue: #6085d8;
  --color-rose: #fed3d3;
  --color-brown: #c16136;
  --color-mostaza: #C09B35;
  --block: 32px;
  --half-block: 16px;
  --font-main: "Neue", sans-serif;
  --width: 1440px;
}
@media (max-width: 650px) {
  :root {
    --block: 16px;
    --half-block: 8px;
  }
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  background-color: var(--color-grey);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

main {
  min-height: calc(100vh - 134px);
}

img {
  max-width: 100%;
  height: auto;
}

.visible-mobile {
  display: none;
}
@media (max-width: 650px) {
  .visible-mobile {
    display: block !important;
  }
}

body:has(.page-home) {
  /* all active in home */
}
body:has(.page-home) .main-header:after, body:has(.page-home) .main-header:before {
  content: none;
}
body:has(.page-home) .main-header .bottom a,
body:has(.page-home) .main-header .bottom .lang-selector .selected {
  opacity: 1;
}

/* HEADER */
.main-header {
  position: fixed;
  top: 0;
  z-index: 50;
  line-height: 1;
  padding: var(--block);
  margin: auto;
  max-width: var(--width);
  left: 0;
  right: 0;
  opacity: 1;
  /*transition: 0.3s opacity;*/
  background: #f5f5f5;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}
.main-header:before {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #f5f5f5;
  content: "";
  top: 0;
  right: calc((100vw - 1440px) / -2);
  width: calc((100vw - 1440px) / 2);
  transition: background-color 0.3s ease;
}
.main-header:after {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #f5f5f5;
  content: "";
  top: 0;
  left: calc((100vw - 1440px) / -2);
  width: calc((100vw - 1440px) / 2);
  transition: background-color 0.3s ease;
}
.main-header.hide {
  opacity: 0;
}
.main-header .top {
  display: flex;
  justify-content: space-between;
  z-index: 1;
  position: relative;
  font-size: 24px;
}
.main-header .top .title,
.main-header .top .right-title {
  color: black;
}
.main-header .bottom {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
}
.main-header .bottom .left,
.main-header .bottom .right {
  display: flex;
  gap: 64px;
}
.main-header .bottom ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-direction: row;
  gap: 64px;
}
.main-header .bottom ul li.current_page_item a, .main-header .bottom ul li.current-menu-item a {
  opacity: 1;
}
.main-header .bottom a,
.main-header .bottom .lang-selector {
  color: black;
  opacity: 0.3;
  font-size: 14px;
  position: relative;
}
.main-header .bottom a.active,
.main-header .bottom .lang-selector.active {
  opacity: 1;
}
.main-header .bottom .lang-selector {
  color: black;
  opacity: 1;
  font-size: 14px;
  position: relative;
}
.main-header .bottom .lang-selector .selected {
  cursor: pointer;
  letter-spacing: 0.15em;
  opacity: 0.3;
  text-transform: uppercase;
}
.main-header .bottom .lang-selector:hover .menu, .main-header .bottom .lang-selector:focus-within .menu {
  pointer-events: auto;
  opacity: 1;
}
.main-header .bottom .lang-selector .menu {
  text-align: left;
  pointer-events: none;
  transition: 0.2s opacity;
  opacity: 0;
  position: absolute;
  right: 0;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.main-header .bottom .lang-selector .menu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.main-header .bottom .lang-selector .menu ul a {
  padding: 5px;
  opacity: 1;
  text-transform: uppercase;
}
.main-header .mobile-menu {
  display: none;
  margin-top: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.main-header .mobile-menu .btn-menu {
  z-index: 1;
  position: relative;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: 0.4s transform;
}
.main-header .mobile-menu .btn-menu span {
  display: inline-block;
  width: 20px;
  height: 2px;
  border-radius: 5px;
  background: black;
  transition: 0.2s opacity, 0.2s transform;
}
.main-header .mobile-menu > nav {
  list-style: none;
  background: var(--color-brown);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: calc(var(--block) * 2);
  height: 100dvh;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.2s opacity, 0.2s transform;
  min-height: 560px;
}
.main-header .mobile-menu > nav a {
  color: black;
  font-size: 20px;
}
.main-header .mobile-menu > nav a.email {
  font-size: 16px;
  position: absolute;
  bottom: calc(var(--block) * 2);
  left: 50%;
  transform: translateX(-50%);
}
.main-header .mobile-menu .lang-selector {
  font-size: 20px;
  display: flex;
  justify-content: center;
}
.main-header .mobile-menu .lang-selector svg {
  height: 21px;
  width: 21px;
  padding-top: 5px;
}
.main-header .mobile-menu .lang-selector .menu {
  display: flex;
  gap: 10px;
}
.main-header .mobile-menu.open > nav {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
  list-style: none;
}
.main-header .mobile-menu.open .btn-menu {
  transform: rotate(90deg);
}
.main-header .mobile-menu.open .btn-menu span:nth-child(1) {
  transform: rotate(45deg) translate3d(5px, 5px, 0);
}
.main-header .mobile-menu.open .btn-menu span:nth-child(2) {
  opacity: 0;
}
.main-header .mobile-menu.open .btn-menu span:nth-child(3) {
  transform: rotate(-45deg) translate3d(5px, -5px, 0);
}
@media (max-width: 680px) {
  .main-header .top {
    font-size: 20px;
  }
  .main-header .bottom {
    display: none;
  }
  .main-header .mobile-menu {
    display: flex;
  }
}

/* FIN HEADER */
/* FOOTER */
.home-footer {
  padding: var(--block);
  margin: auto;
  max-width: var(--width);
  font-size: 14px;
}
.home-footer address {
  font-style: normal;
}
.home-footer .top {
  display: flex;
  justify-content: space-between;
  font-size: 24px;
}
.home-footer .top .title,
.home-footer .top .right-title {
  color: black;
}
.home-footer .bottom {
  margin-top: 132px;
  display: flex;
  justify-content: space-between;
}
.home-footer .bottom a {
  color: black;
}
.home-footer .bottom .left,
.home-footer .bottom .right {
  display: flex;
  justify-content: space-between;
  width: 40%;
}
.home-footer .bottom .social {
  display: flex;
  flex-direction: column;
}
.home-footer .bottom .social:last-child {
  text-align: right;
}
@media (max-width: 650px) {
  .home-footer .top {
    font-size: 20px;
  }
  .home-footer .bottom {
    flex-direction: column;
    text-align: center;
    gap: 50px;
    margin-top: 50px;
  }
  .home-footer .bottom .left,
.home-footer .bottom .right {
    gap: 30px;
    width: 100%;
    flex-direction: column;
  }
  .home-footer .bottom .social {
    text-align: center !important;
  }
}

/* END FOOTER */
/* FOOTER */
.page-footer {
  font-size: 14px;
}
.page-footer .content {
  padding: var(--block) var(--block) 0 var(--block);
  margin: auto;
  max-width: var(--width);
}
.page-footer address {
  font-style: normal;
}
.page-footer .letters {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.page-footer .letters .right {
  z-index: 1;
}
.page-footer .letters svg {
  height: 54px;
  width: auto;
}
.page-footer .letters .letter-l svg {
  aspect-ratio: 187/285;
}
.page-footer .letters .letter-b svg {
  aspect-ratio: 223/285;
}
.page-footer .letters .letter-a svg {
  aspect-ratio: 263/286;
}
.page-footer .letters .left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.page-footer .bottom {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
}
.page-footer .bottom a {
  color: black;
}
.page-footer .bottom .left,
.page-footer .bottom .right {
  display: flex;
  justify-content: space-between;
  width: 40%;
}
.page-footer .bottom .social {
  display: flex;
  flex-direction: column;
}
.page-footer .bottom .social:last-child {
  text-align: right;
}
.page-footer .copy-footer {
  background-color: #e3e3e3;
}
.page-footer .copy-footer .content {
  position: relative;
  margin-top: var(--block);
  padding: 10px var(--block);
  text-align: center;
  display: flex;
  font-size: 14px;
  justify-content: center;
}
.page-footer .copy-footer .content .link {
  display: flex;
  gap: 10px;
}
.page-footer .copy-footer a {
  flex-grow: 1;
  margin-right: auto;
  margin-left: auto;
  color: black;
}
.page-footer .copy-footer .design {
  align-self: flex-end;
  margin-left: auto;
  position: absolute;
  right: var(--block);
}
@media (max-width: 650px) {
  .page-footer {
    position: relative;
  }
  .page-footer .content {
    padding: var(--block);
    font-size: 12px;
  }
  .page-footer .copy-footer .content {
    font-size: 12px;
    flex-direction: column;
    gap: 5px;
    padding: 15px 0;
  }
  .page-footer .copy-footer a {
    margin: 0;
  }
  .page-footer .copy-footer .design {
    margin-right: auto;
    position: relative;
    right: 0;
  }
  .page-footer .letters .right {
    position: absolute;
    bottom: calc(var(--block) * 5);
    right: var(--block);
  }
  .page-footer .bottom {
    flex-direction: column;
    text-align: center;
    gap: 100px;
    margin-top: -80px;
  }
  .page-footer .bottom .left,
.page-footer .bottom .right {
    gap: 30px;
    width: 100%;
    flex-direction: column;
  }
  .page-footer .bottom .social {
    text-align: center !important;
  }
}

/* END FOOTER */
.page-nohome {
  margin-top: 134px;
  padding: var(--block) var(--block) 0 var(--block);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--width);
}

.page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  max-width: 27ch;
}
@media (max-width: 650px) {
  .page-title {
    font-size: 18px;
  }
}

.box404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 134px);
  text-align: center;
  gap: var(--block);
}
.box404 .description {
  font-size: 3rem;
}
.box404 .text {
  font-size: 6rem;
  font-weight: 700;
}

.description section a {
  text-decoration: underline;
  font-style: italic;
  color: black;
}
.description section a:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-direction: row;
}
.nav-links > * {
  margin-right: 10px;
  font-size: 14px;
}