/* ============================================================
   Eliqua — Landing page
   Diseño: Figma "eliqua" (Home, node 3:2)
   ============================================================ */

:root {
  /* Fondos */
  --bg-base: #020304;
  --bg-alt: #040609;
  --bg-card: #0a0e12;

  /* Texto */
  --text-strong: #f4f5f7;
  --text-blue-50: #f5f8ff;
  --text-blue-200: #c8dcf6;
  --text-gray: #b0b3b5;
  --text-gray-dim: #777b7e;
  --text-muted: #3b3d40;

  /* Acentos */
  --blue: #3e89d7;
  --blue-soft: #5c9bd5;
  --blue-chip: #a9c7eb;
  --green: #32c364;
  --green-result: #28bc5e;
  --green-text: #001803;
  --red: #f14e46;
  --cyan: #00d2ee;

  /* Bordes */
  --line: rgba(254, 255, 255, 0.07);
  --line-strong: rgba(254, 255, 255, 0.15);
  --chip-bg: rgba(56, 131, 209, 0.1);
  --chip-border: rgba(56, 131, 209, 0.22);

  /* Tipografía */
  --font-display: "Manrope", sans-serif;
  --font-body: "Nunito Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-strong);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Piezas compartidas ===== */

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.heading {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 51.2px);
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: var(--text-strong);
}

.heading__alt {
  font-weight: 300;
  color: var(--blue-soft);
}

.heading__alt--gray {
  color: var(--text-gray-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  padding: 16px 31px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn--green {
  background: var(--green);
  color: var(--green-text);
}

.btn--green:hover {
  box-shadow: 0 6px 18px rgba(50, 195, 100, 0.32);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text-strong);
}

.btn--blue {
  background: var(--blue);
  color: var(--text-strong);
  font-size: 14.4px;
  padding: 15px 36px;
  box-shadow: 0 4px 10px rgba(62, 137, 215, 0.28);
}

.btn--lg {
  font-size: 16px;
  padding: 17px 38px;
  box-shadow: 0 4px 10px rgba(50, 195, 100, 0.32);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.88px;
  color: var(--blue-chip);
}

/* ===== Navegación ===== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 56px;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(2, 3, 4, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__logo img {
  width: 183px;
  height: 33px;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.87px;
  text-transform: uppercase;
  color: var(--text-blue-200);
}

.nav__links a {
  transition: color 0.18s ease;
}

.nav__links a:hover {
  color: var(--text-strong);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green);
  color: var(--green-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  border-radius: 100px;
  padding: 9px 18px;
  transition: filter 0.18s ease;
}

.nav__cta:hover {
  filter: brightness(1.08);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Nav dropdown ===== */

.nav__dropdown {
  position: relative;
  display: flex;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  transition: color 0.18s ease;
}

.nav__dropdown-toggle:hover {
  color: var(--text-strong);
}

.nav__caret {
  transition: transform 0.2s ease;
}

.nav__dropdown:hover .nav__caret,
.nav__dropdown:focus-within .nav__caret,
.nav__dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: rgba(8, 12, 16, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

/* Puente invisible que cubre el gap botón↔menú para no perder el hover */
.nav__dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu,
.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: none;
  color: var(--text-blue-200);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav__dropdown-menu a:hover {
  background: var(--chip-bg);
  color: var(--text-strong);
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 120px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg.jpg") center / cover no-repeat;
}

/* Velo + gradiente negro superior + fundido hacia la sección siguiente */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 55%),
    rgba(0, 0, 0, 0.28);
}

.hero__bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(4, 6, 9, 0) 0%, var(--bg-alt) 100%);
}

.hero__stars {
  position: absolute;
  inset: 0;
}

.hero__stars span {
  position: absolute;
  background: #98b1cd;
  border-radius: 50%;
}

