/* SWUP */


/* Define a transition duration during page visits */
html.is-changing .transition-fade {
    transition: opacity 0.25s;
    opacity: 1;
  }
  /* Define the styles for the unloaded pages */
  html.is-animating .transition-fade {
    opacity: 0;
  }
  
  /* LENIS Recommended CSS */
  
  
  html.lenis, html.lenis body {
    height: auto;
  }
  .lenis.lenis-smooth {scroll-behavior: auto; height: 100vh;}
  .lenis.lenis-smooth [data-lenis-prevent] {overscroll-behavior: contain;}
  .lenis.lenis-stopped {overflow: hidden;}
  .lenis.lenis-scrolling iframe {pointer-events: none;}
  
  
  




  /* MENU HAMBUIRGUESA*/


  .menu-container {
    position: relative;
}
.menu-toggle {
  width: 35px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 6rem;
  z-index: 100;
}
.bar {
    width: 100%;
    height: 2px;
    background-color: var(--amarillo);
    transition: 0.3s;
}
.menu {
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background: var(--primary);
    color: white;
    padding-top: 20vh;
    z-index: 9;
}
.menu ul {
    list-style: none;
    padding: 0;
}
.menu ul li {
    padding: 1.5rem 0;
  
}
.menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 3.6rem;
    font-weight: 600;
}
.menu .footer__info {
    padding-top: 14rem;
}



/* FORM */

section#contacto {
    padding: 12rem 0;
    background: var(--primary);
}

form.wpcf7-form.init {
    display: flex;
    justify-content: center;
    width: 100%;
}
.form-group {
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    flex-flow: column;
    max-width: 480px;
    display: flex;
    width: 100%;
    padding: 5rem 4rem;
    position: relative;
    margin: 0 auto;
  }
  .wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 1.2em 1em;
    border: 2px solid #00a0d2;
    color: #fff;
    font-size: 2rem;
}
  .form-group:before {
    background: rgb(255 255 255 / 12%);
    filter: blur(1px);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
span.wpcf7-spinner {
    position: absolute;
    right: 0;
}
  .form {
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    flex-flow: column;
    width: 100%;
    display: flex;
    padding: 4rem 0 0;
  }
  
  .form-field-group {
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    flex-flow: column;
    align-items: flex-start;
    display: flex;
  }
  
  .form-field {
    width: 100%;
    position: relative;
  }
  
  .form-input {
    outline-offset: 0px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: #efeeec;
    border: 1px solid #efeeec;
    border-radius: .328125em;
    outline: 0 #0000;
    height: auto;
    margin-bottom: 0;
    padding: .9em 3.5em .9em 1em;
    font-size: 1.125em;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: 0 0 #0000;
  }
  
  .form-input:focus {
    border-color: #cbc8c5;
  }
  
  .form-input::placeholder {
    color: #1313134d;
    background-color: #efeeec;
  }
  
  textarea {
    resize: vertical;
    min-height: 9em;
    font-size: 16px;
    padding: 10px;
  }
  

  
  @media screen and (max-width: 767px) {
    .form-group {
      width: 100%;
    }
  }
  

  .form-field-group input {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 10px;
    width: 100%;
    height: 40px;
    font-size: 16px;
}
label.form-label {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}
.texto_checkbox p {
    font-size: 14px;
}

.box {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0em;
}
.contacto_header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-flow: column;
    gap: 1.5rem;
}
.checkbox {
    display: flex;
    flex-flow: column;
    gap: 3rem;
}
input.wpcf7-form-contol.wpcf7-submit {
    font-size: 14px;
}

.contacto_header h3 {
    color: #fff;
    font-size: 5rem;
}

.contacto_header p {
    color: #fff;
}
.texto_checkbox p a {
    font-weight: 600;
    color: #fff;
}

input.wpcf7-form-control.wpcf7-submit {
    font-style: normal;
    font-size: clamp(12px, 12px + 0vw, 12px);
    font-weight: 700;
    line-height: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 18px 26px;
    min-height: var(--button-size);
    clip-path: inset(2px round 62px);
    background-color: var(--amarillo);
    transition: all var(--transition-ready) cubic-bezier(.25,0,0,1);
    
}

input.wpcf7-form-control.wpcf7-submit:hover{
    background-color: var(--primary);
    color: #fff;
    transition: all var(--transition-ready) cubic-bezier(.25,0,0,1);
    
}



/* MODAL */


.modal {
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  justify-content: center;
  align-items: center;
  padding: 2em 1em;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
  transition: all 0.2s linear;
}

.modal[data-modal-group-status="active"] {
  opacity: 1;
  visibility: visible;
}

.modal__dark {
  opacity: .5;
  pointer-events: auto;
  cursor: pointer;
  background-color: #131313;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.modal__card {
  pointer-events: auto;
  background-color: #efeeec;
  border-radius: 2em;
  width: 100%;
  max-width: 115em;
  max-height: 100%;
  padding: .75em;
  display: none;
  position: relative;
}

.modal__card[data-modal-status="active"] {
  display: flex;
}

.modal__scroll {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  background-color: var(--f2efe4);
  border-radius: 1.25em;
  flex-flow: column;
  width: 100%;
  max-height: 100%;
  display: flex;
  position: relative;
  overflow-y: scroll;
}

.modal__content {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  flex-flow: column;
  padding: 3em;
  display: flex;
}

.modal__h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.8em;
  font-weight: 500;
  line-height: 1.175;
  color: var(--primary);
  font-weight: 600;
}

.modal__p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.5;
}

.modal__btn-close {
  background-color: var(--amarillo);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 4.5em;
  height: 4.5em;
  display: flex;
  position: absolute;
  top: 2.5em;
  right: 4.5em;
  cursor: pointer;
}

.modal__btn-close-bar {
  background-color: currentColor;
  width: .125em;
  height: 40%;
  position: absolute;
  transform: rotate(45deg);
}

.modal__btn-close-bar.is--second {
  transform: rotate(-45deg);
}

/* Demo Buttons */

.demo-btn {
  /* background-color: #efeeec;
  border-radius: 50em;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  margin-top: auto; */
  align-items: center;
  display: inline-flex;
  position: relative;
  margin-top: auto;
}

.demo-btn__p {
  margin-bottom: 0;
  padding: .65em 1.25em;
  font-size: 1em;
}
