/* =========================================================
   Recauda+ — landing
   Marca: rentas.recauda.pe · Referencia visual: Bizagi
   ========================================================= */
:root {
  /* Marca */
  --navy-900: #061a33;
  --navy-800: #0b2545;
  --navy-700: #002f5c;
  --blue-600: #0063ad;
  --blue-700: #004f8a;
  --blue-400: #3d97dc;
  --blue-300: #6cb8ec;
  --blue-50: #eff6fb;
  --teal-500: #12a19a;
  --teal-50: #e7f6f5;
  /* Neutros */
  --ink: #0b2545;
  --text: #2c3e55;
  --muted: #5b6b80;
  --line: #e3e9f0;
  --line-2: #d6dfe9;
  --bg: #ffffff;
  --bg-2: #f5f8fb;
  --ok: #1f8a5b;
  --warn: #b7791f;
  --danger: #c0392b;

  --font: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(11 37 69 / .05);
  --shadow: 0 1px 2px rgb(11 37 69 / .04), 0 10px 30px -12px rgb(11 37 69 / .12);
  --shadow-lg: 0 2px 6px rgb(11 37 69 / .05), 0 30px 60px -20px rgb(0 47 92 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue-600); }
ul, ol { margin: 0; padding: 0; list-style: none; }
abbr { text-decoration: none; color: var(--blue-600); }
::selection { background: var(--blue-300); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.hl { background: linear-gradient(90deg, var(--blue-600), var(--teal-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--blue-600); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 16px/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgb(0 99 173 / .6); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 12px 24px -10px rgb(0 79 138 / .7); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--blue-50); }
.i-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgb(11 37 69 / .25); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { height: 38px; width: auto; }
.logo-word { height: 23px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 8px; transition: color .2s, background-color .2s; }
.nav-links a:hover { background: var(--bg-2); }
.nav-links a.active { color: var(--blue-600); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue-600); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; place-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Kicker / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); background: var(--blue-50); border: 1px solid #d7e8f5; padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgb(18 161 154 / .18); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 18px; }
.kicker span { display: grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--navy-800); color: #fff; letter-spacing: .04em; font-size: 12px; }
.kicker-light { color: var(--blue-300); }
.kicker-light span { background: rgb(255 255 255 / .12); }

