/* FONTS */
@font-face {
  font-family: 'Alta';
  src: url('./../fonts/alta-regular.otf') format('opentype');
}
/* COMMON */
:root {
  --font-primary:       'Times New Roman', Times, serif;
  --font-primary-bold:  'Times New Roman', Times, serif;
  --font-secondary:     'Alta', Arial, Helvetica, sans-serif;

  --color-text: #2A130C;
  --color-link: #2A130C;
  --color-link-hover: #2A130C;
  
  --form-input-color: #000000;
  --form-label-color: #000000;
  --form-label-active-color: #000000;
  --form-placeholder-color: #000000;
  --form-input-backgroud-color: white;
  --form-text-size: 16px;

  --color-primary: #2A130C;
  --color-primary-dark: #110603;
  --color-primary-light: #5f2412;

  --color-secondary: #BFA517;
  --color-secondary-dark: #98830a;
  --color-secondary-light: #F2EDD1;

  --color-tertiary: #2E2E2E;
  --color-tertiary-dark: #2E2E2E;
  --color-tertiary-light: #2E2E2E;

  --color-list-bg: #ffffff;
  --color-list-bg-light: #eeeeee;

  --color-admin-area-primary: #666666;
  --color-admin-area-primary-bg: #fafafa;
  --color-admin-area-primary-border: #dddddd;
  --color-admin-area-ok: #1ba2c0;
  --color-admin-area-ok-hover: #0fc2ea;
  --color-admin-area-ko: #c34a4a;
  --color-admin-area-ko-hover: #e63434;

  --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: 900px;
  --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: 48px; }
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,
span,
a,
ul,
li {
  font-size: 20px;
}
@media (max-width: 992px) {
  p,
  span,
  a,
  ul,
  li {
    font-size: 16px;
  }
}
p,
span,
ul,
li {
  color: var(--color-text);
}
p span,
a span,
li span,
span span,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 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;
}
.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); }
.container.ultra-narrow { max-width: var(--max-width-container-ultra-narrow); }

.section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.section.mosca-top {
  background-image: url('./../images/svg/mosca.svg');
  background-size: 20%;
  background-repeat: no-repeat;
  background-position: top left;
}
.section.mosca-bottom {
  background-image: url('./../images/svg/mosca.svg');
  background-size: 20%;
  background-repeat: no-repeat;
  background-position: bottom right
}
.section .section-title {
  font-family: var(--font-secondary);
  font-size: 50px;
}
@media (max-width: 768px) {
  .section .section-title {
    font-size: 38px;
  }
}
.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-primary); }
.section.light .section-text  { color: var(--color-text); }

.section.vertical .container {
  display: flex;
  padding: 0;
}
.section.vertical .container > * {
  padding: var(--padding-container-y) var(--padding-container-x);
}
.section.vertical .container .section-image {
  background-position: center center;
  background-size: cover;
}
@media (min-width: 992px) {
  .section.padding-y {
    padding-top: var(--padding-container-y);
    padding-bottom: var(--padding-container-y);
  }
  .section.vertical.flip .container {
    flex-direction: row-reverse;
  }
  .section.vertical .container > * {
    width: 50%;
  }
  .section.vertical.one-two .container > *:first-child {
    width: calc((100% / 3) * 1);
  }
  .section.vertical.one-two .container > *:nth-child(2) {
    width: calc((100% / 3) * 2);
  }
  .section.vertical.two-one .container > *:first-child {
    width: calc((100% / 3) * 2);
  }
  .section.vertical.two-one .container > *:nth-child(2) {
    width: calc((100% / 3) * 1);
  }
}
@media (max-width: 992px) {
  .section.vertical .container,
  .section.vertical.flip .container {
    flex-direction: column;
  }
  .section.vertical .container .section-image {
    aspect-ratio: 1 / 1;
  }
}

/* TOP BAR */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
  transition: top 0.3s;font-size: 16px;
}
.skip-to-content:focus {
  top: 0;
}
.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;
  }
}

/* INTRO */
:root {
  --logo-ico-size: 300px;
  --logo-text-size: 500px;
  --logo-text-y-translate: 300px;
  --logo-final-top: 100px;
}
@media (max-width: 768px) {
  :root {
    --logo-ico-size: 200px;
    --logo-text-size: 320px;
    --logo-text-y-translate: 200px;
  }
}
.intro .main-header {
  background-position: center center;
  background-size: cover;
}
.header-intro .container {
  display: flex;
  justify-content: center;
}
.header-intro {
  height: 100vh;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: white;

  animation: header-color;
  animation-duration: 4000ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}
