:root {
  --violet: #7F35FC;
  --violet-dark: #6620E0;
  --black: #111114;
  --white: #FFFFFF;
  --gray-50: #F7F7F9;
  --gray-100: #EDEDF2;
  --gray-300: #C9C9D3;
  --gray-500: #7A7A85;
  --gray-700: #45454E;
  --radius: 14px;
  --max-width: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 700; }
p { margin: 0 0 16px; color: var(--gray-700); }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-title--center { text-align: center; }

/* Anchor scroll offset (sticky header) */
#como-funciona,
#que-incluye,
#colores,
#para-quien,
#producto,
#preguntas {
  scroll-margin-top: 72px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--violet); color: var(--white); }
.btn--primary:hover { background: var(--violet-dark); }
.btn--outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost { color: var(--black); padding: 12px 16px; }
.btn--ghost:hover { color: var(--violet); }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 28px; width: auto; display: block; }
.logo--footer .logo__img { height: 44px; }
.nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--violet); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--black); display: block; }

/* Placeholders (contenido visual pendiente de fotos/videos reales) */
.placeholder {
  background: repeating-linear-gradient(135deg, var(--gray-100), var(--gray-100) 10px, var(--gray-50) 10px, var(--gray-50) 20px);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-500);
  padding: 24px;
  min-height: 260px;
}
.placeholder span { font-weight: 700; color: var(--gray-700); margin-bottom: 4px; }
.placeholder small { font-size: 0.8rem; max-width: 220px; }
.placeholder--hero { min-height: 340px; }
.hero__image { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.placeholder--wide { min-height: 220px; }
.placeholder--square { aspect-ratio: 1 / 1; min-height: 0; }
.placeholder--tall { min-height: 360px; }
.swatch--negro { background: var(--black); }
.swatch--blanco { background: var(--white); }
.swatch--violeta { background: var(--violet); }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
}
.hero__subtitle { font-size: 1.15rem; max-width: 480px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero__microcopy { font-size: 0.85rem; color: var(--gray-500); margin: 0; }

/* Problema */
.problema { background: var(--black); color: var(--white); padding: 72px 0 48px; }
.problema__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.problema h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.problema p { color: var(--gray-300); margin: 0; }

/* Como funciona */
.como-funciona {
  position: relative;
  padding: 16px 0 16px;
  background: #FAF9FC;
  overflow: hidden;
}
.como-funciona .container { max-width: 1040px; position: relative; z-index: 1; }
.como-funciona__bg {
  position: absolute;
  top: -12%;
  left: 50%;
  width: min(960px, 140%);
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 30%, rgba(127, 53, 252, 0.05) 0%, rgba(127, 53, 252, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

/* Cabecera */
.como-funciona__header {
  max-width: 560px;
  margin: 0 auto 12px;
  text-align: center;
}
.como-funciona__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}
.como-funciona__title {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}
.como-funciona__subtitle {
  margin: 0 auto;
  max-width: 460px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--gray-700);
}

/* Proceso 1-2-3 */
.pasos-wrap { position: relative; }
.pasos__connector {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  height: 24px;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.pasos__connector-line {
  fill: none;
  stroke: url(#pasosLineGradient);
  stroke-width: 1.5;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 0.7s ease 0.15s;
}
.pasos-wrap.is-visible .pasos__connector-line { stroke-dashoffset: 0; }
.pasos__connector-chevron {
  fill: none;
  stroke: #7F35FC;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.4s ease 0.55s;
}
.pasos-wrap.is-visible .pasos__connector-chevron { opacity: 0.45; }

.pasos {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.paso {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.paso__numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.paso__titulo {
  margin: 0 0 3px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}
.paso__desc {
  margin: 0;
  max-width: 260px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--gray-700);
}

/* Área visual F07 + F08 */
.como-funciona__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
  align-items: stretch;
}
.como-funciona__cards-arrow {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  color: var(--violet);
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}
.como-funciona__cards-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(20, 20, 30, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 20, 30, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.media-card:hover {
  transform: scale(1.01);
  box-shadow: 0 22px 48px rgba(20, 20, 30, 0.09);
}
.media-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}
.media-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.media-card__img--f08 {
  object-position: 50% 45%;
}
.media-card__info {
  padding: 10px 14px 12px;
  background: var(--white);
}
.media-card__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(127, 53, 252, 0.08);
  color: var(--violet);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.media-card__title {
  margin: 0 0 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}
.media-card__desc {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.35;
  color: var(--gray-700);
}

/* Microinteracciones (activadas por JS al entrar en viewport) */
.como-funciona .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.como-funciona .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.como-funciona .media-card.reveal { transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .como-funciona .reveal,
  .pasos__connector-line,
  .pasos__connector-chevron,
  .media-card { transition: none !important; }
}
@media (min-width: 1024px) {
  .como-funciona__cards-arrow { display: block; }
}

@media (min-width: 1024px) {
  .problema__inner { max-width: 1000px; }
  .problema h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
  }
}

/* Qué incluye */
.que-incluye { background: var(--gray-50); padding: 20px 0 28px; }
.que-incluye__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.que-incluye .section-title { margin-bottom: 12px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--gray-700);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--violet);
  font-weight: 700;
}
.que-incluye__image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); display: block; }