.section { padding: 120px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.section-head h2, .split-head h2, .journey-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-head > p:last-child { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 120px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 380px at 78% 30%, rgb(61 151 220 / .16), transparent 70%),
  radial-gradient(420px 300px at 92% 85%, rgb(18 161 154 / .12), transparent 70%),
  linear-gradient(180deg, #fff, var(--bg-2)); }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .7; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 24px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); max-width: 560px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a19a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }

/* App mockup */
.hero-visual { position: relative; padding: 28px 0 36px 28px; }
.app { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; color: var(--text); line-height: 1.4; }
.app-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: #f7f9fc; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.app-url { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.app-side { background: var(--navy-800); color: rgb(255 255 255 / .7); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; padding: 2px 6px 14px; }
.app-brand img { border-radius: 5px; }
.s-item { padding: 7px 8px; border-radius: 7px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-item.active { background: rgb(255 255 255 / .12); color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 var(--blue-300); }
.app-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; background: #fbfcfe; }
.app-head { display: flex; align-items: center; justify-content: space-between; }
.app-head b { color: var(--ink); font-size: 15px; }
.pill { font-size: 10.5px; font-weight: 700; color: var(--blue-700); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; }
.kpi small { color: var(--muted); font-size: 10.5px; }
.kpi b { color: var(--ink); font-size: 15px; letter-spacing: -.01em; }
.kpi em { font-style: normal; font-size: 10.5px; font-weight: 700; }
.up { color: var(--ok); } .down { color: var(--teal-500); }
.chart { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 6px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.chart-head small { color: var(--ink); font-weight: 700; font-size: 11px; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.legend i { width: 10px; height: 3px; border-radius: 2px; background: var(--blue-600); }
.legend i.l2 { background: #9fb3c8; margin-left: 6px; }
.chart svg { width: 100%; height: 92px; }
.table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.4fr 1fr .9fr; align-items: center; padding: 7px 12px; border-top: 1px solid var(--line); font-size: 11px; }
.tr.th { border-top: 0; background: #f7f9fc; color: var(--muted); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.tr span:first-child { display: flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; }
.av { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.a1 { background: #cfe3f4; } .a2 { background: #d4efed; } .a3 { background: #fde8cf; }
.st { justify-self: start; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.st.ok { color: var(--ok); background: #e4f4ec; }
.st.pend { color: var(--blue-700); background: var(--blue-50); }
.st.warn { color: var(--warn); background: #fdf1dc; }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgb(255 255 255 / .96); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; animation: floaty 7s ease-in-out infinite; }
.float small { display: block; color: var(--muted); font-size: 11.5px; }
.float b { color: var(--ink); font-size: 14px; }
.f-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); flex-shrink: 0; }
.f-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--blue-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-ico.t { background: var(--teal-50); } .f-ico.t svg { stroke: var(--teal-500); }
.f-ico.g { background: #e4f4ec; } .f-ico.g svg { stroke: var(--ok); }
.f1 { top: 0; right: -14px; }
.f2 { bottom: 64px; left: -16px; animation-delay: -2.5s; }
.f3 { bottom: 0; right: 28px; animation-delay: -5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 01 Descripción ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 40px); }
.split-head p:not(.kicker) { font-size: 1.1rem; color: var(--muted); }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
.pillar:hover { border-color: #c5d9ea; box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar h3 { font-size: 1.25rem; margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--muted); }
.p-ico, .t-ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); border: 1px solid #d7e8f5; }
.p-ico svg, .t-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 02 Funcionalidades (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile { grid-column: span 4; position: relative; display: flex; flex-direction: column; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
.tile:hover { border-color: #c5d9ea; box-shadow: var(--shadow); transform: translateY(-3px); }
.tile:hover .t-ico { background: var(--blue-600); border-color: var(--blue-600); }
.tile:hover .t-ico svg { stroke: #fff; }
.t-ico { margin-bottom: 22px; transition: background-color .25s, border-color .25s; }
.t-ico svg { transition: stroke .25s; }
.t-3 { grid-column: span 3; padding: 28px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 1rem; margin: 0; }
.tile-visual p { margin-bottom: 24px; }
.mini { margin-top: auto; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px; }
.mini-portal { display: grid; gap: 8px; font-size: 13px; }
.mp-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; background: #fff; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.mp-row b { color: var(--ink); }
.mp-btn { text-align: center; padding: 9px; border-radius: 8px; background: var(--blue-600); color: #fff; font-weight: 700; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; }
.mini-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #a9cdea, #cfe3f4); transform-origin: bottom; }
.mini-bars span.hi { background: linear-gradient(180deg, var(--teal-500), #6fd0c9); }
.js .mini-bars span { transform: scaleY(.2); transition: transform 1s var(--ease); }
.js .visible .mini-bars span { transform: none; }
.tile-dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border-color: transparent; }
.tile-dark h3 { color: #fff; }
.tile-dark p { color: rgb(255 255 255 / .72); }
.tile-dark .t-ico { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .14); }
.tile-dark .t-ico svg { stroke: var(--blue-300); }
.tile-dark:hover .t-ico { background: var(--blue-300); border-color: var(--blue-300); }
.tile-dark:hover .t-ico svg { stroke: var(--navy-800); }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .1); text-align: center; }
.mini-kpis svg { width: 58px; height: 58px; margin: 0 auto 6px; transform: rotate(-90deg); }
.mini-kpis small { color: rgb(255 255 255 / .7); font-size: 12px; }
.ring-bg, .ring { fill: none; stroke-width: 4; }
.ring-bg { stroke: rgb(255 255 255 / .12); }
.ring { stroke: var(--blue-300); stroke-linecap: round; stroke-dasharray: calc(var(--p) * .942) 94.2; }
.ring.t { stroke: #5fd3cb; } .ring.s { stroke: #fff; }
.js .ring { stroke-dasharray: 0 94.2; transition: stroke-dasharray 1.4s var(--ease) .2s; }
.js .visible .ring { stroke-dasharray: calc(var(--p) * .942) 94.2; }

/* ---------- 03 Destacamos (tarjetas estilo Bizagi) ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.card { grid-column: span 2; display: flex; flex-direction: column; padding: 40px 36px 34px; background: #fff; border: 1px solid var(--line); border-radius: 28px; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card:hover { border-color: #c5d9ea; box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { font-size: 1.45rem; line-height: 1.22; margin-bottom: 16px; }
.card p { color: var(--text); font-size: 1.04rem; flex: 1; margin-bottom: 28px; }
.link-cta { align-self: flex-end; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.04rem; color: var(--blue-600); text-decoration: none; }
.link-cta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.link-cta:hover { color: var(--blue-700); }
.link-cta:hover svg { transform: translateX(4px); }
.card { cursor: pointer; }

/* Journey (lista estilo Bizagi) */
.journey { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; margin-top: 120px; align-items: start; }
.journey-head p { color: var(--muted); font-size: 1.1rem; }
.journey-path { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 10px 12px 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-weight: 700; color: var(--muted); font-size: 15px; }
.journey-path svg { width: 72px; height: 12px; fill: none; stroke: var(--teal-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.journey-path .to { color: #fff; background: var(--navy-800); padding: 6px 14px; border-radius: 999px; }
.steps { counter-reset: s; border-top: 1px solid var(--line-2); }
.steps li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; border-bottom: 1px solid var(--line-2); transition: background-color .25s; }
.steps li:hover { background: var(--bg-2); }
.steps h3 { font-size: 1.2rem; margin: 0 0 2px; font-weight: 700; }
.steps p { margin: 0; color: var(--muted); }
.steps .num { font-size: 1.35rem; font-weight: 800; color: var(--teal-500); font-variant-numeric: tabular-nums; }

.statement { margin: 120px auto 0; max-width: 980px; text-align: center; padding: 0; }
.statement p { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin: 0; }

/* ---------- 04 Contacto ---------- */
.contact { position: relative; isolation: isolate; padding: 120px 0; color: rgb(255 255 255 / .8); background: var(--navy-900); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px 420px at 12% 0%, rgb(0 99 173 / .45), transparent 70%),
  radial-gradient(520px 360px at 100% 100%, rgb(18 161 154 / .2), transparent 70%); }
.contact-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.contact-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.contact h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.contact-copy p:not(.kicker) { font-size: 1.12rem; }
.contact-strong { color: #fff; font-weight: 700; }
.services { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .14); }
.services h3 { color: var(--blue-300); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.services ul { display: grid; gap: 14px; }
.services li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.services li::before { content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgb(108 184 236 / .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cb8ec' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }

.form { background: #fff; color: var(--text); border-radius: 28px; padding: 40px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .55); }
.form-head { margin-bottom: 26px; }
.form-head h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-head p { color: var(--muted); margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; position: relative; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field textarea { width: 100%; font: 500 16px/1.4 var(--font); color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgb(0 99 173 / .12); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #fff; }
.field .error { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: 13px; font-weight: 600; }
.chips { border: 0; padding: 0; margin: 0 0 18px; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 2px; float: left; width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-2); font-size: 14px; font-weight: 600; color: var(--text); transition: all .2s; }
.chips label:hover span { border-color: var(--line-2); background: #fff; }
.chips input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.chips.invalid span { border-color: #e7b1aa; }
.chips .error { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-size: 15px; font-weight: 600; min-height: 1.5em; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.info, .form-status.err { padding: 12px 14px; border-radius: 12px; }
.form-status.ok { color: #14613f; background: #e4f4ec; }
.form-status.info { color: var(--blue-700); background: var(--blue-50); }
.form-status.err { color: #8f2a1f; background: #fbe9e6; }

/* ---------- Footer ---------- */
.footer { background: #0a1628; color: rgb(255 255 255 / .72); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand .logo-word { height: 28px; }
.footer-brand p { font-size: 1.1rem; margin-bottom: 24px; max-width: 420px; }
.footer-brand b { color: #fff; }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; justify-content: end; }
.footer a:not(.btn):not(.logo) { color: #fff; text-decoration: none; font-size: 1.06rem; transition: color .2s; }
.footer a:not(.btn):not(.logo):hover { color: var(--blue-300); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; border-top: 1px solid rgb(255 255 255 / .1); padding: 24px 0 32px; font-size: 14px; font-weight: 600; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 6px 24px; flex-wrap: wrap; }
.footer-bottom a:not(.btn) { font-size: 14px !important; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue-600); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav-links a { padding: 10px 10px; font-size: 15px; }
  .nav { gap: 16px; }
  .hero-grid { gap: 40px; }
  .t-3 { grid-column: span 6; }
  .tile-visual:nth-last-child(1) { grid-column: span 12; }
  .tile-visual:nth-last-child(2), .tile-visual:nth-last-child(3) { grid-column: span 6; }
  .tile.t-4:not(.tile-visual) { grid-column: span 4; }
}
@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px; padding: 20px 24px 32px; background: #fff; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .3s; overflow-y: auto; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { font-size: 1.5rem; font-weight: 800; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; letter-spacing: -.02em; }
  .nav-links a:hover { background: none; }
  .nav-links a.active::after { display: none; }
  .nav-cta { padding: 16px; font-size: 16px; }
  body.menu-open { overflow: hidden; }
  .hero { padding: 56px 0 88px; }
  .hero-grid, .split, .journey, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .split { gap: 48px; }
  .split-head, .contact-copy { position: static; }
  .journey { gap: 40px; margin-top: 96px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
  .contact-grid { gap: 48px; }
  .footer-nav ul { justify-content: start; }
  .section, .contact { padding: 96px 0; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .section, .contact { padding: 80px 0; }
  .section-head { margin-bottom: 44px; text-align: left; }
  .hero h1 { font-size: 2.45rem; }
  .eyebrow { font-size: 11.5px; letter-spacing: .1em; padding: 6px 12px; }
  .app-url { display: none; }
  .hero .lead { font-size: 1.08rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { padding: 20px 0 30px; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .kpi b { font-size: 13px; }
  .float { font-size: 12px; padding: 9px 12px 9px 9px; gap: 9px; }
  .float b { font-size: 12.5px; }
  .f-ico { width: 30px; height: 30px; }
  .f1 { right: -6px; top: 0; }
  .f2 { display: none; }
  .f3 { right: 10px; }
  .bento { gap: 14px; }
  .tile, .t-3, .tile.t-4:not(.tile-visual), .tile-visual:nth-last-child(1), .tile-visual:nth-last-child(2), .tile-visual:nth-last-child(3) { grid-column: span 12; padding: 26px; }
  .pillar { padding: 22px; gap: 16px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; padding: 30px 26px 26px; border-radius: 22px; }
  .card h3 { font-size: 1.3rem; }
  .steps li { padding: 18px 8px; }
  .statement { margin-top: 88px; text-align: left; }
  .form { padding: 28px 22px; border-radius: 22px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-nav ul { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .logo-word { height: 20px; }
  .logo-mark { height: 32px; }
}
