/**
 * EduQuiriat — landing (mismos tokens que app privada)
 */
@import url('edu-theme-tokens.css');

:root {
  --edu-brand: #3d2fe7;
  --edu-brand-dark: #3226c4;
}

a,
a:visited {
  color: var(--edu-brand);
}

a:hover,
a:focus,
a:active {
  color: var(--edu-brand-dark);
}

.btn.btn--primary,
button.btn--primary,
input[type="submit"].btn--primary,
input[type="reset"].btn--primary,
input[type="button"].btn--primary {
  background: var(--edu-brand);
  border-color: var(--edu-brand);
}

.btn.btn--primary:hover,
button.btn--primary:hover,
input[type="submit"].btn--primary:hover,
input[type="reset"].btn--primary:hover,
input[type="button"].btn--primary:hover,
.btn.btn--primary:focus,
button.btn--primary:focus {
  background: var(--edu-brand-dark);
  border-color: var(--edu-brand-dark);
}

.pace .pace-progress {
  background: var(--edu-brand);
}

#loader > div {
  background: var(--edu-brand);
}

.home-content h1::before {
  background-color: var(--edu-brand);
}

.home-scroll__text {
  color: var(--edu-brand);
}

/* Header blanco, enlaces morados */
.s-header {
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(61, 47, 231, 0.12);
}

.s-header.sticky {
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(61, 47, 231, 0.15);
}

.header-nav-wrap .header-main-nav li a {
  color: rgba(61, 47, 231, 0.72);
}

.header-nav-wrap .header-main-nav li a:hover,
.header-nav-wrap .header-main-nav li a:focus,
.header-nav-wrap .header-main-nav li.current a {
  color: var(--edu-brand);
}

.header-menu-toggle {
  color: var(--edu-brand);
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
  color: var(--edu-brand-dark);
}

.header-menu-toggle span,
.header-menu-toggle span::before,
.header-menu-toggle span::after,
.header-menu-toggle.is-clicked span::before,
.header-menu-toggle.is-clicked span::after {
  background-color: var(--edu-brand);
}

@media only screen and (max-width: 800px) {
  .s-header,
  .s-header.sticky {
    background-color: #ffffff;
  }

  .header-nav-wrap {
    background-color: #ffffff;
    border-top: 1px solid rgba(61, 47, 231, 0.12);
  }

  .header-nav-wrap .header-main-nav li {
    border-bottom-color: rgba(61, 47, 231, 0.08);
  }

  .header-nav-wrap .header-main-nav li a {
    color: var(--edu-brand);
  }
}

.s-about {
  background-color: var(--edu-brand);
}

.s-download {
  background-color: var(--edu-brand);
}

.item-feature__icon {
  color: var(--edu-brand);
}

.item-plan__features li span {
  color: var(--edu-brand);
}

.item-plan--popular .item-plan__top-part,
.item-plan--popular .item-plan__block {
  border-color: var(--edu-brand);
}

.s-footer .display-1,
.s-footer .footer__mail-link {
  color: var(--edu-brand);
}

.s-footer a:hover,
.s-footer a:focus,
.s-footer a:active {
  color: var(--edu-brand);
}

.go-top a:hover,
.go-top a:focus,
.go-top a:active {
  background-color: var(--edu-brand);
}

.about-desc__slider .slick-dots li.slick-active button,
.about-desc__slider .slick-dots li:hover button {
  background: #ffffff;
}

.process .step::before {
  background: var(--edu-brand);
  border-color: var(--edu-brand);
}

.header-logo .site-logo img {
  height: 36px;
  width: auto;
  max-width: 200px;
}

@media only screen and (min-width: 801px) {
  .header-logo .site-logo img {
    height: 42px;
    max-width: 240px;
  }
}

.testimonials__avatar--logo {
  object-fit: contain;
  background: #fff;
  padding: 8px;
  border-radius: 50%;
}

.item-plan__features li::before {
  color: var(--edu-brand);
}

.item-plan--popular .item-plan__block {
  background-color: var(--edu-brand);
}

.item-plan--popular .item-plan__bottom-part .btn.btn--primary {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #1a1a1a !important;
}

.item-plan--popular .item-plan__bottom-part .btn.btn--primary:hover,
.item-plan--popular .item-plan__bottom-part .btn.btn--primary:focus {
  background-color: #f5f5f5 !important;
  border-color: #ffffff !important;
  color: var(--edu-brand) !important;
}

