/* SURF — estilos de la landing. Tokens y componentes base: surf-ds.css (sistema de diseño SURF). */
:root { --edge: clamp(20px, 5vw, 64px); --max: 1200px; --muted: color-mix(in srgb, var(--color-text) 74%, transparent); --header-h: 64px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-size: 16px; line-height: 1.6; text-wrap: pretty; overflow-x: hidden; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
.theme-dark a { color: var(--color-accent-300); }
.theme-dark a:hover { color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-ink); color: #fff; padding: 10px 14px; font-family: var(--font-heading); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn { min-height: 44px; padding: 10px 18px; font-size: 15px; transition: background-color .18s ease, transform .18s ease, border-color .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 16px; }
.btn-secondary { color: var(--color-text); }
.btn-secondary:hover { color: var(--color-text); }
.btn-primary, .btn-primary:hover { color: #fff; }
.btn .icon-arrow { transition: transform .18s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.theme-dark .btn-secondary { color: #fff; border-color: color-mix(in srgb, #fff 40%, transparent); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-700); }
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.theme-dark .kicker { color: var(--color-accent-300); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); margin: 0; max-width: 62ch; }
.theme-dark .lead, .theme-dark p { color: color-mix(in srgb, var(--color-text) 82%, transparent); }
.mono { font-family: var(--font-mono); }

/* — encabezado — */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--color-bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-divider); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { font-size: 22px; text-decoration: none; margin-right: auto; color: var(--color-text); }
.brand:hover { color: var(--color-text); }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--color-text); text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--color-accent-700); }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; color: var(--color-text); background: transparent; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.main-nav .mobile-nav-cta { display: none; }
@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .js .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); padding: 8px var(--edge) 24px; display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li + li { border-top: 1px solid var(--color-divider); }
  .main-nav a { min-height: 52px; padding: 0; font-size: 17px; width: 100%; }
  .main-nav .mobile-nav-cta { display: flex; justify-content: center; margin-top: 16px; width: 100%; color: #fff; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .main-nav { width: 100%; padding-bottom: 8px; }
  html:not(.js) .main-nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .main-nav li + li { border: 0; }
  html:not(.js) .main-nav .mobile-nav-cta { display: none; }
}

