/* FONTS */
@font-face {
  font-family: 'Cera Regular';
  src: url('./../fonts/Cera\ Pro\ Light.otf') format('truetype');
}
@font-face {
  font-family: 'Cera Bold';
  src: url('./../fonts/Cera\ Pro\ Bold.otf') format('truetype');
}
@font-face {
  font-family: 'Archia';
  src: url('./../fonts/Archia-Regular.otf') format('truetype');
}

/* COMMON */
:root {
  --font-primary: 'Cera Regular', Arial, Helvetica, sans-serif;
  --font-primary-bold: 'Cera Bold', Arial, Helvetica, sans-serif;
  --font-secondary: 'Archia', Arial, Helvetica, sans-serif;

  --color-text: #ffffff;
  --color-link: #ffffff;
  --color-link-hover: #ffffff;

  --color-primary: #2C2F83;
  --color-primary-dark: #0d0f34;
  --color-primary-light: #5155c8;

  --color-secondary: #7CA7D9;
  --color-secondary-dark: #526b88;
  --color-secondary-light: #aed3fc;

  --color-tertiary: #666666;
  --color-tertiary-dark: #333333;
  --color-tertiary-light: #999999;

  --color-grey: #666666;
  --color-grey-dark: #333333;
  --color-grey-light: #b0b0b0;

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

  --max-width-container: 1600px;
}
@media (max-width: 1360px) {
  :root {
    --padding-container-x: 80px;
    --padding-container-y: 80px;
  }
}
@media (max-width: 992px) {
  :root {
    --padding-container-x: 20px;
    --padding-container-y: 80px;
  }
}
* {
  box-sizing: border-box;
  font-family: var(--font-primary);
  color: var(--color-text);
}
html, 
body {
  overflow-x: hidden;
}
a {
  color: var(--color-link);
  text-decoration: none;
}
a:hover {
  color: var(--color-link-hover);
  text-decoration: none;
}
strong {
  font-family: var(--font-primary-bold);
}
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0;
}
h1 {
  font-size: clamp(28px, 4vw - 1rem, 46px);
}
h2 {
  font-size: clamp(24px, 4vw - 1rem, 32px);
}
h3 {
  font-size: clamp(24px, 4vw - 1rem, 32px);
}
p {
  font-size: clamp(18px, 4vw - 1rem, 22px);
}
figure {
  margin-bottom: 0px!important;
}
::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;
}
.section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  padding: var(--padding-container-y) var(--padding-container-x);
  max-width: 100%;
}
.container.narrow {
  max-width: var(--max-width-container);
}
.section.dark {
  background-color: var(--color-primary);
}
.section.light {
  background-color: white;
}
.dark h2.title,
.dark .text {
  color: white;
}
.light h2.title,
.light .text {
  color: var(--color-primary);
}

