:root {
  --blue: #3156ef;
  --blue-deep: #142382;
  --ink: #1c2434;
  --muted: #5c6573;
  --line: #e4e8ef;
  --paper: #ffffff;
  --header: #f3f6ff;
  --mist: #eff3ff;
  --footer: #0b025d;
  --footer-band: #2134b4;
  --real: #2454dc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select {
  font-family: inherit;
}

h1,
h2,
h3,
.section-title,
.badge,
.btn-submit,
.btn-pill {
  font-weight: 700;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: var(--header);
  min-height: 92px;
  display: flex;
  align-items: center;
}

.logo {
  height: 48px;
  width: auto;
}

.hero {
  position: relative;
  padding: 72px 0 80px;
  background-color: var(--blue-deep);
  background-image: linear-gradient(90deg, rgba(12, 28, 110, 0.42) 0%, rgba(12, 28, 110, 0.08) 42%, rgba(12, 28, 110, 0.28) 100%),
    url("../img/home.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 430px);
  gap: 48px;
  align-items: center;
}

.badge {
  display: block;
  width: fit-content;
  position: relative;
  margin: 0 0 28px;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  border-radius: 0;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 100vw;
  background: var(--blue);
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-copy h1 span {
  color: #5090f8;
}

.hero-rule {
  width: 168px;
  height: 3px;
  margin: 26px 0 24px;
  border: 0;
  background: #fff;
}

.hero-copy p {
  margin: 0;
  max-width: 560px;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-copy .badge {
  margin: 0 0 28px;
  max-width: none;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.formulario {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 20px;
  box-shadow: 0 18px 48px rgba(8, 20, 70, 0.22);
}

.formulario form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campo input,
.campo select {
  width: 100%;
  height: 50px;
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  background: #fafbfd;
  color: var(--ink);
  padding: 0 16px;
  font-size: 1.06rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.campo select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8b93a1 50%),
    linear-gradient(135deg, #8b93a1 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: #fafbfd;
  padding-right: 36px;
}

.campo input::placeholder {
  color: #9aa3b2;
}

.campo select:invalid {
  color: #9aa3b2;
}

.campo select option {
  color: var(--ink);
}

.campo input:focus,
.campo select:focus {
  border-color: var(--blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(49, 86, 239, 0.15);
}

.campo input.is-invalid,
.campo select.is-invalid {
  border-color: #d92d20;
  background-color: #fff6f6;
  box-shadow: none;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 1.08rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  background: #2748d6;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(49, 86, 239, 0.28);
}

.form-legal {
  margin: 2px 8px 0;
  color: #a3aab6;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.form-success,
.form-error {
  padding: 28px 8px 12px;
  text-align: center;
}

.form-success h3 {
  margin: 0 0 8px;
  color: var(--blue-deep);
  font-size: 1.35rem;
}

.form-success p,
.form-error p {
  margin: 0;
  color: #344054;
  line-height: 1.5;
}

.form-error p {
  color: #b42318;
}

.section-title {
  margin: 0;
  color: var(--blue);
  text-align: center;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-title.light {
  color: #fff;
}

.section-title.left {
  text-align: left;
}

.rule {
  width: 78px;
  height: 3px;
  margin: 16px auto 0;
  border: 0;
  background: var(--blue);
}

.rule-light {
  background: rgba(255, 255, 255, 0.92);
}

.rule-left {
  margin-left: 0;
}

.myth {
  background: #fff;
  padding: 78px 0 72px;
}

.myth-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  max-width: 920px;
  margin: 42px auto 0;
}

.myth-card {
  flex: 1 1 0;
  background: #fff;
  border-radius: 18px;
  padding: 28px 16px 22px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(22, 34, 72, 0.08);
}

.myth-icon {
  width: 132px;
  height: 78px;
  margin: 0 auto 4px;
  overflow: hidden;
}

.myth-icon img {
  width: 132px;
  max-width: none;
  height: auto;
}

.myth-card p {
  margin: 0;
  color: #667085;
  font-size: 1.15rem;
  font-weight: 500;
}

.myth-note {
  margin: 34px 0 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.real {
  padding: 78px 0 84px;
  background-color: var(--real);
  background-image: url("../img/banner3.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.real-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}

.real-card {
  width: calc(25% - 17px);
  min-height: 176px;
  background: #fff;
  border-radius: 18px;
  padding: 30px 16px 22px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(10, 30, 90, 0.12);
}

.real-card img {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.real-card p {
  margin: 0;
  color: #3a4252;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.3;
}

.proactiva {
  background: #fff;
  padding: 82px 0 36px;
}

.proactiva-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.proactiva-copy p {
  margin: 22px 0 0;
  max-width: 540px;
  color: #3a4252;
  font-size: 1.24rem;
  line-height: 1.45;
}

.possible {
  margin-top: 18px !important;
  color: var(--ink) !important;
  font-weight: 700;
}

.checks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0;
  color: #2c3444;
  font-size: 1.16rem;
  line-height: 1.4;
}

.checks img {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.proactiva-visual img {
  width: 100%;
  border-radius: 18px;
}

.pilares {
  background: var(--mist);
  padding: 72px 0 78px;
}

.carousel {
  max-width: 920px;
  margin: 36px auto 0;
}

.carousel-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(22, 34, 72, 0.08);
  padding: 26px 34px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 118px;
  box-sizing: border-box;
}

.slide img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
}

.slide-rule {
  width: 1px;
  align-self: stretch;
  margin: 14px 0;
  background: #e6e9f0;
}

.slide h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  color: #2a3142;
}

.slide p {
  margin: 0;
  color: #667085;
  font-size: 1.18rem;
  line-height: 1.4;
}

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c5c8d0;
  cursor: pointer;
}

.dot.is-active {
  background: #000;
}

.cierre {
  background: linear-gradient(180deg, #3219a7 0%, #070054 100%);
  color: #fff;
  text-align: center;
  padding-top: 78px;
}

.cierre h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.3vw, 2.65rem);
  letter-spacing: -0.03em;
}

.cierre-q {
  margin: 22px 0 0;
  font-size: clamp(1.2rem, 1.85vw, 1.45rem);
  font-weight: 700;
}

.cierre-lead {
  margin: 10px 0 0;
  font-size: 1.24rem;
  font-weight: 400;
}

.beneficios {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 72px;
  width: min(1040px, 100%);
  margin: 64px auto 8px;
  padding: 0;
}

.beneficios li {
  flex: 1;
  max-width: 200px;
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.25;
}

.beneficios img {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
}

.cierre-band {
  margin-top: 72px;
  background: var(--footer-band);
  padding: 0 16px 36px;
  display: flex;
  justify-content: center;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: -28px;
  min-width: 320px;
  padding: 18px 42px;
  border-radius: 999px;
  background: #fff;
  color: #161616;
  font-size: 1.35rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.campo {
  animation: field-in 0.55s ease both;
}

.campo:nth-child(1) { animation-delay: 0.05s; }
.campo:nth-child(2) { animation-delay: 0.1s; }
.campo:nth-child(3) { animation-delay: 0.15s; }
.campo:nth-child(4) { animation-delay: 0.2s; }
.campo:nth-child(5) { animation-delay: 0.25s; }
.campo:nth-child(6) { animation-delay: 0.3s; }

@keyframes field-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .proactiva-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .formulario {
    max-width: 480px;
  }

  .real-card {
    width: calc(50% - 11px);
  }

  .proactiva-visual {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .site-header {
    min-height: 72px;
  }

  .logo {
    height: 36px;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-copy p,
  .proactiva-copy p,
  .slide p {
    font-size: 1.08rem;
  }

  .myth-grid {
    flex-direction: column;
    align-items: center;
  }

  .myth-card {
    width: min(100%, 360px);
    flex: none;
  }

  .real-card {
    width: min(100%, 360px);
  }

  .carousel-card {
    padding: 20px 16px;
  }

  .slide {
    gap: 14px;
  }

  .slide img {
    width: 64px;
    height: 64px;
  }

  .beneficios {
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 28px;
    margin-top: 40px;
  }

  .beneficios li {
    flex: none;
    width: calc(50% - 28px);
    max-width: none;
  }

  .btn-pill {
    min-width: 0;
    width: min(100%, 420px);
    font-size: 1.15rem;
  }

  .formulario {
    max-width: none;
    padding: 22px 16px 16px;
  }
}

[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-aos="fade-right"] {
  transform: translateX(-32px);
}

[data-aos="fade-left"] {
  transform: translateX(32px);
}

[data-aos="zoom-in"] {
  transform: scale(0.92);
}

[data-aos].is-visible {
  opacity: 1;
  transform: none;
}
