/* FONTS */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('./../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans Italic';
  src: url('./../fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
}
/* COMMON */
:root {
  --font-primary:       'Plus Jakarta Sans', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  --font-primary-italic:'Plus Jakarta Sans Italic', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  --font-primary-bold:  'Plus Jakarta Sans', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  --font-secondary:     'Plus Jakarta Sans', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;

  --color-text: #232323;
  --color-link: #32AD9E;
  --color-link-hover: #1be6ce;

  --form-input-color: #ffffff;
  --form-placeholder-color: #ffffff;
  --form-input-backgroud-color: #7DC1BA;
  --form-text-size: 16px;

  --color-primary: #32AD9E;
  --color-primary-dark: #187368;
  --color-primary-light: #1be6ce;

  --color-secondary: #c0c0c0;
  --color-secondary-dark: #dfdfdf;
  --color-secondary-light: #f3f3f3;

  --color-tertiary: #208D80;
  --color-tertiary-dark: #0B7366;
  --color-tertiary-light: #7DC1BA;

  --padding-container-x: 120px;
  --padding-container-y: 120px;

  --max-width-container: 1850px;
  --max-width-container-semi-narrow: 1600px;
  --max-width-container-narrow: 1350px;
  --max-width-container-super-narrow: 1100px;
  --max-width-container-ultra-narrow: 600px;
}
@media (max-width: 1200px) {
  :root {
    --padding-container-x: 80px;
    --padding-container-y: 80px;
  }
}
@media (max-width: 992px) {
  :root {
    --padding-container-x: 40px;
    --padding-container-y: 80px;
  }
}
@media (max-width: 420px) {
  :root {
    --padding-container-x: 30px;
    --padding-container-y: 60px;
  }
}
.hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
* {
  box-sizing: border-box;
  font-family: var(--font-primary);
}
html, 
body {
  overflow-x: hidden;
}
body {
  position: relative;
}
a {
  color: var(--color-link);
  text-decoration: none;
}
a:hover {
  color: var(--color-link-hover);
  text-decoration: none;
}
strong, b {
  font-family: var(--font-primary-bold);
  font-weight: 600;
}
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0;
}
h1 { font-size: 60px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
@media (max-width: 992px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
}
p,
a,
ul,
li {
  font-size: 22px;
}
@media (max-width: 992px) {
  p,
  a,
  ul,
  li {
    font-size: 18px;
  }
}
p,
ul,
li {
  color: var(--color-text);
}
span {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
}
figure {
  margin-bottom: 0px;
}
::selection {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}
img {
  width: 100%;
  height: auto;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.txt-blue {
  color: var(--color-primary);
}
.container {
  width: 100%;
  max-width: var(--max-width-container);
  padding: var(--padding-container-y) var(--padding-container-x);
  z-index: 1;
}
.container.semi-narrow {
  max-width: var(--max-width-container-semi-narrow);
}
.container.narrow {
  max-width: var(--max-width-container-narrow);
}
.container.super-narrow {
  max-width: var(--max-width-container-super-narrow);
}
.section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.section .section-title {
  font-family: var(--font-secondary);
  font-size: 46px;
  font-weight: 600;
}
@media (max-width: 992px) {
  .section .section-title {
    font-size: 32px;
  }
}
.section .section-text {
  font-size: 26px;
}
@media (max-width: 992px) {
  .section .section-text {
    font-size: 20px;
  }
}
.section .section-title:has(+ p) {
  margin-bottom: 20px;
}

.section.dark                 { background-color: var(--color-primary); }
.section.light                { background-color: white; }
.section.dark .section-title  { color: white; }
.section.dark .section-text   { color: white; }
.section.light .section-title { color: var(--color-text)}
.section.light .section-text  { color: var(--color-text); }

@media (min-width: 992px) {
  .section.padding-y {
    padding-top: var(--padding-container-y);
    padding-bottom: var(--padding-container-y);
  }
  .section.padding-x {
    padding-top: var(--padding-container-x);
    padding-bottom: var(--padding-container-x);
  }
}
.section.vertical .container {
  display: flex;
  padding: 0;
}
.section.vertical.flip .container {
  flex-direction: row-reverse;
}
.section.vertical .container > * {
  width: 50%;
  padding: var(--padding-container-y) var(--padding-container-x);
}
.section.vertical .container .section-image {
  background-position: center center;
  background-size: cover;
}
@media (max-width: 992px) {
  .section.vertical .container,
  .section.vertical.flip .container {
    flex-direction: column;
  }
  .section.vertical .container > *,
  .section.vertical.flip .container > * {
    width: 100%;
  }
  .section.vertical .container .section-image {
    min-height: 400px;
  }
}

/* TOP BAR */
.header-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.header-top-bar .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}
.header-top-bar .logo img {
  width: 100%;
  height: auto;
  max-width: 400px;
}
.header-top-bar .header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-top-bar .header-nav ul li a {
  color: white;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}
@media (max-width: 1200px) {
  .header-top-bar .logo img {
    max-width: 200px;
  }
  .header-top-bar .header-nav ul li a {
    font-size: 18px;
  }
}

/* NAV MOBILE */
.nav-toggler-btn,
.nav-close-btn {
  display: none;
}
.backdrop {
  position: absolute;
  height: 100%;
  width: 100%;
  display: none;
  backdrop-filter: blur(0px);
  opacity: 0;
  z-index: 5;
  transition: opacity 300ms ease-in-out;
}
@media (max-width: 1200px) {
  html.mobile .backdrop {
    display: block;
    backdrop-filter: blur(3px);
    opacity: 1;
    transition: opacity 300ms ease-in-out;
  }
  html .header-nav {
    position: fixed;
    height: 100vh;
    right: -100%;
    top: 0;
    display: block;
    background-color: black;
    padding: 128px 0 0 0;
    transition: right 300ms ease-in-out;
  }
  html.mobile .header-nav {
    right: 0;
    top: 0;
    transition: right 300ms ease-in-out;
  }
  .header-top-bar {
    height: var(--height-header-top-bar);
    padding: 0 0 0 var(--padding-x-container);
  }
  .header-top-bar .header-logo img {
    width: 200px;
  }
  .header-top-bar .header-nav ul {
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
  }
  .header-top-bar .header-nav ul li {
    display: block;
    width: 100%;
  }
  .header-top-bar .header-nav ul li a {
    display: block;
    color: white;
    padding: 24px 60px 24px 30px;
    font-size: 18px;
    background-image: none;
    font-weight: 100;
  }
  .nav-toggler-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    aspect-ratio: 1/1;
  }
  .nav-toggler-btn img {
    width: 26px;
  }
  .nav-close-btn {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    height: 128px;
    position: absolute;
    padding: 0 var(--padding-container-x);
    top: 0;
    right: 0;
    aspect-ratio: 1/1;
    background-color: var(--color-primary);
  }
  .nav-close-btn img {
    width: 40px;
  }
}