/* Partículas: puntitos azules con glow */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: #8ec5f5;
  box-shadow:
    0 0 6px 1px rgba(110, 181, 240, 0.85),
    0 0 13px 3px rgba(62, 137, 215, 0.45);
  will-change: transform;
  animation-name: particle-drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes particle-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(var(--bx, 4px), calc(var(--by, 8px) * -0.5));
  }
  50% {
    transform: translate(calc(var(--bx, 4px) * -0.3), calc(var(--by, 8px) * -1));
  }
  75% {
    transform: translate(calc(var(--bx, 4px) * -1), calc(var(--by, 8px) * -0.4));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__particle,
  .rings__ring,
  .rings__core {
    animation: none;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7.5vw, 114px);
  line-height: 1.14;
  letter-spacing: -0.044em;
  color: var(--text-strong);
}

.hero__line {
  display: block;
}

.hero__title em,
.hero__line--light {
  font-style: normal;
  font-weight: 200;
  color: var(--text-blue-200);
}

.hero__subtitle {
  margin: 36px auto 0;
  max-width: 853px;
  font-weight: 300;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.66;
  color: var(--text-blue-50);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
}

/* ===== Problemas ===== */

.problems {
  background: var(--bg-alt);
  padding: 96px 0;
}

.problems__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.problems__intro {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-gray);
  max-width: 584px;
  justify-self: end;
}

.problems__intro-accent {
  color: var(--blue-soft);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.problem-card {
  background: var(--bg-alt);
  padding: 40px 36px;
}

.problem-card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--blue);
}

.problem-card h3 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16.8px;
  letter-spacing: -0.3px;
  color: var(--text-strong);
}

.problem-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-gray);
}

/* ===== Beneficios ===== */

.benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 42px 72px;
}

.benefit--03 {
  padding-bottom: 64px;
}

.benefit__media {
  flex-shrink: 0;
  width: 473px;
  max-width: 100%;
}

.benefit__media img {
  width: 100%;
  height: 607px;
  object-fit: cover;
  border-radius: 40px;
}

.benefit__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  max-width: 732px;
  padding: 60px;
}

.benefit--02 {
  justify-content: space-between;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 72px;
}

.benefit--02 .benefit__body {
  flex: 1;
  max-width: 640px;
  padding: 0 60px;
}

.benefit__capsule {
  flex-shrink: 0;
  width: 460px;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__capsule img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.benefit__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.5vw, 44.8px);
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--text-strong);
}

.benefit__title em {
  font-style: normal;
  font-weight: 300;
  color: var(--blue-soft);
}

/* Desktop: la parte azul del título salta a su propia línea */
@media (min-width: 901px) {
  .benefit__title em {
    display: block;
  }
}

.benefit__text {
  max-width: 643px;
  font-size: 16px;
  line-height: 2;
  color: var(--text-blue-200);
}

.benefit__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 3px;
  transition: opacity 0.18s ease;
}

.benefit__link:hover {
  opacity: 0.75;
}

/* Beneficio 03 — anillos */

.rings {
  position: relative;
  flex-shrink: 0;
  width: 476px;
  height: 476px;
  max-width: 100%;
}

.rings__ring {
  position: absolute;
  border-radius: 50%;
  animation: ring-pulse 3.2s ease-in-out infinite;
}

.rings__ring--1 {
  inset: 0;
  border: 2px solid rgba(56, 131, 209, 0.14);
  animation-delay: 0.8s;
}

.rings__ring--2 {
  inset: 36px;
  border: 2px solid rgba(56, 131, 209, 0.2);
  animation-delay: 0.4s;
}

.rings__ring--3 {
  inset: 72px;
  border: 2px solid rgba(56, 131, 209, 0.28);
  animation-delay: 0s;
}

.rings__core {
  position: absolute;
  inset: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(47, 116, 187, 0.38);
  background: linear-gradient(135deg, #00205b 0%, #000a2e 100%);
  box-shadow: 0 0 36px rgba(56, 131, 209, 0.18);
  animation: core-glow 3.2s ease-in-out infinite;
}

.rings__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 89.6px;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--text-strong);
}

.rings__label {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19.2px;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: var(--blue-chip);
}