.about-desc__slider .slick-dots li button {
  background: color-mix(in srgb, var(--edu-brand) 55%, #000);
}

.ss-copyright a {
  color: var(--edu-brand);
}

.edu-footer-contact-email {
  margin-bottom: 2.4rem;
}

.s-about-how .video-bg.edu-landing-video-bg {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.s-download .download-bottom-image img {
  border-radius: 16px;
  overflow: hidden;
}

/* ——— IA pedagógica ——— */
.edu-ia-section {
  position: relative;
  padding: 12rem 0 10rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6f4ff 45%, #ffffff 100%);
}

.edu-ia-section__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/landing/video-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}

.edu-ia-card__media--1 {
  background-image: linear-gradient(135deg, rgba(61, 47, 231, 0.35), rgba(61, 47, 231, 0.05)),
    url("../images/landing/plataforma.png");
  background-size: cover;
  background-position: center top;
}

.edu-ia-card__media--2 {
  background-image: linear-gradient(135deg, rgba(13, 148, 136, 0.25), rgba(61, 47, 231, 0.15)),
    url("../images/landing/celulares.png");
  background-size: cover;
  background-position: center;
}

.edu-ia-section .section-header {
  position: relative;
  z-index: 1;
}

.edu-ia-eyebrow {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: 0.45rem 1.2rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edu-brand);
  background: rgba(61, 47, 231, 0.08);
  border-radius: 999px;
}

.edu-ia-section .lead strong {
  color: var(--edu-brand-dark);
}

.edu-ia-cards {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 5rem auto 0;
}

.edu-ia-card {
  padding: 0 16px;
  margin-bottom: 2rem;
}