/* HEADER */
.home .main-header {
  height: 100vh;
  min-height: 900px;
  position: relative;
}
@media (max-width: 992px) {
  .home .main-header {
    height: auto;
    min-height: unset;
  }
}
.home .main-header .bg {
  background-image: url('./../images/header.jpg');
  background-size: cover;
  background-position: center center;
  position: absolute;
  height: 100%;
  width: 100%;
}
.home .main-header .bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.home .main-header .lang {
  position: absolute;
  display: flex;
  right: calc(550px + var(--padding-container-x) + 40px); /* Width de .form-container + content padding + margen de seguridad */
  color: var(--color-secondary);
  top: var(--padding-container-y);
  gap: 8px;
  z-index: 20;
}
.home .main-header .lang a,
.home .main-header .lang span {
  font-size: 24px;
}
.home .main-header .lang a.selected {
  font-weight: 600;
}
@media (max-width: 1200px) {
  .home .main-header .lang {
    top: 7%;
    right: 7%;
  }
}
.home .main-header .header-logo {
  position: absolute;
  left: var(--padding-container-x);
  top: 50px;
}
.home .main-header .header-logo img {
  width: 100%;
  max-width: 180px;
}
.home .main-header .header-info {
  position: absolute;
  left: var(--padding-container-x);
  bottom: 10%;
  width: 100%;
  max-width: calc(100vw - 600px - 15%); /* 100vw - ancho formulario - márgenes */
}
.home .main-header .header-info .title {
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -2px;
}
.home .main-header .header-info .subtitle {
  font-size: clamp(28px, 4vw, 36px);
  color: white;
}
@media (max-width: 1600px) {
  .home .main-header .header-info .title {
    font-size: 46px;
  }
  .home .main-header .header-info .subtitle {
    font-size: 26px;
  }
}
@media (max-width: 1350px) {
  .home .main-header .header-info .title {
    font-size: 34px;
  }
  .home .main-header .header-info .subtitle {
    font-size: 18px;
  }
}
@media (max-width: 1200px) {
  .home .main-header .header-info .title {
    font-size: 48px;
  }
  .home .main-header .header-info .subtitle {
    font-size: 26px;
  }
}
@media (max-width: 640px) {
  .home .main-header .header-info .title {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .home .main-header .header-info .subtitle {
    font-size: 16px;
  }
  .home .main-header .header-info .title br,
  .home .main-header .header-info .subtitle br {
    content: '';
    display: inline-block;
    width: 4px;
  }
}
.home .main-header .header-info .text {
  color: white;
}

@media (max-width: 1200px) {
  .home .main-header {
    height: auto;
  }
  .home .main-header .header-bg {
    height: 100vh;
    position: relative;
  }
  .home .main-header .header-info {
    max-width: calc(100% - (var(--padding-container-x) * 2));
  }
}

/* FORM COMMON */
.form-container {
  position: absolute;
  top: 0;
  right: var(--padding-container-x);
  display: flex;
  align-items: center;
  height: 100%;
}
.form-container .form-content {
  background-color: var(--color-primary);
  padding: 50px;
  width: 550px;
}
.form-container .form-content .form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-container .form-content .form-logo {
  max-width: 300px;
  margin-bottom: 40px;
}
.form-container .form-content .form-title {
  color: #ffffff;
  font-weight: 500;
  font-size: 24px;
}
@media (max-width: 1200px) {
  .form-container {
    position: relative;
    right: unset;
  }
  .form-container .form-content {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .form-container .form-content {
    padding: 50px var(--padding-container-x);
  }
}

/* FORM PREGUNTAS */
.form-preguntas .box,
.form-preguntas .box-footer {
  display: none;
}

.form-preguntas .box.active,
.form-preguntas .box-footer.active {
  display: block;
}

.form-preguntas .box input[type='radio'],
.form-preguntas .box-footer input[type='radio'] {
  display: none;
}

.form-preguntas .box label:not(.checkbox label),
.form-preguntas .box-footer label:not(.checkbox label) {
  background-color: #ffffff;
  color: #000000;
  border-radius: 5px;
  cursor: pointer;
  padding: 16px 10px;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

/* FORM */
.form fieldset {
  margin-bottom: 20px;
}
.form fieldset .inputs {
  display: grid;
  gap: 0 15px;
}
.form fieldset.fieldset-personales .inputs {
  grid-template-areas: 'nombre nombre' 'telefono email';
}
.form .box-nombre { grid-area: nombre; }
.form .box-telefono { grid-area: telefono; }
.form .box-email { grid-area: email; }

.form fieldset.fieldset-inmueble .inputs {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 'tipo cp';
}
@media (max-width: 560px) {
  .form fieldset.fieldset-personales .inputs {
    grid-template-areas: 'nombre' 'telefono' 'email';
  }
  .form fieldset.fieldset-inmueble .inputs {
    grid-template-columns: 1fr;
    grid-template-areas: 'tipo' 'cp';
  }
}
.form .box-tipo { grid-area: tipo; }
.form .box-poblacion { grid-area: poblacion; }
.form .box-zona { grid-area: zona; }
.form .box-cp { grid-area: cp; }

.form fieldset legend {
  text-transform: uppercase;
  color: white;
  font-size: 18px;
  margin-bottom: 0px;
}
.form .input-box {
  position: relative;
  padding-top: 10px;
  margin-bottom: 5px;
}
.form .input-box label {
  position: absolute;
  color: white;
  left: 14px;
  top: 26px;
  transition: font-size 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out;
}
.form .input-box:focus-within label {
  top: 14px;
  left: 13px;
  font-size: 10px;
  transition: font-size 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out;
}
.form .input-box input:not(:placeholder-shown)+label {
  top: 14px;
  font-size: 10px;
}
.form .input-box input,
.form .input-box textarea {
  background-color: var(--form-input-backgroud-color);
  color: var(--form-input-color);
  font-size: var(--form-text-size);
  border: 0;
  border-radius: 0px;
  padding: 22px 14px 12px;
  width: 100%;
}
.form .input-box select {
  appearance: none;
  background-color: var(--form-input-backgroud-color);
  color: var(--form-input-color);
  font-size: var(--form-text-size);
  border: 0;
  border-radius: 0px;
  padding: 17px 14px 17px;
  width: 100%;
}
.form .input-box textarea {
  resize: none;
}
.form .input-box input::placeholder,
.form .input-box textarea::placeholder {
  font-size: var(--form-text-size);
  color: var(--form-placeholder-color);
}
.form .checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.form .checkbox input[type='checkbox'] {
  appearance: none;
  background-color: transparent;
  border: 1px solid white;
  height: 1em;
  width: 1em;
  cursor: pointer;
  place-content: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
}
.form .checkbox input[type='checkbox']::before {
  content: '';
  display: block;
  height: 8px;
  width: 8px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--color-secondary-light);
}
.form .checkbox input[type='checkbox']:checked::before {
  transform: scale(1);
}
.form .checkbox * {
  color: #ffffff;
  font-size: 14px;
}
.form-container .submit {
  margin-top: 24px;
}
.form-container .submit input {
  border: 0;
  background-color: white;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 18px;
  border-radius: 5px;
  padding: 10px 40px;
  transition: all 300ms ease-in;
}
.form-container .submit input:hover {
  background-color: var(--color-primary-light);
  color: white;
  transition: all 300ms ease-in;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--form-input-color) !important;
  color: var(--form-input-color) !important;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 0px 0px transparent;
}
@media (max-width: 992px) {
  .form-container .submit input {
    width: 100%;
  }
}

/* CAROUSEL */
.owl-carousel {
  position: relative;
}
.owl-carousel .owl-item {
  aspect-ratio: 16 / 9;
}
.owl-carousel .owl-item img {
  object-fit: cover;
}
.owl-carousel .owl-nav {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 40px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.owl-carousel .owl-nav .owl-next {
  transform: rotate(180deg);
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  pointer-events: all;
  opacity: .5;
  transition: opacity 300ms ease-in-out;
}
.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  opacity: .8;
  transition: opacity 300ms ease-in-out;
}
.owl-carousel .owl-dots {
  position: absolute;
  bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.owl-carousel .owl-dots .owl-dot {
  width: 20px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: rgba(255,255,255,.5);
  transition: background 300ms ease-in-out;
}
.owl-carousel .owl-dots .owl-dot.active {
  background-color: rgba(255,255,255,.8);
  transition: background 300ms ease-in-out;
}
.owl-carousel .owl-dots .owl-dot:hover {
  background-color: rgba(255,255,255,1);
  transition: background 300ms ease-in-out;
}

/* ICONOS */
.icons .section-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.icons .section-icons .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.icons .section-icons .icon-box img {
  max-width: 100px;
}
.icons .section-icons .icon-box h3 {
  font-size: 18px;
}
@media (max-width: 768px) {
  .icons .section-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  .icons .section-icons .icon-box img {
    max-width: 80px;
  }
  .icons .section-icons .icon-box h3 {
    font-size: 16px;
  }
}

/* INTRO */
.intro.section .section-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro.section .section-animation {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 992px) {
  .intro.section .section-header {
    padding-bottom: calc(var(--padding-container-y) / 2);
  }
  .intro.section .section-animation {
    padding-top: 0;
  }
}
@media (min-width: 992px) {
  .intro.section .section-animation {
    padding-right: 0;
  }
}
.intro .section-animation .intro-card {
  position: relative;
  background-color: var(--color-secondary-dark);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.intro .section-animation .intro-card .intro-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1;
}
.intro .section-animation .intro-card .intro-card-info p {
  margin-bottom: 0;
}
.intro .section-animation .intro-card .intro-card-info .info-top {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #868686;
  font-size: 16px;
}
.intro .section-animation .intro-card .intro-card-info .info-number {
  color: var(--color-primary);
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
}
.intro .section-animation .intro-card .intro-card-info .info-text {
  color: var(--color-text);
  font-size: 24px;
}
.intro .section-animation .intro-card .intro-card-image {
  background-color: white;
}
.intro .section-animation .intro-card .intro-card-image img {
  border-radius: 10px;
  transform: translateX(-100%);
  transition: transform 800ms ease-in-out;
  transition-delay: 50ms;
}
.intro .section-animation.animated .intro-card .intro-card-image img {
  border-radius: 0 10px 10px 0;
  transform: translateX(0%);
  transition: transform 800ms ease-in-out;
  transition-delay: 50ms;
}
@media (min-width: 992px) and (max-width: 1450px) {
  .intro .section-animation .intro-card .intro-card-info .info-number {
    font-size: 60px;
  }
  .intro .section-animation .intro-card .intro-card-info .info-text {
    font-size: 18px;
  }
}
@media (max-width: 992px) {
  .intro .section-animation .intro-card .intro-card-info .info-number {
    font-size: 120px;
  }
  .intro .section-animation .intro-card .intro-card-info .info-text {
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  .intro .section-animation .intro-card .intro-card-info .info-number {
    font-size: 60px;
  }
  .intro .section-animation .intro-card .intro-card-info .info-text {
    font-size: 16px;
  }
}
@media (max-width: 560px) {
  .intro.section .section-animation {
    padding-bottom: 40px;
  }
}
@media (max-width: 480px) {
  .intro .section-animation .intro-card .intro-card-info .info-top {
    font-size: 12px;
  }
  .intro .section-animation .intro-card .intro-card-info .info-number {
    font-size: 32px;
  }
  .intro .section-animation .intro-card .intro-card-info .info-text {
    font-size: 8px;
  }
}

/* CARDS */
section.cards {
  display: block;
}
section.cards .container {
  padding-bottom: calc(var(--padding-container-y) / 2);
}
.cards .section-title {
  text-align: center;
}
article.card {
  border: 0;
  border-radius: 0;
}
article.card .container {
  display: flex;
  flex-direction: row;
  padding: 0;
}
article.card.flip  .container {
  flex-direction: row-reverse;
}
article.card .container > * {
  width: 50%;
  padding: var(--padding-container-y) var(--padding-container-x);
}
article.card .container .article-image {
  background-position: center center;
  background-size: cover;
}
@media (max-width: 992px) {
  article.card .container,
  article.card.flip .container {
    flex-direction: column;
  }
  article.card .container > *,
  article.card.flip .container > * {
    width: 100%;
  }
  article.card .container .section-image {
    min-height: 400px;
  }
}
article.card .container .article-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
article.card .container .article-title {
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: 300;
}
article.card .container .article-text {
  font-size: 18px;
}
article.card .container .article-image .image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 70%;
}
article.card .container .article-image img {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  border-radius: 20px;
}
article.card .container .article-image .image-wrapper::before {
  position: absolute;
  content: '';
  display: block;
  z-index: 1;
  border-radius: 30px;
  background-color: var(--color-primary);
  transition: top 700ms ease-in-out, left 700ms ease-in-out;
  transition-delay: 50ms;
}
article.card .container .article-image.animated .image-wrapper::before {
  transition: top 700ms ease-in-out, left 700ms ease-in-out;
  transition-delay: 50ms;
}
article.card-1 {
  background-image: url('./../images/pixel-bg.png');
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: 100% 50%;
}
article.card-1 .container .article-image .image-wrapper::before {
  width: 70%;
  height: 40%;
  left: 20px;
  top: 20px;
}
article.card-1 .container .article-image.animated .image-wrapper::before {
  left: -140px;
  top: -50px;
}
article.card-2 {
  background-color: var(--color-secondary-light);
}
article.card-2 .container .article-image .image-wrapper::before {
  width: 90%;
  height: 50%;
  left: 5px;
  top: 5px;
}
article.card-2 .container .article-image.animated .image-wrapper::before {
  left: 140px;
  top: -70px;
}
article.card-3 .container .article-image .image-wrapper::before {
  width: 40%;
  height: 80%;
  left: 20px;
  top: 20px;
}
article.card-3 .container .article-image.animated .image-wrapper::before {
  left: -70px;
  top: -50px;
}
article.card-3 {
  background-image: url('./../images/pixel-bg.png');
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 100% 50%;
}
@media (max-width: 992px) {
  article.card .container .article-image .image-wrapper {
    max-width: 100%;
  }
  article.card .container .article-image {
    padding-top: 0;
    padding-bottom: 0;
  }
  article.card .container .article-title {
    font-size: 26px;
  }
}

/* VENDER */
.vender .section-header {
  text-align: center;
}
.vender .section-title {
  font-size: 60px;
}
.vender .section-text {
  font-weight: 300;
}
@media (max-width: 1200px) {
  .vender .section-title {
    font-size: 40px;
  }
}
@media (max-width: 992px) {
  .vender .container {
    padding-bottom: 0;
  }
  .vender .section-title {
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  .vender .section-title {
    font-size: 30px;
  }
}

/* STATIC */
.static .card-container{
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr;
}
.static .static-card {
  position: relative;
  padding: 200px 40px calc(40px + 30%) 40px;
  display: flex;
  flex-direction: column;
  height: 80%;
}
.static .static-card h3,
.static .static-card p {
  color: white;  
}
.static .static-card h3 {
  border-bottom: 1px solid white;
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-size: 36px;
}
.static .static-card p {
  font-size: 16px;
}
.static .static-card img {
  position: absolute;
  top: 40px;
  left: 40px;
  aspect-ratio: 1 / 1;
  max-width: 75px;
}
.static .static-card.card-image {
  background-size: cover;
  height: 100%;
  transform: translateY(-10%) scale(80%);
  transition: transform 800ms ease-in-out;
  transition-delay: 50ms;
}
.static .static-card.card-image.animated {
  background-size: cover;
  height: 100%;
  transform: translateY(-10%) scale(100%);
  transition: transform 800ms ease-in-out;
  transition-delay: 50ms;
}
.static .static-card-1 { background-color: var(--color-tertiary-light); }
.static .static-card-2 { background-color: var(--color-tertiary); }
.static .static-card-3 { background-color: var(--color-tertiary-dark); }

@media (max-width: 1500px) {
  .static .static-card {
    padding: 200px 40px calc(100px + 30%) 40px;
  }
}
@media (max-width: 992px) {
  .static .card-container {
    grid-template-columns: 1fr 1fr;
  }
  .static .static-card {
    padding: 150px 40px 40px 40px;
    height: 100%;
  }
  .static .static-card.card-image,
  .static .static-card.card-image.animated {
    transform: translateY(0%) scale(100%);
  }
  .static .static-card h3 {
    font-size: 26px;
  }
  .static .static-card p {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .static .card-container {
    grid-template-columns: 1fr;
  }
  .static .static-card h3 {
    font-size: 22px;
  }
  .static .static-card.card-image {
    aspect-ratio: 3 / 4;
  }
}

/* CONTACT */
.contact {
  height: 100vh;
  min-height: 800px;
  position: relative;
}
.contact-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-position: center center;
  background-size: cover;
}
.contact .video-bg {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}
.contact-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.contact .section-header {
  position: absolute;
  height: 100%;
  left: var(--padding-container-x);
  width: calc(100vw - 500px - 10% - var(--padding-container-x));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact .section-title {
  font-size: 66px;
  margin-bottom: 20px;
}
.contact .section-text {
  font-size: 36px;
  color: white;
  font-weight: 300;
}
@media (max-width: 1350px) {
  .contact .section-title {
    font-size: 34px;
  }
  .contact .section-text {
    font-size: 20px;
  }
}
.contact .section-header .section-title {
  color: white;
}
@media (max-width: 1200px) {
  .contact {
    height: auto;
  }
  .contact .form-container {
    position: relative;
    width: 100%;
    right: unset;
  }
  .contact .section-header {
    position: absolute;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    left: 0;
    padding-bottom: 300px;
    text-align: center;
  }
  .contact .section-header .section-title {
    max-width: 100%;
    text-align: center;
  }
  .contact .section-header .section-title br,
  .contact .section-header .section-text br {
    content: '';
    display: inline-block;
    width: 6px;
  }
}
@media (max-width: 768px) {
  .contact .section-title {
    font-size: 26px;
  }
  .contact .section-text {
    font-size: 16px;
  }
}

/* FOOTER */
.footer {
  background-color: var(--color-primary-dark);
}
.footer a {
  cursor: pointer;
}
.footer,
.footer * {
  color: white;
  font-size: 18px;
}
.footer .container {
  padding-top: 20px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.footer .container > div {
  display: flex;
}
.footer .container > div:nth-child(1) {
  gap: 20px;
}
.footer .container > div:nth-child(2) {
  justify-content: flex-end;
}
@media (max-width: 992px) {
  .footer .container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
  }
  .footer .container > div {
    justify-content: center!important;
  }
}
@media (max-width: 460px) {
  .footer .container > div {
    align-items: center;
    flex-direction: column;
    gap: 10px!important;
  }
}

/* COMPROBANTE */
.comprobante {
  text-align: center;
}
.comprobante img {
  width: 150px;
  margin-bottom: 20px;
}
.comprobante h1 {
  color: black;
  text-align: center;
  margin-bottom: 20px;
}
.comprobante p {
  color: black;
  font-size: 20px;
  text-align: center;
}
.comprobante a {
  color: var(--color-link);
  text-decoration: none;
}

/* MODALES */
#informacion .modal-header h5 {
  color: #333333;
  font-family: var(--font-primary);
  font-size: 1rem;
  letter-spacing: 0.02rem;
  text-transform: capitalize;
}

#informacion .modal-content {
  -webkit-box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
}

#informacion .modal-body p,
#informacion ul li {
  color: #222222;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  line-height: normal;
  text-align: left;
  width: 100%;
}

/* ANIMACIONES */
@keyframes title__fade {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title__fade {
  animation: title__fade 500ms ease-out;
  animation-delay: 600ms;
  animation-fill-mode: forwards;
  opacity: 0;
}