* {
  margin: 0;
  padding: 0;
}
html {
  /* overflow-x: hidden; */
}
:root {
  --primary-color: #144d2a;
  --secondary-color: #fcf8d6;
}
#video-desktop {
  background-image: url(../images/thumb.jpg);
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: auto;
}
#video-mobile {
  background-image: url(../images/thumb-2.jpg);
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: auto;
}
/* Vendor */
.splide__pagination__page {
  background: var(--secondary-color);
  border: 2px solid var(--primary-color);
}
.splide__pagination__page.is-active {
  background: var(--primary-color);
}

/* GENERAL STYLE */
h1,
faq.title {
  font-size: clamp(35px, 4.327vw, 54px);
  line-height: 1.3em;
}
h2 {
  font-size: clamp(28px, 3.606vw, 45px);
  line-height: 1.3em;
}
img {
  width: 100%;
}
a {
  text-decoration: none;
  color: var(--primary-color);
}
li {
  padding: 0 5px;
}
.text-help {
  color: red;
  font-size: 12px;
}

/* MAIN & LAYOUT */
body {
  background-color: var(--secondary-color);
  font-family: "Barlow", sans-serif;
  color: var(--primary-color);
}
.banner {
  max-width: clamp(197px, 14.115vw, 271px);
  padding: 10px 30px 10px 10px;
  font-size: clamp(14px, 1.042vw, 20px);
  position: fixed;
  top: 2rem;
  right: 35%;
  z-index: 999;
  background-color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.banner-info {
  font-size: 14px;
  min-height: 80px;
  padding: 20px 12px 10px 25px;
  display: none;
}
.banner-link {
  display: block;
  text-align: right;
  font-size: 15px;
  text-decoration: underline;
}
.banner-info-close {
  position: absolute;
  top: 6px;
  left: 8px;
  cursor: pointer;
}
.section-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}
.content {
  display: grid;
  gap: 0;
  grid-template-columns: 65% 35%;
  margin-top: -2px;
}
main {
  position: relative;
}
main,
aside {
  flex-shrink: 1;
}
aside {
  background-color: white;
  border-left: 1px solid black;
  position: sticky;
  top: 0;
  height: 100vh;
}
header {
  margin: 35px 35px 0px 35px;
  padding: 30px 60px;
  background-color: black;
  border-radius: 35px 35px 0 0;
}
.medium-container {
  padding-right: 60px;
}
.mw-medium {
  max-width: 872px;
}
.small-container {
  max-width: 607px;
  padding-bottom: 1.1rem;
}
.smaller-container {
  max-width: 237px;
}

.inner-section {
  padding: 50px 30px 50px 5vw;
}

.telefonos {
  border-radius: 30px;
  padding: 5px 10px;
  border: 2px solid var(--primary-color);
  margin-left: 1rem;
}

/* HERO */

.hero {
  padding: 30px 5vw 60px;
  display: flex;
  flex-direction: column;
}
.hero > .subtitle {
  font-size: clamp(22px, 1.458vw, 28px);
  margin-bottom: 1.9rem;
}
.hero-text {
  font-size: clamp(16px, 1.042vw, 20px);
  font-weight: 200;
  line-height: 1.3em;
  margin-bottom: 0.5rem;
}
#slideGaleria {
  padding: 0px 60px 0px 5vw;
}
.video-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  margin-top: 1.5rem;
  overflow: hidden; /* Ensures the border-radius works on the video */
}
#video-mobile {
  display: none;
}
.vimeo-container {
  border-radius: 20px;
  margin-top: 1.5rem;
  overflow: hidden; /* Ensures the border-radius works on the video */
}
video {
  width: 100%;
  height: auto;
  display: block; /* Removes any unexpected margin/padding */
}
.volume-control {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: white;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px;
  border-radius: 50%;
}
.logo {
  width: clamp(92px, 9.936vw, 125px);
}
.subtitle {
  padding-top: 0.8rem;
  line-height: 1.1em;
}
/* galeria */

.galeria-img img {
  border-radius: 30px;
  max-width: 865px;
}
/* boxes */