/* — hero — */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(78vh, 760px); padding: clamp(72px, 10vw, 136px) 0 clamp(72px, 10vw, 128px); }
.hero > .wrap { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .26; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.hero-copy { max-width: 860px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 15ch; line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 24px; }
.hero .lead { margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.micro { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.micro::before { content: ""; width: 8px; height: 8px; background: var(--color-accent-2); }
@media (max-width: 480px) { .cta-row .btn { width: 100%; } }

/* — visual: operación → sistemas → datos → decisiones — */
.flow-figure { padding: 28px; }
.flow { --g: 36px; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: var(--g); }
.node { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--color-bg); border: 1px solid var(--color-divider); min-width: 0; }
.node-1 { grid-area: 1 / 1; } .node-2 { grid-area: 1 / 2; } .node-3 { grid-area: 2 / 2; } .node-4 { grid-area: 2 / 1; }
.node-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.node-label { font-family: var(--font-heading); font-weight: 700; font-size: 15px; }
.node-step { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.node-4 { border-color: var(--color-accent); }
.ui-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.ui-rows li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent); }
.ui-rows li:last-child { border-bottom: 0; }
.ui-rows .mono { font-size: 12px; color: var(--muted); }
.chip { font-size: 11px; padding: 2px 8px; white-space: nowrap; }
.chip-a { background: var(--color-accent-100); color: var(--color-accent-800); }
.chip-n { background: var(--color-neutral-200); color: var(--color-neutral-800); }
.chip-d { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.sys-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sys-list span { font-size: 12px; padding: 4px 8px; border: 1px solid var(--color-divider); }
.sys-sync { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--color-accent-2-700); }
.sys-sync::before { content: ""; width: 6px; height: 6px; background: var(--color-accent-2); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 72px; padding-top: 4px; border-bottom: 1px solid var(--color-divider); }
.bars span { flex: 1; background: var(--color-accent); transform-origin: bottom; }
.bars span:nth-child(even) { background: var(--color-accent-300); }
.bars-legend { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.alert { display: grid; gap: 4px; padding: 10px 12px; background: var(--color-accent-100); font-size: 13px; }
.alert strong { font-family: var(--font-heading); font-size: 14px; }
.alert-actions { display: flex; gap: 6px; margin-top: 4px; }
.alert-actions span { font-family: var(--font-heading); font-weight: 700; font-size: 12px; padding: 4px 10px; background: var(--color-accent); color: #fff; }
.alert-actions span + span { background: transparent; color: var(--color-accent-800); border: 1px solid var(--color-accent-300); }
.wire { position: absolute; z-index: 0; background: var(--color-accent); }
.wire-h { height: 1px; width: var(--g); }
.wire-v { width: 1px; height: var(--g); }
.wire-1 { left: calc(50% - var(--g) / 2); top: 44px; }
.wire-2 { right: 25%; top: calc(50% - var(--g) / 2); }
.wire-3 { left: calc(50% - var(--g) / 2); bottom: 44px; }
.pulse { position: absolute; width: 6px; height: 6px; background: var(--color-accent); }
.wire-h .pulse { top: -3px; left: 0; }
.wire-v .pulse { left: -3px; top: 0; }
.flow-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.example-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--color-neutral-700); }
.example-badge::before { content: ""; width: 10px; height: 10px; border: 1px dashed var(--color-neutral-600); }
@media (max-width: 560px) {
  .flow-figure { padding: 18px; }
  .flow { grid-template-columns: minmax(0, 1fr); --g: 24px; }
  .node-1, .node-2, .node-3, .node-4 { grid-area: auto; }
  .wire { display: none; }
  .node:not(.node-4)::after { content: ""; position: absolute; left: 24px; top: 100%; width: 1px; height: var(--g); background: var(--color-accent); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .pulse { animation: travel-h 2.8s cubic-bezier(.5,0,.5,1) infinite; }
  .js .wire-v .pulse { animation-name: travel-v; animation-delay: .9s; }
  .js .wire-3 .pulse { animation-delay: 1.8s; }
  .js .bars span { animation: grow 1.2s cubic-bezier(.2,.7,.2,1) both; }
  .js .bars span:nth-child(2) { animation-delay: .08s; } .js .bars span:nth-child(3) { animation-delay: .16s; } .js .bars span:nth-child(4) { animation-delay: .24s; } .js .bars span:nth-child(5) { animation-delay: .32s; } .js .bars span:nth-child(6) { animation-delay: .4s; }
  .js .sys-sync::before { animation: blink 2.4s ease-in-out infinite; }
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes travel-h { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(calc(var(--g) - 6px)); opacity: 0; } }
@keyframes travel-v { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(calc(var(--g) - 6px)); opacity: 0; } }
@keyframes grow { from { transform: scaleY(.08); } to { transform: scaleY(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* — clientes — */
.clients { padding: 48px 0 56px; border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.clients-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.clients h2 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.client-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--color-divider); border: 1px solid var(--color-divider); }
.client-list li { display: flex; align-items: center; justify-content: center; min-height: 112px; padding: 16px; background: var(--color-bg); text-align: center; }
.client-name { font-family: var(--font-heading); font-weight: 800; font-size: 17px; letter-spacing: .08em; color: var(--color-neutral-800); }
.client-list img { max-width: 100%; height: auto; }

/* — problemas — */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.problem-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.problem { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 32px 0; border-top: 1px solid var(--color-divider); }
.problem:last-child { border-bottom: 1px solid var(--color-divider); }
.problem-num { font-family: var(--font-mono); font-size: 14px; color: var(--color-accent-700); padding-top: 4px; }
.problem h3 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
.problem p { margin: 0; color: var(--muted); }
.improve { grid-column: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin-top: 16px; padding: 14px 16px; background: var(--color-accent-100); }
.improve .icon { color: var(--color-accent-700); margin-top: 3px; }
.improve p { color: var(--color-text); }
.improve strong { font-family: var(--font-heading); font-weight: 700; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split .section-head { position: static; } }
@media (max-width: 480px) { .problem { grid-template-columns: minmax(0, 1fr); } .improve { grid-column: 1; } }

/* — soluciones — */
.solutions { background: var(--color-surface); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.service { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.6vw, 32px); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-top .icon { width: 28px; height: 28px; color: var(--color-accent); }
.service-top .mono { font-size: 13px; color: var(--muted); }
.service h3 { font-size: 24px; margin: 0; letter-spacing: -0.015em; }
.service .benefit { font-family: var(--font-heading); font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--color-accent-700); margin: 0; }
.service p { margin: 0; color: var(--muted); }
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 15px; }
.cap-list li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--color-text) 9%, transparent); }
.cap-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; background: var(--color-accent); }
.tech { margin-top: auto !important; padding-top: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--color-neutral-700) !important; }
.combine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--color-divider); }
.combine h3 { font-size: 24px; margin: 0 0 8px; }
.combine p { margin: 0; color: var(--muted); }
.combine-diagram { display: flex; align-items: center; }
.combine-diagram span { flex: none; padding: 10px 14px; border: 1px solid var(--color-text); font-family: var(--font-heading); font-weight: 700; font-size: 14px; background: var(--color-bg); }
.combine-diagram i { flex: 1; min-width: 16px; height: 1px; background: var(--color-accent); position: relative; }
.combine-diagram i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; background: var(--color-accent); }
@media (max-width: 960px) { .service-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .combine { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .combine-diagram { flex-direction: column; align-items: stretch; } .combine-diagram span { text-align: center; } .combine-diagram i { width: 1px; height: 20px; min-width: 0; flex: none; margin: 0 auto; } .combine-diagram i::after { right: -3px; top: auto; bottom: -1px; } }

/* — enfoque (fondo tinta) — */
.approach { background: var(--color-bg); color: var(--color-text); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.approach h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 24px; }
.approach-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-divider); }
.approach-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--color-divider); }
.approach-steps .mono { font-size: 14px; color: var(--color-accent-300); padding-top: 3px; }
.approach-steps h3 { font-size: 20px; margin: 0 0 4px; }
.approach-steps p { margin: 0; }
.approach-note { margin-top: 32px; padding: 20px 24px; border-left: 0; }
.approach-note p { margin: 0; color: var(--color-text) !important; font-size: 17px; }
@media (max-width: 860px) { .approach-grid { grid-template-columns: minmax(0, 1fr); } }