/* HEADER */
#header {
  height: 100vh;
  min-height: 850px;
  position: relative;
}
@media (max-width: 992px) {
  #header {
    height: auto;
    min-height: unset;
  }
}
#header .bg {
  background-image: url('./../images/header.jpg');
  background-size: cover;
  background-position: center center;
  position: absolute;
  height: 100%;
  width: 100%;
}
#header .bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .3);
}
#header .lang {
  position: absolute;
  display: flex;
  right: calc(500px + 80px); /* El primer valor es el mismo que el width de .header-form-container */
  color: var(--color-secondary);
  top: 3%;
  gap: 8px;
}
#header .lang a,
#header .lang span {
  font-size: 24px;
}
#header .lang a.selected {
  font-weight: 600;
}
@media (max-width: 1200px) {
  #header .lang {
    top: 7%;
    right: 7%;
  }
}
#header .header-logo-mobile {
  position: absolute;
  left: var(--padding-container-x);
  top: 50px;
  display: none;
}
#header .header-logo-mobile img {
  max-width: 180px;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.5));
}
@media (max-width: 992px) {
  #header .header-logo-mobile {
    display: block;
  }
}
#header .info {
  position: absolute;
  left: var(--padding-container-x);
  top: 21%;
  width: 100%;
  max-width: calc(100vw - 500px - 15%); /* 100vw - ancho formulario - márgenes */
}
.header-info .header-logo img {
  max-width: 400px;
  margin-bottom: 100px;
  /* filter: drop-shadow(0px 0px 4px rgba(255,255,255,.5)); */
}
@media (max-width: 992px) {
  .header-info .header-logo {
    display: none;;
  }
}
.header-info .title {
  margin-bottom: 20px;
}
.header-info .subtitle {
  font-size: clamp(26px, 4vw - 1rem, 42px);
  font-family: var(--font-primary-bold);
  margin-bottom: 20px;
}
.header-info .desde {
  background-color: var(--color-primary);
  display: inline-block;
  padding: 10px 20px 10px 0px;
  position: relative;
  font-size: clamp(20px, 3vw, 32px);
}
.header-info .desde::before {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  transform: translateX(-200px);
  z-index: -1;
}
.header-info .desde .price {
  font-family: var(--font-primary-bold);
}
.header-info .desde .iva {
  font-size: clamp(18px, 4vw, 20px);
}
.header-info .coop {
  font-size: clamp(26px, 4vw - 1rem, 46px);
  color: var(--color-secondary);
  font-family: var(--font-primary-bold);
  /* text-shadow: 0 0 10px rgba(255,255,255,.5); */
}
.form-container {
  position: absolute;
  background-color: var(--color-primary);
  top: 50%;
  transform: translateY(-50%);
  right: var(--padding-container-x);
  width: 400px;
  border-radius: 20px;
}
.form-container-header {
  border-radius: 20px 20px 0 0;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-container-header .logo {
  max-width: 235px;
  transform: translateX(-10px);
}
.form-container .form-title {
  color: #ffffff;
  font-size: 26px;
}
.form-container .form-text {
  font-family: var(--font-secondary);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}
.form-container-body {
  padding: 30px;
}
@media (max-width: 992px) {
  #header .header-bg {
    height: 80vh;
    min-height: 700px;
    position: relative;
  }
  #header .info {
    max-width: calc(100% - (2 * var(--padding-container-x)));
  }
  .form-container {
    position: relative;
    width: 100%;
    top: unset;
    right: unset;
    transform: unset;
    border-radius: 0;
  }
  .form-container-header {
    border-radius: 0;
  }
  .form-container-body {
    padding-bottom: 100px;
  }
}