.box {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-radius: 16px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}
.box h3 {
  font-size: clamp(22px, 2.564vw, 32px);
  padding-bottom: 0.6em;
  line-height: 1em;
  padding-top: 1.8rem;
}
.box p {
  font-size: clamp(18px, 1.763vw, 22px);
  line-height: 1.1em;
  padding-bottom: 1.2rem;
}
.box img {
  width: 71%;
  align-self: end;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  margin-top: auto;
}
/* PARA QUE */
.pills span {
  margin-top: 0.7rem;
  display: inline-block;
  background-color: white;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 7px 5px;
  margin-right: 5px;
  font-weight: 400;
}
/* beneficios */
.beneficios {
  padding-right: 5vw;
}
.beneficios h2 {
  padding-bottom: 5vh;
}
.beneficios-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.4rem;
  row-gap: 1.4rem;
}
.beneficios-boxes p {
  border-radius: 10px;
  font-size: clamp(14px, 1.763vw, 20px);
  font-weight: 400;
  padding: 15px 20px;
  border: solid 2px var(--secondary-color);
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* RESEÑAS */
.review {
  display: flex;
  flex-direction: column;
  padding: 15px;
  max-width: 465px;
}

.review__author {
  font-weight: 500;
  border-radius: 10px;
  line-height: 0.8em;
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  font-size: 17px;
}
.review__text {
  padding-top: 0.8rem;
  font-size: clamp(14px, 1.362vw, 17px);
  font-weight: 400;
}
/* DONDE ENCONTRARNOS */

.map {
  background-image: url(/images/mapa-placeholder.png);
  background-size: cover;
  background-position: center;
  padding: 30vh 1rem 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.map iframe {
  height: calc(100% + 150px);
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
  margin-top: -150px;
}

.map-info {
  background-color: white;
  padding: 1rem;
  max-width: 300px;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  color: var(--primary-color);
  z-index: 50;
  position: relative;
  margin-right: 1rem;
}
.map-info-title {
  padding-bottom: 20px;
}
.map-info-data {
  display: flex;
  gap: 0.8rem;
  padding-bottom: 0.8rem;
}
.map-info-data-icon {
  width: 1em;
  flex-grow: 0;
  flex-shrink: 0;
}
.map-info .calendar-icon {
  width: 1em;
}
p.map-info-data-data {
  font-size: 16px;
}
/* FAQ */

.faq {
  border: 2px solid var(--secondary-color);
  margin-bottom: 1.8rem;
  border-radius: 5px;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-question {
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(14px, 1.763vw, 22px);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 15px;
  font-size: clamp(12px, 1.282vw, 16px);
  line-height: 1.5em;
}

.faq-answer p,
.faq-answer ul {
  margin: 10px 0;
}

.arrow {
  transition: transform 0.3s ease-out;
}

.faq.open .faq-answer {
  max-height: 500px; /* Adjust based on content length */
  padding: 15px;
}

.faq.open .arrow {
  transform: rotate(180deg);
}

/* FORM */
form {
  padding-top: 2vh;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 1rem;
  row-gap: 1rem;
  user-select: none;
  width: 100%;
}
.input-group.full {
  grid-column: 1 / span 2;
}
input {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--primary-color);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 5px 15px;
  box-sizing: border-box;
}
input[type="checkbox"] {
  width: unset;
}
::placeholder {
  color: var(--primary-color);
  font-family: inherit;
  font-size: 12px;
}
label {
  font-size: 14px;
}
textarea {
  width: 100%;
  height: 10vh;
  padding: 10px;
  font-family: inherit;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-sizing: border-box;
}
.checkbox.subfield {
  display: flex;
  align-items: baseline;

  span {
    padding-left: 3px;
  }
  input {
    flex: 0 0 24px;
  }
}
.checkbox.subfield {
  display: block;
}
.form-group.inline {
  display: block;
}
input.gdpr {
  display: inline;
  width: 18px;
}
.politicas {
  font-size: 13px;
}
.btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 200;
  width: 90px;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  border: 0;
}
.btn:hover {
  background-color: black;
  border: 0;
}

.btn-secondary {
  background-color: #dfdcd5;
  border: 1px solid #dfdcd5;
  color: black;
  border-radius: 20px;
  text-transform: uppercase;
  padding: 5px 15px;
  font-size: 13px;
  width: unset;
}
input[type="checkbox"] {
  display: inline-block;
}
/* custon select */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select {
  position: relative;
  background-color: var(--secondary-color);
  border-radius: 50px;
  border: 1px solid var(--primary-color);
  cursor: pointer;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 5px 15px;
}

.custom-select-trigger i {
  transition: transform 0.3s ease;
}

.custom-options {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 8px;
  border: 1px solid var(--primary-color);
  display: none;
  flex-direction: column;
}

.custom-option {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  color: var(--primary-color);
}

.custom-option:hover,
.custom-option.selected {
  background-color: var(--primary-secondary);
}

.open .custom-options {
  display: flex;
}

.open .custom-select-trigger i {
  transform: rotate(180deg);
}

/* ASIDE */
aside {
  padding: 4vw;
  padding-top: 2rem;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.phone-btn {
  align-self: end;
  position: absolute;
  top: 2rem;
  right: 1rem;
}
#modal-phone-btn {
  position: fixed;
  top: 1rem;
  left: 0rem;
  display: flex;
  align-items: center;
  /* padding-inline: 1rem; */
}
.telefono {
  font-size: 15px;
  color: black;
  text-decoration: none;
  margin-left: 0.8rem;
  display: inline-block;
}
.fa-solid {
  font-size: smaller;
  padding-right: 5px;
}
.form-h2-intro {
  font-size: clamp(15px, 0.936vw, 18px);
}
aside h2 {
  font-size: clamp(22px, 1.456vw, 28px);
  line-height: 1.1em;
  padding-bottom: 0.5rem;
}
/* CTA */
button.cta-btn {
  background-color: #91bc17;
  color: white;
  padding: 18px;
  width: 100%;
  bottom: 0;
  border: 0;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.modal.active {
  display: flex;
}
.modal-content {
  background-color: white;
  padding: 28px;
  border-radius: 5px;
  overflow-y: auto;
  position: relative;
}
.modal-content h2 {
  font-size: 24px;
  margin-bottom: 2rem;
}
.modal-content form {
  display: grid;
}
.modal-content form input {
  margin-bottom: 0;
}
.close-modal {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: white;
  border: 0;
  cursor: pointer;
  font-size: 1.8rem;
}
/* FOOTER */
footer {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 30px;
}
footer.inner-section {
  padding-bottom: 80px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.footer-links ul li {
  list-style: none;
  padding-bottom: 0.5rem;
  position: relative;
}
.footer-menu-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: 600;
}
.footer-social-links .fa-brands {
  position: absolute;
  left: 0rem;
  padding-right: 0.8rem;
}
.footer-social-links li {
  padding-left: 1.5em;
}
.footer-social-links-title {
  padding-bottom: 0.8rem;
}
footer ul li a {
  color: var(--primary-color);
  text-decoration: none;
}
@media screen and (max-width: 590px) {
}
/* GRACIAS */
.gracias-container {
  background-image: url(images/bg-gracias.png);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  padding-left: 10vw;
  box-sizing: border-box;
}
.gracias-container div {
  flex-shrink: 0;
}
.gracias-container h1 {
  font-size: clamp(40px, 4.792vw, 92px);
  line-height: 0.8em;
}
.gracias-subtitle {
  font-size: clamp(21px, 1.615vw, 30px);
  line-height: 1em;
  margin-top: 5vh;
}
.gracias-img {
  height: 100vh;
  width: auto;
}
/* UTILITIES */
.bg-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}
.bg-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}
/* fonts */
.fw-extralight {
  font-weight: 200;
}
.fw-light {
  font-weight: 300;
}
.fw-regular {
  font-weight: 400;
}
.fw-medium {
  font-weight: 500;
}
.fw-semibold {
  font-weight: 600;
}
.fw-bold {
  font-weight: 700;
}
.fs-1 {
  font-size: clamp(20px, 1.867vw, 23.3px);
  line-height: 1.2em;
}
.fs-2 {
  font-size: clamp(18px, 1.603vw, 20px);
  line-height: 1.2em;
}
.fs-3 {
  font-size: clamp(12px, 1.042vw, 20px);
  line-height: 1.2em;
}