.header-intro .header-lang {
  opacity: 0;
}
.header-intro .header-logo {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;

  animation: logo;
  animation-duration: 4000ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}
.header-intro .header-logo .logo-ico {
  position: absolute;
  width: var(--logo-ico-size);
  clip-path: circle(0% at 50% 50%);

  animation: logo-ico;
  animation-duration: 4000ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}
.header-intro .header-logo .logo-text {
  position: absolute;
  width: var(--logo-text-size);
  opacity: 0;

  animation: logo-text;
  animation-duration: 4000ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}
.header-intro .header-info {
  opacity: 0;

  animation: header-info;
  animation-delay: 500ms;
  animation-duration: 4000ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}
@keyframes header-color {
  0%  { background-color: #ffffff; }
  20% { background-color: #ffffff; }
  40% { background-color: var(--color-secondary-light); }
  60% { background-color: var(--color-secondary-light); }
  80% { background-color: rgba(242, 237, 209, .9);}
  100%{ background-color: rgba(242, 237, 209, .9);}
}
@keyframes logo {
  0%  { top: 45vh; }
  20% { top: 45vh; }
  40% { top: 45vh; }
  60% { top: 45vh; }
  80% { top: var(--logo-final-top); }
  100%{ top: var(--logo-final-top); }
}
@keyframes logo-ico {
  0%  { clip-path: circle(0% at 50% 50%); transform: scale(120%); }
  20% { clip-path: circle(0% at 50% 50%); transform: scale(120%); }
  40% { clip-path: circle(100% at 50% 50%); transform: scale(100%); }
  60% { clip-path: circle(100% at 50% 50%); transform: scale(100%); }
  80% { clip-path: circle(100% at 50% 50%); transform: scale(50%);  }
  100%{ clip-path: circle(100% at 50% 50%); transform: scale(50%); }
}
@keyframes logo-text {
  0%  { opacity: 0; transform: scale(100%) translateY(0); }
  20% { opacity: 0; transform: scale(100%) translateY(0); }
  40% { opacity: 0; transform: scale(100%) translateY(0); }
  60% { opacity: 1; transform: scale(100%) translateY(0); }
  80% { opacity: 1; transform: scale(32%) translateY(var(--logo-text-y-translate)); }
  100%{ opacity: 1; transform: scale(32%) translateY(var(--logo-text-y-translate)); }
}
@keyframes header-info {
  0%  { opacity: 0; }
  20% { opacity: 0; }
  40% { opacity: 0; }
  60% { opacity: 0; }
  70% { opacity: 0; }
  80% { opacity: 1; }
  100%{ opacity: 1; }
}
.header-intro .header-info .title {
  font-family: var(--font-secondary);
  font-size: 60px;
  line-height: 1;
  margin-bottom: 20px;
}
.header-intro .header-info .subtitle {
  margin-bottom: 60px;
}
.intro .intro-buttons {
  display: flex;
  padding: 0 40px;
  gap: 20px;
}
@media (max-width: 768px) {
  .header-intro {
    min-height: 800px;
  }
  .header-intro .header-info .title {
    font-size: 30px;
    padding: 0 40px;
  }
  .header-intro .header-info .subtitle {
    padding: 0 40px;
    margin-bottom: 20px;
  }
  .header-intro .header-info .subtitle .br,
  .header-intro .header-info .title .br {
    display: inline-block;
    width: 6px;
  }
  .header-intro .header-info .subtitle br,
  .header-intro .header-info .title br {
    content: '';
  }
  .intro .intro-buttons {
    flex-direction: column;
  }
}
.intro .intro-buttons .intro-btn {
  background-color: var(--color-secondary);
  color: white;
  display: inline-block;
  padding: 5px 30px;
  transition: background 250ms ease-in-out;
}
.intro .intro-buttons .intro-btn:hover {
  background-color: var(--color-secondary-dark);
  transition: background 250ms ease-in-out;
}

/* HEADER */
.home .main-header {
  height: 100vh;
  min-height: 900px;
  position: relative;
  border-bottom: 1px solid var(--color-secondary);
}
@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, .6);
  background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 1200px) {  
  .home .main-header .bg::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .6) 100%);
  }
}
.home .main-header .lang {
  position: absolute;
  display: flex;
  right: 40px;
  top: 40px;
  gap: 8px;
  z-index: 20;
}
.home .main-header .lang a,
.home .main-header .lang span {
  font-size: 24px;
  color: var(--color-secondary);
}
.home .main-header .lang a.selected {
  font-weight: 600;
}
@media (max-width: 1200px) {
  .home .main-header .lang {
    top: 7%;
    right: 7%;
  }
}
@media (min-width: 1200px) {
  .home .main-header .header-logo-mobile {
    display: none;
  }
}
.home .main-header .header-logo-mobile {
  position: absolute;
  left: var(--padding-container-x);
  top: var(--padding-container-y);
  z-index: 10;
}
.home .main-header .header-logo-mobile img {
  width: 100%;
  max-width: 180px;
}
@media (max-width: 768px) {
  .home .main-header .header-logo-mobile img {
    max-width: 100px;
  }
}
.home .main-header .header-info {
  position: absolute;
  left: var(--padding-container-x);
  bottom: 10%;
  width: 100%;
  max-width: calc(100vw - 550px - 250px);
}
.home .main-header .header-info .title {
  font-family: var(--font-secondary);
  color: white;
  font-size: 68px;
}
.home .main-header .header-info .subtitle {
  color: white;
  font-size: 34px;
}
.home .main-header .header-info .text {
  display: inline-block;
  color: white;
  font-size: 28px;
  padding: 6px 20px 8px;
  background-color: var(--color-secondary);
}
@media (max-width: 1200px) {
  .home .main-header .header-info .title {
    font-size: 38px;
  }
}
@media (max-width: 992px) {
  .home .main-header .header-info .title {
    font-size: 38px;
  }
  .home .main-header .header-info .subtitle {
    font-size: 26px;
  }
  .home .main-header .header-info .text {
    font-size: 22px;
  }
}