/* CLAIM TYPE SECTION */
.claim .container {
  text-align: center;
}
.claim .title {
  font-family: var(--font-secondary);
  font-size: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.claim .title::before {
  content: '';
  width: 120px;
  border-top: 1px solid white;
  position: absolute;
  transform: translateY(-40px);
}
.claim .text {
  font-size: 40px;
  line-height: 1.3;
}
@media (max-width: 992px) {
  .claim .text {
    font-size: 26px;
    line-height: 1.3;
  }
}

/* ABOUT */
.about {
  position: relative;
}
.about::before {
  content: '';
  background-image: url('./../images/iceberg.svg');
  position: absolute;
  width: 79px;
  height: 100px;
  top: -50px;
}
@media (max-width: 992px) {
  .about .container {
    padding-top: 130px;
  }
}

/* FICHAS */
.fichas {
  min-height: 800px;
}
.fichas .ficha {
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  min-height: 800px;
}
.fichas .ficha::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .4);
}
.fichas .ficha-1 { background-image: url('./../images/fichas/ficha-1.jpg'); }
.fichas .ficha-2 { background-image: url('./../images/fichas/ficha-2.jpg'); }
.fichas .ficha-3 { background-image: url('./../images/fichas/ficha-3.jpg'); }
.fichas .ficha-4 { background-image: url('./../images/fichas/ficha-4.jpg'); }
.fichas .ficha .container {
  position: absolute;
  min-height: 800px;
}
.fichas .ficha .ficha-info {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}
.fichas .ficha .ficha-info .title {
  font-family: var(--font-primary-bold);
  font-size: 38px;
}
.fichas .ficha .ficha-info .text {
  max-width: 500px;
  font-size: 24px;
  line-height: 1.5;
}
@media (max-width: 1440px) {
  .fichas .ficha .ficha-info .title br {
    content: '';
  }
  .fichas .ficha .ficha-info .title .br {
    display: inline-block;
    width: 6px;
  }
}
@media (max-width: 1200px) {
  .fichas .ficha .ficha-info .title {
    font-size: 36px;
  }
  .fichas .ficha .ficha-info {
    gap: 40px;
  }
}
@media (max-width: 992px) {
  .fichas .ficha {
    min-height: 900px;
    height: 80vh;
  }
  .fichas .ficha .ficha-info {
    flex-direction: column;
    gap: 20px;
  }
  .fichas .ficha .ficha-info .title {
    font-size: 28px;
  }
  .fichas .ficha .ficha-info .text {
    max-width: 100%;
    font-size: 18px;
  }
}
.fichas .owl-carousel {
  display: flex;
  justify-content: center;
  min-height: 800px;
}
.fichas .owl-dots {
  position: absolute;
  width: 100%;
  bottom: 100px;
  display: grid;
  padding: 0 var(--padding-container-x);
  grid-template-columns: 1fr 1fr 1fr 1fr;
  max-width: var(--max-width-container);
}
.fichas .owl-dots .owl-dot {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  border-right: 1px solid white;
  padding: 20px 50px!important;
  background-color: rgba(255, 255, 255, .2);
  transition: background 300ms ease-in-out;
}
.fichas .owl-dots .owl-dot:hover {
  background-color: var(--color-primary-light);
  transition: background 300ms ease-in-out;
}
.fichas .owl-dots .owl-dot.active {
  background-color: var(--color-primary);
  transition: background 300ms ease-in-out;
}
.fichas .owl-dots .owl-dot.active:hover {
  background-color: var(--color-primary-light);
  transition: background 300ms ease-in-out;
}
.fichas .owl-dots .owl-dot:nth-child(1) {
  border-radius: 10px 0 0 10px;
  border-left: 1px solid white;
}
.fichas .owl-dots .owl-dot:nth-child(4) {
  border-radius: 0 10px 10px 0;
}
.fichas .owl-dots .owl-dot::before {
  display: block;
  width: 100%;
  font-family: var(--font-secondary);
  font-size: 40px;
  text-align: left;
}
.fichas .owl-dots .owl-dot::after {
  display: block;
  width: 100%;
  font-size: 22px;
  text-align: left;
}
.fichas .owl-dots .owl-dot:nth-child(1)::before { content: '01/'; }
.fichas .owl-dots .owl-dot:nth-child(1)::after {  content: 'EXCELENTES CALIDADES'; }
.fichas .owl-dots .owl-dot:nth-child(2)::before { content: '02/'; }
.fichas .owl-dots .owl-dot:nth-child(2)::after {  content: 'PISCINA COMUNITARIA DE AGUA SALINA'; }
.fichas .owl-dots .owl-dot:nth-child(3)::before { content: '03/'; }
.fichas .owl-dots .owl-dot:nth-child(3)::after {  content: 'TODO A TU ALCANCE'; }
.fichas .owl-dots .owl-dot:nth-child(4)::before { content: '04/'; }
.fichas .owl-dots .owl-dot:nth-child(4)::after {  content: 'GARAJE Y TRASTERO'; }

@media (max-width: 1200px) {
  .fichas .owl-dots .owl-dot {
    padding: 20px 30px!important;
  }
  .fichas .owl-dots .owl-dot::before {
    font-size: 22px;
  }
  .fichas .owl-dots .owl-dot::after {
    font-size: 18px;
  }
}
@media (max-width: 992px) {
  .fichas .owl-dots {
    grid-template-columns: 1fr;
    bottom: var(--padding-container-x);
  }
  .fichas .owl-dots .owl-dot {
    display: flex;
    flex-direction: row;
    padding: 10px 10px!important;
  }
  .fichas .owl-dots .owl-dot::before {
    width: auto;
    font-family: var(--font-secondary);
    font-size: 18px;
  }
  .fichas .owl-dots .owl-dot::after {
    width: auto;
    font-size: 20px;
    text-align: left;
  }
  .fichas .owl-dots .owl-dot {
    border-top: unset;
    border-bottom: 1px solid white;
    border-left: 1px solid white;
  }
  .fichas .owl-dots .owl-dot:nth-child(1) {
    border-radius: 10px 10px 0 0;
    border-top: 1px solid white;
  }
  .fichas .owl-dots .owl-dot:nth-child(4) {
    border-radius: 0 0 10px 10px;
  }
}
@media (max-width: 320px) {
  .fichas .owl-dots .owl-dot::before,
  .fichas .owl-dots .owl-dot::after {
    font-size: 14px;
  }
}

/* MAPA */
.mapa {
  display: block;
}
.mapa a {
  display: block;
  background-image: url('./../images/map.jpg');
  background-size: cover;
  background-position: center center;
  aspect-ratio: 16 / 6;
}
@media (max-width: 768px) {
  .mapa a {
      aspect-ratio: 1 / 1;
    }
}

