/* FONTS */
@font-face {
  font-family: 'Montserrat';
  src: url('./../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat Italic';
  src: url('./../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Vendya';
  src: url('./../font/Vendya') format('truetype');
}

/* COMMON */
:root {
  --font-primary: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-primary-italic: 'Montserrat Italic', Arial, Helvetica, sans-serif;
  --font-secondary: 'Vendya', Arial, Helvetica, sans-serif;

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

  --color-primary: #313D26;
  --color-primary-dark: #202b15;
  --color-primary-light: #496430;

  --color-secondary: #232323;
  --color-secondary-dark: #232323;
  --color-secondary-light: #232323;

  --color-tertiary: #FFFAE8;
  --color-tertiary-dark: #FFFAE8;
  --color-tertiary-light: #FFFAE8;

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

  --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: 20px;
    --padding-container-y: 80px;
  }
}
* {
  box-sizing: border-box;
  font-family: var(--font-primary);
}
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-weight: 600;
}
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0;
}
h1 {
  font-size: clamp(32px, 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;
}
::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;
}
.section.dark {
  background-color: var(--color-primary);
}
.section.light {
  background-color: white;
}
.container {
  max-width: 100%;
  padding: var(--padding-container-y) var(--padding-container-x);
  z-index: 1;
}
.container.narrow {
  max-width: var(--max-width-container-narrow);
}
.container.super-narrow {
  max-width: var(--max-width-container-super-narrow);
}
.section.black { background-color: var(--color-secondary); }
.section.green { background-color: var(--color-primary); }
.section.light { background-color: var(--color-tertiary); }
.section.white { background-color: var(--color-tertiary); }
.section.black .title,
.section.black .text,
.section.green .title,
.section.green .text {
  color: var(--color-tertiary);
}
.section.light .title,
.section.light .title,
.section.white .title,
.section.white .title {
  color: var(--color-secondary);
}
.section.vertical .image {
  background-color: var(--color-tertiary);
}
.section .title {
  font-family: var(--font-secondary);
  font-size: 68px;
}
.section .text {
  font-size: 20px;
}
@media (max-width: 1600px) {
  .section .title {
    font-size: 42px;
  }
}
@media (max-width: 1200px) {
  .section .title {
    font-size: 32px;
  }
}

/* BTN MOREINFO */
.btn-moreinfo {
  display: none;
  background-color: var(--color-primary-light);
  border: 5px solid var(--color-tertiary);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  color: var(--color-tertiary);
  font-weight: 600;
  border-radius: 40px;
  position: fixed;
  bottom: 40px;
  right: 40px;
  padding: 14px 32px;
  font-size: 20px;
  z-index: 10;
  transition: all 250ms ease-in-out;
}
.btn-moreinfo:hover {
  background-color: var(--color-tertiary);
  color: var(--color-primary-dark);
  transition: all 250ms ease-in-out;
}

/* HEADER */
#header {
  height: 100vh;
  min-height: 900px;
  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 top;
  position: absolute;
  height: 100%;
  width: 100%;
}
#header .bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
#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);
  display: none;
  top: 50px;
}
#header .header-logo-mobile img {
  width: 100%;
  max-width: 180px;
}
@media (max-width: 992px) {
  #header .header-logo-mobile {
    display: block;
  }
}
#header .info {
  position: absolute;
  left: var(--padding-container-x);
  top: 10%;
  width: 100%;
  max-width: calc(100vw - 500px - 15%); /* 100vw - ancho formulario - márgenes */
}
#header .header-logo img {
  max-width: 240px;
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  #header .header-logo img {
    max-width: 140px;
    margin-bottom: 20px;
  }
}
#header .header-info .title {
  font-family: var(--font-secondary);
  font-size: 68px;
  color: white;
  margin-bottom: 10px;
}
#header .header-info .subtitle {
  font-weight: 600;
  font-size: 42px;
  color: white;
  margin-bottom: 0px;
}
#header .header-info .text {
  font-size: 36px;
  font-weight: 200;
  color: white;
}