/* Colores — Selector premium de variante */
.colores {
  position: relative;
  padding: 64px 0;
  background: var(--gray-50);
  overflow: hidden;
  transition: background-color 0.35s ease;
}
.colores--negro { background: var(--gray-50); }
.colores--violeta { background: #F8F4FF; }
.colores--blanco { background: var(--gray-100); }

.colores__halo {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(640px, 60%);
  height: 640px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(127, 53, 252, 0) 0%, rgba(127, 53, 252, 0) 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.colores--violeta .colores__halo {
  background: radial-gradient(ellipse at center, rgba(127, 53, 252, 0.18) 0%, rgba(127, 53, 252, 0) 65%);
  opacity: 1;
}

.colores__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.colores__copy { min-width: 0; }
.colores .section-title { margin: 0 0 10px; }
.colores__subtitle {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--gray-500);
}
.colores__meta { margin: 0 0 24px; }
.colores__name {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
}
.colores__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.colores__selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.colores__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 30, 0.12);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.colores__pill:hover { transform: translateY(-1px); }
.colores__pill:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.colores__pill.is-selected {
  background: rgba(127, 53, 252, 0.08);
  border-color: var(--violet);
}
.colores__pill-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(20, 20, 30, 0.15);
}
.colores__pill-name { line-height: 1; }

.colores__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.colores__image {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(17, 17, 20, 0.10);
  background: transparent;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.colores__image.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}

@media (prefers-reduced-motion: reduce) {
  .colores,
  .colores__halo,
  .colores__image { transition: none; }
}

/* Para quién */
.para-quien { padding: 36px 0; }
.para-quien__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}
.para-quien__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { list-style: none; }
.tags__btn {
  background: var(--gray-100);
  color: var(--black);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tags__btn:hover { background: var(--gray-300); }
.tags__btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.tags__btn.is-active {
  background: var(--violet);
  color: var(--white);
  border-color: var(--violet);
}

/* Para quién — Carrusel de perfiles */
.para-quien__copy { min-width: 0; }
.para-quien__visual { width: 100%; max-width: 460px; min-width: 0; justify-self: end; }
.perfiles {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(20, 20, 30, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(20, 20, 30, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.perfiles__viewport {
  overflow: hidden;
  border-radius: 16px;
  min-width: 0;
}
.perfiles__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.perfiles__slide {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}
.perfiles__slide.is-active { opacity: 1; }
.perfiles__media {
  position: relative;
  border-radius: 14px;
}
.perfiles__glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at 50% 45%, rgba(127, 53, 252, 0.18) 0%, rgba(127, 53, 252, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}
.placeholder--perfil {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  min-height: 0;
  width: 100%;
}
.perfiles__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: var(--gray-100);
}
.perfiles__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
}
.perfiles__badge {
  align-self: flex-start;
  background: rgba(127, 53, 252, 0.1);
  color: var(--violet);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.perfiles__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--black);
  line-height: 1.25;
}
.perfiles__subtitle {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-500);
  margin: 0;
}
.perfiles__desc {
  font-size: 0.88rem;
  color: var(--gray-700, #3a3a44);
  margin: 3px 0 0;
  line-height: 1.4;
}
.perfiles__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 0;
}
.perfiles__arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 30, 0.12);
  background: var(--white);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.perfiles__arrow:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.perfiles__arrow:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.perfiles__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.perfiles__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gray-300, #d5d5dc);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, width 0.3s ease;
}
.perfiles__dot:hover { background: var(--gray-500); }
.perfiles__dot.is-active {
  background: var(--violet);
  width: 20px;
}
.perfiles__dot:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

