/* Developed by briskflow.com */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: var(--pdp-font-weight-light, 300);
  font-style: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  color: #13495e;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  min-width: 375px;

  --pdp-brand-primary: #13495e;
  --pdp-brand-secondary: #f6a707;

  --pdp-font-weight-light: 300;
  --pdp-font-weight-medium: 500;
  --pdp-font-weight-semibold: 600;
  --pdp-font-weight-bold: 700;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: var(--pdp-brand-primary);
  text-decoration: none;
}

a:not(.plain):hover {
  filter: contrast(50%);
}

a.white {
  color: #fff;
}

a.white:hover {
  text-decoration: underline;
}

a.anchor {
  display: block;
  position: relative;
  top: 0px;
  visibility: hidden;
  position: absolute;
}
a.anchor.zero {
  top: -80px;
}

/* -- */
main {
  overflow-x: hidden;
}

.navigation {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding-left: 32px;
  background-color: var(--pdp-brand-primary);
  box-shadow: inset 0px 3px 6px #00000034, 0px 30px 50px #051e2972;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 778;
}
.brand {
  width: auto;
  padding: 16px 24px;
}

.brand img {
  max-height: 190px;
}

.menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
}

.menu li {
  text-align: center;
}

.menu li a {
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: var(--pdp-font-weight-medium);
}

.menu li a:hover {
  filter: contrast(50%);
}

