/* =========================================================
   Boartech · Sitio corporativo
   Desarrollado por Nifty Agency
   ========================================================= */

/* Tipografías autoalojadas (Sora + Plus Jakarta Sans, SIL OFL) */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/sora-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

:root {
  --bg: #EEF0F3;
  --bg-2: #E3E6EB;
  --surface: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.62);
  --ink: #151A28;
  --ink-2: #3C4458;
  --muted: #5B6478;
  --line: rgba(21, 26, 40, 0.10);
  --navy: #002878;
  --navy-2: #2F55C8;
  --orange: #F85A00;
  --orange-2: #FF8A2B;
  --amber: #FFB45C;
  --wa: #25D366;
  --night: #0B1026;
  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 30px 60px -36px rgba(21, 26, 40, 0.45);
  --shadow-sm: 0 10px 24px -16px rgba(21, 26, 40, 0.45);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --f-display: 'Sora', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: linear-gradient(170deg, #F5F6F8 0%, var(--bg) 40%, var(--bg-2) 100%) fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 0; color: #111624; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: linear-gradient(95deg, var(--navy) 0%, var(--navy-2) 48%, var(--orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Fondo animado ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.aura.a1 { width: 560px; height: 560px; right: -120px; top: -160px; background: rgba(0, 40, 120, 0.18); animation: drift1 22s ease-in-out infinite alternate; }
.aura.a2 { width: 460px; height: 460px; right: 22%; bottom: -200px; background: rgba(248, 90, 0, 0.13); animation: drift2 26s ease-in-out infinite alternate; }
.aura.a3 { width: 380px; height: 380px; left: -140px; top: 38%; background: rgba(148, 163, 184, 0.32); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-70px, 50px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(90px, -40px) scale(0.92); } }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(21, 26, 40, 0.09) 1px, transparent 1.2px); background-size: 26px 26px; mask-image: radial-gradient(60% 55% at 75% 20%, #000 0%, transparent 80%); -webkit-mask-image: radial-gradient(60% 55% at 75% 20%, #000 0%, transparent 80%); }
.flow { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; }
.flow path { fill: none; stroke: rgba(21, 26, 40, 0.08); stroke-width: 1.2; stroke-dasharray: 6 14; animation: flow 38s linear infinite; }
.flow path.accent { stroke: rgba(248, 90, 0, 0.45); stroke-width: 1.4; stroke-dasharray: 120 1400; animation: flowAccent 9s cubic-bezier(.45, 0, .2, 1) infinite; }
.flow path.accent.b { stroke: rgba(0, 40, 120, 0.4); animation-duration: 12s; animation-delay: -4s; }
@keyframes flow { to { stroke-dashoffset: -600; } }
@keyframes flowAccent { from { stroke-dashoffset: 1520; } to { stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0; transition: padding .25s; }
.site-header.scrolled { padding: 8px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; padding: 0 10px 0 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px -18px rgba(21, 26, 40, 0.35); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.brand img { width: 172px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 11px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(21, 26, 40, 0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ink); place-items: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15.5px; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 11px; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 16px 32px -14px rgba(21, 26, 40, 0.75); }
.btn-dark .arr { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--orange-2), var(--orange)); display: grid; place-items: center; font-size: 14px; }
.btn-ghost { background: rgba(255, 255, 255, 0.6); border-color: rgba(21, 26, 40, 0.16); color: var(--ink); }
.btn-ghost .live { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18); }
.btn-orange { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: 0 16px 32px -14px rgba(248, 90, 0, 0.7); }
.btn-light { background: #fff; color: var(--ink); }

/* ---------- Tipografía de secciones ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 30px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 600; box-shadow: 0 6px 18px -12px rgba(21, 26, 40, 0.4); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(248, 90, 0, 0.15); }
.eyebrow b { background: var(--ink); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 20px; }
.kicker { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-weight: 800; margin-bottom: 12px; display: block; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.04; letter-spacing: -0.045em; margin: 24px 0 22px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: #4A5367; max-width: 580px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero-proof div { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.hero-proof strong { display: block; font-family: var(--f-display); font-size: 26px; color: var(--ink); letter-spacing: -0.03em; }

.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.045em; margin: 20px 0 18px; max-width: 900px; }
.page-hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: #4A5367; max-width: 720px; }
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 6px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Panel de vidrio ---------- */
.glass { background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow), inset 0 1px 0 #fff; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 24px; }
.panel { padding: 22px; position: relative; animation: floaty 7s ease-in-out infinite alternate; }
@keyframes floaty { to { transform: translateY(-8px); } }
.panel-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #7A8397; font-weight: 700; margin: 2px 4px 14px; display: flex; justify-content: space-between; }
.panel-title span { color: var(--orange); }
.row-link { display: grid; grid-template-columns: 46px 1fr 20px; gap: 14px; align-items: center; padding: 13px 12px; border-radius: 16px; transition: background .2s, box-shadow .2s; }
.row-link + .row-link { margin-top: 4px; }
.row-link:hover, .row-link.hl { background: #fff; box-shadow: var(--shadow-sm); }
.row-link strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.row-link small { display: block; font-size: 13px; color: #6B7488; line-height: 1.4; margin-top: 2px; }
.row-link .go { color: #A0A8B8; transition: transform .2s, color .2s; }
.row-link:hover .go { color: var(--orange); transform: translateX(3px); }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, #1B2133, #0E1220); flex: none; }
.ico svg { width: 22px; height: 22px; stroke: #FFB27A; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico.lg { width: 56px; height: 56px; border-radius: 16px; }
.ico.lg svg { width: 26px; height: 26px; }
.panel-foot { margin-top: 12px; padding: 12px 14px 4px; border-top: 1px dashed rgba(21, 26, 40, 0.14); font-family: var(--f-display); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.panel-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.badge-stat { position: absolute; left: -34px; bottom: -30px; padding: 14px 18px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 24px 40px -20px rgba(21, 26, 40, 0.8); display: flex; align-items: center; gap: 12px; animation: floaty 6s ease-in-out infinite alternate-reverse; }
.badge-stat b { font-family: var(--f-display); font-size: 34px; font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--amber), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-stat span { font-size: 12.5px; line-height: 1.3; color: #C7CEDD; }

/* ---------- Marcas ---------- */
.brands-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.7)); padding: 26px 0; }
.brands-inner { display: flex; align-items: center; gap: 32px; }
.brands-label { flex: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #7A8397; font-weight: 700; line-height: 1.4; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track img { height: 48px; width: auto; margin-right: 64px; opacity: 0.75; max-width: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, background .25s; }
.card:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.card h3 { font-size: 21px; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--ink); margin-top: 4px; }
.card .more::after { content: "→"; color: var(--orange); transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }
.ticks { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(248, 90, 0, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23F85A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ---------- Bloque oscuro ---------- */
.dark-block { background: radial-gradient(120% 140% at 85% 0%, #0C1D5C 0%, #070D29 45%, #050A1F 100%); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.dark-block::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 80% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, #000 30%, transparent 80%); }
.dark-block::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 520px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(248, 90, 0, 0.3), transparent); }
.dark-block > * { position: relative; z-index: 1; }
.dark-block h2, .dark-block h3 { color: #fff; }
.dark-block p { color: #A9B3CC; }
.dark-block .kicker { color: var(--orange-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; counter-reset: step; }
.step { border-top: 1px solid rgba(148, 163, 184, 0.28); padding-top: 18px; }
.step b { display: block; font-size: 12.5px; letter-spacing: 0.12em; color: var(--orange-2); font-weight: 800; }
.step h3 { font-size: 19px; margin: 6px 0 8px; }
.step p { font-size: 14.5px; margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.split p { color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { padding: 24px; }
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(28px, 3.2vw, 40px); white-space: nowrap; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--orange), var(--navy)); opacity: .35; }
.timeline li { position: relative; padding: 0 0 26px 44px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.timeline strong { display: block; font-family: var(--f-display); font-size: 19px; margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Soluciones (detalle) ---------- */
.sol { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(32px, 4vw, 48px); margin-bottom: 24px; scroll-margin-top: 110px; }
.sol h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 18px 0 12px; }
.sol .intro { color: var(--muted); font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 20px; background: rgba(21, 26, 40, 0.05); border: 1px solid var(--line); }
.sol-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.sol-item { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.sol-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.sol-item p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.sol-anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Marcas página ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-tile { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s, background .25s; }
.brand-tile:hover { transform: translateY(-3px); background: #fff; }
.brand-tile { margin: 0; }
.brand-tile img { max-width: 72%; max-height: 64px; width: auto; height: auto; opacity: .82; transition: opacity .2s; }
.brand-tile:hover img { opacity: 1; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); }
.cat strong { display: block; font-size: 16px; margin-bottom: 4px; }
.cat p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Tienda online (B2C vs B2B) ---------- */
.store-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 44px); }
.store-copy h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 12px; }
.store-copy p { color: var(--muted); }
.store-copy .btn { margin-top: 6px; letter-spacing: 0.02em; }
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price-col { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.price-col.b2b { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-col strong { display: block; font-size: 16.5px; margin: 10px 0 6px; line-height: 1.3; }
.price-col p { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.price-col.b2b p { color: #C7CEDD; }
.price-col.b2b .more { color: #fff; font-weight: 700; font-size: 14.5px; display: inline-flex; gap: 8px; }
.price-col.b2b .more::after { content: "→"; color: var(--orange-2); }
.price-tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; padding: 4px 10px; border-radius: 20px; background: rgba(21, 26, 40, 0.06); color: var(--ink-2); }
.b2b .price-tag { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; }
@media (max-width: 920px) { .store-band { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .price-split { grid-template-columns: 1fr; } .store-copy .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 16px; box-shadow: var(--shadow-sm); transition: background .2s; }
.faq details[open] { background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 400; transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--orange); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA final ---------- */
.cta-band { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 17px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; border: 1px solid rgba(21, 26, 40, 0.16); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(248, 90, 0, 0.14); }
.field .err { font-size: 12.5px; color: #C2410C; min-height: 0; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #EA580C; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); grid-column: 1 / -1; }
.consent input { margin-top: 4px; accent-color: var(--orange); width: 16px; height: 16px; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-status { font-size: 14.5px; font-weight: 600; }
.form-status.ok { color: #047857; }
.form-status.bad { color: #C2410C; }
.info-list { display: grid; gap: 12px; }
.info { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); transition: background .2s; }
a.info:hover { background: #fff; }
.info small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #7A8397; font-weight: 700; }
.info strong { display: block; font-size: 16px; line-height: 1.35; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); aspect-ratio: 16 / 11; background: #DDE1E7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: #0B1026; color: #A9B3CC; padding: 64px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -220px; width: 720px; height: 360px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(248, 90, 0, 0.18), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; position: relative; }
.foot-grid h4 { font-family: var(--f-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 800; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid a:hover { color: #fff; }
.foot-logo { width: 190px; margin-bottom: 16px; }
.foot-about { font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); transition: background .2s; }
.socials a:hover { background: rgba(248, 90, 0, 0.25); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13.5px; position: relative; }
.foot-bottom a { color: #fff; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 22px; bottom: 22px; z-index: 70; max-width: 420px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.92); border: 1px solid #fff; box-shadow: 0 30px 60px -20px rgba(21, 26, 40, 0.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: none; }
.cookie.show { display: block; animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.cookie p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.cookie p a { text-decoration: underline; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { height: 42px; font-size: 14px; padding: 0 16px; }

/* ---------- Texto legal ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- Marcas en texto (marquee) ---------- */
.marquee-track.words > div { display: flex; flex: none; }
.marquee-track.words span { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: #4A5367; margin-right: 52px; white-space: nowrap; }
.brand-tile strong { font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -0.02em; color: var(--bc, var(--ink)); text-align: center; line-height: 1.15; }
.brand-tile figcaption { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.35; margin-top: 6px; }
.brand-tile { align-content: center; gap: 0; }

/* ---------- Tarjeta ancha (desarrollo de software) ---------- */
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.card-wide h3 { margin: 0 0 8px; }
.card-wide p { margin: 0; max-width: 720px; }

/* ---------- Tienda: header y franja inferior ---------- */
.btn-store svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store-strip { padding: 0 0 clamp(40px, 6vw, 72px); }
.store-strip-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-strip-inner { background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); border-radius: 22px; padding: 18px 20px; }
.store-strip p { flex: 1; min-width: 220px; margin: 0; color: var(--muted); font-size: 15.5px; }
.store-strip p strong { display: block; color: var(--ink); font-family: var(--f-display); font-size: 18px; }

/* ---------- Referencias (empresas) ---------- */
.clients-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); }
.clients-band h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 10px; }
.clients-band p { color: var(--muted); margin: 0; }
.clients-dialog { width: min(760px, calc(100vw - 32px)); max-height: 82vh; border: 0; border-radius: 24px; padding: clamp(22px, 4vw, 36px); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(21, 26, 40, .6); }
.clients-dialog::backdrop { background: rgba(11, 16, 38, .55); backdrop-filter: blur(4px); }
.clients-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.clients-head h2 { font-size: clamp(24px, 3vw, 32px); }
.clients-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 22px; line-height: 1; }
.clients-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.clients-list li { padding: 12px 14px; border-radius: 12px; background: var(--bg); font-weight: 600; font-size: 15px; }
.clients-empty { color: var(--muted); }
.clients-empty a { text-decoration: underline; color: var(--ink); }
.info.ship { background: var(--ink); border-color: var(--ink); }
.info.ship small { color: #C7CEDD; }
.info.ship strong { color: #fff; }
@media (max-width: 920px) { .clients-band, .card-wide { grid-template-columns: 1fr; } }
@media (max-width: 1240px) and (min-width: 921px) { .nav-links a { padding: 8px 7px; font-size: 13.5px; } .brand img { width: 140px; } }
@media (max-width: 1080px) and (min-width: 921px) { .btn-store span { display: none; } .btn-store { padding: 0 12px; } }
@media (max-width: 640px) { .store-strip .btn, .clients-band .btn { width: 100%; white-space: normal; } .marquee-track.words span { font-size: 18px; margin-right: 36px; } }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 9px; font-size: 14px; }
  .brand img { width: 150px; }
  .grid-4, .steps, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .burger { display: grid; }
  .nav-cta .btn { display: none; }
  .nav-links { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 4px); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.96); border: 1px solid #fff; box-shadow: 0 30px 60px -20px rgba(21, 26, 40, 0.45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-links .mobile-cta { display: block; margin-top: 8px; }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .hero-grid, .split, .sol, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .badge-stat { left: auto; right: 16px; bottom: -26px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 921px) { .nav-links .mobile-cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .sol-list, .form-grid, .cat-grid { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 18px; }
  .stat strong { font-size: 26px; }
  .stat span { font-size: 13px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .brands-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .marquee-track img { height: 36px; margin-right: 44px; }
  .hero-btns .btn, .cta-band .btn { width: 100%; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .badge-stat { position: relative; right: auto; bottom: auto; left: auto; margin-top: 16px; display: inline-flex; }
  .card, .sol { padding: 22px; }
}
/* ---------- Marcas con color ---------- */
.brand-tile { border-top: 4px solid var(--bc, transparent); }

/* ---------- Clientes destacados ---------- */
.clients-wrap { padding: clamp(28px, 4vw, 44px); }
.clients-wrap .clients-band { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.client-logos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1080px) { .client-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .client-logos { grid-template-columns: 1fr; } }
.client-logo { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.client-mark { flex: none; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.client-name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink-2); }

/* ---------- Página Clientes ---------- */
.stats-4 { grid-template-columns: repeat(4, 1fr); }
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.sector { padding: clamp(22px, 3vw, 32px); scroll-margin-top: 110px; }
.sector:first-child, .sector:last-child { grid-column: 1 / -1; }
.sector-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sector-head h3 { font-size: 20px; margin: 0 0 2px; }
.sector-head small { color: var(--muted); font-size: 13.5px; }
.sector .clients-list li { background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
a.chip { transition: background .2s, color .2s; }
a.chip:hover { background: var(--ink); color: #fff; }
@media (max-width: 920px) { .stats-4 { grid-template-columns: repeat(2, 1fr); } .sector-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stats-4 { grid-template-columns: 1fr; } .sector .clients-list { grid-template-columns: 1fr; } }


/* ---------- Home: productos de la tienda ---------- */
.home-shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.home-shop-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 12px; }
.home-shop-head p { font-size: 17px; color: var(--muted); margin: 0; max-width: 620px; }
.home-shop-head p b { color: var(--ink); }
.shop-cats { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scrollbar-width: none; }
.shop-cats::-webkit-scrollbar { display: none; }
.shop-cats:empty { display: none; }
.shop-cats a { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 40px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: transform .2s, background .2s; }
.shop-cats a:hover { transform: translateY(-2px); background: #fff; color: var(--ink); }
.shop-cats a .ico { width: 30px; height: 30px; border-radius: 50%; }
.shop-cats a .ico svg { width: 15px; height: 15px; }
.shop-cats a em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shop-card { display: flex; flex-direction: column; border-radius: var(--radius); background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s, box-shadow .25s, background .25s; color: inherit; }
.shop-card:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.shop-media { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 18px; }
.shop-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.shop-card:hover .shop-media img { transform: scale(1.05); }
.shop-media .tag { position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 4px 9px; border-radius: 20px; background: var(--ink); color: #fff; }
.shop-media .tag.sale { background: linear-gradient(135deg, var(--orange-2), var(--orange)); }
.shop-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.shop-meta { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7A8397; }
.shop-body h3 { font-family: var(--f-body); font-size: 14.5px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 41px; }
.shop-price { margin-top: auto; display: flex; flex-direction: column; }
.shop-price s { font-size: 12.5px; color: #9AA2B1; }
.shop-price strong { font-family: var(--f-display); font-size: 21px; letter-spacing: -.03em; line-height: 1.2; }
.shop-price small { font-size: 12px; color: #059669; font-weight: 600; }
.shop-go { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.shop-go::after { content: "→"; color: var(--orange); transition: transform .2s; }
.shop-card:hover .shop-go::after { transform: translateX(4px); }
.shop-card.skel { min-height: 330px; padding: 14px; gap: 12px; }
.shop-card.skel span { display: block; border-radius: 12px; background: linear-gradient(90deg, rgba(21,26,40,.05), rgba(21,26,40,.1), rgba(21,26,40,.05)); background-size: 200% 100%; animation: skel 1.4s ease-in-out infinite; }
.shop-card.skel .sk-img { aspect-ratio: 1 / 1; }
.shop-card.skel .sk-line { height: 14px; }
.shop-card.skel .sk-line.short { width: 55%; }
@keyframes skel { to { background-position: -200% 0; } }
.home-shop.is-empty { display: none; }
@media (max-width: 1080px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .home-shop-head { flex-direction: column; align-items: flex-start; } .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .shop-card.skel { min-height: 260px; } }

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