/* ==========================================================================
   InnovaVit — Asesoría y gestoría Crédito Mejoravit
   Sistema de diseño v2 — branding oficial (rojo / guinda / dorado)
   ========================================================================== */

:root {
  /* Marca */
  --red: #de1f26;
  --red-hot: #e8232b;
  --red-deep: #b3121b;
  --maroon: #7c1220;
  --maroon-2: #5c0d18;
  --maroon-3: #420812;
  --maroon-ink: #2b060c;
  --wine: #8f1d2c;
  --gold: #c99a4b;
  --gold-soft: #f3c77b;
  --peach: #ffb199;

  /* Neutros */
  --ink: #1a1114;
  --body-c: #5d5257;
  --muted: #93868b;
  --paper: #fbf7f2;
  --paper-2: #f4ede5;
  --card: #ffffff;
  --line: rgba(26, 17, 20, 0.09);
  --wa: #25d366;

  /* Tipografía */
  --f-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Métricas */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 44px);

  --sh-sm: 0 2px 10px rgba(60, 8, 14, 0.07);
  --sh-md: 0 14px 40px rgba(60, 8, 14, 0.12);
  --sh-lg: 0 34px 90px rgba(60, 8, 14, 0.22);

  --ease: cubic-bezier(0.22, 0.68, 0.12, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body-c);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: #fff;
}

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

a {
  color: var(--red-deep);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}
h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--paper-2);
}
::-webkit-scrollbar-thumb {
  background: #d5c4b4;
  border-radius: 99px;
  border: 3px solid var(--paper-2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* ----------------------------- Utilidades ------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 130px);
}

.section--tint {
  background: var(--paper-2);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}

.kicker--light {
  color: var(--gold-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .kicker {
  justify-content: center;
}

.lead {
  font-size: 1.16rem;
  color: var(--muted);
}

/* Campos de puntos decorativos (motivo de marca) */
.dots {
  position: absolute;
  width: min(340px, 38vw);
  aspect-ratio: 1.5;
  background-image: radial-gradient(
    circle,
    rgba(222, 31, 38, 0.4) 2.2px,
    transparent 2.8px
  );
  background-size: 21px 21px;
  pointer-events: none;
  z-index: 0;
}

.dots--tl {
  top: 34px;
  left: 0;
  -webkit-mask-image: radial-gradient(ellipse at top left, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse at top left, #000 15%, transparent 72%);
}

.dots--br {
  bottom: 34px;
  right: 0;
  -webkit-mask-image: radial-gradient(ellipse at bottom right, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse at bottom right, #000 15%, transparent 72%);
}

.dots--light {
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.35) 2.2px,
    transparent 2.8px
  );
}

/* ------------------------------- Botones -------------------------------- */
.btn {
  --btn-bg: linear-gradient(135deg, var(--red-hot), var(--red-deep));
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  will-change: transform;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(179, 18, 27, 0.35);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn--wa {
  --btn-bg: linear-gradient(135deg, #2ee377, #1eb857);
  --btn-fg: #04371a;
}

.btn--wa:hover {
  box-shadow: 0 16px 34px rgba(30, 184, 87, 0.4);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: #fff;
  box-shadow: var(--sh-sm);
}

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.07);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--maroon);
}

.btn--lg {
  padding: 19px 34px;
  font-size: 1.04rem;
}

.btn--block {
  width: 100%;
}

/* ------------------------------ Logo ------------------------------------ */
.brand {
  position: relative;
  display: inline-block;
  padding-top: 15px;
  line-height: 1;
  flex: none;
}

.brand__roof {
  position: absolute;
  top: 0;
  left: 1px;
  width: 74px;
  height: auto;
}

.brand__word {
  position: relative;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--red);
}

.brand__word b {
  color: var(--ink);
  font-weight: 800;
}

.brand__swoosh {
  position: absolute;
  right: -6px;
  bottom: -9px;
  width: 52px;
  height: auto;
}

.brand--light .brand__word b {
  color: #fff;
}

.brand--sm {
  padding-top: 12px;
}

.brand--sm .brand__roof {
  width: 60px;
}