@media (max-width: 1200px) {
  #header {
    height: auto;
  }
  #header .header-bg {
    height: 600px;
    position: relative;
  }
  #header .info {
    max-width: calc(100% - 10%);
  }
  #header .form-container,
  #header .form-content {
    position: relative;
    width: 100%;
    right: unset;
  }
}
@media (max-width: 992px) {
  #header .header-info .title {
    font-size: 32px;
  }
  #header .header-info .subtitle {
    font-size: 28px;
  }
  #header .header-info .text {
    font-size: 26px;
  }
}
/* COMMON FORM */
.form-container {
  top: 0;
  right: 0;
  height: 100%;
  position: absolute;
}
.form-container .form-content {
  background-color: var(--color-primary);
  padding: 65px;
  height: 100%;
  width: 500px;
}
@media (max-width: 992px) {
  .form-container .form-content {
    padding: 40px;
  }
}
.form-content .form-header {
  text-align: center;
}
.form-content .form-info {
  text-align: left;
  margin-bottom: 40px;
}
.form-content .form-logo {
  max-width: 260px;
  margin-bottom: 100px;
}
.form-content .form-title {
  font-family: var(--font-secondary);
  font-size: 40px;
  color: white;
}
.form-content .form-text {
  font-size: 18px;
  color: white;
}
.form .inputs {
  display: grid;
  grid-template-areas: "nombre telefono" "email cp" "mensaje mensaje";
  gap: 0 20px;
}
.form .inputs .box-nombre { grid-area: nombre; }
.form .inputs .box-telefono { grid-area: telefono; }
.form .inputs .box-email { grid-area: email; }
.form .inputs .box-cp { grid-area: cp; }
.form .inputs .box-mensaje { grid-area: mensaje; }

/* SECTION VERTICAL */
.section.vertical {
  display: grid;
}
.section.vertical.info-left {
  grid-template-columns: 6fr 4fr;
}
.section.vertical.info-right {
  grid-template-columns: 4fr 6fr;
}
.section.vertical .info {
  padding: 200px 300px 200px 100px;
}
.section.vertical.info-right .info {
  padding: 200px 100px 200px 300px;
}
.section.vertical .info .title {
  position: relative;
}
.section.vertical .info .title::after {
  content: '';
  display: block;
  width: 200px;
  height: 2px;
  background-color: var(--color-tertiary);
  margin: 30px 0;
}
.section.vertical.white .info .title::after {
  background-color: var(--color-secondary);
}
.section.vertical .image {
  padding: 100px 0 100px;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}
.section.vertical .image img {
  position: absolute;
  width: 120%;
  right: 0;
}
.section.vertical.info-right .image img {
  position: absolute;
  width: 120%;
  right: unset;
  left: 0;
}
@media (max-width: 1600px) {
  .section.vertical.info-right .info {
    padding: 150px 200px 150px 100px;
  }
  .section.vertical.info-right .info {
    padding: 150px 100px 150px 200px;
  }
}
@media (max-width: 1200px) {
  .section.vertical.info-right .info {
    padding: 100px 200px 100px 100px;
  }
  .section.vertical.info-right .info {
    padding: 100px 100px 100px 200px;
  }
}
@media (max-width: 992px) {
  .section.vertical {
    display: flex;
    flex-direction: column;
  }
  .section.vertical.info-left {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .section.vertical .info {
    padding: 40px;
  }
  .section.vertical .image {
    padding: 0px;
  }
  .section.vertical .image img,
  .section.vertical.info-right .image img {
    position: relative;
    width: 100%;
  }
  .section.vertical.info-right .info {
    padding: 40px;
  }    
}

/* SECTION RENDERS */
.section.renders {
  background-color: var(--color-tertiary);
  padding: 100px;
}
@media (max-width: 1200px) {
  .section.renders {
    padding: 40px;
  }
}
@media (max-width: 768px) {
  .section.renders {
    padding: 0px;
  }
}

/* CONTACT */
.contact {
  height: 100vh;
  min-height: 800px;
  position: relative;
}
.contact .bg {
  position: absolute;
  height: 100%;
  width: 100%;
  background: url(./../images/footer.jpg) center / cover;
}
.contact .form-container {
  top: 0;
  right: 0;
  height: 100%;
  position: absolute;
}
@media (max-width: 1200px) {
  .contact {
    height: auto;
  }
  .contact .bg {
    position: relative;
    min-height: 600px;
  }
  .contact .form-container {
    position: relative;
    width: 100%;
    right: unset;
  }
  .contact .info {
    position: relative;
    width: 100%;
  }
  .contact .info .title {
    max-width: 100%;
    text-align: center;
  }
}

/* FOOTER */
.footer {
  background-color: var(--color-primary-dark);
}
.footer a {
  cursor: pointer;
}
.footer,
.footer * {
  color: white;
}
.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;
  }
}