/* — experiencia — */
.exp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.years { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 24px; }
.years-num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(96px, 13vw, 168px); line-height: .8; letter-spacing: -0.05em; color: var(--color-accent); }
.years-label { font-family: var(--font-heading); font-weight: 700; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; padding-bottom: 4px; }
.exp-grid h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; margin: 0 0 16px; }
.ledger-title { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-text); }
.ledger li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--color-divider); font-size: 17px; }
.ledger .mono { font-size: 13px; color: var(--muted); }
.ledger .tag { justify-self: end; }
@media (max-width: 860px) { .exp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .ledger li { grid-template-columns: 32px minmax(0, 1fr); } .ledger .tag { grid-column: 2; justify-self: start; } }
.gallery { margin-top: clamp(56px, 7vw, 88px); }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.gallery-head h3 { font-size: 24px; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.shot { display: flex; flex-direction: column; }
.shot-frame { padding: 0; flex: 1; }
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: block; }
.shot-frame img { width: 100%; height: auto; }
.shot figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: minmax(0, 1fr); } }
/* interfaces ilustrativas */
.mock { font-size: 12px; background: var(--color-bg); }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--color-divider); font-family: var(--font-heading); font-weight: 700; font-size: 13px; }
.mock-bar .dots { display: flex; gap: 4px; } .mock-bar .dots i { width: 7px; height: 7px; border: 1px solid var(--color-neutral-500); }
.mock-bar .mono { margin-left: auto; font-weight: 500; font-size: 11px; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 120px minmax(0, 1fr); min-height: 260px; }
.mock-side { border-right: 1px solid var(--color-divider); padding: 12px; display: grid; align-content: start; gap: 4px; }
.mock-side span { padding: 6px 8px; color: var(--muted); }
.mock-side span.on { background: var(--color-accent-100); color: var(--color-accent-800); font-weight: 600; }
.mock-main { padding: 14px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; font-weight: 500; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 6px; border-bottom: 1px solid var(--color-divider); }
.mock-table td { padding: 8px 6px; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 7%, transparent); white-space: nowrap; }
.mock-table td:nth-child(2) { white-space: normal; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { border: 1px solid var(--color-divider); padding: 8px 10px; display: grid; gap: 2px; }
.kpi span { color: var(--muted); font-size: 11px; }
.kpi strong { font-family: var(--font-mono); font-weight: 500; font-size: 16px; }
.chart { position: relative; height: 120px; border-bottom: 1px solid var(--color-divider); display: flex; align-items: flex-end; gap: 6px; padding: 0 2px; }
.chart span { flex: 1; background: var(--color-accent); }
.chart span.b { background: var(--color-accent-2); }
.chart-legend { display: flex; gap: 14px; color: var(--muted); font-size: 11px; }
.chart-legend i { display: inline-block; width: 8px; height: 8px; background: var(--color-accent); margin-right: 6px; }
.chart-legend i.b { background: var(--color-accent-2); }
@media (max-width: 460px) { .mock-body { grid-template-columns: minmax(0, 1fr); } .mock-side { display: none; } .mock-table .hide-sm { display: none; } }

/* — cómo trabajamos — */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--color-text); }
.step { position: relative; padding: 28px 24px 8px 0; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--color-accent); }
.step-num { display: block; font-family: var(--font-mono); font-size: 14px; color: var(--color-accent-700); margin-bottom: 20px; }
.step h3 { font-size: 21px; line-height: 1.25; margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step .tag { margin-top: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--color-text); } .step { padding: 0 0 28px 28px; } .step::before { top: 6px; left: -4px; } .step-num { margin-bottom: 8px; } }