@keyframes ring-pulse {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes core-glow {
  0%,
  100% {
    box-shadow: 0 0 28px rgba(56, 131, 209, 0.14);
  }
  50% {
    box-shadow: 0 0 52px rgba(56, 131, 209, 0.4);
  }
}

/* ===== Testimonios ===== */

.testimonials {
  background: var(--bg-alt);
  padding: 96px 0;
}

.testimonials__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 52px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.testimonial {
  background: var(--bg-card);
  padding: 55px 32px 40px;
}

.testimonial:first-child {
  border-radius: 16px 0 0 16px;
}

.testimonial:last-child {
  border-radius: 0 16px 16px 0;
}

.testimonial blockquote {
  font-size: 14.56px;
  line-height: 1.78;
  color: var(--text-blue-200);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.testimonial__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 131, 209, 0.18);
  border: 1px solid rgba(56, 131, 209, 0.3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11.84px;
  color: var(--blue-chip);
}

.testimonial__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__who strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-strong);
}

.testimonial__who small {
  font-size: 11.52px;
  color: var(--text-gray);
}

/* ===== Calculadora ===== */

.calculator {
  background: var(--bg-base);
  padding: 96px 0;
}

.calculator__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.calculator__heading {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 60.8px);
  line-height: 1;
  letter-spacing: -2px;
  color: var(--text-strong);
}

.calculator__heading-alt {
  font-weight: 200;
  color: var(--blue);
}

.calculator__sub {
  margin-top: 14px;
  max-width: 550px;
  font-size: 16px;
  line-height: 1.53;
  color: var(--text-gray-dim);
}

.calc-card {
  margin-top: 52px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
}

.calc-card__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9.92px;
  letter-spacing: 1.29px;
  text-transform: uppercase;
  color: var(--text-gray);
}

.calc-field input {
  width: 100%;
  height: 69px;
  background: rgba(254, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 25.6px;
  color: var(--text-strong);
  outline: none;
  transition: border-color 0.18s ease;
  -moz-appearance: textfield;
  appearance: textfield;
}

.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-field input:focus {
  border-color: rgba(62, 137, 215, 0.55);
}

.calc-card__results {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 38px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.calc-result--divided {
  border-left: 1px solid var(--line);
}

.calc-result__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9.6px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  color: var(--text-gray);
}

.calc-result__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38.4px);
  line-height: 1;
  letter-spacing: -2px;
}

.calc-result__value--red {
  color: var(--red);
}

.calc-result__value--blue {
  color: var(--blue-chip);
}

.calc-result__value--green {
  color: var(--green-result);
}

.calc-result__note {
  font-size: 11.52px;
  color: var(--text-gray);
}

.calc-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.calc-card__legal {
  font-size: 12px;
  color: var(--text-gray);
  text-align: center;
}

/* ===== Comparativa ===== */

.compare {
  background: var(--bg-alt);
  padding: 96px 0;
}

.compare__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.compare__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 51.2px);
  letter-spacing: -1.5px;
  color: var(--text-strong);
}

.compare__heading em {
  font-style: normal;
}

.compare__vs {
  font-weight: 300;
  color: var(--text-gray);
}

.compare__others {
  font-weight: 200;
  color: var(--text-gray);
}

.compare__sub {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.44;
  color: var(--blue-soft);
}

.compare__table {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.compare__row {
  display: grid;
  grid-template-columns: minmax(180px, 1.65fr) 1fr 1fr 1fr;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
}

.compare__row:last-child {
  border-bottom: none;
}

.compare__row--head {
  background: rgba(254, 255, 255, 0.04);
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.48px;
  color: var(--text-gray-dim);
}

.compare__row--head span {
  text-align: center;
}

.compare__row--head span:first-child {
  text-align: left;
}

.compare__col--eliqua {
  color: var(--text-strong);
}

.compare__row span:first-child {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-blue-200);
}

.compare__row .yes,
.compare__row .no,
.compare__row .na {
  text-align: center;
  font-size: 16.8px;
}

.compare__row .yes {
  font-weight: 800;
  color: var(--blue);
}

.compare__row .no {
  color: var(--red);
}

.compare__row .na {
  font-size: 14.08px;
  color: var(--text-muted);
}

/* ===== Producto ===== */