.small {
  font-size: 12px;
  line-height: 1.2em;
}
/* spacing */
.pb-large {
  padding-bottom: 5vw;
}
.pb-0 {
  padding-bottom: 0px;
}
.pt-0 {
  padding-top: 0px;
}
.pb-1 {
  padding-bottom: 30px;
}
.mb-1 {
  margin-bottom: 30px;
}
.pt-1 {
  padding-top: 30px;
}
.pb-2 {
  padding-bottom: 40px;
}
.pt-2 {
  padding-top: 40px;
}
.pr-3vw {
  margin-left: auto;
  max-width: 530px;
}

/* layout */
.align-self-end {
  align-self: flex-end;
}
.is-flex-column {
  display: flex;
  flex-direction: column;
}
.m-box {
  max-width: 500px;
}
.l-box {
  max-width: 846px;
}

/* other */
.checked {
  color: white;
}
.uppercase {
  text-transform: uppercase;
}
.underline {
  padding-bottom: 1em;
  border-bottom: 1px solid black;
}
.is-hidden {
  display: none;
}
.is-hidden-desktop {
  display: none;
}

/* RESPONSIVE */
@media screen and (max-width: 1373px) {
  aside {
    padding: 4vw;
    padding-top: 0;
  }
}
@media screen and (max-width: 1248px) {
  .inner-section {
    padding: 50px;
  }
}