.brand--sm .brand__word {
  font-size: 1.22rem;
}

.brand--sm .brand__swoosh {
  width: 42px;
  bottom: -8px;
}

/* ------------------------- Barra de progreso ----------------------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold-soft));
  z-index: 300;
  pointer-events: none;
}

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 200;
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(26, 17, 20, 0.07);
  border-radius: 22px;
  padding: 12px 18px 12px 22px;
  box-shadow: 0 6px 30px rgba(60, 8, 14, 0.09);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(60, 8, 14, 0.14);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  position: relative;
  font-family: var(--f-head);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
  padding-block: 6px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__cta .btn {
  padding: 13px 22px;
  font-size: 0.92rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1100px 700px at 82% -12%,
      rgba(232, 35, 43, 0.5),
      transparent 55%
    ),
    radial-gradient(
      900px 600px at -10% 108%,
      rgba(201, 154, 75, 0.22),
      transparent 55%
    ),
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-2) 55%, var(--maroon-3) 100%);
  color: #f7e9e6;
  padding-top: clamp(120px, 15vh, 170px);
}

#hero-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(120px, 15vw, 170px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd9d3;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}

.hero__eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 0 rgba(243, 199, 123, 0.55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 11px rgba(243, 199, 123, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 199, 123, 0);
  }
}

.hero__title {
  color: #fff;
  margin-bottom: 22px;
  max-width: 13ch;
}

.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.hero__title .wi {
  display: inline-block;
  transform: translateY(115%);
  animation: rise 0.95s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

.hl-g {
  background: linear-gradient(95deg, var(--peach), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hl-swoosh {
  position: relative;
}

.hl-swoosh .swoosh {
  position: absolute;
  left: -2%;
  bottom: -0.06em;
  width: 104%;
  height: 0.24em;
  pointer-events: none;
}

.hl-swoosh .swoosh path {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: draw 1s var(--ease) 1.05s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__sub {
  font-size: 1.17rem;
  color: rgba(255, 235, 230, 0.78);
  max-width: 52ch;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 235, 230, 0.72);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.hero__trust svg {
  color: var(--gold-soft);
  flex: none;
}

/* Tarjeta 3D */
.hero__visual {
  position: relative;
  perspective: 1100px;
}

.tilt-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 30px;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.tilt-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.tilt-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--maroon);
  background: rgba(222, 31, 38, 0.08);
  padding: 9px 15px;
  border-radius: var(--r-pill);
}

.tilt-card__badge svg {
  color: var(--red);
}

.tilt-card__roof {
  width: 62px;
  height: auto;
  flex: none;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
}

.step-row + .step-row {
  border-top: 1px dashed var(--line);
}

.step-row__num {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--paper-2);
  color: var(--maroon);
  font-family: var(--f-head);
  font-weight: 800;
}

.step-row__num.done {
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep));
  color: #fff;
}

.step-row b {
  display: block;
  font-family: var(--f-head);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.step-row span {
  font-size: 0.85rem;
  color: var(--muted);
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 13px 18px;
  animation: floaty 5.5s ease-in-out infinite;
  will-change: transform;
}

.chip b {
  display: block;
  font-family: var(--f-head);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.chip span {
  font-size: 0.78rem;
  color: var(--muted);
}

.chip__ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-weight: 800;
}

.chip--gold {
  left: -34px;
  bottom: -26px;
  animation-delay: 0.6s;
}

.chip--gold .chip__ic {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #4d3608;
}

.chip--red {
  right: -22px;
  top: -24px;
}

.chip--red .chip__ic {
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep));
  color: #fff;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

/* Marquee */
.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: scrollX 30s linear infinite;
}

@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 54px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
  white-space: nowrap;
}

.marquee__track svg {
  color: rgba(243, 199, 123, 0.5);
  flex: none;
}

/* ----------------------------- Stats (overlap) --------------------------- */
.trustbar {
  position: relative;
  z-index: 5;
  margin-top: -64px;
}

.trustbar__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  border: 1px solid rgba(26, 17, 20, 0.05);
  padding: clamp(26px, 4vw, 42px);
}