/* Producto */
.producto { background: var(--gray-50); padding: 48px 0 64px; }
.producto__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.producto__image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); display: block; }
.precio { font-size: 2.2rem; font-weight: 800; color: var(--violet); margin: 0 0 4px; }
.precio span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.precio-incluye { font-size: 0.85rem; color: var(--gray-500); margin: 0 0 12px; }
.producto__equipos { margin-top: 16px; font-size: 0.9rem; }
.producto__equipos a { color: var(--violet); font-weight: 600; }
.producto__custom {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-300);
}
.producto__custom h3 { margin-bottom: 8px; }

/* FAQ */
.faq { padding: 40px 0 80px; }
.faq__list { max-width: 720px; margin: 32px auto 0; }
.faq__item { border-bottom: 1px solid var(--gray-100); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px 0;
  cursor: pointer;
  color: var(--black);
}
.faq__icon { color: var(--violet); font-size: 1.4rem; transition: transform 0.2s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq__answer p { padding-bottom: 20px; margin: 0; }
.faq__item.is-open .faq__answer { max-height: 200px; }

/* Cierre */
.cierre { background: var(--violet); color: var(--white); padding: 88px 0; text-align: center; }
.cierre h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 640px; margin: 0 auto 32px; }
.cierre__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cierre .btn--primary { background: var(--white); color: var(--violet); }
.cierre .btn--primary:hover { background: var(--gray-100); }
.cierre .btn--outline { border-color: var(--white); color: var(--white); }
.cierre .btn--outline:hover { background: var(--white); color: var(--violet); }

/* Footer */
.footer {
  background: #FAF9FC;
  border-top: 1px solid var(--gray-100);
  padding: 48px 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 36px;
}
.footer__brand .logo--footer {
  display: inline-flex;
  align-items: center;
}
.footer__brand-text {
  max-width: 280px;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 14px 0 0;
  line-height: 1.5;
}
.footer__heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  color: var(--gray-500);
  font-weight: 600;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--violet); }
.footer__bottom {
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--gray-500);
}
.logo--footer { color: var(--black); font-size: 1.1rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner,
  .que-incluye__inner,
  .para-quien__inner,
  .producto__inner,
  .colores__inner {
    grid-template-columns: 1fr;
  }
  .colores { padding: 48px 0; }
  .colores__inner { gap: 32px; }
  .colores__copy { display: contents; }
  .colores .section-title { order: 1; }
  .colores__subtitle { order: 2; margin: 0 0 20px; }
  .colores__visual { order: 3; justify-content: center; }
  .colores__meta { order: 4; margin: 8px 0 0; text-align: center; }
  .colores__selector { order: 5; justify-content: center; margin-top: 8px; }
  .colores__image { max-width: 100%; }
  .colores__halo { right: 50%; transform: translate(50%, -50%); width: min(500px, 90%); }
  .hero__visual .placeholder { order: -1; }
  .para-quien__visual {
    order: 2;
    max-width: 100%;
    justify-self: stretch;
  }
  .para-quien__copy { order: 1; }
  .perfiles { padding: 20px; gap: 16px; }
  .perfiles__title { font-size: 1.15rem; }
  .perfiles__desc { font-size: 0.92rem; }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }
  .footer__brand { grid-column: 1 / -1; }

  .como-funciona { padding: 56px 0 64px; }
  .pasos { gap: 20px; }
  .como-funciona__visual {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
  }
  .como-funciona__cards-arrow { display: none; }
  .media-card__image { height: 300px; }
}

