@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
/* ==================================== */
/* 1. Normalización o Reinicio (Reset)  */
/* ==================================== */
/*
* Utilizar un box-sizing universal ayuda a que los anchos y altos sean predecibles.
* El padding y el border no sumarán al ancho total.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
* 2. Reiniciar márgenes y paddings predeterminados para el cuerpo y elementos básicos.
*/
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/*
* 3. Eliminar los estilos predeterminados de las listas.
*/
ul, ol {
  list-style: none;
}

/*
* 4. Asegurar que las imágenes sean responsivas y no excedan su contenedor.
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/*
* 5. Heredar la fuente y el estilo de línea para los elementos de formulario.
*/
input, button, textarea, select {
  font: inherit;
}

/* ==================================== */
/* 2. Estilos Globales Propios          */
/* ==================================== */
body {
  font-family: sans-serif;
  line-height: 1.5; /* Mejora la legibilidad */
  min-height: 100vh; /* Para ocupar toda la altura de la ventana */
}

/* ==================================== */
/* 3. Estilos Específicos               */
/* ==================================== */
h1 {
  color: #333;
  padding: 20px;
  border-bottom: 2px solid #ccc;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  position: relative;
  color: #333333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: #843358;
}

.wrapper {
  position: relative;
}

.poweredby {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.header {
  padding: 30px 0;
  min-height: 100vh;
  background: url(../images/bg.svg) no-repeat top left;
  background-size: contain;
}
.header__image {
  margin: 0 auto;
}
.header__title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  padding: 5px 0 30px 0;
  text-align: center;
}
.header__video {
  position: relative;
}
.header__video:after {
  content: "";
  width: 100%;
  background: #FFEEF0;
  height: 1px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.header .video-wrapper.modern {
  width: 100%;
  max-width: 1200px; /* controla el ancho máximo */
  margin: 0 auto; /* centra el vídeo */
  aspect-ratio: 16/9; /* cambia a 4/3, 21/9, etc. según necesites */
  background: #FFEEF0; /* mientras carga */
  overflow: hidden;
}
.header .video-wrapper.modern iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form__header {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  padding: 30px 30px;
}
.form__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  padding: 20px 0 0 0;
  margin: 0 auto;
}
.form__content .form {
  width: 70%;
  margin: 0 auto;
}
.form__content .title {
  color: #333;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  padding-bottom: 40px;
}
.form__content .contact__info {
  padding: 30px 50px;
  box-shadow: 0px 0px 20px 3px rgba(102, 102, 102, 0.25);
  border-radius: 14px;
  text-align: left;
}
.form__content .contact__info .title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  border-bottom: 1px solid #D6D6D6;
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
  margin-bottom: 35px;
}
.form__content .contact__info .icons__item {
  display: grid;
  grid-template-columns: 50px auto;
  padding-bottom: 20px;
  align-items: center;
}
.form__content .contact__info .icons__item p {
  font-size: 22px;
  color: #333333;
}
.form__content .contact__info .icons__item a {
  color: #843358;
  font-weight: bold;
  text-decoration: none;
}

.info {
  background-color: #FFEEF0;
  padding: 40px;
  border-radius: 14px;
  display: flex;
  position: relative;
  margin: 50px 0;
}
.info__left {
  width: 55%;
  align-items: center;
}
.info__right {
  position: relative;
}
.info .img2 {
  position: absolute;
  right: 0;
  top: -50px;
}

.features {
  text-align: center;
  display: grid;
  padding: 40px 0;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 60px;
}
.features__item {
  box-shadow: 0px 0px 20px 3px rgba(102, 102, 102, 0.25);
  border-radius: 14px;
  text-align: center;
  padding: 30px;
}
.features__item img {
  display: inline-block;
  margin-bottom: 20px;
}
.features__item .name {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

.mobile {
  background-color: #843358;
  padding: 60px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 120px 0;
  color: #fff;
}
.mobile__left {
  position: relative;
  width: 30%;
  text-align: center;
}
.mobile__left img {
  margin: auto;
}
.mobile__right {
  width: 70%;
}
.mobile .title {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 0 0 15px 0;
}
.mobile .text {
  text-align: center;
}
.mobile .img2 {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translate(0, -50%);
}

.wgm {
  padding: 40px 0 60px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}
.wgm__left .title {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
  padding: 0 0 15px 0;
}
.wgm__left .text {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  padding: 0 0 30px;
}
.wgm__left .link {
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  background-color: #843358;
  border-radius: 14px;
  text-transform: uppercase;
  padding: 15px 40px;
  text-decoration: none;
}
.wgm__left .link:hover {
  opacity: 0.8;
  transition: all 0.4s;
}

footer {
  background-color: #FFEEF0;
  padding: 15px 30px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
  text-align: center;
}
footer .links {
  padding: 5px 0 0 0;
  margin: 0;
}
footer a {
  color: #333333;
  text-decoration: none;
}

.hidden-xs {
  display: block;
}

.hidden-lg {
  display: none;
}

.video-hover {
  display: block;
  position: relative;
  border-radius: 15px;
  background-color: #fff;
  position: relative;
}

.video-hover::-webkit-media-controls {
  display: none !important;
  opacity: 0;
  pointer-events: none;
  border: none;
}

.video-hover:hover::-webkit-media-controls {
  display: flex !important;
  opacity: 1;
  pointer-events: all;
}

.video-hover:hover {
  cursor: pointer;
}

.video-cover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.4s ease;
  z-index: 100;
  border-radius: 15px;
}