.edu-ia-card__inner {
  height: 100%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(61, 47, 231, 0.12);
  box-shadow: 0 16px 44px rgba(61, 47, 231, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.edu-ia-card:hover .edu-ia-card__inner {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(61, 47, 231, 0.16);
}

.edu-ia-card__media {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.edu-ia-card__body {
  padding: 2.4rem 2.8rem 3rem;
}

.edu-ia-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  font-size: 2.2rem;
  color: var(--edu-brand);
  background: rgba(61, 47, 231, 0.08);
}

.edu-ia-card__body .item-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.edu-ia-card__body p {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.62);
}

.edu-clients-section {
  padding-top: 10rem;
  padding-bottom: 12rem;
}

@media only screen and (max-width: 800px) {
  .edu-ia-section {
    padding: 8rem 0 6rem;
  }

  .edu-ia-card__body {
    padding: 2rem;
  }
}

/* ——— Planes SaaS ——— */
.edu-pricing-section .edu-pricing-plans {
  max-width: 960px;
  margin-top: 5rem;
}

.edu-pricing-section .item-plan {
  padding: 0 16px;
  margin-bottom: 2rem;
}

.edu-pricing-section .item-plan__block {
  padding: 0;
  margin-bottom: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(61, 47, 231, 0.14);
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(61, 47, 231, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.edu-pricing-section .edu-plan-card:hover .item-plan__block {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(61, 47, 231, 0.16);
}

.edu-plan-ribbon {
  display: block;
  text-align: center;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  color: var(--edu-brand);
  background: linear-gradient(90deg, rgba(61, 47, 231, 0.1) 0%, rgba(61, 47, 231, 0.04) 100%);
  border-bottom: 1px solid rgba(61, 47, 231, 0.1);
}

.edu-pricing-section .item-plan__top-part {
  padding: 2.8rem 3rem 2.2rem;
  background: linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
}

.edu-pricing-section .item-plan__title {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.edu-plan-highlight {
  font-family: "Chivo", sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--edu-brand);
  margin: 0 0 0.8rem;
}

.edu-pricing-section .item-plan__per {
  display: block;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.5);
}

.edu-pricing-section .item-plan__bottom-part {
  margin-top: 0;
  padding: 2.4rem 3rem 3.2rem;
  border-top: 1px solid rgba(61, 47, 231, 0.08);
  background: #fff;
}

.edu-pricing-section .item-plan__features {
  margin-bottom: 2.4rem;
  padding: 1.6rem 1.8rem;
  background: rgba(61, 47, 231, 0.04);
  border-radius: 12px;
}

.edu-pricing-section .item-plan__features li {
  padding: 0.45rem 0;
}

.edu-pricing-section .item-plan--popular .item-plan__block {
  background: var(--edu-brand);
  background-color: var(--edu-brand);
  border: none;
  box-shadow: 0 24px 60px rgba(61, 47, 231, 0.28);
  transform: scale(1.02);
  color: #ffffff;
}

.edu-pricing-section .item-plan--popular .item-plan__title {
  color: #ffffff;
}

.edu-pricing-section .item-plan--popular .item-plan__features,
.edu-pricing-section .item-plan--popular .item-plan__features li {
  color: rgba(255, 255, 255, 0.92);
}

.edu-pricing-section .item-plan--popular .item-plan__features li::before {
  color: #ffffff;
}

.edu-pricing-section .edu-plan-card--popular:hover .item-plan__block {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 28px 64px rgba(61, 47, 231, 0.32);
}

.edu-plan-ribbon--popular {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.edu-pricing-section .item-plan--popular .item-plan__top-part {
  background: transparent;
  padding-top: 2.4rem;
}

.edu-pricing-section .item-plan--popular .edu-plan-highlight {
  color: #ffffff;
}

.edu-pricing-section .item-plan--popular .item-plan__per {
  color: rgba(255, 255, 255, 0.75);
}

.edu-pricing-section .item-plan--popular .item-plan__bottom-part {
  border-top-color: rgba(255, 255, 255, 0.15);
  background: transparent;
}

.edu-pricing-section .item-plan--popular .item-plan__features {
  background: rgba(255, 255, 255, 0.1);
}

.edu-pricing-section .item-plan--popular .item-plan__features li span {
  color: #ffffff;
  font-weight: 700;
}

@media only screen and (max-width: 800px) {
  .edu-pricing-section .item-plan--popular .item-plan__block {
    transform: none;
  }

  .edu-pricing-section .edu-plan-card--popular:hover .item-plan__block {
    transform: translateY(-6px);
  }

  .edu-pricing-section .item-plan__top-part,
  .edu-pricing-section .item-plan__bottom-part {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Menú móvil accesible (botón) */
button.header-menu-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* Utilidades (Kairos no incluye Bootstrap) */
.edu-landing-hidden {
  display: none !important;
}

/* Formulario de contacto (#download) */
.s-download .edu-landing-contact-wrap {
  width: 89%;
  max-width: 640px;
  margin: 0 auto 6rem;
  padding: 0 20px;
  clear: both;
}

.edu-landing-contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 3.2rem 3.6rem 3.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.edu-landing-contact-form__alert {
  margin: 0 0 2rem;
  padding: 1.2rem 1.6rem;
  border-radius: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
}

.edu-landing-contact-form__alert.is-success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.edu-landing-contact-form__alert.is-error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.edu-landing-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.4rem;
  margin-bottom: 2.4rem;
}

.edu-landing-contact-form__field--full {
  grid-column: 1 / -1;
}

.edu-landing-contact-form__label {
  display: block;
  margin-bottom: 0.8rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

/* Anula estilos globales de formularios Kairos (altura 6.4rem / textarea 25.6rem) */
.s-download .edu-landing-contact-form input[type="text"],
.s-download .edu-landing-contact-form input[type="email"],
.s-download .edu-landing-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1.2rem 1.6rem;
  height: auto;
  min-height: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.6rem;
  line-height: 1.45;
  color: #1a1a1a;
  background-color: #f4f5f8;
  border: 1px solid #d8dbe6;
  border-radius: 8px;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.s-download .edu-landing-contact-form textarea {
  min-height: 11rem;
  resize: vertical;
}

.s-download .edu-landing-contact-form input[type="text"]:focus,
.s-download .edu-landing-contact-form input[type="email"]:focus,
.s-download .edu-landing-contact-form textarea:focus {
  border-color: var(--edu-brand);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(61, 47, 231, 0.18);
  outline: none;
}

.s-download .edu-landing-contact-form .btn.btn--primary {
  margin-top: 0.4rem;
}

.edu-landing-contact-form__hint {
  margin: 2rem 0 0;
  text-align: center;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.4rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.55);
}

.edu-landing-contact-form__hint a {
  color: var(--edu-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.edu-landing-contact-form__hint a:hover,
.edu-landing-contact-form__hint a:focus {
  color: var(--edu-brand-dark);
}

@media only screen and (max-width: 700px) {
  .edu-landing-contact-form {
    padding: 2.4rem 2rem 2.8rem;
  }

  .edu-landing-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

html.edu-landing-reduced-motion .fade-in-up,
html.edu-landing-reduced-motion [data-aos] {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.edu-landing-reduced-motion .edu-ia-card:hover .edu-ia-card__inner,
html.edu-landing-reduced-motion .edu-pricing-section .edu-plan-card:hover .item-plan__block,
html.edu-landing-reduced-motion .main-content:hover {
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    animation: none !important;
  }
}
