/* VOICE   occasion-commercial: confident studio landing, dark by default
   IDEA    the page behaves like a business's control panel: live numbers, orders, stock, agenda
   PICTURE hero: an app window with tabs (Tienda/Stock/Turnos/Presupuestos) showing real-looking screens
   COLOUR  graphite ground #0f1012, warm off-white ink, vermilion #ff5a36 leads, mint #5be3b0 marks results
   TYPE    Schibsted Grotesk 800 display + Inter text
   LAYOUT  laptop: title + CTAs left, panel right; phone: title, panel, CTAs stacked; quoter = controls | sticky result */

/* ============ TOKENS (editá colores acá) ============ */
:root {
  color-scheme: dark;
  --bg: #0f1012;
  --bg-2: #131417;
  --surface: #17191c;
  --surface-2: #1e2125;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f4f2ee;
  --muted: #a6a8ae;
  --dim: #7d8088;
  --brand: #ff5a36;
  --brand-2: #ff7a5c;
  --brand-soft: rgba(255, 90, 54, .14);
  --accent: #5be3b0;
  --accent-soft: rgba(91, 227, 176, .13);
  --warn: #ffc24b;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -.02em; margin: 0; font-weight: 800; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.band { padding-block: clamp(64px, 9vw, 120px); padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1240px; margin-inline: auto; }

/* ============ BOTONES ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 0 0 0 var(--brand-soft); }
.btn-primary:hover { background: var(--brand-2); box-shadow: 0 0 0 6px var(--brand-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .04); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { background: #3be27c; box-shadow: 0 0 0 6px rgba(37, 211, 102, .16); }
.btn-wa:hover svg { transform: none; }

/* ============ NAVBAR ============ */
.nav { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(15, 16, 18, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(15, 16, 18, .92); }
.nav-in { max-width: 1240px; margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); box-sizing: content-box; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-links .nav-cta-mobile { display: none; }
.nav-links a.btn-primary { color: #fff; background: var(--brand); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; padding: 12px max(5vw, 16px) 20px; background: rgba(15, 16, 18, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; font-size: 17px; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 10px; }
}

/* ============ HERO ============ */
.hero { position: relative; margin-top: calc(-1 * (var(--nav-h) + env(safe-area-inset-top, 0px))); padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(48px, 6vw, 80px); background:
  radial-gradient(900px 520px at 85% 10%, rgba(255, 90, 54, .16), transparent 60%),
  radial-gradient(700px 480px at 10% 100%, rgba(91, 227, 176, .08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(91, 227, 176, 0); } }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); max-width: 15ch; }
.lead { margin-top: 22px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; max-width: 560px; }
.hero-proof strong { display: block; font: 700 16px/1.25 var(--display); }
.hero-proof span { color: var(--dim); font-size: 14px; }

/* Panel preview */
.preview { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: 22px; padding: 0 0 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.preview-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d42; }
.lights i:first-child { background: var(--brand); }
.preview-url { font-size: 13px; color: var(--dim); background: rgba(255, 255, 255, .04); padding: 5px 12px; border-radius: 8px; }
.preview-tabs { display: flex; gap: 4px; padding: 14px 18px 0; overflow-x: auto; scrollbar-width: none; }
.preview-tabs button { position: relative; flex: none; background: none; border: 0; color: var(--muted); font: 600 14px/1 var(--text); padding: 10px 14px; border-radius: 10px; cursor: pointer; transition: color .2s, background .2s; }
.preview-tabs button:hover { color: var(--ink); }
.preview-tabs button[aria-selected="true"] { color: var(--ink); background: rgba(255, 255, 255, .07); }
.preview-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--brand); transform-origin: left; animation: tabbar var(--tab-ms, 5200ms) linear; }
.preview.paused .preview-tabs button[aria-selected="true"]::after { animation: none; }
@keyframes tabbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.preview-body { padding: 18px; min-height: 330px; }
.pv { animation: pvIn .45s var(--ease); }
@keyframes pvIn { from { opacity: 0; transform: translateY(8px); } }
.pv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.pv-head small { display: block; color: var(--dim); font-size: 13px; }
.pv-head .num { font: 800 clamp(26px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.tag { flex: none; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.tag.up { color: var(--accent); background: var(--accent-soft); }
.tag.warn { color: var(--warn); background: rgba(255, 194, 75, .13); }
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prod { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 14px; padding: 10px; font-size: 13px; transition: transform .25s var(--ease), border-color .25s; }
.prod:hover { transform: translateY(-3px); border-color: var(--line-2); }
.prod span { display: block; color: var(--muted); margin-top: 8px; line-height: 1.3; }
.prod b { display: block; margin-top: 4px; font-size: 14px; white-space: nowrap; }
.thumb { aspect-ratio: 1; border-radius: 10px; }
.t1 { background: radial-gradient(circle at 50% 62%, #7a4a2b 0 34%, transparent 35%), radial-gradient(circle at 50% 40%, #4f6b2a 0 18%, transparent 19%), linear-gradient(160deg, #2c2420, #1f1b18); }
.t2 { background: linear-gradient(115deg, transparent 47%, #c9ccd1 47% 53%, transparent 53%), radial-gradient(circle at 30% 72%, #c9ccd1 0 9%, transparent 10%), linear-gradient(160deg, #22262b, #191c20); }
.t3 { background: radial-gradient(ellipse 34% 40% at 50% 58%, #9a5a34 0 98%, transparent 100%), linear-gradient(#6d3f24, #6d3f24) 50% 22%/22% 14% no-repeat, linear-gradient(160deg, #2a2320, #1d1a17); }
.toast { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(91, 227, 176, .08); border: 1px solid rgba(91, 227, 176, .25); animation: toastIn .6s .25s var(--ease) both; }
.toast b { display: block; font-size: 14px; }
.toast small { color: var(--muted); font-size: 13px; }
.ok-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.stock { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stock li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 3ch; align-items: center; gap: 12px; font-size: 14px; }
.stock span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock i { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.stock i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--accent); border-radius: 8px; animation: grow .9s var(--ease); }
.stock li.low i::after { background: var(--warn); }
.stock li.low span, .stock li.low b { color: var(--warn); }
.stock b { text-align: right; font-variant-numeric: tabular-nums; }
@keyframes grow { from { width: 0; } }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agenda li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; }
.agenda time { grid-row: span 2; font-weight: 700; font-variant-numeric: tabular-nums; }
.agenda em { font-style: normal; color: var(--dim); font-size: 13px; }
.agenda li.now { border-color: rgba(255, 90, 54, .5); background: var(--brand-soft); }
.agenda li.now em { color: var(--brand-2); }
.quote { width: 100%; border-collapse: collapse; font-size: 14px; }
.quote td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.quote td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.pv-foot { margin-top: 14px; color: var(--accent); font-size: 14px; }
.preview-note { padding: 0 18px; color: var(--dim); font-size: 13px; }

.rubros { display: flex; align-items: center; gap: 18px; margin-top: clamp(48px, 6vw, 72px); color: var(--dim); font-size: 14px; flex-wrap: wrap; }
.rubros ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rubros li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ============ ENCABEZADOS DE SECCIÓN ============ */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(32px, 4vw, 50px); max-width: 20ch; }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 52ch; }

/* ============ SERVICIOS ============ */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, transform .3s var(--ease), background .3s; overflow: hidden; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at var(--mx, 80%) var(--my, 0%), var(--glow, rgba(255, 90, 54, .10)), transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.svc:hover { border-color: var(--line-2); transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc-soft { --glow: rgba(91, 227, 176, .10); }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-ico { width: 44px; height: 44px; color: var(--brand); }
.svc-soft .svc-ico { color: var(--accent); }
.from { font-size: 14px; color: var(--dim); }
.from b { color: var(--ink); font-size: 16px; white-space: nowrap; }
.svc h3 { font-size: clamp(24px, 2.4vw, 30px); }
.svc > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 12px; flex: 1; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5 7.8 12 13 6.5' fill='none' stroke='%23ff7a5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.svc-soft .checks li::before { background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5 7.8 12 13 6.5' fill='none' stroke='%235be3b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.svc .btn { align-self: flex-start; }
.svc-care { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; background: linear-gradient(120deg, var(--surface), var(--bg-2)); }
.svc-care-copy p { color: var(--muted); margin-top: 12px; max-width: 52ch; }
.care-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.care-list li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: rgba(255, 255, 255, .02); }
.care-list b { display: block; font-family: var(--display); font-size: 17px; }
.care-list span { color: var(--dim); font-size: 14px; }

/* ============ COTIZADOR ============ */
.quoter-band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.quoter { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.q-controls { display: grid; gap: 14px; }
.q-step { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 22px 22px; margin: 0; }
.q-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font: 700 18px/1.2 var(--display); margin-bottom: 16px; padding: 0; }
.q-step legend + * { clear: both; }
.q-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-2); font-size: 14px; flex: none; }
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.opt-card { display: block; height: 100%; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.opt:hover .opt-card { border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.opt input:checked + .opt-card { border-color: var(--brand); background: var(--brand-soft); }
.opt input:focus-visible + .opt-card { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-card b { display: block; font-size: 16px; }
.opt-card small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.4; }
.opt-card em { display: block; font-style: normal; color: var(--dim); font-size: 13px; margin-top: 8px; white-space: nowrap; }
.range-row { display: flex; align-items: center; gap: 18px; }
.range-row output { min-width: 3ch; font: 800 30px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; height: 44px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--brand) var(--p), rgba(255, 255, 255, .1) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--brand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.hint { color: var(--dim); font-size: 14px; margin-top: 4px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg .opt-card { padding: 12px 14px; }
.seg .opt-card b { font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.chip span::before { content: "+"; font-weight: 700; color: var(--dim); width: 10px; text-align: center; }
.chip:hover span { border-color: rgba(255, 255, 255, .32); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.chip input:checked + span::before { content: "✓"; color: var(--accent); }
.chip input:disabled + span { opacity: 1; cursor: default; border-style: dashed; color: var(--muted); }
.chip input:disabled + span::before { content: "✓"; color: var(--dim); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip small { color: var(--dim); font-size: 12.5px; }

.q-result { position: sticky; top: calc(var(--nav-h) + 20px); }
.q-result-in { border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); background: radial-gradient(400px 220px at 100% 0%, rgba(255, 90, 54, .16), transparent 70%), var(--surface-2); }
.q-res-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-res-label { color: var(--muted); font-size: 15px; font-weight: 500; }
.cur-toggle { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); }
.cur-toggle button { border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--text); padding: 8px 12px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.cur-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.q-price { margin-top: 14px; font: 800 clamp(28px, 2.9vw, 38px)/1.1 var(--display); letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.q-price span { white-space: nowrap; }
.q-price .q-sep { font: 500 16px var(--text); color: var(--dim); }
.q-price.bump span:not(.q-sep) { animation: bump .45s var(--ease); }
@keyframes bump { 40% { color: var(--brand-2); } }
.q-time { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); }
.q-time svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.q-time b { color: var(--ink); }
.q-meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); margin-top: 18px; overflow: hidden; }
.q-meter i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--accent), var(--brand)); border-radius: 6px; transition: width .5s var(--ease); }
.q-breakdown { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; font-size: 14px; }
.q-breakdown li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.q-breakdown li b { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-breakdown li.inc b { color: var(--accent); font-weight: 500; }
.q-disclaimer { margin-top: 16px; font-size: 13px; color: var(--dim); line-height: 1.5; }
.q-actions { display: grid; gap: 10px; margin-top: 20px; }
.q-actions .btn { width: 100%; }

.q-sticky { display: none; }
@media (max-width: 900px) {
  .q-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px max(5vw, 16px) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(23, 25, 28, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .3s var(--ease); }
  .q-sticky.show { transform: none; }
  .q-sticky small { display: block; color: var(--dim); font-size: 13px; }
  .q-sticky b { font: 800 18px/1.2 var(--display); white-space: nowrap; }
}

/* ============ PROYECTOS ============ */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.proj { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.proj:hover { transform: translateY(-4px); border-color: var(--line-2); }
.proj-visual { position: relative; height: 170px; border-bottom: 1px solid var(--line); overflow: hidden; }
.proj-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.proj:hover .proj-visual svg { transform: scale(1.04); }
.proj-badge { position: absolute; top: 14px; left: 14px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(15, 16, 18, .8); border: 1px solid var(--line-2); }
.proj-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.proj-body h3 { font-size: 22px; }
.proj-rows { display: grid; gap: 10px; margin: 0; flex: 1; }
.proj-rows div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.proj-rows dt { color: var(--dim); font-size: 14px; }
.proj-rows dd { margin: 0; color: var(--muted); }
.proj-rows .res dd { color: var(--accent); font-weight: 500; }
.proj-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-tags span { font-size: 13px; color: var(--dim); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }

/* Modal */
.modal { width: min(720px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: var(--surface-2); color: var(--ink); overflow: auto; }
.modal::backdrop { background: rgba(5, 6, 8, .72); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-in { padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.modal-close { position: sticky; top: 0; justify-self: end; margin-bottom: -44px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 22px; cursor: pointer; }
.modal h3 { font-size: clamp(26px, 3vw, 34px); padding-right: 52px; }
.modal-lead { color: var(--muted); }
.modal-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.modal-box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.modal-box b { display: block; font-family: var(--display); margin-bottom: 8px; }
.modal-box ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; font-size: 15px; }
.demo-box { border: 1px dashed var(--line-2); border-radius: 14px; padding: 16px; background: rgba(255, 255, 255, .02); }
.demo-box > b { display: block; margin-bottom: 12px; font-family: var(--display); }
.demo-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.demo-out { margin-top: 12px; color: var(--accent); font-size: 15px; min-height: 1.6em; }
.demo-row button { min-height: 40px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ PROCESO ============ */
.process-band { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: .5; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); font: 800 22px/1 var(--display); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.step:hover .step-n { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.step h3 { font-size: 22px; margin-top: 8px; }
.step p { color: var(--muted); flex: 1; }
.step-out { font-size: 14px; color: var(--accent); border-top: 1px solid var(--line); padding-top: 12px; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 clamp(17px, 1.6vw, 19px)/1.35 var(--display); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23f4f2ee' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.faq summary:hover { color: var(--brand-2); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand); border-color: var(--brand); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 48px 24px 0; max-width: 68ch; }

/* ============ CTA FINAL ============ */
.cta-band { background: radial-gradient(800px 420px at 0% 0%, rgba(255, 90, 54, .2), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(91, 227, 176, .1), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.cta-copy h2 { font-size: clamp(34px, 4.4vw, 54px); max-width: 16ch; }
.cta-copy > p { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 46ch; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; max-width: 460px; }
.contact-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--dim); }
.contact-list a, .contact-list b { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand-2); }
.contact-form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; font: 16px/1.5 var(--text); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #6c6f76; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.invalid input { border-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 14px; color: var(--dim); }
.form-note.filled { color: var(--accent); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-alt { color: var(--dim); font-size: 14px; }
.form-alt a { color: var(--ink); }
.form-done { border: 1px solid rgba(91, 227, 176, .35); background: var(--accent-soft); border-radius: 14px; padding: 16px; }
.form-done p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.form-done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* ============ FOOTER ============ */
.footer { padding-block: 56px 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid > div, .foot-grid nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-grid b { font-family: var(--display); margin-bottom: 4px; }
.foot-grid a, .foot-grid span { color: var(--muted); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--ink); }
.foot-tag { color: var(--dim); max-width: 34ch; margin-top: 8px; font-size: 15px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot-bottom a { color: var(--muted); text-decoration: none; }

/* ============ ANIMACIONES DE SCROLL (mejora progresiva) ============ */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 18ch; }
  .preview { max-width: 640px; }
  .quoter { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .quoter { grid-template-columns: minmax(0, 1fr); }
  .q-result { position: static; }
  .svc-care { grid-template-columns: minmax(0, 1fr); }
  .faq-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}
@media (max-width: 720px) {
  .services, .projects { grid-template-columns: minmax(0, 1fr); }
  .type-grid { grid-template-columns: minmax(0, 1fr); }
  .seg { grid-template-columns: minmax(0, 1fr); }
  .hero-proof { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-proof li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
  .modal-cols, .field-row { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .preview-body { min-height: 300px; padding: 16px 14px; }
  .shop { gap: 8px; }
  .prod { padding: 8px; }
  .care-list { grid-template-columns: minmax(0, 1fr); }
  .faq-a p { padding-right: 0; }
  .hero-ctas .btn { flex: 1 1 220px; }
  .contact-list li { grid-template-columns: 90px minmax(0, 1fr); }
  .footer { padding-bottom: calc(28px + 64px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 420px) {
  .shop .prod:nth-child(3) { display: none; }
  .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