.video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}

/* Cuando se quita el cover */
.video-cover.hidden {
  opacity: 0;
  pointer-events: none;
}

input {
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 10px 20px;
  border: 1px solid #D6D6D6;
  margin-bottom: 30px;
  color: #333333;
}

.form-control {
  position: relative;
}
.form-control div.error {
  position: absolute;
  left: 0;
  bottom: -22px;
  font-size: 13px;
  color: red;
}

form button {
  background-color: #843358;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  border-radius: 10px;
  padding: 10px 35px;
  margin-top: 15px;
  border: none;
}
form button.disabled {
  color: #999;
  background-color: #ccc;
}
form .check {
  display: grid;
  grid-template-columns: 30px auto; /* primera fila: 2 columnas */
  grid-template-rows: auto auto; /* segunda fila: una (ocupa ambas columnas) */
  grid-template-areas: "checkbox texto" "error error";
  align-items: center;
  gap: 0.5em; /* espacio entre elementos */
  text-align: left;
}
form .check input[type=checkbox] {
  grid-area: checkbox;
  justify-self: start;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; /* elimina el estilo del sistema */
  width: 20px;
  height: 20px;
  border: 1px solid #D6D6D6; /* borde de 2px negro */
  border-radius: 4px; /* opcional */
  cursor: pointer;
  background-color: #fff; /* fondo blanco */
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
form .check input[type=checkbox]:checked {
  background-color: #843358; /* azul */
  border-color: #843358;
}
form .check input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 10px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}
form .check span {
  grid-area: texto;
  font-size: 14px;
}
form .check span a {
  color: #843358;
  text-decoration: underline;
}
form .check .error {
  grid-area: error;
  font-size: 13px;
  color: red;
}
form .check input.error {
  border: 2px solid red;
}
@media only screen and (max-width: 1500px) {
  .poweredby {
    width: 80px;
  }
}
@media only screen and (max-width: 1380px) {
  .poweredby {
    width: 40px;
  }
}
@media only screen and (max-width: 1280px) {
  .poweredby {
    display: none;
  }
  .container {
    padding: 0 40px;
    width: 100%;
  }
  .header {
    min-height: auto;
    padding-bottom: 20px;
  }
  .info .img2 {
    max-width: 40%;
    transform: translate(0, -50%);
    top: 50%;
  }
  .features__item .name {
    font-size: 20px;
  }
}
@media only screen and (max-width: 990px) {
  .form__content {
    gap: 40px;
  }
  .form__content .title {
    font-size: 18px;
    padding-bottom: 30px;
  }
  .form__content .contact__info .icons__item p {
    font-size: 18px;
  }
  .form__content .contact__info .title {
    font-size: 20px;
  }
  .form__header {
    font-size: 22px;
  }
  .form .form {
    width: 100%;
  }
  .features {
    gap: 30px;
  }
  .features__item {
    padding: 20px;
  }
  .features__item .name {
    font-size: 17px;
  }
  .mobile {
    margin: 60px 0 20px 0;
  }
  .mobile__right {
    width: 60%;
  }
  .mobile .title {
    font-size: 30px;
  }
  .mobile .img2 {
    max-width: 30%;
  }
}
@media only screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .header {
    background-size: cover;
  }
  .header__image {
    width: 50%;
  }
  .header__title {
    font-size: 24px;
  }
  .form {
    padding-bottom: 10px;
  }
  .form__header {
    padding: 10px 0 0 0;
  }
  .form__content {
    grid-template-columns: 1fr;
  }
  .info {
    flex-direction: column;
    align-items: center;
    padding: 0 20px 20px 20px;
  }
  .info__left {
    width: 100%;
    text-align: center;
    order: 2;
  }
  .info__right {
    order: 1;
    align-self: center;
    width: 100%;
  }
  .info__right img {
    max-width: 60%;
    margin: 0 auto;
    position: relative;
    top: -30px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 0;
    gap: 40px;
  }
  .wgm {
    grid-template-columns: 1fr;
  }
  .wgm__left {
    padding-bottom: 20px;
  }
  .wgm img {
    width: 100%;
  }
  .hidden-xs {
    display: none;
  }
  .hidden-lg {
    display: block;
  }
}
@media only screen and (max-width: 600px) {
  body {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
  }
  .header__title {
    font-size: 5.5vw;
  }
  .header__image {
    width: 75%;
  }
  .form__header {
    font-size: 4.5vw;
    padding-top: 30px;
  }
  .mobile {
    flex-direction: column;
    padding-top: 0;
    padding: 0 40px 40px 40px;
    margin: 90px 0 20px 0;
  }
  .mobile__left {
    width: 100%;
  }
  .mobile__left img {
    position: relative;
    top: -40px;
    max-width: 40%;
  }
  .mobile__right {
    width: 100%;
  }
  .info__right img {
    max-width: 80%;
  }
}
@media only screen and (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
}
.scale-in-center {
  animation: scale-in-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}