@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: 0;
  display: flex;
  align-items: center;
  height: 100%;
  background-color: white;
}
.form-container .form-content {
  padding: 50px;
  width: 550px;
}
.form-container .form-content .form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-container .form-content .form-logo {
  max-width: 180px;
  margin-bottom: 40px;
}
.form-container .form-content .form-title {
  color: var(--color-tertiary);
  text-align: left;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 40px;
}
.form-container .form-content .form-text {
  color: var(--color-tertiary);
  text-align: left;
  font-size: 18px;
}
@media (max-width: 1200px) {
  .form-container {
    position: relative;
    right: unset;
  }
  .form-container .form-content {
    width: 100%;
  }
  .form-container .form-content .form-title,
  .form-container .form-content .form-text {
    text-align: center;
  }
}
@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 .form-inputs {
  display: grid;
  grid-template-areas: 'nombre apellido' 'telefono email' 'mensaje mensaje';
  gap: 20px;
  margin-bottom: 20px;
}
.form .box-nombre   { grid-area: nombre; }
.form .box-apellido { grid-area: apellido; }
.form .box-telefono { grid-area: telefono; }
.form .box-email    { grid-area: email; }
.form .box-cp       { grid-area: cp; }
.form .box-mensaje  { grid-area: mensaje; }

.form .input-box {
  display: flex;
  flex-direction: column-reverse;
}
.form .input-box label {
  margin-bottom: 5px;
  color: var(--form-label-color);
}
.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: 10px 0px;
  width: 100%;
  border-bottom: 1px solid var(--color-secondary);
}
.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 var(--color-text);
  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);
}
.form .checkbox input[type='checkbox']:checked::before {
  transform: scale(1);
}
.form .checkbox * {
  font-size: 14px;
}
.form-container .submit {
  margin-top: 24px;
}
.form-container .submit input {
  border: 0;
  background-color: var(--color-secondary);
  color: white;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 30px;
  transition: all 300ms ease-in;
}
.form-container .submit input:hover {
  background-color: var(--color-secondary-light);
  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%;
  }
}

/* ESTILOS PARA LABEL FLOTANTES */
.form-container.floating-labels .form .input-box {
  flex-direction: column;
  position: relative;
  padding-top: 10px;
  margin-bottom: 10px;
}
.form-container.floating-labels .form .input-box label {
  position: absolute;
  left: 0px;
  top: 24px;
  transition: font-size 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out, color 250ms ease-in-out;;
}
.form-container.floating-labels .form .input-box:focus-within label,
.form-container.floating-labels .form .input-box:focus-within textarea {
  top: -14px;
  left: 0px;
  font-size: 12px;
  color: var(--form-label-active-color);
  transition: font-size 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out, color 250ms ease-in-out;
}
.form-container.floating-labels .form .input-box input:not(:placeholder-shown)+label,
.form-container.floating-labels .form .input-box textarea:not(:placeholder-shown)+label {
  top: -14px;
  font-size: 12px;
  color: var(--form-label-active-color);
}

