:root {
  --verde01: #00A443;
  --azul01: #000560
}

* {
  font-family: "DM Sans", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
  box-sizing: border-box;
  position: relative
}

html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { width: 100%; height: 100%; margin: 0; padding: 0 }
body {
  background: #fff;
}
a {color: #000}

.row {
  padding: 0 5vw
}

nav {
  color: #fff;
  height: 60vh;
  min-height:550px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero {
  width: 100%;
  display: flex;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  left:0;
  top:0;
  width: 100%;
  height: 60vh;
  min-height:550px;
  background: url(../images/bg_hero.jpg) no-repeat;
  background-size: cover;
  opacity: 0.25
}
#hero .row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 0
}
h1, #hero h1, #hero h1 > p {
 font-size: 3.2vw;
 margin: 0 auto;
 letter-spacing: 1.5px;
  text-align: center;
  font-weight: 300
}
#hero h1 span, #hero  h1 > p > span {
  font-weight: 900
}
#hero .logo {
  height: 100%;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px
}
#hero svg {
  width: 300px;
  height: 180px;
}
#hero p {
  font-size: 1.3vw;
  font-weight: 300;
  letter-spacing: 1.5px;
  margin: 0;
  text-align: center
}
.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 60vh;
  min-height: 550px;
  z-index: -1;
  opacity: .5;
  background-image: linear-gradient(-60deg, #00A443 50%, #000560 50%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: bgSlide 3s ease-in-out infinite alternate;
  will-change: background-position;
}
.bg2 { animation-direction: alternate-reverse; animation-duration: 4s; }
.bg3 { animation-duration: 5s; }


main .content {
  padding: 3vw
}
main h2 {
  font-weight: 400;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 2.5vw;
}
main .content p {
  text-align: left;
  font-size: 1.4vw;
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto 20px;
}