.stat {
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.stat b {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--red-hot), var(--maroon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ------------------------------ Split Mejoravit -------------------------- */
.split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.checklist {
  display: grid;
  gap: 15px;
  margin-top: 26px;
}

.checklist li {
  display: flex;
  gap: 13px;
  list-style: none;
  color: var(--body-c);
  align-items: flex-start;
}

.checklist .ic {
  flex: none;
  width: 27px;
  height: 27px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(222, 31, 38, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
}

.panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--maroon), var(--maroon-3));
  color: #ecd9d5;
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 46px);
  box-shadow: var(--sh-lg);
}

.panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.16) 2px,
    transparent 2.6px
  );
  background-size: 19px 19px;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  pointer-events: none;
}

.panel h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel__row:last-child {
  border-bottom: 0;
}

.panel__row b {
  color: #fff;
  font-family: var(--f-head);
}

.tag-gold {
  background: rgba(243, 199, 123, 0.16);
  color: var(--gold-soft);
  font-family: var(--f-head);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ------------------------------ Servicios ------------------------------- */
.cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 17, 20, 0.06);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--sh-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-md);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__ic {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(222, 31, 38, 0.1), rgba(201, 154, 75, 0.12));
  color: var(--red);
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease);
}

.card:hover .card__ic {
  transform: scale(1.08) rotate(-4deg);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.13rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ------------------------------- Proceso (oscuro) ------------------------ */
.process {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--maroon-2), var(--maroon-ink));
  color: #ecd9d5;
}

.process::before {
  content: "mejoravit";
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(7rem, 22vw, 19rem);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  white-space: nowrap;
}

.process .section-head h2 {
  color: #fff;
}

.process .lead {
  color: rgba(236, 217, 213, 0.65);
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  backdrop-filter: blur(4px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(243, 199, 123, 0.35);
}

.step__n {
  font-family: var(--f-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--peach), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.step h3 {
  color: #fff;
  font-size: 1.12rem;
}

.step p {
  color: rgba(236, 217, 213, 0.62);
  font-size: 0.93rem;
  margin: 0;
}

/* ------------------------------ Beneficios ------------------------------ */
.features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  text-align: left;
}

.feature__ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 154, 75, 0.16), rgba(222, 31, 38, 0.1));
  color: var(--maroon);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ----------------------------- Testimonios ------------------------------ */
.quotes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote {
  position: relative;
  background: #fff;
  border: 1px solid rgba(26, 17, 20, 0.06);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--sh-sm);
  margin: 0;
}

.quote::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--f-head);
  font-size: 5rem;
  line-height: 1;
  color: rgba(222, 31, 38, 0.12);
  font-weight: 800;
}

.quote__stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 13px;
  font-size: 0.95rem;
}

.quote p {
  color: var(--body-c);
  font-size: 0.99rem;
}

.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.quote__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--red));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.88rem;
}

.quote__who b {
  display: block;
  font-family: var(--f-head);
  color: var(--ink);
  font-size: 0.94rem;
}

.quote__who span {
  font-size: 0.8rem;
  color: var(--muted);
}

.note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin: 26px auto 0;
  max-width: 620px;
}

/* -------------------------------- FAQ ----------------------------------- */
.faq {
  position: relative;
  z-index: 1;
  max-width: 830px;
  margin-inline: auto;
  display: grid;
  gap: 13px;
}

.faq__item {
  border: 1px solid rgba(26, 17, 20, 0.07);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq__item.open {
  border-color: rgba(222, 31, 38, 0.3);
  box-shadow: var(--sh-sm);
}

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--ink);
  padding: 21px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq__q .plus {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--red);
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}

.faq__item.open .plus {
  transform: rotate(45deg);
  background: var(--red);
  color: #fff;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq__a-inner {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ------------------------------- CTA final ------------------------------ */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-hot), var(--maroon));
  border-radius: var(--r-xl);
  padding: clamp(46px, 7vw, 84px) clamp(26px, 5vw, 60px);
  color: #ffe9e4;
  text-align: center;
  box-shadow: var(--sh-lg);
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 2px,
    transparent 2.6px
  );
  background-size: 20px 20px;
  pointer-events: none;
}