/* 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;
}

/* INFO 01 */
.section.info01 {
  padding-bottom: calc(var(--padding-container-y) / 4);
}
/* INFO 02 */
.section.info02 {
  padding-top: calc(var(--padding-container-y) / 4);
}

/* ICONOS */
.parcelas .container {
  padding-top: calc(var(--padding-container-y) / 2);
}
.parcelas .section-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.parcelas .section-icons .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 20px;
  text-align: center;
  gap: 20px;
  background-image: url('./../images/svg/ico-parcela-bg.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.parcelas .section-icons .icon-box img {
  max-width: 80px;
}
.parcelas .section-icons .icon-box h3 {
  font-size: 24px;
  font-family: var(--font-secondary);
}
@media (max-width: 1500px) {
  .parcelas .section-icons {
    gap: 20px;
  }
  .parcelas .section-icons .icon-box img {
    max-width: 60px;
  }
  .parcelas .section-icons .icon-box h3 {
    font-size: 18px;
    font-family: var(--font-secondary);
  }
}
@media (max-width: 1200px) {
  .parcelas .section-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
  .parcelas .section-icons .icon-box img {
    max-width: 80px;
  }
  .parcelas .section-icons .icon-box h3 {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .parcelas .section-icons {
    display: block;
  }
  .parcelas .section-icons .icon-box img {
    max-width: 50px;
  }
  .parcelas .section-icons .icon-box h3 {
    font-size: 22px;
  }
}

/* UBICACIÓN */
.ubicacion .section-image {
  aspect-ratio: 256 / 110;
  background-size: cover;
}
@media (min-width: 1200px) {
  .ubicacion .section-header {
    max-width: 60%;
    padding-bottom: calc(var(--padding-container-y));
  }
  .ubicacion .container {
    padding-top: calc(var(--padding-container-y) / 4);
  }
}
@media (max-width: 768px) {
.ubicacion .section-image {
    aspect-ratio: 1.5 / 1;
    background-position: center;
  }
}

/* TIPOLOGÍAS */
.tipologias .section-tipologias ul {
  list-style: none;
  padding: 0;
}
.tipologias .section-tipologias ul li,
.tipologias .section-tipologias .section-tipologias-campos {
  padding: 10px 20px;
}
.tipologias .section-tipologias ul li:nth-child(odd) {
  background-color: var(--color-list-bg-light);
}
@media (min-width: 768px) {
  .tipologias .section-tipologias ul li > div,
  .tipologias .section-tipologias .section-tipologias-campos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    width: 100%;
  }
  .tipologias .section-tipologias ul li .campo {
    display: none;
  }
}
@media (max-width: 768px) {
  .tipologias .section-tipologias .section-tipologias-campos {
    display: none;
  }
  .tipologias .section-tipologias ul li h4 {
    font-size: 16px;
    display: inline-block;
  }
}

/* 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-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .6);
  background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 100%);
}
.contact .section-header {
  position: absolute;
  height: 100%;
  left: var(--padding-container-x);
  width: calc(100vw - 500px - 10% - var(--padding-container-x));
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1200px) {
  .contact-bg {
    aspect-ratio: 1 / 1;
    position: relative;
  }
  .contact .section-header {
    width: 100%;
    left: 0;
    padding: 0 var(--padding-container-x);
  }
}
.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: relative;
    width: 100%;
  }
  .contact .section-header .section-title {
    max-width: 100%;
    text-align: center;
  }
}

/* FOOTER */
.footer {
  background-color: var(--color-primary-dark);
}
.footer a {
  cursor: pointer;
}
.footer .footer-button-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.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;
  }
}

/* LOGIN */
.login-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-form {
  width: 100%;
  max-width: 500px;
  padding: 35px;
  border-radius: 10px;
  border: 1px solid #dddddd;
}
.login-form .form-title {
  font-size: 24px;
  margin-bottom: 20px;
}
.login-form fieldset {
  margin-bottom: 14px;
}
.login-form .error {
  text-align: center;
  border-radius: 2px;
  padding: 4px;
  margin-bottom: 10px;
  border: 1px solid #fdcbcb;
  background-color: #ffe0e0;
  color: #bd4c4c;
}
.login-form .input-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  color: #666666;
  margin-bottom: 10px;
}
.login-form .input-box input {
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #bbbbbb;
}
.login-form .submit-button {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  font-size: 18px;
  background-color: var(--color-primary);
  color: white;
  transition: background 250ms ease-in-out, color 250ms ease-in-out;
}
.login-form .submit-button:hover {
  background-color: var(--color-primary-light);
  transition: background 250ms ease-in-out, color 250ms ease-in-out;
}