.form form {
  max-width: 600px;
  margin: 0 auto
}
.form form .heading {
  text-align: center;
  font-size: 3vw;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto
}
.form form .text { font-size: 20px }
.form form .heading::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  background: var(--verde01);
  left: 0;
  bottom: 8px;
  z-index: -1;
  opacity: 0.5;
}
.form input {
  border: 1px solid #000;
  color: #000;
  border-radius: .46875vw;
  margin-bottom: 1.04vw;
  padding: 1vw;
  font-size: 1vw;
  font-weight: 300;
  line-height: 1vw;
  width: 100%
}
textarea {
  border: 1px solid #000;
  color: #000;
  border-radius: .46875vw;
  min-height: 10.6667vw;
  margin-bottom: 1.04vw;
  padding: 1vw;
  font-size: 1vw;
  font-weight: 300;
  width: 100%
}
.check-container label {
  display: grid;
  grid-template-columns: 20px auto;
  grid-gap: 10px
}
.check-container label:hover {
  cursor:  pointer;
}
.check-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkbox {
    position: relative;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid var(--verde01);
    border-radius: 0;
    box-sizing: border-box;
}
.check-container input:checked ~ .checkbox {
    background-color: var(--verde01);
    border-color: var(--verde01);
}
.checkbox:after {
  content: "";
  position: absolute;
  display: none;
  transition: all 0.2s ease;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
input:checked ~ .checkbox:after {
    display: block;
}
.check-container a {
  color: #000;
  transition: all 0.3s
}
.check-container a:hover {
  color: var(--verde01)
}
.texto-legal { color: #000 !important}
.submit {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  align-items: center;
}
.button {
  border: none;
  padding: 0.7vw 6vw;
  margin: 0 auto;
  color: #fff;
  background: var(--azul01);
  border-radius: 5px;
  font-size: 1vw;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s
}
.button:hover {
  background: var(--verde01);
  cursor: pointer;
}
.required-fields {
  font-size: 13px;
  color: #666;
}
.field-container.error input,
.field-container.error textarea {
  border-color: #e02424;
  outline: none;
}
.field-container .error-message {
  display: none;
  font-size: 12px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #e02424;
}
.field-container.error .error-message {
  display: block;
}
.field-container.check-container.error label {
  color: #e02424;
}
.field-container.check-container.error .checkbox {
  border-color: #e02424;
}


@keyframes bgSlide {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


/* ============ MODAL ============ */
.lp-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, .55);
  z-index: 9999;
}
.lp-modal.is-open { display: flex; }
.lp-modal__panel {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.lp-modal__title { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.lp-modal__msg { margin: 0 0 14px; line-height: 1.45; }
.lp-modal__actions { display: flex; justify-content: flex-end; }
.lp-modal__close {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}
.lp-modal__panel.is-success { border: 1px solid #d7f2df; }
.lp-modal__panel.is-error { border: 1px solid #ffd7d7; }








/* Animacion logo */
@-webkit-keyframes animate-svg-fill-1{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-1{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-1{-webkit-animation:animate-svg-fill-1 0.7s cubic-bezier(0.47,0,0.745,0.715) 0.8s both;animation:animate-svg-fill-1 0.7s cubic-bezier(0.47,0,0.745,0.715) 0.8s both}@-webkit-keyframes animate-svg-fill-2{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-2{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-2{-webkit-animation:animate-svg-fill-2 0.7s cubic-bezier(0.47,0,0.745,0.715) 0.9s both;animation:animate-svg-fill-2 0.7s cubic-bezier(0.47,0,0.745,0.715) 0.9s both}@-webkit-keyframes animate-svg-fill-3{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-3{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-3{-webkit-animation:animate-svg-fill-3 0.7s cubic-bezier(0.47,0,0.745,0.715) 1s both;animation:animate-svg-fill-3 0.7s cubic-bezier(0.47,0,0.745,0.715) 1s both}@-webkit-keyframes animate-svg-fill-4{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-4{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-4{-webkit-animation:animate-svg-fill-4 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.1s both;animation:animate-svg-fill-4 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.1s both}@-webkit-keyframes animate-svg-fill-5{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-5{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-5{-webkit-animation:animate-svg-fill-5 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.2000000000000002s both;animation:animate-svg-fill-5 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.2000000000000002s both}@-webkit-keyframes animate-svg-fill-6{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-6{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-6{-webkit-animation:animate-svg-fill-6 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.3s both;animation:animate-svg-fill-6 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.3s both}@-webkit-keyframes animate-svg-fill-7{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-7{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-7{-webkit-animation:animate-svg-fill-7 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.4000000000000001s both;animation:animate-svg-fill-7 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.4000000000000001s both}@-webkit-keyframes animate-svg-fill-8{0%{fill:transparent}100%{fill:rgb(0,5,96)}}@keyframes animate-svg-fill-8{0%{fill:transparent}100%{fill:rgb(0,5,96)}}.svg-elem-8{-webkit-animation:animate-svg-fill-8 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.5s both;animation:animate-svg-fill-8 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.5s both}@-webkit-keyframes animate-svg-fill-9{0%{fill:transparent}100%{fill:rgb(255,255,255)}}@keyframes animate-svg-fill-9{0%{fill:transparent}100%{fill:rgb(255,255,255)}}.svg-elem-9{-webkit-animation:animate-svg-fill-9 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.6s both;animation:animate-svg-fill-9 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.6s both}@-webkit-keyframes animate-svg-fill-10{0%{fill:transparent}100%{fill:rgb(255,255,255)}}@keyframes animate-svg-fill-10{0%{fill:transparent}100%{fill:rgb(255,255,255)}}.svg-elem-10{-webkit-animation:animate-svg-fill-10 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.7000000000000002s both;animation:animate-svg-fill-10 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.7000000000000002s both}@-webkit-keyframes animate-svg-fill-11{0%{fill:transparent}100%{fill:rgb(255,255,255)}}@keyframes animate-svg-fill-11{0%{fill:transparent}100%{fill:rgb(255,255,255)}}.svg-elem-11{-webkit-animation:animate-svg-fill-11 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.8s both;animation:animate-svg-fill-11 0.7s cubic-bezier(0.47,0,0.745,0.715) 1.8s both}


input:focus-visible,
textarea:focus-visible {
  border-color: var(--verde01);
  outline: none
}

footer .legal {
  display: flex;
  justify-content: space-between;
  margin-top: 8vw;
  font-size: 14px
}
footer ul {
  display: flex;
  list-style: none;
  gap: 30px
}
footer ul a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
footer ul a:hover {
  color: var(--verde01);
}
footer ul a span {
  width: 0%;
  height: 1px;
  background-color: var(--verde01);
  transition: all 0.3s;
  display: block
}
footer ul a:hover span {
  width: 100%
}


body.legal-content h1 {
  text-align: left;
  font-size: 28px
}
header.minimal {
  padding: 32px;
}




@media (max-width: 1350px) {
  h1, #hero h1, #hero h1 > p { font-size: 42px; line-height: 1.2; margin-bottom: 10px;}
  #hero p { font-size: 26px }
  main h2 {
    margin: 0 auto 35px;
    font-size: 32px
  }
  main .content p { font-size: 32px}
  .form form .heading { font-size: 36px }
  .form form p.text { font-size: 18px }
  .form input, textarea { font-size: 16px; margin-bottom: 12px; padding: 10px; border-radius: 7px;}
  .button { font-size: 18px; padding: 10px 50px }
}

@media (max-width: 980px) {
  h1, #hero h1, #hero h1 > p { margin: 0 5vw 10px }
  #hero p {margin: 0 5vw }
  main .content { padding: 6vw }
  main h2 {
    margin: 0 auto 30px;
    font-size: 28px
  }
  main .content p { font-size: 26px}
}

@media (max-width: 768px) {
  main .content { padding: 6vw }
  main h2 {
    margin: 0 auto 30px;
  }
  main .content p { font-size: 24px}
  .texto-legal { font-size: 14px }
}


@media (max-width: 480px) {
  #hero svg {
    width: 250px;
    height: 154px
  }
  footer .legal {
    flex-direction: column;
  }
  footer ul {
    padding: 0;
  }
}