@media screen and (max-width: 1217px) {
  form {
    margin-top: -3vh;
  }
  .content {
    grid-template-columns: 60% 40%;
  }
  .banner {
    right: 40%;
  }
  .boxes {
    display: block;
  }
  .box {
    margin: 0 auto;
  }
  .box:not(:last-child) {
    margin-bottom: 2rem;
  }
  textarea {
    /* margin-bottom: 1rem; */
  }
  .btn {
    margin-top: 1rem;
  }
}
@media screen and (max-width: 1149px) {
  .beneficios-boxes {
    grid-template-columns: 1fr 1fr;
  }
  .beneficios-boxes p {
    margin-bottom: 1rem;
    font-size: 15px;
  }
}
@media screen and (max-width: 950px) {
  aside {
    display: none;
  }
  .content {
    display: block;
  }
  .banner {
    right: 0px;
  }

  .subtitle {
    padding-bottom: 1.2rem;
  }
  .beneficios-boxes {
    display: grid;
    gap: 1rem;
  }
  .beneficios {
    padding-bottom: 0;
  }
  .is-hidden-mobile {
    display: block;
  }

  .cta-btn {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translate(-50%);
    z-index: 999;
  }
}
@media screen and (max-width: 950px) {
  h1 {
    padding-left: 0;
  }
  .align-self-end {
    align-self: flex-start;
  }
  .pr-3vw {
    margin-left: 0;
    margin-right: 0;
  }
  .inner-section {
    padding: 30px;
  }
  .hero {
    padding: 30px;
  }
  #slideGaleria {
    padding: 0px 30px 0px 30px;
  }
}

@media screen and (max-width: 537px) {
  .is-hidden-mobile {
    display: none;
  }
  .is-hidden-desktop {
    display: block;
  }
  .beneficios-boxes p {
    padding: 10px;
  }
  .hero {
    padding: 30px;
  }
  .volume-control {
    font-size: 16px;
  }
  header {
    margin: 20px;
    margin-bottom: 0;
  }
  form {
    gap: 10px;
  }
  .checkbox.subfield {
    display: block;
  }
  input.gdpr {
    display: inline;
    width: 25px;
  }

  .gracias-img {
    height: 100vh;
    width: auto;
    position: fixed;
    margin-left: 150px;
    top: 0;
    left: 0;
  }
  .medium-container {
    padding-right: 0;
  }
  #video-desktop {
    display: none;
  }
  #video-mobile {
    display: block;
  }
}
.instagram-btn {
  margin-top: 2rem;
  padding: 10px;
  text-transform: uppercase;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  max-width: 250px;
}
.btn-gracias-img {
  width: 24px;
}