/* LOGOUT BUTTON */
.logout-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
}

/* ADMIN AREAS */
.admin-area * {
  font-family: Arial, Helvetica, sans-serif!important;
}
.admin-area .main-header {
  background-color: var(--color-admin-area-primary-bg);
}
.admin-area .main-header .container {
  padding-top: 40px;
  padding-bottom: 40px;
}
.admin-area .main-header .back {
  background-color: var(--color-admin-area-ok);
  color: white;
  display: inline-block;
  font-size: 14px;
  padding: 3px 11px 3px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.admin-area .main-header h1 {
  font-size: 20px;
  color: var(--color-admin-area-primary);
  margin-bottom: 5px;
}
.admin-area .main-header h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 6px;
}
.admin-area .main-header h2 .logout {
  font-size: 12px;
  color: white;
  padding: 2px 8px;
  border-radius: 5px;
  background-color: var(--color-admin-area-ko);
  transition: background 250ms ease-in-out;
}
.admin-area .main-header h2 .logout:hover {
  background-color: var(--color-admin-area-ko-hover);
  transition: background 250ms ease-in-out;
}
.admin-area .main-header p {
  font-size: 14px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .admin-area .main-header h1 {
    font-size: 16px;
  }
  .admin-area .main-header h2 {
    font-size: 14px;
  }
  .admin-area .main-header h2 .logout {
    font-size: 12px;
  }
  .admin-area .main-header p {
    font-size: 14px;
  }
}
.admin-section .container {
  padding: calc(var(--padding-container-y) / 2) calc(var(--padding-container-x) / 2);
}
.admin-section + .admin-section .container {
  padding-top: 0;
}
.admin-area .admin-panel {
  border: 1px solid var(--color-admin-area-primary-border);
  padding: calc(var(--padding-container-y) / 2) calc(var(--padding-container-x) / 2);
  border-radius: 20px;
}
.admin-area .admin-panel h2 {
  position: relative;
  color: var(--color-admin-area-primary);
  background-color: var(--color-admin-area-primary-bg);
  font-size: 20px;
  margin-bottom: 30px;
  padding: 5px 20px 5px;
  font-weight: 400;
}
.admin-area .admin-panel h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background-color: var(--color-admin-area-ok);
}
.admin-area .admin-panel h3 {
  display: inline-block;
  color: var(--color-admin-area-primary);
  background-color: var(--color-admin-area-ok);
  color: white;
  font-size: 18px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 5px;
}
.admin-area .admin-panel .admin-panel-buttons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
}
.admin-area .button {
  display: block;
  text-align: center;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 20px;
  border: 0;
}
.admin-area .button-ok {
  background-color: var(--color-admin-area-ok);
  color: white;
  transition: background 250ms ease-in-out;
}
.admin-area .button-ok:hover {
  background-color: var(--color-admin-area-ok-hover);
  transition: background 250ms ease-in-out;
}
.admin-area .button-ko {
  background-color: var(--color-admin-area-ko);
  color: white;
  transition: background 250ms ease-in-out;
}
.admin-area .button-ko:hover {
  background-color: var(--color-admin-area-ko-hover);
  transition: background 250ms ease-in-out;
}
.admin-area .form-row {
  padding: 20px;
}
.form-row + .form-row {
  margin-top: 40px;
}
.admin-area .form-row .form-edit-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-area .form-row:nth-child(odd) {
  background-color: var(--color-admin-area-primary-bg);
}
.admin-area .form-inputs {
  margin-bottom: 10px;
}
.admin-area .form-inputs .input-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.admin-area .form-inputs .input-box label {
  margin: 0 0 5px 5px;
}
.admin-area .form-inputs .input-box input,
.admin-area .form-inputs .input-box textarea,
.admin-area .form-inputs .input-box select {
  border: 1px solid var(--color-admin-area-primary-border);
  padding: 6px 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
}
.admin-area .form-inputs .input-box textarea {
  field-sizing: content;
}
.admin-area .form-add {
  background-color: var(--color-admin-area-primary-bg);
  border: 3px solid var(--color-admin-area-primary-border);
  padding: 40px;
  margin: 40px 0;
}
.admin-area .form-add h2 {
  margin: 0 0 40px 0;
}


/* 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;
}