/* Make It Real: estilos del sitio. Tokens documentados en MASTER.md */
:root {
  --ink-950: #0B0814;
  --ink-900: #120C24;
  --ink-850: #160F2E;
  --navy: #211852;
  --peach: #FFA674;
  --pink: #FF70A4;
  --magenta: #F05CDC;
  --violet: #9E2CF2;
  --violet-600: #7424D9;
  --paper: #FFFFFF;
  --mist: #F7F3FB;
  --line: #ECE5F4;
  --text: #1A1330;
  --text-muted: #5E5672;
  --on-dark: #F3EEFA;
  --on-dark-muted: #B9B0CE;
  --success: #0E7A3B;
  --danger: #B4232A;
  --check: #12A150;
  --grad-brand: linear-gradient(100deg, #FFA674 0%, #FF70A4 52%, #F05CDC 100%);
  --grad-text: linear-gradient(100deg, #FFB38F 0%, #FF70A4 45%, #B66BFF 100%);
  --grad-text-light: linear-gradient(100deg, #E8603C 0%, #E0408A 50%, #8A2BFF 100%);
  --radius-lg: 24px;
  --radius: 16px;
  --shadow-1: 0 1px 2px rgba(26, 19, 48, .05), 0 10px 30px -12px rgba(26, 19, 48, .12);
  --shadow-2: 0 2px 6px rgba(26, 19, 48, .06), 0 28px 50px -20px rgba(26, 19, 48, .28);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --header-h: 76px;
  --container: 1180px;
  --focus: #7424D9;
}
.theme-dark { --focus: #FFB38F; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 18px; border-radius: 12px; background: var(--paper); color: var(--text);
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow-2);
}
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur), color var(--dur), border-color var(--dur);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--grad-brand); color: var(--text); box-shadow: 0 10px 28px -10px rgba(255, 112, 164, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 112, 164, .8); }
.btn-primary:active { transform: scale(.97); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--on-dark); border-color: rgba(255, 255, 255, .24); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #2C2152; }
.btn-sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(11, 8, 20, .78);
  -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--on-dark); --focus: #FFB38F;
  transition: box-shadow var(--dur);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--on-dark); font-weight: 600; font-size: 1.06rem; letter-spacing: -.01em; }
