/* =========================================================
   VITRINA DIGITAL · Landing page
   Estilo inspirado en la estética de Apple: tipografía grande,
   mucho aire, secciones claras/oscuras y movimiento suave.
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --gray: #f5f5f7;
  --white: #fff;
  --blue: #003a5c;
  --blue-hover: #004f7c;
  --link: #00769a;
  --green: #25d366;
  --cyan: #00bfd4;
  --navy: #003a5c;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --nav-h: 52px;

  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.47;
  font-size: 17px;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Imagen que no cargó: se ve un degradado elegante */
.img-fallback {
  background: linear-gradient(135deg, #e8eef7 0%, #cfd9ea 50%, #b8c6e0 100%);
}

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); }

.eyebrow {
  font-size: 17px;
  font-weight: 600;
  color: #0092a8;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.eyebrow--light { color: #33d6e8; }

.section { padding-block: clamp(90px, 12vw, 150px); }
.section--gray { background: var(--gray); }

.section-title {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -.035em;
  max-width: 18ch;
}
.section-title.center { max-width: 22ch; }

.lead {
  font-size: clamp(19px, 2vw, 21px);
  color: var(--muted);
  line-height: 1.45;
  max-width: 40ch;
  margin-top: 20px;
}
.lead.center { max-width: 44ch; }

.gradient-text {
  background: linear-gradient(90deg, #003a5c 0%, #0077a3 50%, #00bfd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text--light {
  background: linear-gradient(90deg, #ffffff 0%, #7fe7f2 45%, #00bfd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); box-shadow: 0 8px 24px rgba(0, 58, 92, .3); }
.btn--outline { border: 1px solid var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--small { padding: 6px 15px; font-size: 13px; }
.btn--block { width: 100%; padding-block: 16px; }

.link-arrow {
  color: var(--link);
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Animación de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .8); }
.nav.is-dark { background: rgba(22, 22, 23, .72); color: #f5f5f7; border-bottom-color: rgba(255, 255, 255, .06); }
.nav.is-dark .nav__links a { color: rgba(245, 245, 247, .8); }
.nav.is-dark .nav__links a:hover { color: #fff; }
.nav.is-dark .nav__toggle span { background: #f5f5f7; }
/* En fondos oscuros el botón usa el cian de la marca para que resalte */
.nav.is-dark .btn--primary,
.cta .btn--primary { background: var(--cyan); color: #00202f; }
.nav.is-dark .btn--primary:hover,
.cta .btn--primary:hover { background: #2fd3e5; box-shadow: 0 8px 24px rgba(0, 191, 212, .35); }

.nav__inner {
  max-width: 1040px;
  margin-inline: auto;
  height: 100%;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo { height: 26px; width: auto; }
.logo--light { display: none; }
.nav.is-dark .logo--dark { display: none; }
.nav.is-dark .logo--light { display: block; }
.footer .logo { height: 30px; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a { font-size: 13px; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

.nav__toggle { display: none; width: 36px; height: 36px; position: relative; margin-left: 4px; }
.nav__toggle span {
  position: absolute; left: 9px; width: 18px; height: 1.5px; border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { top: 21px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 17.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 24px var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  font-size: 28px; font-weight: 600; padding: 10px 0;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .03s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .06s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .09s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .12s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: .15s; }
.mobile-menu__cta { color: var(--link); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: calc(var(--nav-h) + clamp(60px, 10vw, 110px));
  padding-bottom: clamp(60px, 8vw, 100px);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, #fbfbfd 0%, #fff 60%);
}
.hero__text { padding-inline: var(--gutter); will-change: transform, opacity; }
.hero__title {
  font-size: clamp(44px, 8.5vw, 96px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.045em;
}
.hero__sub {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--muted);
  max-width: 36ch;
  margin: 24px auto 0;
  line-height: 1.4;
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Dispositivos */
.hero__devices {
  position: relative;
  max-width: 980px;
  margin: clamp(56px, 8vw, 90px) auto 0;
  padding-inline: var(--gutter);
  transform-origin: 50% 0%;
  will-change: transform;
}
.laptop { width: 88%; margin-inline: auto; }
.laptop__screen {
  background: #0b0b0c;
  border-radius: 18px 18px 6px 6px;
  padding: 10px 10px 0;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .1);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f2f2f4;
  border-radius: 10px 10px 0 0;
  padding: 8px 12px;
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border-radius: 6px;
  padding: 3px 0;
  margin: 0 30px 0 12px;
}
.site-preview { position: relative; aspect-ratio: 16 / 9.2; overflow: hidden; }
.site-preview img { width: 100%; height: 100%; object-fit: cover; }
.site-preview__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 0 7%;
  text-align: left;
  background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 40%, rgba(255, 255, 255, 0) 70%);
}
.site-preview__tag { font-size: clamp(9px, 1.2vw, 13px); font-weight: 600; color: #0a7c86; }
.site-preview__overlay strong {
  font-size: clamp(16px, 3.2vw, 36px);
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 11ch;
}
.site-preview__btn {
  font-size: clamp(9px, 1.1vw, 13px);
  background: #0a7c86;
  color: #fff;
  padding: .6em 1.3em;
  border-radius: 99px;
  margin-top: 4px;
}
.laptop__base {
  height: 16px;
  width: 112%;
  margin-left: -6%;
  background: linear-gradient(#e3e3e6, #b9b9be);
  border-radius: 0 0 20px 20px;
  position: relative;
}
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  translate: -50% 0;
  width: 16%; height: 6px;
  background: #cfcfd3;
  border-radius: 0 0 10px 10px;
}

.phone {
  position: absolute;
  right: 2%;
  bottom: -6%;
  width: 21%;
  min-width: 128px;
  aspect-ratio: 9 / 19;
  background: #0b0b0c;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45);
  will-change: transform;
}
.phone__notch {
  position: absolute; top: 14px; left: 50%; translate: -50% 0;
  width: 32%; height: 16px; border-radius: 20px; background: #000; z-index: 2;
}
.phone__screen { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 52%; object-fit: cover; }
.phone__ui { padding: 10% 9%; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.phone__name { font-weight: 700; font-size: clamp(10px, 1.3vw, 14px); letter-spacing: -.02em; }
.phone__role { font-size: clamp(8px, .9vw, 10px); color: var(--muted); }
.phone__slots { display: flex; gap: 4px; margin-top: 8px; }
.phone__slots span {
  flex: 1; text-align: center;
  font-size: clamp(7px, .85vw, 10px);
  padding: 5px 0; border-radius: 8px; background: var(--gray);
}
.phone__slots .is-active { background: var(--blue); color: #fff; }
.phone__btn {
  margin-top: 8px;
  text-align: center;
  font-size: clamp(8px, .9vw, 11px);
  font-weight: 600;
  background: var(--ink); color: #fff;
  padding: 7px 0; border-radius: 10px;
}

/* =========================================================
   STATEMENT (texto que se ilumina)
   ========================================================= */
.statement {
  background: var(--black);
  color: #fff;
  padding-block: clamp(120px, 18vw, 220px);
}
.statement__text {
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.035em;
  max-width: 24ch;
  margin-inline: auto;
}
.statement__text .w {
  color: #fff;
  opacity: .16;
  transition: opacity .25s linear;
}
.statement__text .w.is-lit { opacity: 1; }

/* =========================================================
   ZOOM FIJO
   ========================================================= */
.zoom { position: relative; height: 260vh; background: var(--black); }
.zoom__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.zoom__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: clip-path;
  clip-path: inset(0 0 0 0 round 0px);
}
.zoom__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.zoom__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .75) 100%);
  opacity: 0;
}
.zoom__caption {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding-inline: var(--gutter);
  opacity: 0;
  transform: translateY(40px);
  align-self: end;
  padding-bottom: clamp(60px, 12vh, 120px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.zoom__caption h2 {
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.04em;
}
.zoom__caption p:last-child {
  margin: 18px auto 0;
  max-width: 44ch;
  font-size: clamp(17px, 1.8vw, 21px);
  color: rgba(255, 255, 255, .8);
}

/* =========================================================
   GALERÍA HORIZONTAL
   ========================================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.gallery-arrows { display: flex; gap: 12px; flex-shrink: 0; }
.arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(210, 210, 215, .64);
  font-size: 26px; line-height: 1;
  display: grid; place-items: center;
  padding-bottom: 3px;
  transition: background .2s, opacity .2s;
}
.arrow:hover { background: rgba(210, 210, 215, .9); }
.arrow:disabled { opacity: .35; cursor: default; }

.gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 40px;
  scrollbar-width: none;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.gallery::-webkit-scrollbar { display: none; }
.card-giro {
  position: relative;
  flex: 0 0 clamp(270px, 32vw, 400px);
  aspect-ratio: 4 / 5.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  background: #222;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card-giro:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.card-giro img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.card-giro:hover img { transform: scale(1.06); }
.card-giro::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%);
}
.card-giro__body { position: relative; z-index: 1; padding: 28px; }
.card-giro__tag { font-size: 14px; font-weight: 600; opacity: .85; }
.card-giro h3 {
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin-top: 6px;
  font-weight: 700;
}

/* =========================================================
   BENTO
   ========================================================= */
.bento {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento__item {
  background: var(--gray);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  position: relative;
}
.bento__item p { color: var(--muted); font-size: 17px; }
.bento__item--wide { grid-column: span 2; }
.bento__kicker { font-size: 15px !important; font-weight: 600; color: var(--ink) !important; }
.bento__item h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 700;
}
.bento__h-sm { font-size: clamp(22px, 2.2vw, 26px) !important; }
.bento__h-sm em { font-style: normal; color: var(--blue); }

.bento--dark { background: #111113; color: #f5f5f7; flex-direction: row; align-items: center; gap: 32px; }
.bento--dark p { color: #a1a1a6; }
.bento--dark .bento__kicker { color: #33d6e8 !important; }
.bento__copy { flex: 1; display: flex; flex-direction: column; gap: 14px; }

.calendar {
  flex: 0 0 280px;
  background: #1d1d1f;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .06);
}
.calendar__head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.calendar__head span:last-child { color: #00bfd4; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 12px; }
.calendar__grid b { color: #6e6e73; font-weight: 500; padding-bottom: 4px; }
.calendar__grid i { font-style: normal; padding: 6px 0; border-radius: 50%; position: relative; }
.calendar__grid .off { color: #48484a; }
.calendar__grid .sel { background: #00bfd4; color: #fff; font-weight: 600; }
.calendar__grid .dot::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; translate: -50% 0;
  width: 4px; height: 4px; border-radius: 50%; background: #33d6e8;
}
.calendar__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.calendar__slots span {
  text-align: center; font-size: 12px; padding: 7px 0;
  border-radius: 8px; background: #2c2c2e;
}
.calendar__slots .sel { background: #00bfd4; }

.big-number {
  font-size: clamp(80px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .95;
  background: linear-gradient(180deg, #34c759, #0a8f3d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: auto;
}
.big-number small { font-size: .3em; letter-spacing: -.02em; }

.bento--green { background: #e9f9ef; }
.chat { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.chat span { font-size: 15px; padding: 10px 14px; border-radius: 18px; max-width: 88%; line-height: 1.3; }
.chat__in { background: #fff; align-self: flex-start; border-bottom-left-radius: 6px; }
.chat__out { background: #d9fdd3; align-self: flex-end; border-bottom-right-radius: 6px; }

.pin {
  margin-top: auto;
  height: 120px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(135deg, #e7f0e3, #dfe9f5);
  position: relative;
}
.pin span {
  position: absolute; left: 50%; top: 50%;
  width: 26px; height: 26px;
  translate: -50% -70%;
  background: #ff3b30;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 6px 14px rgba(255, 59, 48, .4);
  animation: bob 2.4s var(--ease) infinite;
}
.pin span::after { content: ""; position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
@keyframes bob { 50% { translate: -50% -95%; } }

.lock { font-size: 64px; margin-top: auto; line-height: 1; }

.bento__item--image { padding: 0; min-height: 380px; color: #fff; justify-content: flex-end; }
.bento__item--image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bento__item--image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 60%);
}
.bento__image-copy { position: relative; z-index: 1; padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.bento__image-copy .bento__kicker { color: #7fe7f2 !important; }
.bento__image-copy h3 { max-width: 24ch; }

/* =========================================================
   PROCESO
   ========================================================= */
.process {
  position: relative;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process__line {
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.process__line span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, #003a5c, #0077a3, #00bfd4);
  transform-origin: left;
  transform: scaleX(0);
}
.step { position: relative; padding-top: 64px; }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 50%;
  font-size: 14px; font-weight: 700;
  transition: border-color .5s, background .5s, color .5s;
}
.step.is-active .step__num { border-color: var(--blue); background: var(--blue); color: #fff; }
.step h3 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* =========================================================
   SPLIT
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(90px, 12vw, 150px) var(--gutter);
}
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.split__media:hover img { transform: scale(1.04); }
.checklist { margin-top: 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e3f6f9; color: var(--blue);
  font-size: 13px; font-weight: 700;
  margin-top: 1px;
}

/* =========================================================
   PLANES
   ========================================================= */
.plans {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .08); }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 24px 60px rgba(0, 58, 92, .12); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; translate: -50% 0;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 99px;
}
.plan__name { font-size: 28px; letter-spacing: -.03em; }
.plan__desc { color: var(--muted); margin-top: 6px; font-size: 16px; }
.plan__price {
  font-size: 48px; font-weight: 800; letter-spacing: -.045em;
  margin: 24px 0; line-height: 1;
}
.plan__price span { font-size: .5em; vertical-align: .6em; margin-right: 2px; }
.plan__price small { font-size: .3em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { display: grid; gap: 12px; margin-bottom: 36px; flex: 1; align-content: start; }
.plan li { font-size: 16px; padding-left: 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.plans__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 32px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { margin-top: 56px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.faq__a > p { overflow: hidden; color: var(--muted); font-size: 17px; max-width: 60ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > p { padding-bottom: 26px; }

/* =========================================================
   CTA / CONTACTO
   ========================================================= */
.cta {
  position: relative;
  background: var(--black);
  color: #fff;
  padding-block: clamp(100px, 14vw, 170px);
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  width: 900px; height: 900px;
  left: 50%; top: 40%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(0, 119, 163, .45) 0%, rgba(0, 191, 212, .18) 35%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  animation: glow 10s ease-in-out infinite alternate;
}
@keyframes glow { to { translate: -40% -55%; scale: 1.15; } }
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.cta__copy h2 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 800;
}
.cta__copy p:last-child { margin-top: 22px; color: #a1a1a6; font-size: clamp(18px, 1.8vw, 21px); max-width: 36ch; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.field { position: relative; }
.field--full, .form .btn, .form__msg { grid-column: 1 / -1; }
.field input, .field select {
  width: 100%;
  height: 58px;
  padding: 22px 16px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 17px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23a1a1a6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field select option { color: #1d1d1f; background: #fff; }
.field input:focus, .field select:focus { border-color: #00bfd4; box-shadow: 0 0 0 4px rgba(0, 191, 212, .25); }
.field label {
  position: absolute;
  left: 17px; top: 50%;
  translate: 0 -50%;
  color: #8e8e93;
  font-size: 17px;
  pointer-events: none;
  transition: all .2s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label,
.field label.is-up {
  top: 16px;
  font-size: 12px;
  translate: 0 -50%;
}
.field.has-error input, .field.has-error select { border-color: #ff453a; }
.form__msg { font-size: 14px; min-height: 20px; color: #a1a1a6; text-align: center; }
.form__msg.is-error { color: #ff6961; }
.form__msg.is-ok { color: #30d158; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--gray); padding-block: 56px 32px; font-size: 13px; color: var(--muted); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer .nav__logo { color: var(--ink); }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 64px; }
.footer h4 { color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.footer__cols a { display: block; margin-bottom: 8px; transition: color .2s; }
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { text-decoration: underline; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { order: -1; }
}

@media (max-width: 834px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; margin-left: auto; }

  .process { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .process__line { display: none; }

  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 3; }

  .cta__inner { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .gallery-arrows { display: none; }

  .laptop { width: 100%; }
  .laptop__screen { border-radius: 12px 12px 4px 4px; padding: 6px 6px 0; }
  .laptop__base { height: 10px; }
  .browser-bar { padding: 6px 8px; }
  .browser-bar span { font-size: 9px; margin-right: 10px; }
  .phone { width: 30%; min-width: 0; right: 0; bottom: -14%; border-radius: 22px; padding: 5px; }
  .phone__screen { border-radius: 18px; }
  .phone__notch { top: 9px; height: 10px; }
  .hero__devices { margin-bottom: 30px; }

  .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: auto; }
  .bento__item { padding: 28px; min-height: 280px; }
  .bento--dark { flex-direction: column; align-items: stretch; }
  .calendar { flex: none; }
  .bento__image-copy { padding: 28px; }

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

  .form { grid-template-columns: 1fr; padding: 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .zoom { height: 220vh; }
}

/* Respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1; }
  .zoom__caption, .zoom__shade { opacity: 1; transform: none; }
}