.nav-right {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-language {
  display: none;
  gap: 16px;
  align-items: center;
}

.nav-language a {
  font-size: 1rem;
  color: #fff;
  font-weight: var(--pdp-font-weight-medium);
}

.nav-language a.active {
  color: var(--pdp-brand-secondary);
}

.nav-language .separator {
  background-color: #fff;
  width: 2px;
  height: 40px;
}

.nav-social {
  display: flex;
  gap: 16px;
}

.nav-social a {
  transition: all 0.2s ease;
}

.icon {
  max-width: none;
  height: 30px;
}

.icon--white {
  filter: invert(100%) sepia(20%) saturate(44%) hue-rotate(2deg)
    brightness(120%) contrast(106%);
}

.btn {
  display: inline-block;
  border: 0;
  font-weight: var(--pdp-font-weight-bold);
  text-transform: uppercase;
  color: #fff;
  width: auto;
  padding: 32px 16px;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
}

.btn:not(.nav) {
  border-radius: 65px;
}
.btn.nav {
  padding: 30px 40px;
}

.btn--wide {
  padding: 24px 48px;
}

.btn:hover {
  filter: contrast(80%);
  color: #fff;
}

.btn--yellow {
  background-color: var(--pdp-brand-secondary);
}

.btn--blue {
  background-color: var(--pdp-brand-primary);
}

h2 {
  font-size: 4rem;
  font-weight: var(--pdp-font-weight-semibold);
}

h3 {
  font-size: 2.5rem;
  font-weight: var(--pdp-font-weight-semibold);
}

h4 {
  font-size: 1.25rem;
  font-weight: var(--pdp-font-weight-semibold);
}

h5 {
  font-size: 1.25rem;
  font-weight: var(--pdp-font-weight-semibold);
}

p {
  font-size: 1.25rem;
  font-weight: var(--pdp-font-weight-light);
  line-height: 1.5;
}

/* Utils */
.brand-primary-color-bg {
  background-color: var(--pdp-brand-primary);
}

.d-flex {
  display: flex;
}

.fd-column {
  flex-direction: column;
}

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

.gap-sm {
  gap: 16px;
}

.gap-64 {
  gap: 64px;
}

.font-bold {
  font-weight: var(--pdp-font-weight-bold);
}

.font-weight-medium {
  font-weight: var(--pdp-font-weight-medium) !important;
}

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

.hero {
  width: 100%;
  height: auto;
  position: relative;
  outline: 1px solid;
}

.hero__img {
  width: 100%;
  height: 100vh;
  min-height: 530px;
  object-fit: cover;
  object-position: top;
}

.hero__details {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-top: 150px;
  z-index: 2;
  background: transparent
    linear-gradient(
      180deg,
      var(--pdp-brand-primary) 0%,
      #235569 10%,
      #456f80d3 20%,
      #7f9ca86f 50%,
      #ffffff00 100%
    )
    0% 0% no-repeat padding-box;
}

.hero__details-text {
  color: #fff;
  font-size: 1.8125rem;
  line-height: 1.15;
  font-weight: var(--pdp-font-weight-light);
  padding: 0 16px;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.hero__details-inner {
  display: flex;
  flex-direction: column;
  gap: 90px;
  align-items: center;
}

.hero__action {
  padding: 0 16px;
}

.section {
  background-color: #fff;
  position: relative;
}

.sobre-nosotros {
  display: flex;
  justify-content: center;
  padding: 72px 16px;
}

.sobre-nosotros .inner {
  width: 100%;
  max-width: 1360px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 64px;
  padding: 0 32px;
}

.sobre-nosotros .inner .left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.sobre-nosotros .inner .right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.sobre-nosotros .inner p {
  color: var(--pdp-brand-primary);
  text-align: center;
}

.sobre-nosotros .inner .dossier {
  max-width: 290px;
}

.ubicacion {
  width: 100%;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
}

.slcarousel {
  width: 100%;
  padding: 48px 48px 16px;
}

.carousel .slide-1 {
  width: 100%;
  height: 100%;
  background-color: #3f3e3e;
  position: relative;
}

.carousel .slide__img {
  width: 100%;
  height: auto;
  max-height: 930px;
  min-height: 350px;
  object-fit: cover;
}

.carousel .slide-1.bg::after {
  content: "";
  background: transparent
    linear-gradient(181deg, #13495e 0%, #13495eed 16%, #13495e00 100%) 0% 0%
    no-repeat padding-box;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: -1px;
  left: 0px;
  z-index: 2;
  transform: matrix(-1, 0, 0, -1, 0, 0);
}

.carousel .slide-text {
  width: 100%;
  max-width: 600px;
  font-size: 1.25rem;
  padding: 0 24px;
  font-weight: var(--pdp-font-weight-light);
  line-height: 1.5;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translate(-50%, -10%) scale(1);
  z-index: 7;
}

.mapa {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mapa .text {
  font-size: 1.25rem;
  line-height: 1.83;
  color: #fff;
}

.mapa .xgrid-item__details {
  gap: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0 24px;
}

.renders,
.actividades {
  position: relative;
  background-color: var(--pdp-brand-primary);
  padding: 128px 0px;
}

.renders {
  padding: 50px 0px;
}

.renders__footer {
  text-align: center;
  color: #848f93;
  font-size: 1rem;
  font-size: max(16px, 0.875rem);
  margin: -32px 64px 0;
  line-height: 1.5;
}

.actividades {
  background-position: center;
  background-size: cover;
  padding: 0 0 64px;
}

.actividades.bg {
  background-image: url(../images/actividades/pdp-actividades-section-bg.jpg);
}

.actividades > h3 {
  color: #fff;
  margin: 0 auto 48px;
  width: fit-content;
}

.rr-carousel .flickity-slider > .rr-carousel__cell:first-child {
  padding-left: 88px;
}

.rr-carousel .flickity-slider > .rr-carousel__cell:last-child {
  padding-right: 88px;
}

.renders
  .rr-carousel
  .flickity-slider
  > .rr-carousel__cell:first-child::before {
  left: 128px;
}

.rr-carousel__cell {
  width: max-content;
  margin-right: 32px;
  padding-bottom: 80px;
}

.rr-carousel__cell::before {
  content: attr(data-label);
  position: absolute;
  bottom: 110px;
  left: 40px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: var(--pdp-font-weight-light);
  text-shadow: 0px 3px 10px #051e29;
}

.actividades .rr-carousel__cell::before {
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, 0%);
  text-align: center;
}

.actividades .rr-carousel__cell:first-child::before {
  margin-left: 44px;
}

.actividades .rr-carousel__cell:last-child::before {
  bottom: 0px;
  line-height: 1.2;
  margin-left: -44px;
}

.rr-carousel__cell > img {
  width: auto;
  height: 70vw;
  max-height: 430px;
  max-width: calc(100vw - 32px);
  object-fit: cover;
  box-shadow: 0px 30px 50px #051e29;
}

.actividades .rr-carousel__cell > img {
  box-shadow: 0px 30px 50px #051e294d;
}

.xgrid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.xgrid-item {
  display: flex;
  flex-direction: column;
}

.xgrid-item__left,
.xgrid-item__right {
  flex-basis: 50%;
  position: relative;
}

.xgrid-item__image {
  width: 100%;
  height: auto;
  max-width: 360px;
  margin: 0 auto 48px;
  object-fit: cover;
}

.xgrid-item__details {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px;
}

.xgrid-item--flip .xgrid-item__details {
  left: unset;
  right: 100px;
}

.slgrid {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
  max-width: 1540px;
  padding: 64px 48px;
  gap: 48px;
}

.slgrid-item {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.slgrid-item__header {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.slgrid-item__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slgrid-item__body-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.slgrid-item__list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.slgrid-item__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.5;
  padding: 0 0 0 20px;
  font-size: 1.25rem;
}

.slgrid-item__cta--desktop {
  display: none;
  margin-top: 36px;
}

.slgrid-item__cta--mobile {
  align-self: center;
}

.eventos {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  padding: 64px 48px;
}

/* Footer  */
.footer {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 60px 24px 40px;
  background-color: var(--pdp-brand-secondary);
  position: relative;
}
.logo-footer {
  width: fit-content;
  max-height: 70px;
}

.footer-body {
  position: relative;
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  gap: 16px;
}

.footer-body__left,
.footer-body__right {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.footer-body__left {
  gap: 48px;
}

.footer-body__right .text {
  font-size: 1.25rem;
  font-weight: var(--pdp-font-weight-medium);
  align-self: flex-end;
  margin-top: 22px;
}

.footer-tail {
  display: flex;
  width: 100%;
  background-color: var(--pdp-brand-secondary);
  font-size: 20px;
  line-height: 1.2;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.icon-text {
  display: flex;
  gap: 12px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.2;
  align-items: center;
}
.icon-text > img {
  width: 22px;
}

/* animation */
.fadein-grow {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s ease;
  transition-delay: 150ms;
}
.fadein-te {
  opacity: 0;
  transform: scale(0.8) translateY(75px);
  transition: all 1s ease;
  transition-delay: 250ms;
}

.fadein-grow-edge {
  opacity: 1;
  transform: scale(1.1);
}

.fadein-grow-std {
  opacity: 1;
  transform: scale(1);
}

.fadein-te-std {
  opacity: 1;
  transform: scale(1) translateY(0px);
}

.slidein-left {
  opacity: 0;
  transform: translate(-95%, 0px);
  transition: all 1s ease;
  transition-delay: 175ms;
}

.slidein-right {
  opacity: 0;
  transform: translate(95%, 0px);
  transition: all 1s ease;
  transition-delay: 175ms;
}

.slidein {
  transform: translate(0px, 0px);
  opacity: 1;
}

.slidex-right {
  transform: translate(176px, 0px);
  transition: all 1.5s ease;
  transition-delay: 250ms;
}

.slidex {
  transform: translate(0px, 0px);
}

/* HMenu */
.hmenu-trigger {
  width: 30px;
  height: 20px;
  position: relative;
  transform: rotate(0deg);
  transition: all 0.5s ease;
  cursor: pointer;
  border: 0;
  background-color: transparent;
}

.hmenu-trigger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all 0.25s ease;
}

.hmenu-trigger:hover > span {
  background-color: var(--pdp-brand-secondary);
}

.hmenu-trigger span:nth-child(1) {
  top: 0px;
}

.hmenu-trigger span:nth-child(2),
.hmenu-trigger span:nth-child(3) {
  top: 8px;
}

.hmenu-trigger span:nth-child(4) {
  top: 16px;
}

.hmenu-trigger.open span:nth-child(1) {
  top: 16px;
  width: 0%;
  left: 50%;
}

.hmenu-trigger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hmenu-trigger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hmenu-trigger.open span:nth-child(4) {
  top: 16px;
  width: 0%;
  left: 50%;
}

.mm {
  width: 100%;
  position: fixed;
  background-color: var(--pdp-brand-secondary);
  height: 100%;
  z-index: 777;
  left: 0;
  top: 75px;
  padding-top: 128px;
  padding-bottom: 136px;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  display: flex;
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.5s ease;
  box-shadow: inset 0px 20px 20px -5px #00000034, 0px 30px 50px #051e2972;
  overflow: auto;
}

.mmfooter {
  justify-content: center;
  padding: 0 24px;
}

.mm.open {
  transform: translateX(0%);
  opacity: 1;
}

.mm .menu {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.mm .menu li a {
  font-size: 35px;
  padding: 16px;
  color: var(--pdp-brand-primary);
}

.mm .nav-social {
  display: flex;
  justify-content: center;
}

.mm .icon {
  height: 45px;
}

/* Slider overrides */
.flickity-button-icon {
  fill: var(--pdp-brand-primary);
}

.flickity-button:disabled {
  display: none;
}

.flickity-button-icon {
  fill: #fff !important;
}

.flickity-button:focus {
  box-shadow: 0 0 0 5px var(--pdp-brand-secondary) !important;
}

.flickity-prev-next-button {
  background-color: var(--pdp-brand-primary) !important;
}

.flickity-prev-next-button:hover {
  background-color: var(--pdp-brand-primary) !important;
  filter: contrast(80%) Im !important;
}

.logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px;
}

.logos img {
  max-width: fit-content;
  max-height: 64px;
}

.logos img.gva-logo {
  max-height: 32px;
}

@media (min-width: 520px) {
  .nav-language {
    display: flex;
  }
  .footer-body__right .text {
    margin-top: 0px;
  }
}

@media (min-width: 768px) {
  .eventos {
    padding: 64px 48px;
  }

  .hero__img {
    height: auto;
  }

  .logos {
    flex-direction: row;
    justify-content: center;
  }
  .footer {
    padding: 80px 48px 115px;
  }
  .logo-footer {
    max-height: 95px;
  }
  .brand {
    padding: 0 60px;
  }
  .btn.nav {
    padding: 40px 48px;
  }
  .mm {
    top: 95px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 125%;
  }

  .hero__details-text {
    font-size: 2.25rem;
  }

  .icon {
    height: 35px;
  }

  .sobre-nosotros .inner {
    align-items: flex-start;
    flex-direction: row;
    gap: 128px;
  }

  .sobre-nosotros .inner p {
    text-align: left;
  }

  .sobre-nosotros .inner .left {
    align-items: flex-start;
    padding: 16px;
  }

  .slgrid {
    gap: 128px;
    padding: 128px 48px;
  }

  .slgrid-item__list-container > h5 {
    margin-bottom: 16px;
  }

  .slgrid-item__body-inner .slgrid-item__list-container {
    flex-basis: 40%;
  }

  .slgrid-item__body-inner .slcarousel {
    flex-basis: 60%;
  }

  .slgrid-item__body {
    align-items: flex-start;
  }

  .slgrid-item__list {
    gap: 16px;
  }

  .slgrid-item__cta--desktop {
    display: block;
  }

  .slgrid-item__cta--mobile {
    display: none;
  }

  .slgrid-item__body-inner {
    flex-direction: row;
    gap: 40px;
  }

  .slgrid-item__body-inner--flip {
    flex-direction: row-reverse;
  }

  .xgrid-item {
    flex-direction: row;
    max-height: 1080px;
    min-height: 800px;
  }

  .xgrid-item--flip {
    flex-direction: row-reverse;
  }

  .xgrid-item__details {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
    margin: 0;
    gap: 32px;
    max-width: 400px;
  }

  .xgrid-item__image {
    max-width: unset;
    height: 100%;
    margin: unset;
  }

  .rr-carousel__cell {
    width: auto;
    margin-right: 88px;
  }

  .rr-carousel__cell > img {
    max-height: 800px;
  }

  .hero__details {
    padding-top: 300px;
  }

  .actividades {
    padding: 0 0 128px;
  }

  .actividades > h3 {
    margin: 0 auto 72px;
  }

  .logos {
    gap: 96px;
    padding: 112px 48px;
  }

  .logos img {
    max-height: 112px;
  }

  .logos img.gva-logo {
    max-height: 56px;
  }

  .mapa .xgrid-item__details {
    text-align: left;
    padding: 0;
  }
  .carousel .slide-text {
    max-width: 948px;
  }

  .renders {
    padding: 128px 0px;
  }
}
/* Non-conventional breakpoint */
@media (min-width: 1200px) {
  .menu {
    gap: 24px;
  }

  .menu {
    display: flex;
  }

  .hmenu,
  .mm {
    display: none;
  }
}

@media (min-width: 1280px) {
  html {
    font-size: 150%;
  }

  h3 {
    font-size: 2.0625rem;
  }

  .btn,
  .menu li a,
  .nav-language a {
    font-size: 20px;
  }

  .hero__details-text {
    font-size: 45px;
  }

  .navigation {
    padding-left: 64px;
  }

  .sobre-nosotros .inner {
    padding: 0;
  }

  .menu {
    gap: 32px;
  }
  .mapa .xgrid-item__details {
    margin-left: 96px;
  }
}

@media (min-width: 1600px) {
  .logo-footer {
    margin-left: -115px;
  }
}