/* FORM */
.form .input-box {
  margin-bottom: 18px;
}
.form .input-box input,
.form .input-box textarea {
  background-color: transparent;
  color: white;
  border: 0;
  border-bottom: 1px solid white;
  border-radius: 0px;
  font-size: 14px;
  padding: 10px 18px 10px 0;
  width: 100%;
}
.form .input-box textarea {
  resize: none;
}
.form .input-box input::placeholder,
.form .input-box textarea::placeholder {
  color: white;
  font-size: 14px;
}
.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: black;
}
.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: 50px;
}
.form-container .submit input {
  border: 0;
  background-color: var(--color-tertiary);
  color: var(--color-primary-dark);
  font-size: 20px;
  padding: 10px 30px;
  transition: all 300ms ease-in;
  font-weight: 600;
}
.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,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: #ffffff;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px var(--color-primary);
}
@media (width <=1200px) {
  .form-container .submit input {
    width: 100%;
  }
}

/* CAROUSEL */
.owl-carousel .owl-item {
  aspect-ratio: 16/9;
}
.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;
  transform: translateY(-70px);
  position: absolute;
  width: 100%;
}
#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;
}
@media (max-width: 768px) {
  #renders .owl-carousel .owl-dots .owl-dot {
      width: 10px;
    margin: 0 2px;
  }
}

/* SECTION ICONOS */
.section.icons {
  background-color: var(--color-tertiary);
}
.section.icons .container {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}
.section.icons .container .icon-container {
  display: flex;
  gap: 40px;
}
.section.icons .container .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 0;
  flex-shrink: 0;
}
.section.icons .container .icon-box img {
  width: 200px;
}
.section.icons .container .icon-box .title {
  text-align: center;
  font-size: 20px;
}
@media (max-width: 992px) {
  .section.icons .container .icon-box img {
    width: 100px;
  }
  .section.icons .container .icon-box .title {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .section.icons .container .icon-box img {
    width: 60px;
  }
  .section.icons .container .icon-box .title {
    font-size: 16px;
  }
  .section.icons .container .icon-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SECTION INFO 4 */
.section.info04.vertical {
  grid-template-columns: repeat(2, 1fr);
}
.section.info04.vertical.info-right .image {
  background-position: center;
  background-size: cover;
}
.section.vertical.info04.info-right .info {
  padding: 200px 100px 200px 100px;
}
@media (max-width: 1600px) {
  .section.vertical.info04.info-right .info {
    padding: 100px;
  }
}
@media (max-width: 992px) {
  .section.vertical.info04.info-right .info {
    padding: 40px;
  }
  .section.vertical.info04.info-right .image {
    width: 100%;
    min-height: 400px;
  }
}

/* SECTION MAP */
.section.vertical.map .image img {
  width: 140%;
}

/* CONTACT */
@media (max-width: 1200px) {
.form-container .form-content {
    width: 100%;
  }
}

/* COMPROBANTE */
.comprobante {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  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: rgb(34, 34, 34);
  text-decoration: none;
}
/* ***********************************************************************
* 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%;
}

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

@media (max-width: 768px) {
  .logo img {
    width: 170px;
  }
}