.product {
  background: var(--bg-base);
  padding: 96px 0;
}

.product__container {
  display: grid;
  grid-template-columns: 580px 580px;
  justify-content: center;
  align-items: start;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.product__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.product__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 5.5vw, 77.4px);
  line-height: 0.92;
  letter-spacing: -2.5px;
  color: var(--text-strong);
}

.product__title-alt {
  font-weight: 200;
  color: var(--blue-soft);
}

.product__desc {
  max-width: 483px;
  font-size: 16px;
  line-height: 1.57;
  color: var(--text-gray);
}

.price-box {
  width: 100%;
  background: rgba(254, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 23px 27px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-box__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1.39px;
  text-transform: uppercase;
  color: var(--text-blue-50);
}

.price-box__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44.8px;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--blue-soft);
}

.price-box__price small {
  font-weight: 400;
  font-size: 20.8px;
  letter-spacing: 0;
}

.price-box__note {
  font-size: 14px;
  color: var(--text-blue-50);
}

.product__list {
  list-style: none;
  width: 100%;
}

.product__list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-gray);
}

.product__list li:last-child {
  border-bottom: none;
}

.product__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(56, 131, 209, 0.4);
  border-radius: 50%;
  background: url("assets/icon-check.svg") center / 9px 9px no-repeat;
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product__media img {
  width: 100%;
  height: 725px;
  object-fit: cover;
  border-radius: 20px;
}

/* ===== Páginas de producto — modelos ===== */

.models {
  background: var(--bg-base);
  padding: 130px 0 40px;
}

.models-head {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* Glow azul sutil detrás del encabezado */
.models-head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 540px;
  height: 300px;
  max-width: 92%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(56, 131, 209, 0.12) 0%, rgba(0, 0, 0, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.models-head__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  color: var(--text-strong);
}

.models-head__accent {
  font-weight: 300;
  color: var(--blue-soft);
}

.models-head__sub {
  position: relative;
  z-index: 1;
  margin: 16px auto 0;
  max-width: 580px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--text-gray);
}

/* Chips de modelo: anclan a cada producto (solo en páginas con 2 modelos) */
.models-head__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.models-head__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--blue-chip);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.models-head__chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.models-head__chip:hover {
  background: rgba(56, 131, 209, 0.2);
  border-color: rgba(56, 131, 209, 0.45);
  color: var(--text-strong);
  transform: translateY(-1px);
}

.model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 72px;
  scroll-margin-top: 96px;
}

.model--reverse {
  flex-direction: row-reverse;
}

.model__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 580px;
  max-width: 580px;
}

.model__media {
  flex-shrink: 0;
  width: 534px;
  max-width: 100%;
}

.model__media img {
  width: 100%;
  height: 667px;
  object-fit: cover;
  border-radius: 24px;
}

.model__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  /* Línea blanca ("Modelo") — más pequeña (48px en desktop) */
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  color: var(--text-strong);
}

.model__title-alt {
  /* Línea azul (el código del modelo) — más grande (82px en desktop) */
  font-weight: 200;
  font-size: clamp(46px, 5.8vw, 82px);
  line-height: 1;
  letter-spacing: -3px;
  color: var(--blue-soft);
}

.model__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
}

.model__list {
  list-style: none;
  width: 100%;
  margin-top: 6px;
}

.model__list li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-blue-200);
}

.model__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(56, 131, 209, 0.4);
  border-radius: 50%;
  background: url("assets/icon-check.svg") center / 9px 9px no-repeat;
}

/* ===== Nosotros ===== */

.about {
  background: var(--bg-alt);
  padding: 96px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 435px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.about__media span {
  font-family: var(--font-display);
  font-size: 10.88px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
}

.about__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-gray-dim);
}

/* ===== CTA final ===== */

.cta {
  position: relative;
  background: var(--bg-base);
  padding: 150px 24px 140px;
  text-align: center;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(56, 131, 209, 0.07) 0%, rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
}

.cta > *:not(.cta__glow) {
  position: relative;
}

.cta__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.cta__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.038em;
  color: var(--text-strong);
}