.brand-logo { width: 78px; height: 54px; aspect-ratio: auto; filter: drop-shadow(0 0 12px rgba(255, 112, 164, .3)); }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--on-dark-muted); font-size: .95rem; font-weight: 500; text-decoration: none;
  transition: color var(--dur), background-color var(--dur);
}
.nav-list a:hover { color: var(--on-dark); background: rgba(255, 255, 255, .07); }
.nav-list a[aria-current="true"] { color: var(--on-dark); background: rgba(255, 255, 255, .1); }
.nav-toggle, .nav-cta-mobile { display: none; }
/* Enlace al CRM: botón de contorno para distinguirlo de las secciones de la página */
.nav-list .nav-login a { gap: .45em; margin-left: 6px; color: var(--on-dark); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .24); }
.nav-list .nav-login a:hover { background: rgba(255, 255, 255, .12); }
.nav-login .icon { width: 1.05em; height: 1.05em; }
.brand-name, .header-cta { white-space: nowrap; }
@media (min-width: 900px) {
  .nav-list a { white-space: nowrap; }
}
/* Con poco ancho de computador, el botón dice solo «CRM» (con el ícono de entrar) */
@media (min-width: 900px) and (max-width: 1039px) {
  .nav-login-long { display: none; }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: var(--on-dark);
  }
  .nav-list {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; flex-direction: column; gap: 2px; padding: 12px 20px 22px;
    background: rgba(11, 8, 20, .97); border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { min-height: 48px; font-size: 1.05rem; color: var(--on-dark); border-radius: 12px; }
  .nav-list .nav-login a { width: 100%; margin: 8px 0 0; justify-content: center; border-radius: 999px; }
  .nav-cta-mobile { display: block; margin-top: 10px; }
  .nav-list .nav-cta-mobile a { width: 100%; color: var(--text); background: var(--grad-brand); border-radius: 999px; justify-content: center; }
}
@media (max-width: 559px) { .header-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-950); color: var(--on-dark); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(45% 55% at 100% 95%, rgba(158, 44, 242, .26), transparent 70%),
    radial-gradient(40% 50% at 0% 90%, rgba(255, 166, 116, .16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(56px, 9vw, 120px); }
.hero-glow {
  position: absolute; left: 50%; top: 4%; z-index: -1; width: min(1100px, 130vw); height: min(560px, 90vw);
  transform: translateX(-50%); pointer-events: none; filter: blur(8px);
  background: radial-gradient(closest-side, rgba(255, 112, 164, .3), rgba(158, 44, 242, .16) 55%, transparent 80%);
}
.eyebrow { display: inline-flex; align-items: center; gap: .65em; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #FFC2A6; }
.eyebrow-light { color: var(--violet-600); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(255, 112, 164, .2); }
.hero h1 { max-width: 16ch; margin: 20px auto 20px; font-size: clamp(2.4rem, 5.2vw + .6rem, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.03; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .grad-text { color: #FF8FB5; } }
.lead { max-width: 36em; margin-inline: auto; font-size: clamp(1.05rem, .6vw + .95rem, 1.25rem); line-height: 1.6; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; justify-content: center; gap: .55em; margin-top: 18px; font-size: .92rem; color: var(--on-dark-muted); }
.hero-note .icon { color: #7EE2A8; }

.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: .84rem; font-weight: 500; color: var(--on-dark-muted); white-space: nowrap;
  background: transparent; border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color var(--dur), color var(--dur);
}
.motion-toggle:hover { color: var(--on-dark); background: rgba(255, 255, 255, .07); }
.motion-toggle .icon { width: 16px; height: 16px; }
.motion-toggle .i-play { display: none; fill: currentColor; }
.motion-toggle[data-paused="true"] .i-play { display: block; }
.motion-toggle[data-paused="true"] .i-pause { display: none; }

.trust {
  display: grid; justify-items: center; gap: 18px;
  margin-top: clamp(48px, 7vw, 88px); padding: 30px 0 36px; border-top: 1px solid rgba(255, 255, 255, .09);
}
.trust-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 32px; }
.client-logo img { display: block; width: auto; height: 40px; }
.trust-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.trust-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 36px; list-style: none; }
.client { color: #E6DFF2; line-height: 1.2; }
.client-a { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.client-b { font-size: .98rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.client-c { font-size: 1.1rem; font-weight: 500; font-style: italic; }

/* ---------- Banda de marca ---------- */
.marquee { overflow: hidden; padding: 18px 0; background: var(--navy); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { padding-right: .45em; white-space: nowrap; font-size: clamp(2.1rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1; text-transform: uppercase; color: #AF5BA0; }
.marquee .outline { color: transparent; -webkit-text-stroke: 1.5px #AF5BA0; }
.marquee:hover .marquee-track, .motion-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink-900); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 12px 0 16px; font-size: clamp(1.9rem, 2.4vw + 1.05rem, 3rem); letter-spacing: -0.03em; }
.section-sub { max-width: 40em; font-size: 1.1rem; color: var(--text-muted); }
.theme-dark .section-sub { color: var(--on-dark-muted); }
.section-head.center .section-sub { margin-inline: auto; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }

/* Problema */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-card { padding: 26px; }
.badge-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; color: var(--violet-600); background: linear-gradient(135deg, #FFE9DD, #FFE1EE 50%, #F1E2FF); }
.pain-card h3 { margin-bottom: 8px; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.pain-card p { font-size: .98rem; color: var(--text-muted); }
.bridge { max-width: 46em; margin-top: 36px; font-size: 1.15rem; color: var(--text-muted); }
.bridge strong { color: var(--text); font-weight: 600; }

/* Servicios */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { position: relative; padding: clamp(24px, 3vw, 34px); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.service-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--grad-brand); opacity: 0; transition: opacity var(--dur);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.service-card:hover::before { opacity: 1; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: var(--grad-brand); color: var(--text); }
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.35rem; }
.service-card > p { color: var(--text-muted); }
.checks { display: grid; gap: 10px; margin-top: 18px; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .icon { margin-top: .22em; color: var(--check); stroke-width: 2.4; }
.ideal { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #DDD3EA; font-size: .95rem; color: var(--text-muted); }
.ideal strong { color: var(--violet-600); font-weight: 600; }
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--mist); border: 1px solid var(--line);
}
.cta-strip p { font-size: 1.05rem; color: var(--text-muted); }
.cta-strip strong { color: var(--text); }

/* Caso */
.case { position: relative; isolation: isolate; overflow: hidden; }
.case::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 55% at 85% 50%, rgba(158, 44, 242, .28), transparent 70%), radial-gradient(35% 40% at 70% 20%, rgba(255, 112, 164, .16), transparent 70%);
}
.project {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 64px);
  padding: clamp(22px, 4vw, 48px); border-radius: 32px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08);
}
.project + .project { margin-top: 28px; }
.project-doggi { grid-template-columns: 1.1fr .9fr; }
.project-media { position: relative; padding: 0 9% 9% 0; }
.browser { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px; background: #1B1430; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3A3157; }
.browser-url { flex: 1; max-width: 240px; margin: 0 auto; padding: 3px 12px; border-radius: 999px; background: #0F0A1F; color: var(--on-dark-muted); font-size: .72rem; text-align: center; transform: translateX(-24px); }
.browser img { display: block; width: 100%; height: auto; }
.reel-phone {
  position: absolute; right: 0; bottom: 0; width: 31%; aspect-ratio: 9 / 16; padding: 5px; border-radius: 22px;
  background: #0B0814; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .85), inset 0 0 0 1.5px rgba(255, 255, 255, .16);
}
.reel-video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 17px; background: #04281A; }
.reel-toggle {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(11, 8, 20, .62); border: 1px solid rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); --focus: #FFB38F;
}
.reel-toggle .icon { width: 16px; height: 16px; }
.reel-toggle .i-play { display: none; fill: currentColor; }
.reel-toggle[data-paused="true"] .i-play { display: block; }
.reel-toggle[data-paused="true"] .i-pause { display: none; }
.project-logo { width: auto; height: 34px; margin-bottom: 18px; }
.project-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #FFC2A6; }
.project h3 { margin: 10px 0 14px; font-size: clamp(1.5rem, 1.5vw + 1rem, 2.1rem); letter-spacing: -.025em; }
.project-text { color: var(--on-dark-muted); }
.project .checks li { color: var(--on-dark-muted); }
.project .checks .icon { color: #7EE2A8; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.feature-list { display: grid; gap: 14px; margin: 26px 0 34px; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--on-dark-muted); }
.feature-list strong { color: var(--on-dark); font-weight: 600; }
.feature-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #FFB38F; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.feature-icon .icon { width: 20px; height: 20px; }
.feature-list li > span:last-child { padding-top: 7px; }

.phone-figure { display: grid; justify-items: center; gap: 16px; margin: 0; }
.phone-figure figcaption { font-size: .82rem; color: var(--on-dark-muted); }
.phone {
  width: min(290px, 78vw); aspect-ratio: 9 / 18.5; padding: 11px; border-radius: 46px;
  background: linear-gradient(160deg, #3A2D6B, #150E2C 60%);
  box-shadow: 0 50px 90px -40px rgba(158, 44, 242, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  transform: rotate(-4deg);
}
.phone-screen {
  display: flex; flex-direction: column; gap: 12px; height: 100%; overflow: hidden; padding: 14px 16px 18px;
  border-radius: 36px; background: linear-gradient(180deg, #FFF6F1, #FFFFFF 40%); color: var(--text); font-size: 12px; line-height: 1.35;
}
.ph-status { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 11px; }
.ph-notch { width: 70px; height: 20px; border-radius: 999px; background: #120C24; }
.ph-dots { display: flex; gap: 3px; } .ph-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--text); }
.ph-top { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.ph-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.ph-brand .icon { width: 20px; height: 20px; color: var(--violet-600); }
.ph-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-brand); }
.ph-card { padding: 14px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #7424D9, #C04BF0); box-shadow: 0 14px 24px -14px rgba(116, 36, 217, .9); }
.ph-membership { display: grid; gap: 4px; }
.ph-membership strong { font-size: 14px; }
.ph-label { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.ph-next { font-size: 11.5px; opacity: .92; }
.ph-bar { height: 6px; margin-top: 4px; border-radius: 999px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ph-bar i { display: block; width: 60%; height: 100%; border-radius: inherit; background: #fff; }
.ph-section { color: var(--text-muted); margin-top: 2px; }
.ph-pets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-pet { padding: 10px; border-radius: 14px; text-align: center; font-weight: 600; border: 1.5px solid #E5DCF0; }
.ph-pet.is-on { border-color: var(--violet-600); background: #F3EAFF; color: var(--violet-600); }
.ph-plans { display: grid; gap: 8px; }
.ph-plan { display: grid; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #E5DCF0; }
.ph-plan small { color: var(--text-muted); font-size: 11px; }
.ph-plan.is-on { border-color: #FF70A4; background: #FFF0F6; }
.ph-cta { margin-top: auto; padding: 12px; border-radius: 999px; text-align: center; font-weight: 700; background: var(--grad-brand); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; }
.step { padding: 28px 24px; }
.step-num { display: inline-block; margin-bottom: 14px; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-bottom: 8px; font-size: 1.15rem; font-weight: 600; }
.step p { font-size: .98rem; color: var(--text-muted); }

/* Por qué */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { padding: 26px; background: var(--mist); box-shadow: none; }
.why-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: var(--paper); color: var(--violet-600); border: 1px solid var(--line); }
.why-card h3 { margin-bottom: 6px; font-size: 1.12rem; font-weight: 600; }
.why-card p { font-size: .98rem; color: var(--text-muted); }
.founder-card {
  display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 0; color: var(--on-dark);
  background: radial-gradient(80% 90% at 100% 0%, rgba(255, 112, 164, .28), transparent 60%), var(--ink-850);
}
.founder-card > p { font-size: .98rem; color: var(--on-dark-muted); }
.founder-head { display: flex; align-items: center; gap: 14px; }
.founder-head h3 { font-size: 1.12rem; }
.founder-role { font-size: .88rem; color: #FFC2A6; }
.monogram { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--grad-brand); color: var(--text); font-weight: 800; letter-spacing: -.02em; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px;
  padding: 18px 22px; list-style: none; cursor: pointer; font-size: 1.05rem; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--violet-600); transition: transform var(--dur) var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--violet-600); }
.answer { padding: 0 22px 22px; color: var(--text-muted); }

/* Contacto */
.contact {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(255, 166, 116, .2), transparent 70%),
    radial-gradient(50% 60% at 100% 0%, rgba(158, 44, 242, .3), transparent 70%),
    var(--ink-950);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(36px, 5vw, 64px); }
.contact h2 { font-size: clamp(2.2rem, 3.2vw + 1.1rem, 3.6rem); font-weight: 800; }
.contact .section-sub { margin-bottom: 28px; }
.contact-list { display: grid; gap: 12px; margin-top: 30px; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--on-dark-muted); }
.contact-list a { color: var(--on-dark); font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--on-dark);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color var(--dur), transform var(--dur-fast);
}
.social a:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }

.lead-form { --focus: #7424D9; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--paper); color: var(--text); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75); }
.lead-form h3 { font-size: 1.45rem; }
.form-sub { margin: 6px 0 22px; color: var(--text-muted); }
.field { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-size: .95rem; font-weight: 600; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--text-muted); }
.lead-form input[type="text"], .lead-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #8E85A3; border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.lead-form textarea { min-height: 112px; resize: vertical; }
.lead-form input[type="text"]:focus-visible, .lead-form textarea:focus-visible { outline: none; border-color: var(--violet-600); box-shadow: 0 0 0 4px rgba(116, 36, 217, .2); }
.lead-form [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin-top: 6px; font-size: .88rem; font-weight: 500; color: var(--danger); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid #8E85A3; font-size: .95rem; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--violet-600); }
.chip.is-checked { background: var(--text); border-color: var(--text); color: #fff; }
.chip:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-legal { margin-top: 12px; font-size: .85rem; color: var(--text-muted); }
.form-legal a, .form-status a { color: var(--violet-600); font-weight: 500; }
.form-status { margin-top: 10px; font-size: .95rem; font-weight: 500; color: var(--success); }
.form-status:empty { display: none; }

/* Footer */
.site-footer { padding: 56px 0 28px; background: #07050E; color: var(--on-dark-muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-dark); font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.footer-logo img { width: 46px; height: auto; }
.footer-brand p { margin-top: 10px; max-width: 22em; }
.footer-title { margin-bottom: 10px; color: var(--on-dark); font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.footer-links { display: grid; gap: 2px; list-style: none; }
.footer-links a, .footer-links span { display: inline-flex; align-items: center; min-height: 34px; color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--on-dark); }

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #062B16; --focus: #7424D9;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5), 0 0 0 5px rgba(37, 211, 102, .2);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.wa-fab.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .icon { width: 30px; height: 30px; }

/* Aparición al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .contact-grid, .project, .project-doggi { grid-template-columns: 1fr; }
  .project-media { padding: 0 12% 14% 0; }
  .reel-phone { width: 34%; }
  .phone { width: min(260px, 72vw); }
}
@media (max-width: 767px) {
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .container { width: calc(100% - 32px); }
  :root { --header-h: 66px; }
  .brand-logo { width: 62px; height: 43px; }
  .pain-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .trust-main { gap: 12px 24px; }
  .client-logo { flex-basis: 100%; display: flex; justify-content: center; }
  .client-logo img { height: 36px; }
  .cta-strip { padding: 20px; }
  .cta-strip .btn { width: 100%; }
  .project-actions .btn { width: 100%; }
  .reel-phone { border-radius: 16px; padding: 4px; }
  .reel-video { border-radius: 12px; }
  .reel-toggle { right: 6px; bottom: 6px; width: 36px; height: 36px; }
  .browser-bar { height: 26px; }
  .browser-url { font-size: .66rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .social a, .wa-fab { transition: none; }
}