/* — FAQ — */
.faq-list { border-top: 1px solid var(--color-divider); }
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-accent-700); }
.faq-item summary h3 { font-size: inherit; line-height: inherit; margin: 0; letter-spacing: 0; }
.plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; transition: transform .2s ease; }
.plus::before { left: 0; top: 7.5px; width: 16px; height: 1px; }
.plus::after { left: 7.5px; top: 0; width: 1px; height: 16px; }
.faq-item[open] .plus::after { transform: scaleY(0); }
.faq-answer { padding: 0 40px 24px 0; }
.faq-answer p { margin: 0; color: var(--muted); max-width: 68ch; }

/* — contacto — */
.contact-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); padding: clamp(24px, 4vw, 56px); }
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.contact-points { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 10px; }
.contact-points li { display: flex; gap: 10px; align-items: center; }
.contact-points li::before { content: ""; width: 8px; height: 8px; background: var(--color-accent-2); flex: none; }
.contact-alt { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--color-divider); }
.contact-alt p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-alt .btn { justify-self: start; }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.field > label { font-size: 14px; font-weight: 500; color: var(--color-text); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.input { min-height: 48px; font-size: 16px; padding: 10px 12px; background: #fff; }
textarea.input { min-height: 132px; line-height: 1.5; }
.input[aria-invalid="true"] { border-color: #b42318; }
.hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.error { display: block; margin-top: 6px; font-size: 13px; color: #b42318; font-weight: 500; }
.error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-accent); cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 10px; }
.form-actions .btn { justify-self: start; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.form-status { margin: 0; padding: 14px 16px; font-size: 15px; border: 1px solid var(--color-divider); }
.form-status:empty { display: none; }
.form-status[data-type="ok"] { border-color: var(--color-accent-2-600); background: var(--color-accent-2-100); color: var(--color-accent-2-900); }
.form-status[data-type="error"] { border-color: #b42318; background: #fdf0ef; color: #7a1a12; }
.form-status[data-type="info"] { border-color: var(--color-accent-300); background: var(--color-accent-100); color: var(--color-accent-900); }
.form-status a { color: inherit; font-weight: 600; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 900px) { .contact-box { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .form-actions .btn { justify-self: stretch; } }

/* — footer — */
.site-footer { background: var(--color-bg); color: var(--color-text); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: 40px; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-grid .brand { font-size: 24px; display: inline-flex; margin-bottom: 16px; color: #fff; }
.footer-grid p { margin: 0; max-width: 38ch; font-size: 15px; }
.footer-grid h2 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 70%, transparent); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.footer-grid a { color: var(--color-text); text-decoration: none; display: inline-block; padding: 3px 0; }
.footer-grid a:hover { color: var(--color-accent-300); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--color-divider); font-size: 14px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* — WhatsApp flotante — */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 16px; background: var(--color-accent); color: #fff; border: 1px solid var(--color-accent); font-family: var(--font-heading); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: var(--shadow-md); transition: opacity .25s ease, transform .25s ease, background-color .18s; }
.wa-float:hover { background: var(--color-accent-600); color: #fff; }
.wa-float .icon { width: 22px; height: 22px; }
.js .wa-float { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
.js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
@media (max-width: 640px) { .wa-float { width: 52px; padding: 0; justify-content: center; right: 12px; bottom: 12px; } .wa-float .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
html:not(.js) .wa-float { display: none; }

/* — páginas secundarias — */
.page-simple { padding: clamp(48px, 7vw, 96px) 0; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 16px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (max-width: 640px) { .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .client-list li { min-height: 96px; } }