/* CONTACT */
.contact {
  min-height: 800px;
  position: relative;
  background-image: url('./../images/footer.jpg');
  background-size: cover;
}
.contact::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .4);
}
.contact .info {
  position: absolute;
  height: 100%;
  max-width: 800px;
  left: var(--padding-container-x);
  width: calc(100vw - 500px - 10%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact .info .title {
  font-size: 43px;
  margin-bottom: 40px;
}
.contact .info .text {
  font-size: 22px;
  font-family: var(--font-secondary);
}
.contact .footer-form-container {
  top: -129px;
  transform: unset;
}
@media (max-width: 1200px) {
  .contact .footer-form-container {
    top: 50%;
    transform: translateY(-50%);
  }
}
@media (max-width: 992px) {
  .contact .info {
    left: 0;
    position: relative;
    width: 100%;
    padding: var(--padding-container-y) var(--padding-container-x);
  }
  .contact .info .title {
    font-size: 32px;
  }
  .contact .info .text {
    font-size: 20px;
  }
  .contact .footer-form-container {
    top: unset;
    transform: unset;
    position: relative;
  }
}


/* FOOTER */
#footer {
  background-color: var(--color-primary-dark);
  color: white;
}

/* FORM */
.form .inputs {
  display: grid;
  grid-template-areas: "nombre nombre" "email email" "telefono cp" "mensaje mensaje";
  gap: 10px 20px;
}
.form .input-box.box-nombre { grid-area: nombre; }
.form .input-box.box-email { grid-area: email; }
.form .input-box.box-telefono { grid-area: telefono; }
.form .input-box.box-cp { grid-area: cp; }
.form .input-box.box-mensaje { grid-area: mensaje; }
.form label {
  font-family: var(--font-secondary);
  margin-bottom: 5px;
  font-size: 14px;
}
.form .input-box input,
.form .input-box textarea {
  color: black;
  font-family: var(--font-secondary);
  background-color: white;
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  padding: 7px 14px;
  width: 100%;
}
.form .input-box textarea {
  resize: none;
}
.form .input-box input::placeholder,
.form .input-box textarea::placeholder {
  font-family: var(--font-secondary);
  color: var(--color-grey-light);
  font-size: 16px;
}
.form .input-box input:focus {
  border: 0;
  outline: 2px solid var(--black);
}
.form .checkbox {
  align-items: end;
  display: flex;
  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;
}
.form .checkbox input[type='checkbox']::before {
  content: '';
  display: block;
  box-shadow: inset 1em white;
  height: 8px;
  width: 8px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: white
}
.form .checkbox input[type='checkbox']:checked::before {
  transform: scale(1);
}
.form .checkbox span {
  color: #ffffff;
  font-size: 12px;
  margin-left: 6px;
}
.form-container .submit {
  margin-top: 24px;
}
.form-container .submit input {
  border: 0;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 18px;
  padding: 10px;
  width: 100%;
  transition: all 300ms ease-in;
}
.form-container .submit input:hover {
  background-color: var(--color-secondary-light);
  transition: all 300ms ease-in;
}
@media (max-width:1200px) {
  .form-container .submit input {
    width: 100%;
  }
}

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

@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;
}
@media (max-width: 768px) {
  .logo img {
    width: 170px;
  }
}
/* ***********************************************************************
* PÁGINA DE COMPROBANTE
* ************************************************************************/
#comprobante {
  align-items: center;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
}
#comprobante img {
  height: 148px;
}
#comprobante h1 {
  color: black;
  padding: 24px 0;
  text-align: center;
  width: 470px;
}
#comprobante p {
  color: #1c1b1a;
  font-size: 20px;
  text-align: center;
  width: 520px;
}
#comprobante h4 {
  border-bottom: 2px solid rgb(28, 27, 26);
  color: rgb(28, 27, 26);
  font-family: 'Roboto-Regular', sans-serif;
  font-size: 16px;
  padding-bottom: 8px;
  padding-top: 24px;
  text-decoration-color: transparent;
}
#comprobante a {
  color: rgb(34, 34, 34);
  text-decoration: none;
}
@media (max-width: 992px) {
  #comprobante h1,
  #comprobante p {
    width: 100%;
  }
}
/* ***********************************************************************
* MODAL DE POLÍTICA DE PRIVACIDAD
* ************************************************************************/
#informacion .modal-header h5 {
  color: #333333;
  font-family: 'Roboto-Bold';
  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: 'Roboto-Regular';
  font-size: 0.9rem;
  line-height: normal;
  text-align: left;
  width: 100%;
}
.modal-body,
.modal-body * {
  color: black!important;
}