.cta__title-alt {
  font-weight: 200;
  color: var(--blue-soft);
}

.cta__text {
  max-width: 635px;
  margin: 36px auto 0;
  font-size: 16px;
  line-height: 1.67;
  color: var(--text-blue-200);
}

.cta .btn {
  margin-top: 56px;
}

/* ===== Footer ===== */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 65px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer__brand p {
  margin-top: 36px;
  max-width: 240px;
  font-size: 13.12px;
  line-height: 1.78;
  color: var(--text-gray);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9.6px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--text-gray);
}

.footer__col ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col li,
.footer__col a {
  font-size: 13.44px;
  color: var(--text-gray);
}

.footer__col a:hover {
  color: var(--text-strong);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 11.52px;
  color: var(--text-gray);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .benefit {
    flex-direction: column;
    padding: 20px 24px;
  }

  .benefit--02 {
    flex-direction: column;
  }

  .benefit--02 .benefit__body,
  .benefit__body {
    padding: 24px 0;
    max-width: 720px;
  }

  .benefit__capsule {
    width: 100%;
    max-width: 360px;
  }

  .benefit__media {
    width: 100%;
    max-width: 580px;
  }

  .benefit__media img {
    height: auto;
    aspect-ratio: 473 / 607;
  }

  .product__container {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 720px;
  }

  .product__media img {
    height: auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 720px;
  }

  .about__media {
    min-height: 300px;
  }

  .model,
  .model--reverse {
    flex-direction: column;
    gap: 40px;
    padding: 40px 24px;
  }

  .model__body {
    width: 100%;
    max-width: 580px;
  }

  .model__media {
    width: 100%;
    max-width: 580px;
  }

  .model__media img {
    height: auto;
    aspect-ratio: 534 / 667;
  }
}

@media (max-width: 900px) {
  .nav {
    padding: 14px 24px;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 24px 16px;
    background: rgba(2, 3, 4, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .nav.is-open {
    background: rgba(2, 3, 4, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }

  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__links a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav__links a:last-child {
    border-bottom: none;
  }

  .nav__dropdown {
    display: block;
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    display: none;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__dropdown.is-open .nav__dropdown-menu {
    display: flex;
    transform: none;
    padding: 2px 0 6px 14px;
  }

  .nav__dropdown-menu a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .testimonials__head .heading,
  .calculator__heading {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 0.3em;
  }

  .rings {
    display: none;
  }

  .problems__head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .problems__intro {
    justify-self: start;
  }

  .problems__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonial:first-child,
  .testimonial:last-child {
    border-radius: 0;
  }

  .testimonial {
    padding: 40px 32px;
  }

  .testimonials__grid .testimonial:first-child {
    border-radius: 16px 16px 0 0;
  }

  .testimonials__grid .testimonial:last-child {
    border-radius: 0 0 16px 16px;
  }

  .calc-card {
    padding: 32px 24px;
  }

  .calc-card__inputs {
    grid-template-columns: 1fr;
  }

  .compare__row {
    grid-template-columns: minmax(120px, 1.4fr) 1fr 1fr 1fr;
    padding: 14px 16px;
  }

  .compare__row span:first-child {
    font-size: 12.5px;
  }

  .rings {
    width: 360px;
    height: 360px;
  }

  .rings__ring--2 {
    inset: 27px;
  }

  .rings__ring--3 {
    inset: 54px;
  }

  .rings__core {
    inset: 81px;
  }

  .rings__num {
    font-size: 68px;
  }

  .rings__label {
    font-size: 15px;
  }

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 130px 20px 90px;
  }

  .hero__title {
    letter-spacing: -0.03em;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .product__actions {
    width: 100%;
  }

  .product__actions .btn {
    width: 100%;
  }

  .cta .btn {
    width: calc(100% - 8px);
  }

  .calc-card__results {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calc-result--divided {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand p {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* Tablet: menos espacio entre secciones */
@media (min-width: 521px) and (max-width: 900px) {
  .problems,
  .testimonials,
  .calculator,
  .compare,
  .product,
  .about {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
