/* Fuentes alojadas en la propia web (licencia OFL). En Apple se usa la del sistema (SF Pro); en el resto, Inter. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/inter-latin-opsz-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/inter-latin-ext-opsz-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/instrument-serif-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ======================================================================
   CreamosTuTienda — sistema visual
   Inspirado en la claridad de Apple: tipografía del sistema, mucho aire,
   superficies blancas y gris claro, un único azul para la acción y el
   producto (la tienda) como imagen protagonista.
   ====================================================================== */
:root {
  --bg: #ffffff;
  --bg-2: #f5f7f6;
  --bg-dark: #0f1f2e;
  --surface-dark: #1a2e40;
  --text: #0f1f2e;
  --text-2: #4a5866;
  --text-3: #6b7785;
  --line: #e4e8ec;
  --line-2: #eef1f4;
  --blue: #0b8040;
  --blue-hover: #096a35;
  --link: #0b8040;
  --brand: #12a150;
  --green: #1a7f37;
  --red: #c9302c;
  --on-dark: #f3f6f9;
  --on-dark-2: #a9b6c3;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --max: 1120px;
  --wide: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(80px, 11vw, 140px);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: 'cv11', 'ss03'; }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; line-height: 1.17; font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 1.0625rem; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.9em; background: var(--bg-2); padding: 0.1em 0.4em; border-radius: 6px; }