.cta::before {
  top: -110px;
  left: -90px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle, #000 20%, transparent 70%);
}

.cta::after {
  bottom: -110px;
  right: -90px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle, #000 20%, transparent 70%);
}

.cta h2 {
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta p {
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
  color: rgba(255, 233, 228, 0.85);
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

/* ------------------------------ Contacto -------------------------------- */
.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
}

.contact__info {
  display: grid;
  gap: 20px;
  align-content: start;
}

.contact__item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact__item .ic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(222, 31, 38, 0.1), rgba(201, 154, 75, 0.12));
  color: var(--red);
  display: grid;
  place-items: center;
}

.contact__item b {
  display: block;
  font-family: var(--f-head);
  color: var(--ink);
}

.contact__item a,
.contact__item span {
  color: var(--muted);
}

.contact__item a:hover {
  color: var(--red);
}

.form {
  background: #fff;
  border: 1px solid rgba(26, 17, 20, 0.06);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--sh-md);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid rgba(26, 17, 20, 0.1);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(222, 31, 38, 0.12);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.form__consent input {
  margin-top: 3px;
  accent-color: var(--red);
}

.form__note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 14px 0 0;
  text-align: center;
}

.form__ok {
  display: none;
  background: rgba(30, 184, 87, 0.09);
  border: 1px solid rgba(30, 184, 87, 0.4);
  color: #157a41;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ------------------------------- Deslinde ------------------------------- */
.disclaimer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.disclaimer__box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-block: 28px;
}

.disclaimer__box .ic {
  flex: none;
  color: var(--gold);
  margin-top: 2px;
}

.disclaimer__box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.disclaimer__box b {
  color: var(--ink);
}

/* -------------------------------- Footer -------------------------------- */
.site-footer {
  background: var(--maroon-ink);
  color: #c9a7a4;
  padding-block: 64px 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer p {
  font-size: 0.92rem;
  color: #a8827f;
  max-width: 320px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.site-footer ul a {
  color: #c9a7a4;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.site-footer ul a:hover {
  color: var(--gold-soft);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.84rem;
  color: #8f6f6c;
  flex-wrap: wrap;
}

/* ---------------------- Botón flotante de WhatsApp ---------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ee377, #1eb857);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(30, 184, 87, 0.5);
  transition: transform 0.2s var(--ease);
}

.wa-float:hover {
  transform: scale(1.08) rotate(6deg);
}

/* ------------------------- Páginas legales ------------------------------ */
.legal {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-inline: auto;
  padding-block: clamp(140px, 18vh, 190px) clamp(50px, 8vw, 90px);
}

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.1em;
}

.legal p,
.legal li {
  color: var(--body-c);
  font-size: 1rem;
}

.legal ul {
  padding-left: 1.2em;
  margin-bottom: 1rem;
  list-style: disc;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal a {
  text-decoration: underline;
}

/* --------------------------- Animaciones de scroll ----------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal],
  .hero__title .wi {
    opacity: 1;
    transform: none;
  }
  .hl-swoosh .swoosh path {
    stroke-dashoffset: 0;
  }
  .marquee__track {
    animation: none;
  }
}

/* ----------------------------- Responsive ------------------------------- */
@media (max-width: 1020px) {
  .hero__grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    max-width: 520px;
  }
  .cards,
  .quotes {
    grid-template-columns: 1fr 1fr;
  }
  .steps,
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .trustbar__card {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .stat:nth-child(3)::before {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .nav__links,
  .nav__cta .btn {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--sh-md);
    padding: 10px;
  }
  .nav__links.open li a {
    display: block;
    padding: 14px 16px;
    border-radius: 13px;
  }
  .nav__links.open li a::after {
    display: none;
  }
  .nav__links.open li a:hover {
    background: var(--paper-2);
  }
  .cards,
  .quotes,
  .steps,
  .features,
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .chip--gold {
    left: 8px;
    bottom: -18px;
  }
  .chip--red {
    right: 6px;
    top: -18px;
  }
  .hero__title {
    max-width: none;
  }
  .stat + .stat::before {
    display: none;
  }
}