@keyframes scale-in-center {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.fadein {
  opacity: 0;
  animation: fadeInSmooth 2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Animación */
@keyframes fadeInSmooth {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* --- ESTILOS DE ERROR --- */
.error {
  color: #d32f2f;
  background: #ffecec;
  border: 1px solid #e0b4b4;
  padding: 6px 10px;
  margin-top: 4px;
  font-size: 0.85rem;
  border-radius: 6px;
  display: inline-block;
  animation: fadeIn 0.2s ease-in-out;
}

/* Input con error */
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border: 2px solid #d32f2f !important;
  background-color: #fff6f6;
  box-shadow: 0 0 4px rgba(211, 47, 47, 0.3);
}

/* Input válido opcional (queda chulo) */
input.valid, select.valid, textarea.valid {
  border: 2px solid #4caf50 !important;
  background-color: #f6fff6;
}

/* Para checkboxes */
label.error {
  display: block;
  margin-top: 4px;
}

/* Animación sutil */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.toast-msg {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  min-width: 260px;
  max-width: 92vw;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 99999;
  pointer-events: none;
  will-change: opacity, transform;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-msg.success {
  background: linear-gradient(135deg, #00c853, #2ecc71);
}

.toast-msg.error {
  background: linear-gradient(135deg, #e53935, #ff5252);
}

.btn-spinner {
  width: 1em;
  height: 1em;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
  vertical-align: -0.15em;
  margin-right: 0.5em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Inputs bonitos (por si no los añadiste aún) */
.error {
  color: #d32f2f;
  background: #ffecec;
  border: 1px solid #e0b4b4;
  padding: 6px 10px;
  margin-top: 4px;
  font-size: 0.85rem;
  border-radius: 6px;
  display: inline-block;
  animation: fadeIn 0.2s ease-in-out;
}

input.is-invalid, select.is-invalid, textarea.is-invalid {
  border: 2px solid #d32f2f !important;
  background-color: #fff6f6;
  box-shadow: 0 0 4px rgba(211, 47, 47, 0.3);
}

input, textarea, select {
  transition: all 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.toast-msg.error {
  background: linear-gradient(135deg, #e53935, #ff5252);
  color: #fff !important;
}

.toast-msg.success {
  background: linear-gradient(135deg, #00c853, #2ecc71);
  color: #fff !important;
}

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 480px;
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: none;
  padding: 20px 22px;
  animation: fadeIn 0.4s ease;
}

#cookie-banner h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

#cookie-banner p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

#cookie-banner button {
  margin-right: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

#cookie-banner .accept {
  background: #e72643;
  color: #fff;
}

#cookie-banner .accept:hover {
  background: #e72643;
}

#cookie-banner .reject {
  background: #ddd;
  color: #222;
}

#cookie-banner .reject:hover {
  background: #ccc;
}

#cookie-banner .config {
  background: transparent;
  color: #555;
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}/*# sourceMappingURL=styles.css.map */