@media (max-width: 720px) {
  .perfiles { padding: 16px; gap: 16px; }
  .perfiles__title { font-size: 1.1rem; }
  .perfiles__desc { font-size: 0.9rem; }

  .footer { padding: 36px 0 20px; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .footer__brand { grid-column: auto; }
  .como-funciona { padding: 44px 0 56px; }
  .como-funciona__header { margin-bottom: 28px; }
  .pasos__connector { display: none; }
  .pasos {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .paso {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "num h3"
      "line p";
    align-items: start;
    column-gap: 16px;
    text-align: left;
    padding: 0;
  }
  .paso:not(:last-child) { padding-bottom: 12px; }
  .paso__numero { grid-area: num; margin-bottom: 0; }
  .paso__titulo { grid-area: h3; align-self: center; margin-bottom: 0; }
  .paso__desc { grid-area: p; margin-top: 8px; max-width: none; }
  .paso:not(:last-child)::after {
    content: '';
    grid-area: line;
    justify-self: center;
    align-self: stretch;
    width: 2px;
    min-height: 24px;
    margin: 6px 0;
    background: var(--violet);
    opacity: 0.25;
    border-radius: 1px;
  }
  .paso:last-child { grid-template-areas: "num h3" ". p"; }

  .como-funciona__visual {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }
  .media-card__image { height: clamp(260px, 62vw, 300px); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-100);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; order: 3; }
  .header__inner { gap: 8px; }
  .header__actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    order: 2;
  }
  .header__actions .btn--primary { display: none; }
  .header__actions .btn--ghost {
    display: inline-flex;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .colores { padding: 40px 0; }
  .colores .section-title { text-align: left; }
  .colores__pill { padding: 8px 14px 8px 10px; font-size: 0.88rem; }
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
}
.whatsapp-float__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.whatsapp-float__label {
  display: inline-block;
  background: var(--white);
  color: #111114;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 30, 0.08);
  box-shadow: 0 4px 12px rgba(17, 17, 20, 0.06);
  white-space: nowrap;
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(6px);
  transition: max-width 0.3s ease, padding 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-float.is-expanded .whatsapp-float__label,
.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float__link:focus-visible .whatsapp-float__label {
  max-width: 260px;
  padding: 10px 14px;
  opacity: 1;
  transform: translateX(0);
}
.whatsapp-float__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(17, 17, 20, 0.14),
    0 2px 8px rgba(17, 17, 20, 0.08);
  flex-shrink: 0;
}
.whatsapp-float__icon svg { display: block; }
.whatsapp-float__link:focus-visible .whatsapp-float__icon {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; }
  .whatsapp-float__icon { width: 52px; height: 52px; }
  .whatsapp-float__icon svg { width: 24px; height: 24px; }
  /* En móvil no volver a expandir la etiqueta por hover; solo cuando esté is-expanded al cargar */
  .whatsapp-float:hover .whatsapp-float__label {
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    transform: translateX(6px);
  }
  .whatsapp-float.is-expanded .whatsapp-float__label {
    max-width: 240px;
    padding: 10px 14px;
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__label { transition: none; }
}

/* Footer legal (barra inferior con copyright + enlaces legales) */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}
.footer__copy { margin: 0; }
.footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--gray-500);
}
.footer__legal a { color: var(--gray-500); transition: color 0.2s ease; }
.footer__legal a:hover { color: var(--violet); }
.footer__legal span { opacity: 0.5; }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__brand .footer__social {
  display: flex;
  margin-top: 28px;
  margin-left: -8px;
}
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover {
  color: var(--violet);
  background: rgba(127, 53, 252, 0.06);
  transform: translateY(-1px);
}
.footer__social a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
.footer__social svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Páginas legales */
.legal-page { padding: 64px 24px 80px; background: var(--white); }
.legal-page__container {
  max-width: 780px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--black);
  letter-spacing: -0.01em;
}
.legal-page__meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0 0 40px;
}
.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--black);
}
.legal-page h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--black);
}
.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-700);
}
.legal-page p { margin: 0 0 14px; }
.legal-page ul,
.legal-page ol {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}
.legal-page ol { list-style: decimal; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--violet-dark); }
.legal-page strong { color: var(--black); }
.legal-page__block {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 12px 0 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--gray-700);
}
.legal-page__block p { margin: 0 0 8px; font-size: inherit; }
.legal-page__block p:last-child { margin: 0; }

@media (max-width: 720px) {
  .legal-page { padding: 40px 20px 56px; }
  .legal-page h2 { margin-top: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