[hidden] { display: none !important; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wide { max-width: calc(var(--wide) + var(--gutter) * 2); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.center { text-align: center; }
.muted { color: var(--text-2); }
.hint { color: var(--text-3); font-size: 0.875rem; font-weight: 400; }
.small { font-size: 0.875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabnum { font-variant-numeric: tabular-nums; }

/* ---------- Tipografía de sección ---------- */
.eyebrow { display: block; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-2); margin-bottom: 10px; }
.eyebrow.blue { color: var(--blue); }
.lead { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); line-height: 1.38; font-weight: 400; letter-spacing: -0.015em; color: var(--text-2); max-width: 34em; }
.headline-gray { color: var(--brand); }
.sec { padding-block: var(--sec); }
.sec.alt { background: #fff; border-top: 1px solid var(--line-2); }
.sec.dark { background: var(--bg-dark); color: var(--on-dark); }
.sec.dark h2, .sec.dark h3 { color: var(--on-dark); }
.sec.dark .lead, .sec.dark .muted { color: var(--on-dark-2); }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 7vw, 80px); display: grid; gap: 18px; justify-items: center; }
.sec-head .lead { margin-inline: auto; }
.sec-head.left { text-align: left; justify-items: start; margin-left: 0; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px; border-radius: 980px; border: 1px solid transparent; background: var(--blue); color: #fff; font: 400 1.0625rem/1 var(--font); letter-spacing: -0.01em; cursor: pointer; text-decoration: none; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--blue-hover); text-decoration: none; color: #fff; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: progress; }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 1.0625rem; }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 0.8125rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); }
.btn-outline, .btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover, .btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--bg-2); color: var(--text); }
.btn-success { background: var(--green); }
.btn-success:hover { background: #156c2f; }
.btn-danger { background: transparent; color: var(--red); border-color: var(--line); }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-cobalt, .btn-accent { background: var(--blue); color: #fff; }
.more { font-size: 1.0625rem; color: var(--link); white-space: nowrap; }
.more::after { content: ' ›'; }
.sec.dark .more { color: #86efac; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.actions.center { justify-content: center; }

/* ---------- Navegación: isla flotante ----------
   Arriba es una barra de cristal amplia. Al hacer scroll se encoge y se
   vuelve negra, como la Dynamic Island del iPhone; al pasar el ratón se
   vuelve a expandir. En móvil se despliega como una hoja. */
:root { --nav-h: 56px; --spring: cubic-bezier(0.32, 1.25, 0.42, 1); }
body { padding-top: calc(var(--nav-h) + 22px); }
.nav-bar { position: fixed; z-index: 100; top: calc(10px + env(safe-area-inset-top, 0px)); left: 0; right: 0; display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; }
.nav-pill { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 1100px; height: var(--nav-h); padding: 0 8px 0 14px; border-radius: 999px; color: var(--text); background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04); transition: max-width 0.7s var(--spring), background 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease), border-radius 0.5s var(--ease); }
.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; color: inherit; font-size: 1.0625rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-mark { flex: none; transition: transform 0.6s var(--spring); }
.logo:hover .logo-mark { transform: translateY(-1px); }
.wordmark { display: inline-flex; gap: 0.28em; align-items: baseline; }
.wordmark b { font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.wordmark span { font-weight: 800; color: var(--brand); letter-spacing: -0.04em; }
.nav-links-wrap { flex: 1; display: flex; justify-content: center; min-width: 0; overflow: hidden; transition: max-width 0.6s var(--spring), opacity 0.35s var(--ease); max-width: 640px; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; z-index: 1; display: block; padding: 8px 14px; border-radius: 999px; color: inherit; opacity: 0.78; font-size: 0.8125rem; letter-spacing: -0.005em; white-space: nowrap; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a.is-current { opacity: 1; text-decoration: none; }
.nav-indicator { position: absolute; z-index: 0; top: 50%; left: 0; height: 32px; width: 0; translate: 0 -50%; border-radius: 999px; background: rgba(0, 0, 0, 0.06); opacity: 0; transition: left 0.45s var(--spring), width 0.45s var(--spring), opacity 0.3s, background 0.45s; pointer-events: none; }
.nav-links-cta { display: none; }
.nav-cta { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.nav-btn { position: relative; overflow: hidden; min-height: 38px; padding: 0 18px; font-size: 0.875rem; font-weight: 500; }
.nav-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%); transform: translateX(-120%); animation: shimmer 5s var(--ease) 2s infinite; }
@keyframes shimmer { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.nav-progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transform-origin: left; transform: scaleX(var(--sp, 0)); opacity: 0; transition: opacity 0.4s; }

/* Barra superior clásica: a todo lo ancho, blanca y siempre igual (sin efectos al hacer scroll) */
.nav-bar { top: 0; padding: 0; background: #fff; border-bottom: 1px solid var(--line); pointer-events: auto; }
.nav-pill { max-width: 1200px; margin-inline: auto; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; height: 68px; padding: 0 20px; transition: none; }
.nav-indicator, .nav-progress { display: none !important; }
.nav-btn::after { display: none; }
.nav-links a { font-weight: 500; }

/* Botón de menú (móvil) */
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; cursor: pointer; padding: 0; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; border-radius: 1px; transition: transform 0.45s var(--spring), top 0.45s var(--spring); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-open .nav-toggle span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 19.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-pill { flex-wrap: wrap; height: auto; min-height: 60px; padding: 8px 12px 8px 16px; border-radius: 0; max-width: 100%; }
  .nav-toggle { display: block; }
  .nav-links-wrap { order: 3; flex: 0 0 100%; max-width: none !important; display: grid; justify-content: stretch; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.55s var(--spring), opacity 0.35s var(--ease); }
  .nav-links { min-height: 0; overflow: hidden; flex-direction: column; align-items: stretch; gap: 0; padding: 0 6px; }
  .nav-links a { opacity: 1; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; padding: 10px 4px; border-radius: 12px; }
  .nav-links li { opacity: 0; transform: translateY(-6px); transition: opacity 0.35s var(--ease), transform 0.45s var(--spring); }
  .nav-links-cta { display: block; padding: 12px 0 10px; }
  .nav-links-cta a { display: flex; align-items: center; justify-content: center; min-height: 50px; color: #fff; font-size: 1.0625rem; font-weight: 500; padding: 0 22px; border-radius: 999px; }
  .nav-indicator { display: none; }
  .nav-open .nav-pill { background: #fff; color: var(--text); }
  .nav-open .nav-links-wrap { grid-template-rows: 1fr; opacity: 1; }
  .nav-open .nav-links li { opacity: 1; transform: none; }
  .nav-open .nav-links li:nth-child(2) { transition-delay: 0.04s; } .nav-open .nav-links li:nth-child(3) { transition-delay: 0.08s; } .nav-open .nav-links li:nth-child(4) { transition-delay: 0.12s; } .nav-open .nav-links li:nth-child(5) { transition-delay: 0.16s; } .nav-open .nav-links li:nth-child(6) { transition-delay: 0.2s; } .nav-open .nav-links li:nth-child(7) { transition-delay: 0.24s; }
  .nav-btn { display: inline-flex; }
  .nav-open .nav-btn { display: none; }
}
@media (max-width: 340px) { .wordmark span { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav-btn::after { display: none; } }

/* Pie: firma de marca */

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 112px); text-align: center; overflow: hidden; }
.hero h1 { max-width: 13em; margin-inline: auto; }
.hero .lead { margin: 24px auto 0; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 0.875rem; color: var(--text-3); }
.hero-visual { margin-top: clamp(48px, 7vw, 88px); position: relative; }

/* ---------- Dispositivos ---------- */
.devices { position: relative; width: 100%; max-width: 1040px; margin-inline: auto; padding-right: 19%; }
.laptop { position: relative; }
.laptop-screen { background: #0d0d0f; border-radius: 18px 18px 0 0; padding: 14px 14px 18px; box-shadow: inset 0 0 0 1.5px #3a3a3c; }
.laptop-screen::before { content: ''; position: absolute; top: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2a2a2d; }
.laptop-display { border-radius: 4px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10.4; }
.laptop-base { height: 14px; margin-inline: -7%; background: linear-gradient(#e3e3e6, #b9b9be); border-radius: 0 0 14px 14px; position: relative; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.35); }
.laptop-base::before { content: ''; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; transform: translateX(-50%); background: #a9a9ae; border-radius: 0 0 8px 8px; }
.iphone { position: absolute; right: 0; bottom: -6%; width: 20%; aspect-ratio: 9 / 19.2; background: #0d0d0f; border-radius: clamp(26px, 4vw, 42px); padding: clamp(6px, 0.8vw, 9px); box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 30px 60px -12px rgba(0, 0, 0, 0.35); }
.iphone-display { position: relative; width: 100%; height: 100%; border-radius: clamp(20px, 3.2vw, 34px); overflow: hidden; background: #fff; }
.iphone-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 34%; height: 4.2%; background: #000; border-radius: 20px; z-index: 3; }
.devices-caption { margin-top: 28px; font-size: 0.8125rem; color: var(--text-3); text-align: center; }
@media (max-width: 640px) { .devices { padding-right: 0; } .iphone { width: 34%; right: -2%; bottom: -10%; } }

/* Tienda de ejemplo dentro de las pantallas (escala con el contenedor) */
.store { --s-bg: #fff; --s-fg: #111; --s-acc: #333; --s-card: #eee; container-type: inline-size; height: 100%; background: var(--s-bg); color: var(--s-fg); font-family: var(--font); letter-spacing: 0; overflow: hidden; text-align: left; }
.store.serif .s-brand, .store.serif .s-hero h4, .store.serif .s-pdp h4 { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.store.display .s-brand, .store.display .s-hero h4, .store.display .s-pdp h4 { font-weight: 800; letter-spacing: 0.04em; }
.s-announce { background: var(--s-fg); color: var(--s-bg); text-align: center; padding: 0.9cqi; font-size: 1.15cqi; }
.s-nav { display: flex; align-items: center; justify-content: space-between; gap: 2cqi; padding: 1.8cqi 3cqi; border-bottom: 1px solid color-mix(in srgb, var(--s-fg) 10%, transparent); }
.s-brand { font-size: 2.6cqi; line-height: 1; }
.s-menu { display: flex; gap: 2.6cqi; font-size: 1.3cqi; }
.s-icons { display: flex; gap: 1.6cqi; align-items: center; }
.s-icons svg { width: 1.9cqi; height: 1.9cqi; }
.s-cart { position: relative; }
.s-cart b { position: absolute; top: -0.9cqi; right: -1.1cqi; background: var(--s-acc); color: #fff; border-radius: 99px; font-size: 1cqi; min-width: 1.8cqi; height: 1.8cqi; display: grid; place-items: center; }
.s-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; background: var(--s-card); margin: 2cqi 3cqi 0; border-radius: 1cqi; overflow: hidden; }
.s-hero > div { padding: 3cqi; }
.s-hero small { text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.05cqi; opacity: 0.75; }
.s-hero h4 { font-size: 4cqi; line-height: 1.02; margin: 1cqi 0 2cqi; color: inherit; }
.s-hero svg { width: 100%; aspect-ratio: 2; height: auto; }
.s-btn { display: inline-block; background: var(--s-fg); color: var(--s-bg); padding: 1.1cqi 2cqi; border-radius: 0.5cqi; font-size: 1.25cqi; font-weight: 600; }
.s-btn.block { display: block; text-align: center; padding: 3.2cqi; margin-top: 3cqi; font-size: 4cqi; border-radius: 2cqi; }
.s-row { display: flex; justify-content: space-between; align-items: baseline; padding: 2.4cqi 3cqi 1.2cqi; font-size: 1.5cqi; }
.s-row span { font-size: 1.2cqi; text-decoration: underline; opacity: 0.75; }
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqi; padding: 0 3cqi 3cqi; }
.s-card svg { aspect-ratio: 1.25; width: 100%; height: auto; border-radius: 0.6cqi; margin-bottom: 0.9cqi; }
.s-card span { display: block; font-size: 1.25cqi; }
.s-card b { font-size: 1.25cqi; color: var(--s-acc); }
.s-pdp-img svg { aspect-ratio: 1; width: 100%; height: auto; }
.s-pdp { padding: 4cqi 5cqi; }
.s-pdp h4 { font-size: 7.5cqi; line-height: 1.1; margin-bottom: 1cqi; color: inherit; }
.s-pdp .s-price { font-weight: 700; font-size: 5cqi; }
.s-pdp .s-tax { font-size: 3.4cqi; opacity: 0.65; }
.s-opts { display: flex; flex-wrap: wrap; gap: 2cqi; margin-top: 3.5cqi; }
.s-opts i { font-style: normal; border: 1px solid color-mix(in srgb, var(--s-fg) 25%, transparent); border-radius: 1.5cqi; padding: 1.5cqi 3.4cqi; font-size: 3.6cqi; }
.s-opts i.on { background: var(--s-fg); color: var(--s-bg); border-color: var(--s-fg); }
.s-trust { display: grid; gap: 1cqi; margin-top: 3.5cqi; font-size: 3.2cqi; opacity: 0.75; }
.iphone .s-nav { padding: 15.5cqi 5cqi 3cqi; }
.iphone .s-brand { font-size: 5.8cqi; }
.iphone .s-icons svg { width: 6cqi; height: 6cqi; }
.iphone .s-cart b { font-size: 3.4cqi; min-width: 5.6cqi; height: 5.6cqi; top: -2.4cqi; right: -3cqi; }

/* ---------- Puntos clave ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.fact { padding: 4px clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font-family: var(--font-display); font-size: clamp(2.4rem, 4.2vw, 3.25rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact b.blue { color: var(--blue); }
.fact span { color: var(--text-2); font-size: 1rem; line-height: 1.4; }
.fact strong { font-weight: 600; color: var(--text); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } .fact:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; row-gap: 0; } .fact, .fact:nth-child(odd) { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; padding-top: 0; } }

/* ---------- Bento: lo que incluye ---------- */
.incl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.incl-visual { position: sticky; top: 120px; display: grid; justify-items: center; padding: clamp(32px, 5vw, 64px) 0; background: var(--bg-2); border-radius: var(--r-lg); }
.incl-visual .mini-phone { width: min(250px, 70%); aspect-ratio: 9 / 19.2; background: #0d0d0f; border-radius: 42px; padding: 9px; box-shadow: inset 0 0 0 1.5px #3a3a3c; }
.incl-visual .mini-phone .iphone-display { border-radius: 34px; }
.incl-list { margin: 0; display: grid; }
.incl-list > div { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.incl-list > div:last-child { border-bottom: 1px solid var(--line); }
.incl-list dt { font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-weight: 600; letter-spacing: -0.022em; color: var(--text); }
.incl-list dd { margin: 0; color: var(--text-2); max-width: 34em; }
.incl-list.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.incl-list.cols > div:last-child { border-bottom: 0; }
@media (max-width: 900px) { .incl { grid-template-columns: 1fr; } .incl-visual { position: static; } .incl-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .incl-list.cols { grid-template-columns: 1fr; } }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatches span { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.swatches em { font-family: var(--serif); font-style: normal; font-size: 2.6rem; line-height: 1; margin-left: 10px; color: var(--text); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chips span { background: var(--bg); border-radius: 10px; padding: 9px 14px; font-weight: 600; font-size: 0.9375rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.order-ok { background: var(--bg); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); max-width: 360px; }
.order-ok i { width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.order-ok b { display: block; font-size: 0.9375rem; }
.order-ok small { color: var(--text-2); font-size: 0.8125rem; }
.order-ok span { font-weight: 600; font-variant-numeric: tabular-nums; }
.url-bar { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 12px; padding: 12px 18px; font-size: 1.0625rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.url-bar svg { width: 14px; height: 14px; color: var(--green); }
.ship-rows { display: grid; gap: 8px; max-width: 340px; }
.ship-rows div { display: flex; justify-content: space-between; background: var(--bg); border-radius: 12px; padding: 11px 16px; font-size: 0.9375rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.ship-rows b { font-weight: 600; font-variant-numeric: tabular-nums; }
.doc-list { display: grid; gap: 8px; }
.doc-list span { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--on-dark); }
.doc-list span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { padding: 0 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-size: 0.875rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.step h3 { font-size: 1.1875rem; }
.step p { color: var(--text-2); font-size: 0.9375rem; }
.step.is-pay .step-n, .step.is-pay h3 { color: var(--blue); }
.steps-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 1.0625rem; }
.steps-note b { color: var(--text); font-weight: 600; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; row-gap: 28px; } }

/* ---------- Escaparate ---------- */
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 4px; background: var(--bg-2); border-radius: 980px; margin: 0 auto 56px; }
.segmented button { border: 0; background: transparent; padding: 9px 18px; border-radius: 980px; font: 400 0.9375rem var(--font); color: var(--text); cursor: pointer; transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.segmented button[aria-selected='true'] { background: var(--bg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); font-weight: 500; }
.sc-panel { display: grid; gap: 48px; }
.sc-panel[hidden] { display: none; }
.sc-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; max-width: 980px; margin: 24px auto 0; }
.sc-info h3 { font-size: 1.75rem; }
.sc-info p { color: var(--text-2); }
.sc-needs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sc-needs li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.sc-needs li svg { color: var(--blue); margin-top: 3px; }
.sc-needs b { font-weight: 600; }
.sc-needs span span { display: block; color: var(--text-2); font-size: 0.9375rem; }
@media (max-width: 760px) { .sc-info { grid-template-columns: 1fr; } }

/* ---------- Comparativa ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 20px 16px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; padding-top: 0; }
.compare thead th.us { color: var(--blue); }
.compare tbody th { text-align: left; font-weight: 400; color: var(--text-2); width: 28%; }
.compare td.us { font-weight: 600; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; vertical-align: -5px; margin-right: 6px; }
.compare .yes { background: var(--green); }
.compare .no { background: var(--line-2); }
.compare small { display: block; color: var(--text-2); font-size: 0.875rem; font-weight: 400; margin-top: 4px; }
@media (max-width: 700px) { .compare { font-size: 0.875rem; } .compare th, .compare td { padding: 14px 8px; } .compare thead th { font-size: 0.9375rem; } }

/* ---------- Precios ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price { background: var(--bg); border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.price.is-featured { box-shadow: 0 0 0 2px var(--blue); }
.price .badge-new { position: absolute; top: 18px; right: 20px; font-size: 0.75rem; font-weight: 700; color: var(--blue); background: #e8f7ee; padding: 4px 10px; border-radius: 99px; }
.price h3 { font-size: 1.5rem; }
.price-amount { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount small { font-family: var(--font); font-size: 1rem; font-weight: 400; color: var(--text-2); letter-spacing: -0.01em; margin-left: 4px; }
.price-from { font-size: 0.875rem; color: var(--text-2); }
.price-desc { color: var(--text-2); }
.ticks { list-style: none; margin: 8px 0 12px; padding: 18px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 10px; font-size: 0.9375rem; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ticks svg { margin-top: 3px; color: var(--blue); }
.price .btn { margin-top: auto; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.price-note { margin-top: 28px; color: var(--text-2); font-size: 0.875rem; text-align: center; }

/* ---------- Garantía ---------- */
.guarantee { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); text-align: center; display: grid; justify-items: center; }
.guarantee h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.guarantee p { color: var(--text-2); max-width: 40em; font-size: 1.0625rem; }

/* ---------- Confianza ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.trust-item { padding: 28px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: grid; gap: 8px; align-content: start; }
.trust-item h3 { font-size: 1.25rem; }
.trust-item p { color: var(--on-dark-2); font-size: 0.9375rem; }
.trust-item a { color: #86efac; }
.trust-icon { width: 40px; height: 40px; color: #86efac; margin-bottom: 8px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Área de cliente (maqueta) ---------- */
.portal-row { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.portal-row ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.portal-row li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); }
.portal-row li svg { color: var(--blue); margin-top: 3px; }
.portal { background: var(--bg); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 18px; }
.portal small { color: var(--text-3); font-size: 0.8125rem; }
.portal-hello { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; }
.progress-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.progress-line span { height: 4px; border-radius: 4px; background: var(--line-2); }
.progress-line span.on { background: var(--blue); }
.progress-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 0.6875rem; color: var(--text-3); margin-top: -10px; }
.portal-card { background: var(--bg-2); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.portal-card b { font-size: 1.0625rem; }
.portal-card p { color: var(--text-2); font-size: 0.9375rem; }
.portal-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.portal-btns span { border-radius: 980px; padding: 8px 14px; font-size: 0.8125rem; background: var(--bg); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.portal-btns span.yes { background: var(--blue); color: #fff; box-shadow: none; }
.portal-docs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.8125rem; color: var(--text-2); }
@media (max-width: 860px) { .portal-row { grid-template-columns: 1fr; } }

/* ---------- Opiniones y portfolio reales ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--bg-2); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.45; letter-spacing: -0.015em; }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: 0.9375rem; margin-top: auto; }
.quote img, .q-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.q-avatar { background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; }
.stars { color: #ff9f0a; letter-spacing: 2px; }
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.work { color: var(--text); display: grid; gap: 6px; }
.work:hover { text-decoration: none; }
.work img, .work-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--bg-2); margin-bottom: 8px; }
.work-ph { display: grid; place-items: center; font-size: 2.5rem; font-weight: 700; color: var(--text-3); }
.work strong { font-weight: 600; }
.work span { color: var(--text-2); font-size: 0.9375rem; }

/* ---------- Carta del fundador ---------- */
.letter { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; max-width: 980px; margin-inline: auto; }
.letter-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; background: linear-gradient(160deg, #e8e8ed, #d2d2d7); color: var(--text-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 3rem; letter-spacing: -0.03em; }
.letter-body { display: grid; gap: 18px; }
.letter-body p { font-size: 1.25rem; line-height: 1.5; color: var(--text-2); letter-spacing: -0.015em; }
.letter-body p strong { color: var(--text); font-weight: 600; }
.letter-sign { font-weight: 600; color: var(--text); }
.letter-sign span { display: block; font-weight: 400; color: var(--text-2); font-size: 0.9375rem; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .letter { grid-template-columns: 1fr; justify-items: center; text-align: center; } .letter-photo { width: 120px; height: 120px; font-size: 2.2rem; } }

/* ---------- Guía (bloque oscuro) ---------- */
.guide { color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 6vw, 80px); align-items: center; }
.guide h2 { color: var(--on-dark); font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.guide .lead { color: var(--on-dark-2); margin-top: 16px; font-size: 1.1875rem; }
.guide-doc { aspect-ratio: 210 / 297; background: #fff; color: var(--text); border-radius: 10px; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; transform: rotate(3deg); }
.guide-doc small { color: var(--blue); font-weight: 600; font-size: 0.75rem; }
.guide-doc strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.guide-doc ol { margin: auto 0 0; padding-left: 1.1em; font-size: 0.75rem; color: var(--text-2); display: grid; gap: 4px; }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 28px; max-width: 520px; }
.inline-form input[type='email'] { background: rgba(255, 255, 255, 0.1); border-color: transparent; color: #fff; }
.inline-form input[type='email']::placeholder { color: var(--on-dark-2); }
.inline-form input[type='email']:focus { border-color: #86efac; box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.3); }
.inline-form .check-inline, .inline-form .form-status { grid-column: 1 / -1; color: var(--on-dark-2); }
.inline-form .check-inline a { color: #86efac; }
.inline-form .form-status.ok { color: #6ee7a0; }
.inline-form .form-status.err { color: #ff8a80; }
.inline-form .form-status a { color: #86efac; }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; } .guide-doc { max-width: 200px; order: -1; } .inline-form { grid-template-columns: 1fr; } }

/* ---------- Sectores ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sector-card { color: var(--text); display: grid; gap: 14px; }
.sector-card:hover { text-decoration: none; }
.sector-card svg { border-radius: var(--r-lg); transition: transform 0.5s var(--ease); }
.sector-card:hover svg { transform: scale(1.02); }
.sector-card svg { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.sector-card div { display: grid; gap: 2px; }
.sector-card b { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.sector-card span { color: var(--link); font-size: 0.9375rem; }
@media (max-width: 900px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details p { padding: 0 40px 26px 0; color: var(--text-2); font-size: 1.0625rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-ways { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-ways li { display: grid; gap: 2px; }
.contact-ways span { color: var(--text-3); font-size: 0.875rem; }
.contact-ways a { font-size: 1.1875rem; word-break: break-word; }
.contact .form-card { background: none; padding: 0; border-radius: 0; box-shadow: none; }
.form-card { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Cierre ---------- */
.closing { text-align: center; }
.closing h2 { max-width: 14em; margin-inline: auto; }
.closing .lead { margin: 20px auto 0; }
.closing .actions { justify-content: center; margin-top: 36px; }

/* ---------- Pie ---------- */
.site-footer { background: #fff; color: var(--text-2); font-size: 0.875rem; line-height: 1.5; padding-block: clamp(64px, 8vw, 96px) clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo { font-size: 1.375rem; justify-self: start; color: var(--text); }
.footer-brand p { max-width: 26em; color: var(--text-2); }
.footer-mail { color: var(--text); font-weight: 500; justify-self: start; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-grid h4 { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-bottom a { color: var(--text-2); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-note { margin-top: 20px; max-width: 60em; color: var(--text-3); font-size: 0.8125rem; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }

/* ---------- Móvil: barra fija y WhatsApp ---------- */
.sticky-cta { display: none; }
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 95; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-radius: 980px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
  .sticky-cta b { display: block; font-size: 0.9375rem; font-weight: 600; }
  .sticky-cta small { color: var(--text-2); font-size: 0.75rem; }
  body:has(.sticky-cta) { padding-bottom: 84px; }
  .wa-float.with-sticky { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
}

/* ---------- Formularios ---------- */
label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
input[type='text'], input[type='email'], input[type='tel'], input[type='url'], input[type='date'], input[type='number'], input[type='password'], input[type='search'], select, textarea {
  width: 100%; min-height: 50px; font: 400 1.0625rem var(--font); letter-spacing: -0.01em; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 42px; }
textarea { resize: vertical; line-height: 1.47; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 128, 64, 0.15); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
.field { margin-bottom: 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 14px; }
.form-status { margin: 0; font-size: 0.9375rem; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.check-inline { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.875rem; color: var(--text-2); }
.check-inline input { margin-top: 0.15em; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choices.wide { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.choice { position: relative; margin: 0; font-weight: 400; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; font-size: 0.9375rem; line-height: 1.35; transition: border-color 0.2s, box-shadow 0.2s; }
.choice span:hover { border-color: var(--text-3); }
.choice span small { display: block; color: var(--text-2); margin-top: 3px; font-size: 0.8125rem; }
.choice input:checked + span { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(11, 128, 64, 0.2); }

/* ---------- Avisos ---------- */
.alert { padding: 16px 20px; border-radius: var(--r-sm); font-size: 0.9375rem; background: var(--bg-2); }
.alert-success { background: #e9f6ed; color: #0f5b27; }
.alert-info { background: #e8f2fd; color: #0a4a8f; }
.alert-warn { background: #fff6e0; color: #7a4b00; }

/* ---------- Páginas interiores ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.page-hero .lead { margin-top: 18px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }

/* Configurador */
.config-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: 120px; }
@media (max-width: 1040px) { .config-layout { grid-template-columns: 1fr; } }
.config-form { background: var(--bg); }
.progress { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.progress li { font-size: 0.75rem; color: var(--text-3); padding-top: 12px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line-2); transition: background 0.3s; }
.progress li.done::before, .progress li.active::before { background: var(--blue); }
.progress li.active { color: var(--text); font-weight: 500; }
@media (max-width: 560px) { .progress li { font-size: 0; } .progress li.active { font-size: 0.75rem; overflow: visible; } }
.step-panel { display: none; }
.step-panel.active { display: block; animation: rise 0.4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.step-panel h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 32px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step-nav [data-prev] { background: transparent; color: var(--blue); border-color: transparent; padding-inline: 0; }
.step-nav [data-next], .step-nav [data-submit] { margin-left: auto; }
.extras-group { margin-bottom: 30px; }
.extras-group h3 { font-size: 1.0625rem; margin-bottom: 12px; }
.summary { position: sticky; top: 96px; }
.after-submit { margin-top: 28px; padding: 24px; background: var(--bg-2); border-radius: var(--r); }
.after-submit h3 { font-size: 1.0625rem; margin-bottom: 12px; }
.after-submit ol { margin: 0 0 12px; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--text-2); }
.after-submit ol b { color: var(--text); font-weight: 600; }
.reassure { margin: 0; font-weight: 600; font-size: 0.9375rem; }

/* Resumen de presupuesto (configurador y portada) */
.ticket { background: var(--bg-2); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 4px; }
.t-head { margin-bottom: 14px; }
.t-head b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }
.t-head span { color: var(--text-2); font-size: 0.9375rem; }
.t-lines { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.t-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.t-line > span:first-child { color: var(--text-2); min-width: 0; }
.t-line > span:last-child { white-space: nowrap; }
.t-line i { display: none; }
.t-sum { padding-top: 14px; display: grid; gap: 8px; }
.t-line.total { font-weight: 600; font-size: 1.0625rem; }
.t-line.total > span:first-child { color: var(--text); }
.t-today { margin-top: 16px; padding: 16px 18px; background: var(--bg); border-radius: var(--r); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.t-today span { font-size: 0.9375rem; color: var(--text-2); }
.t-today b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; color: var(--green); }
.t-foot { margin-top: 12px; color: var(--text-3); font-size: 0.8125rem; }
.t-barcode { display: none; }

/* Presupuesto del cliente */
.quote-width { max-width: calc(880px + var(--gutter) * 2); }
.quote-layout { display: grid; gap: 20px; padding-bottom: 120px; }
.quote-layout > * { min-width: 0; }
.timeline { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.timeline li { font-size: 0.8125rem; color: var(--text-3); padding-top: 12px; position: relative; }
.timeline li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line-2); }
.timeline li.done::before, .timeline li.current::before { background: var(--blue); }
.timeline li.current { color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; gap: 10px; } .timeline li { padding: 0 0 0 16px; } .timeline li::before { top: 2px; bottom: 2px; right: auto; width: 4px; height: auto; } }
.panel { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.panel h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 10px; }
.panel.is-key { background: var(--bg); box-shadow: 0 0 0 2px var(--blue); }
.panel.is-calm { background: transparent; padding-inline: 0; }
.panel-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.status-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--green); }
@media (max-width: 560px) { .panel-head { grid-template-columns: 1fr; } }
.next-list { margin: 20px 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--text-2); }
.next-list b { color: var(--text); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; background: var(--bg-2); padding: 8px 14px; border-radius: 980px; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin-top: 24px; }
.pay-option { background: var(--bg-2); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; align-content: start; }
.pay-option h3 { font-size: 1.1875rem; }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 0.9375rem; }
.bank dt { color: var(--text-2); }
.bank dd { margin: 0; word-break: break-all; }
[data-copy] { cursor: copy; }
.doc { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(24px, 4.5vw, 48px); }
.doc-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.doc-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.doc-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; font-size: 0.9375rem; color: var(--text-2); }
.doc-parties b { color: var(--text); font-weight: 600; }
.doc-parties h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 6px; }
@media (max-width: 560px) { .doc-parties { grid-template-columns: 1fr; } }
.lines { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.lines th { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.lines td { padding: 14px 8px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.lines .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; max-width: 360px; margin: 22px 0 0 auto; font-variant-numeric: tabular-nums; }
.totals dt { text-align: right; color: var(--text-2); }
.totals dd { margin: 0; text-align: right; }
.totals .grand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; color: var(--text); padding-top: 6px; }
.note { margin-top: 18px; padding: 14px 18px; background: var(--bg-2); border-radius: var(--r-sm); font-size: 0.9375rem; }
.fineprint { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 6px; font-size: 0.8125rem; color: var(--text-2); }
.answers { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 12px 20px; font-size: 0.9375rem; margin: 20px 0 0; }
.answers dt { color: var(--text-2); }
.answers dd { margin: 0; white-space: pre-wrap; }
@media (max-width: 560px) { .answers { grid-template-columns: 1fr; } .answers dd { margin-bottom: 8px; } }
details.panel summary { cursor: pointer; font-weight: 600; }

/* Legal */
.legal { padding-bottom: 120px; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 56px 0 16px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; padding-left: 1.2em; }

/* Utilidades compartidas (panel) */
.card { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px; }
.kicker { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-2); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { padding-left: 1.6em; position: relative; }
.checklist li::before { content: ''; position: absolute; left: 0.1em; top: 0.45em; width: 0.75em; height: 0.4em; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* Rejillas: los hijos nunca empujan la página hacia los lados */
.portal-row > *, .contact > *, .letter > *, .guide > *, .config-layout > *, .sc-info > *, .facts > *, .incl > *, .prices > *, .trust > *, .steps > * { min-width: 0; }

/* Aparición suave al hacer scroll (visible siempre si no hay JS) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Impresión del presupuesto */
@media print {
  .nav-bar, .site-footer, .page-hero, .sticky-cta, .wa-float, .panel, .doc-buttons, .alert, details { display: none !important; }
  .doc { border: 0; padding: 0; }
}

/* ---------- Calculadora rápida ---------- */
.qc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; max-width: 1000px; margin-inline: auto; }
.qc-options { display: grid; gap: 30px; }
.qc legend { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 12px; }
.qc-seg { display: flex; margin: 0; width: fit-content; max-width: 100%; }
.qc-seg label { margin: 0; font-weight: 400; }
.qc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.qc-seg span { display: block; padding: 9px 16px; border-radius: 980px; font-size: 0.9375rem; cursor: pointer; transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease); white-space: nowrap; }
.qc-seg input:checked + span { background: var(--bg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); font-weight: 500; }
.qc-seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 1px; }
.qc .ticket { background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.sec.alt .qc .ticket { background: var(--bg); }
.qc .t-today { background: var(--bg-2); }
@media (max-width: 860px) { .qc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .qc-seg span { padding: 8px 11px; font-size: 0.875rem; } }
.sec:not(.alt):not(.dark) .price { background: var(--bg-2); }
/* La base del portátil sobresale a propósito: nunca debe provocar scroll lateral */
.sec, .hero { overflow-x: clip; }
@media (max-width: 640px) { .laptop-base { margin-inline: -4%; } }

/* =====================================================================
   Efectos: movimiento al servicio del contenido.
   Todo es visible sin JavaScript y respeta "reducir movimiento".
   ===================================================================== */

/* Titular: las palabras entran una a una */
.hero-title .w { display: inline-block; animation: word-in 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.04s); }
@keyframes word-in { from { transform: translateY(0.3em); } }
.hero .eyebrow, .hero .lead, .hero .actions, .hero .hero-note { animation: fade-up 1s var(--ease) both; }
.hero .eyebrow { animation-delay: 0.05s; }
.hero .lead { animation-delay: 0.55s; }
.hero .actions { animation-delay: 0.7s; }
.hero .hero-note { animation-delay: 0.85s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* Hero: los dispositivos se enderezan con el scroll (JS pone --p de 0 a 1) */
.hero-stage { --p: 1; perspective: 1600px; }
.hero-stage .devices { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 22deg)) scale(calc(0.9 + var(--p) * 0.1)) translateY(calc((1 - var(--p)) * 30px)); will-change: transform; animation: device-in 1.2s var(--ease) 0.3s both; }
@keyframes device-in { from { opacity: 0; translate: 0 60px; } }
.hero-visual { position: relative; }

/* Pantallas apiladas que se funden entre sí */
.screen-stack { position: relative; width: 100%; height: 100%; }
.screen { position: absolute; inset: 0; z-index: 1; opacity: 0; transform: scale(1.015); transition: opacity 0.5s var(--ease) 0.6s, transform 1.2s var(--ease); pointer-events: none; }
.screen.is-active { z-index: 2; opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
.hero-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 44px auto 0; }
.hero-switch button { border: 0; background: none; font: 400 0.875rem var(--font); color: var(--text-3); padding: 6px 12px; border-radius: 980px; cursor: pointer; position: relative; transition: color 0.3s, background 0.3s; }
.hero-switch button:hover { color: var(--text); }
.hero-switch button[aria-selected='true'] { color: var(--text); background: var(--bg-2); }
.hero-switch button[aria-selected='true']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue); transform-origin: left; animation: tick-progress var(--cycle, 4s) linear both; }
.hero-stage.paused .hero-switch button::after { animation-play-state: paused; }
@keyframes tick-progress { from { transform: scaleX(0); } }

/* Frase que se ilumina al hacer scroll */
.statement { position: relative; height: 220vh; background: var(--bg); }
.statement-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.statement p { font-family: var(--font-display); font-size: clamp(2rem, 5.2vw, 4.25rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; text-align: center; max-width: 1000px; text-wrap: balance; }
.statement .sw { transition: color 0.35s var(--ease); }
.js .statement .sw { color: #d2d2d7; }
.js .statement .sw.on { color: var(--text); }
.no-motion .statement { height: auto; padding-block: var(--sec); }
.no-motion .statement-sticky { position: static; height: auto; }
.no-motion .statement .sw { color: var(--text) !important; }

/* Proceso: barra que se llena al recorrerlo */
.steps-progress { height: 2px; border-radius: 2px; background: var(--line); margin-bottom: 28px; overflow: hidden; }
.steps-progress span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 1)); border-radius: 4px; }

/* Historia de compra en el iPhone */
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-visual { position: sticky; top: max(96px, calc(50vh - 330px)); display: grid; place-items: center; }
.story-phone { position: relative; width: min(300px, 70vw); }
.story-phone .iphone { position: relative; right: auto; bottom: auto; width: 100%; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: 0.25; transition: opacity 0.5s var(--ease); }
.story-step.is-active { opacity: 1; }
.story-step h3 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; }
.story-step p { font-size: 1.1875rem; color: var(--text-2); max-width: 28em; }
.story-n { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-weight: 600; font-size: 0.9375rem; }
.story-step.is-active .story-n { background: var(--blue); color: #fff; }
.order-toast { position: absolute; left: 50%; top: -18px; width: 118%; transform: translate(-50%, -20px) scale(0.96); opacity: 0; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(0, 0, 0, 0.08); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); z-index: 5; }
.order-toast .ot-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--text); display: grid; place-items: center; }
.order-toast .ot-icon svg { width: 20px; height: 20px; }
.order-toast b { display: block; font-size: 0.875rem; }
.order-toast small, .order-toast time { color: var(--text-2); font-size: 0.75rem; }
.story-phone.show-toast .order-toast { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { position: sticky; top: 64px; z-index: 2; padding-block: 8px 16px; background: linear-gradient(var(--bg) 85%, transparent); }
  .story-phone { width: min(190px, 48vw); }
  .order-toast { width: 150%; }
  .story-step { min-height: 46vh; text-align: center; align-items: center; }
}

/* Pantallas de la compra (dentro del iPhone) */
.s-flow { padding: 6cqi 6cqi; display: grid; gap: 4cqi; }
.s-flow h5 { margin: 0; font-size: 8cqi; font-weight: 700; letter-spacing: -0.02em; color: inherit; }
.s-item { display: grid; grid-template-columns: 22cqi 1fr auto; gap: 4cqi; align-items: center; padding-block: 3cqi; border-block: 1px solid color-mix(in srgb, var(--s-fg) 10%, transparent); font-size: 4cqi; }
.s-item svg { width: 22cqi; height: 22cqi; border-radius: 3cqi; }
.s-item small { display: block; opacity: 0.6; font-size: 3.4cqi; }
.s-sum { display: flex; justify-content: space-between; font-size: 4cqi; opacity: 0.8; }
.s-sum.total { opacity: 1; font-weight: 700; font-size: 4.8cqi; }
.s-pay { display: block; text-align: center; padding: 3.6cqi; border-radius: 2.4cqi; font-size: 4.2cqi; font-weight: 600; }
.s-pay.apple { background: #000; color: #fff; }
.s-pay.gpay { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #d2d2d7; }
.s-or { display: flex; align-items: center; gap: 3cqi; font-size: 3.4cqi; opacity: 0.6; }
.s-or::before, .s-or::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.3; }
.s-field { border: 1px solid color-mix(in srgb, var(--s-fg) 18%, transparent); border-radius: 2cqi; padding: 2.4cqi 3cqi; font-size: 3cqi; opacity: 0.9; background: #fff; }
.s-field b { display: block; font-size: 4cqi; font-weight: 500; margin-top: 0.8cqi; }
.s-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; }
.s-secure { display: flex; align-items: center; justify-content: center; gap: 1.6cqi; font-size: 3.2cqi; opacity: 0.6; }
.s-secure svg { width: 3.4cqi; height: 3.4cqi; }
.s-done { text-align: center; justify-items: center; padding-top: 16cqi; }
.s-done p { font-size: 4cqi; opacity: 0.75; line-height: 1.45; }
.s-check { width: 26cqi; height: 26cqi; }
.s-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.s-check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.screen.is-active .s-check circle { animation: draw 0.7s var(--ease) 0.2s forwards; }
.screen.is-active .s-check path { animation: draw 0.45s var(--ease) 0.75s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.no-motion .s-check circle, .no-motion .s-check path { stroke-dashoffset: 0; }


/* Números que cuentan */
[data-count] { font-variant-numeric: tabular-nums; }

/* Celebración al crear el presupuesto */
.celebrate { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--r-lg); background: #e9f6ed; animation: fade-up 0.8s var(--ease) both; }
.celebrate h2 { font-size: 1.5rem; color: #0f5b27; }
.celebrate p { color: #2f6b41; }
.celebrate .s-check { width: 56px; height: 56px; }
.celebrate .s-check circle { animation: draw 0.8s var(--ease) 0.2s forwards; }
.celebrate .s-check path { animation: draw 0.5s var(--ease) 0.9s forwards; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

@media (prefers-reduced-motion: reduce) {
  .hero-stage .devices { transform: none; }
  .js .statement .sw { color: var(--text); }
  .statement { height: auto; padding-block: var(--sec); }
  .statement-sticky { position: static; height: auto; }
  .s-check circle, .s-check path { stroke-dashoffset: 0; }
  .story-step { opacity: 1; }
}

/* ===== Móvil ===== */
@media (max-width: 640px) {
  /* Portada: el teléfono es el protagonista (grande y centrado) y el portátil se oculta */
  .hero-visual { margin-top: 36px; }
  .hero-stage .devices { padding: 0; }
  .devices .laptop { display: none; }
  .devices .iphone { position: relative; right: auto; bottom: auto; width: min(68%, 270px); margin: 0 auto; }
  /* Tabla comparativa: cabe sin recortarse */
  .compare { table-layout: fixed; font-size: .8125rem; }
  .compare th, .compare td { padding: 12px 4px; overflow-wrap: break-word; }
  .compare td { font-size: .78rem; }
  .compare thead th { font-size: .8125rem; line-height: 1.2; }
  .compare tbody th { width: 27%; font-size: .75rem; }
  .compare .yes, .compare .no { display: block; margin: 0 auto 6px; }
}
/* La barra fija inferior no tapa los formularios mientras se escribe */
body.is-typing .sticky-cta, body.is-typing .wa-float { display: none !important; }

/* Configurador en móvil: barra de pasos fija, total siempre visible y opciones en 2 columnas */
.step-total { display: none; }
@media (max-width: 640px) {
  .step-nav { position: sticky; bottom: 0; z-index: 60; margin: 28px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); flex-wrap: nowrap; align-items: center; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--line); }
  .step-total { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
  .step-total small { color: var(--text-2); font-size: 0.6875rem; }
  .step-total b { font-size: 1rem; font-variant-numeric: tabular-nums; }
  .step-nav [data-next], .step-nav [data-submit] { margin-left: 0; white-space: nowrap; }
  .step-nav [data-prev]:not([hidden]) { padding-inline: 4px; }
  .choices:not(.wide) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice span { padding: 12px 12px; font-size: 0.875rem; }
  .config-layout { padding-bottom: 40px; }
  .summary { position: static; }
}

/* Portada corta: 3 pasos */
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .steps.steps-3 { grid-template-columns: 1fr; row-gap: 28px; } }
.page-hero .actions { margin-top: 24px; }

/* Rendimiento: el navegador no maqueta ni pinta las secciones fuera de pantalla hasta que te acercas */
main > section.sec:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ===== Acabados: tipografía, sombras, botones y foco más cuidados ===== */
:root {
  --sec: clamp(72px, 9vw, 120px);
  --shadow-sm: 0 1px 2px rgba(15, 31, 46, 0.06), 0 1px 1px rgba(15, 31, 46, 0.03);
  --shadow: 0 1px 2px rgba(15, 31, 46, 0.05), 0 10px 30px rgba(15, 31, 46, 0.08);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: #c9f0d8; color: var(--text); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.btn { font-weight: 500; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.btn:not(.btn-outline):not(.btn-ghost) { box-shadow: 0 1px 2px rgba(15, 31, 46, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-outline, .btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.price { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.price.is-featured { border-color: var(--blue); box-shadow: var(--shadow); }
.card { box-shadow: var(--shadow-sm); }
.lead { color: var(--text-2); }
.sec-head h2 { letter-spacing: -0.035em; }

/* Proyectos propios */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.project:hover { text-decoration: none; }
.project-shot { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.project:hover .project-shot { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 31, 46, 0.06), 0 18px 40px rgba(15, 31, 46, 0.12); }
.project-bar { display: flex; gap: 6px; padding: 9px 12px; background: #f3f2ec; border-bottom: 1px solid var(--line); }
.project-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d6cc; }
.project-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project-info { display: grid; gap: 2px; }
.project-info b { font-size: 1.0625rem; }
.project-info span { color: var(--text-2); font-size: 0.9375rem; }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Fotos reales en las tiendas de ejemplo */
.art-photo { display: block; width: 100%; height: auto; object-fit: cover; }
.s-card .art-photo { border-radius: 0.6cqi; margin-bottom: 0.9cqi; }
.sector-card .art-photo { border-radius: var(--r-lg); aspect-ratio: 16 / 10 !important; }

/* ===== Barra superior (estilo propio: clara, con desplegables y botón con flecha) ===== */
:root { --nav-h: 72px; }
body { padding-top: var(--nav-h); }
.tb { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0; background: #fff; border-bottom: 1px solid transparent; pointer-events: auto; transition: border-color 0.2s, box-shadow 0.2s; }
.tb.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 31, 46, 0.05); }
.tb-in { max-width: 1240px; height: var(--nav-h); margin-inline: auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.tb .logo { font-size: 1.125rem; gap: 10px; }
.tb .logo-mark { width: 34px; height: 34px; }
.tb-menu { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.tb-menu > a, .tb-dd > button { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--text); text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s; }
.tb-menu > a:hover, .tb-dd > button:hover, .tb-dd.open > button { background: #f1f5f3; text-decoration: none; }
.tb-chev { transition: transform 0.2s; opacity: 0.7; }
.tb-dd { position: relative; }
.tb-dd.open .tb-chev { transform: rotate(180deg); }
.tb-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; padding: 8px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(15, 31, 46, 0.14); opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.tb-dd.open .tb-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 961px) {
  .tb-dd:hover .tb-panel, .tb-dd:focus-within .tb-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .tb-dd:hover .tb-chev { transform: rotate(180deg); }
  .tb-dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}
.tb-panel a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 0.9375rem; }
.tb-panel a:hover { background: #f1f5f3; text-decoration: none; }
.tb-panel b { font-weight: 600; }
.tb-panel small { color: var(--text-3); font-size: 0.8125rem; white-space: nowrap; }
.tb-panel .tb-all { color: var(--blue); font-weight: 600; border-top: 1px solid var(--line-2); border-radius: 0 0 10px 10px; margin-top: 4px; }
.tb-right { display: flex; align-items: center; gap: 8px; flex: none; }
.tb-link { padding: 0 12px; font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.tb-link:hover { color: var(--blue); text-decoration: none; }
.tb-cta { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 20px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 0.9375rem; font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(15, 31, 46, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15); transition: background 0.2s, transform 0.2s; }
.tb-cta:hover { background: var(--blue-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.tb-cta i { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform 0.2s; }
.tb-cta:hover i { transform: rotate(45deg); }
.tb-menu > .tb-only-m, .tb-burger { display: none; }
.tb-menu > a, .tb-dd > button { white-space: nowrap; }
.tb-burger { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f1f5f3; cursor: pointer; padding: 0; position: relative; }
.tb-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s, opacity 0.2s, top 0.25s; }
.tb-burger span:nth-child(1) { top: 15px; } .tb-burger span:nth-child(2) { top: 21px; } .tb-burger span:nth-child(3) { top: 27px; }
.nav-open .tb-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .tb-burger span:nth-child(2) { opacity: 0; }
.nav-open .tb-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .tb-in { padding: 0 16px; gap: 12px; }
  .tb-link, .tb-right > .tb-cta { display: none; }
  .tb-burger { display: block; }
  .tb-right { margin-left: auto; }
  .tb-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 16px 32px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
  .nav-open .tb-menu { opacity: 1; visibility: visible; transform: none; }
  .tb-menu > a, .tb-dd > button { width: 100%; height: 52px; justify-content: space-between; font-size: 1.125rem; font-weight: 600; border-radius: 12px; }
  .tb-panel { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; opacity: 1; visibility: visible; }
  .tb-dd.open .tb-panel { display: grid; transform: none; }
  .tb-menu > .tb-only-m { display: flex; }
  .tb-menu > .tb-cta { margin-top: 16px; height: 54px; padding: 0 8px 0 20px; justify-content: space-between; font-size: 1.0625rem; color: #fff; background: var(--blue); }
  .tb-menu > .tb-cta:hover { background: var(--blue-hover); }
  .nav-open body, html.nav-open { overflow: hidden; }
}
@media (max-width: 380px) { .tb .wordmark span { display: none; } }

/* «Hoy pagas 0 €», discreto: precio tachado */
.pay-today { margin: 0; font-size: 0.875rem; color: var(--text-2); }
.pay-today s { color: var(--text-3); text-decoration-thickness: 1.5px; margin: 0 2px; }
.pay-today b { color: var(--brand); font-weight: 700; }
.ticket .pay-today { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }

/* Cabecera del configurador con portada tipo marketplace */
.config-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.config-hero .pay-today { margin-top: 14px; }
.config-cover { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 2px 4px rgba(15, 31, 46, 0.06), 0 24px 50px rgba(15, 31, 46, 0.14); transform: rotate(1.5deg); }
.config-cover svg { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) { .config-hero-in { grid-template-columns: 1fr; gap: 24px; } .config-cover { max-width: 420px; transform: none; } }
