/* ==========================================================================
   Codhix Solutions · "The Index"
   Black on white, hairline rules, one accent (logo orange). Typeface: Schibsted Grotesk.
   ========================================================================== */
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0B0B0C;
  --orange: #FF6B3D;
  --navy: #0B0B0C;
  --navy-2: #26262A;
  --navy-3: #36363A;
  --blue: #0B0B0C;
  --blue-2: #000000;
  --blue-soft: #F1F1F1;
  --text: #0B0B0C;
  --text-2: #36363A;
  --text-3: #66666C;
  --bg: #FFFFFF;
  --surface: #F6F6F6;
  --surface-2: #EDEDED;
  --line: #E3E3E3;
  --line-2: #CFCFD3;
  --green: #047857;
  --amber: #B45309;
  --accent: var(--ink);
  --c: var(--accent);
  --on-c: #FFFFFF;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 44px);
  --m: clamp(16px, 3vw, 44px);
  --radius: 6px;
  --shadow-sm: none;
  --shadow-md: 0 22px 44px -30px rgba(11, 11, 12, .35);
  --shadow-lg: 0 30px 60px -32px rgba(11, 11, 12, .4);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.ico { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.btn .arrow, .btn .ico.arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary, .btn-navy { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-navy:hover { background: var(--orange); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--orange); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn-accent { background: var(--ink); color: #fff; }
.btn-accent:hover { background: var(--orange); color: var(--ink); }
.btn-wa { background: #1FAF55; color: #fff; border-color: #1FAF55; }
.btn-wa:hover { background: #18984A; }
.btn-disabled { background: var(--surface-2); color: var(--text-3); cursor: not-allowed; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico.arrow { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); text-decoration: none; font-size: 15px; }
.link .ico { transition: transform .25s var(--ease); }
.link:hover { color: var(--blue-2); }
.link:hover .ico { transform: translateX(3px); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-tint { background: var(--surface); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 680px; }
.section-title { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.2rem); margin-top: 14px; letter-spacing: -.045em; line-height: 1.04; }
.section-lead { margin-top: 14px; color: var(--text-2); font-size: 1.08rem; line-height: 1.65; max-width: 60ch; }
.section-navy .section-lead { color: rgba(255, 255, 255, .72); }
.prose p { color: var(--text-2); font-size: 1.05rem; line-height: 1.75; margin: 0 0 1.1em; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .6em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--text-2); }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--orange); }
.prose strong { color: var(--navy); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--text-3); margin-bottom: 20px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.chip-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: transparent; border: 1px solid var(--line-2); color: var(--text-2); }
.chip-accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.dot-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); text-decoration: none; }
.dot-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); line-height: 1.5; }
.ticks .tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; margin-top: 2px; }
.icon-box { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); }
.icon-box.sm { width: 40px; height: 40px; }
.icon-box.lg { width: 60px; height: 60px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--ink); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.ix-wrap { width: 100%; max-width: 1720px; margin-inline: auto; padding-inline: var(--m); }
.ix-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.ix-header.is-scrolled { border-bottom-color: var(--line); }
.ix-hdr { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.ix-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); text-decoration: none; }
.ix-brand .logo-mark { width: 34px; height: 34px; }
.ix-word { display: flex; flex-direction: column; line-height: 1; }
.ix-word b { font-size: 21px; font-weight: 700; letter-spacing: -.035em; }
.ix-word small { font-size: 8.5px; font-weight: 600; letter-spacing: .31em; margin-top: 3px; color: var(--text-2); }
.brand-logo { max-height: 40px; width: auto; }
.ix-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.ix-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.6vw, 26px); }
.ix-nav-list a, .ix-login { position: relative; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.ix-nav-list a::after, .ix-login::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.ix-nav-list a:hover::after, .ix-login:hover::after, .ix-nav-list a.is-here::after, .ix-login.is-here::after { transform: scaleX(1); transform-origin: left; }
.ix-sep { width: 1px; height: 20px; background: var(--line); }
.ix-login { display: inline-flex; align-items: center; gap: 7px; }
.ix-login svg { width: 15px; height: 15px; }
.ix-menu-btn, .ix-menu-close { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.ix-menu-btn { display: none; margin-left: auto; }
.ix-menu-btn i { display: grid; gap: 4px; width: 16px; }
.ix-menu-btn i::before, .ix-menu-btn i::after { content: ""; display: block; height: 1.5px; background: currentColor; }
.ix-menu { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; padding: 0 var(--m) 28px; background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
.ix-menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.ix-menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.ix-menu-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.ix-menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: clamp(30px, 9vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.ix-menu-list a span { flex: none; width: 28px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--text-3); transform: translateY(-.9em); }
.ix-menu-list a[aria-current] { color: var(--text-3); }
.ix-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.ix-menu-foot .btn { width: 100%; }
.ix-menu-meta { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.ix-menu .ix-menu-list li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ix-menu.is-open .ix-menu-list li { opacity: 1; transform: none; }
.ix-menu.is-open .ix-menu-list li:nth-child(2) { transition-delay: .04s; } .ix-menu.is-open .ix-menu-list li:nth-child(3) { transition-delay: .08s; }
.ix-menu.is-open .ix-menu-list li:nth-child(4) { transition-delay: .12s; } .ix-menu.is-open .ix-menu-list li:nth-child(5) { transition-delay: .16s; }
.ix-menu.is-open .ix-menu-list li:nth-child(6) { transition-delay: .2s; } .ix-menu.is-open .ix-menu-list li:nth-child(7) { transition-delay: .24s; }
body.menu-open { overflow: hidden; }

/* ---------- Window chrome ---------- */
.window { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.window-bar { flex: 0 0 auto; height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.window-url { margin-left: 12px; flex: 0 1 60%; min-width: 0; height: 22px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { position: relative; flex: 1 1 auto; overflow: hidden; container-type: inline-size; }
.window-body > img { display: block; width: 100%; height: auto; }
.scene-window { width: 100%; aspect-ratio: 16 / 10.2; }
.visual-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 48px; background: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(11, 11, 12, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 12, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--text-2); box-shadow: var(--shadow-sm); }
.hero-badge b { padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.hero-title { margin-top: 22px; font-size: clamp(2.1rem, 1.2rem + 3.1vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; }
.hero-title .accent { color: var(--blue); }
.hero-sub { margin-top: 20px; color: var(--text-2); font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); line-height: 1.65; max-width: 54ch; }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ico { color: var(--green); }
.hero-visual { position: relative; }
.hero-visual .window { transform: rotate(0); }
.hero-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-tab { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--text-2); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.hero-tab:hover { color: var(--navy); border-color: var(--line-2); }
.hero-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.hero-tab .ico { color: var(--c); }
.hero-tab.is-active .ico { color: #fff; }
.stage-screen { position: relative; aspect-ratio: 16 / 10.2; }
.stage-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
.stage-panel.is-active { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
.stage-panel .scene-window { height: 100%; aspect-ratio: auto; }
.hero-stat { position: absolute; z-index: 3; left: -20px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hero-stat .icon-box { --c: var(--green); }
.hero-stat strong { display: block; font-size: 14px; color: var(--navy); }
.hero-stat span { display: block; font-size: 12.5px; color: var(--text-3); }

/* ---------- Trust strip ---------- */
.trust { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 13.5px; color: var(--text-3); font-weight: 500; }
.trust-items { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust-items span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.trust-items .ico { color: var(--blue); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { --c: var(--blue); display: flex; flex-direction: column; gap: 14px; padding: 28px; text-decoration: none; color: var(--text); }
.svc-card h3 { font-size: 1.2rem; }
.svc-card p { color: var(--text-2); font-size: 15px; line-height: 1.6; flex: 1; }
.svc-card .chip-row { margin-top: 2px; }
.svc-card .link { margin-top: 6px; }
.svc-card.is-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: 32px; background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-card.is-feature h3 { color: #fff; font-size: 1.5rem; }
.svc-card.is-feature p { color: rgba(255, 255, 255, .75); }
.svc-card.is-feature .icon-box { background: rgba(255, 255, 255, .12); color: #fff; }
.svc-card.is-feature .chip { background: rgba(255, 255, 255, .1); color: #fff; }
.svc-card.is-feature .link { color: #fff; }
.svc-card.is-feature .svc-visual .pv, .svc-card.is-feature .svc-visual .visual-img { border-radius: 10px; box-shadow: var(--shadow-lg); }
.svc-card-body { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat { padding: 26px 28px; }
.stat-value { display: block; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-value small { font-size: .55em; color: var(--text-3); margin-left: 2px; }
.stat-label { display: block; margin-top: 10px; color: var(--text-2); font-size: 14.5px; font-weight: 500; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.work-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-card { --c: var(--blue); display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--text); }
.work-visual { position: relative; display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface); }
.work-visual .pv, .work-visual .visual-img { transition: transform .6s var(--ease); }
.work-card:hover .work-visual .pv, .work-card:hover .work-visual .visual-img { transform: scale(1.03); }
.work-flag { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(5, 150, 105, .6); animation: livePulse 1.8s infinite; flex-shrink: 0; }
.work-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-title { font-size: 1.15rem; line-height: 1.3; }
.work-title a { text-decoration: none; }
.work-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.work-body > p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; flex: 1; }
.work-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }

/* ---------- Live projects ---------- */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 20px; }
.live-card { --c: var(--blue); display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 22px 24px; text-decoration: none; color: var(--text); }
.ring { position: relative; width: 96px; height: 96px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 8; }
.ring .ring-fg { fill: none; stroke: var(--c); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.ring-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: -.02em; }
.ring-val small { font-size: 12px; color: var(--text-3); margin-left: 1px; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); padding: 4px 10px; border-radius: 999px; background: #ECFDF5; }
.live-badge.hold { color: var(--amber); background: #FFFBEB; }
.live-badge.hold .live-dot { background: var(--amber); animation: none; }
.live-info h3 { font-size: 1.08rem; margin: 10px 0 4px; }
.live-info p { color: var(--text-2); font-size: 14px; }
.live-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--text-3); }
.live-meta b { color: var(--text-2); font-weight: 600; }
.bar { position: relative; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 12px; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--c); transition: width 1.4s var(--ease); }
.js [data-fill]:not(.is-in) { width: 0 !important; }
.js [data-ring]:not(.is-in) { stroke-dashoffset: 326.73 !important; }

/* ---------- Why / features ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.why-card h3 { font-size: 1.05rem; }
.why-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { --c: var(--blue); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.process li { position: relative; padding: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); }
.process-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.process h3 { font-size: 1.05rem; color: #fff; }
.process p { margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.55; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ind-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-decoration: none; color: var(--text); }
.ind-card strong { display: block; font-size: 15px; color: var(--navy); }
.ind-card span { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.quote { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.stars { display: flex; gap: 2px; color: #F59E0B; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption img, .q-initial { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.q-initial { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.quote figcaption strong { display: block; font-size: 14.5px; color: var(--navy); }
.quote figcaption span span { display: block; color: var(--text-3); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.faq { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--navy); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.faq[open] .faq-icon { transform: rotate(45deg); background: var(--orange); color: var(--ink); }
.faq-a { padding: 0 20px 20px; color: var(--text-2); line-height: 1.65; }
.faq-a p { max-width: 64ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--ink); padding: clamp(64px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-copy h2 { color: var(--ink); font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem); letter-spacing: -.05em; line-height: 1; max-width: 18ch; }
.cta-copy p { margin-top: 14px; color: var(--ink); max-width: 52ch; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ix-footer { background: var(--ink); color: #fff; padding: clamp(56px, 6vw, 88px) 0 28px; overflow: hidden; }
.ix-footer a { color: #fff; text-decoration: none; }
.ix-footer a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.ix-footer .ix-brand { color: #fff; }
.ix-footer .ix-word small { color: #fff; }
.ix-f-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px); row-gap: 40px; }
.ix-f-brand { grid-column: 1 / 5; display: grid; gap: 18px; align-content: start; }
.ix-f-brand p { color: #A3A3A8; font-size: 15.5px; line-height: 1.5; max-width: 22em; }
.ix-f-col { grid-column: span 2; }
.ix-f-col.wide { grid-column: span 3; }
.ix-f-col h2 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A3A3A8; }
.ix-f-col ul, .ix-socials { list-style: none; margin: 0; padding: 0; }
.ix-f-col li + li { margin-top: 9px; }
.ix-f-col li { font-size: 15.5px; }
.ix-f-col .soft { color: #A3A3A8; }
.ix-socials { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; }
.ix-f-word { margin-top: clamp(56px, 7vw, 104px); container-type: inline-size; line-height: .75; overflow: hidden; }
.ix-f-word span { display: block; font-size: 31.2cqi; font-weight: 800; letter-spacing: -.06em; margin-left: -.035em; color: #fff; white-space: nowrap; transform: translateY(16%); }
.ix-f-bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 4px; padding-top: 20px; border-top: 1px solid #2A2A2E; font-size: 13.5px; color: #A3A3A8; }
.ix-f-links { display: inline-flex; gap: 24px; }
.ix-footer :focus-visible { outline-color: #fff; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1FAF55; color: #fff; box-shadow: 0 10px 24px -8px rgba(31, 175, 85, .7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); background: #fff; border-bottom: 1px solid var(--ink); }
.page-hero.center .wrap { text-align: center; display: grid; justify-items: center; }
.page-hero.center .eyebrow::before { display: none; }
.page-title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem); line-height: 1.1; letter-spacing: -.03em; margin-top: 14px; }
.page-lead { margin-top: 18px; color: var(--text-2); font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); max-width: 60ch; line-height: 1.65; }
.page-hero.center .page-lead { margin-inline: auto; }

/* Service hero */
.svc-hero { position: relative; padding: clamp(44px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); background: #fff; border-bottom: 1px solid var(--ink); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.svc-hero .page-title { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3rem); overflow-wrap: anywhere; }
.svc-hero-desc { margin-top: 14px; color: var(--text-3); max-width: 54ch; }
.svc-hero .hero-ctas { margin-top: 28px; }
.svc-facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-fact { padding: 12px 18px; min-width: 110px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.svc-fact strong { display: block; font-size: 1.5rem; line-height: 1; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.svc-fact span { display: block; margin-top: 5px; color: var(--text-3); font-size: 13px; font-weight: 500; }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; padding-block: 0; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; height: 52px; display: inline-flex; align-items: center; padding: 0; border-bottom: 1.5px solid transparent; font-size: 14.5px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-current { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

/* Tabs / filters */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab span { font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); }
.tab:hover { color: var(--navy); }
.tab.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.tab.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }
.tab .tab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.filters { display: flex; justify-content: center; margin-bottom: 40px; }

/* Catalog */
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.item-card { --c: var(--blue); display: flex; flex-direction: column; overflow: hidden; }
.item-visual { position: relative; display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface); }
.item-visual .pv, .item-visual .visual-img { transition: transform .6s var(--ease); }
.item-card:hover .item-visual .pv, .item-card:hover .item-visual .visual-img { transform: scale(1.03); }
.item-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(11, 31, 58, .55); opacity: 0; transition: opacity .25s; }
.item-card:hover .item-overlay, .item-card:focus-within .item-overlay { opacity: 1; }
.item-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.item-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.item-title { font-size: 1.08rem; line-height: 1.3; }
.item-title a { text-decoration: none; }
.item-title a:hover { color: var(--blue); }
.item-summary { color: var(--text-2); font-size: 14.5px; line-height: 1.55; flex: 1; }
.item-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--line); }
.demo-state { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.demo-state.is-live { color: var(--green); text-decoration: none; }
.demo-state .soon-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.is-entering { animation: cardIn .45s var(--ease) both; animation-delay: calc(var(--n, 0) * 35ms); }
.about-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 48px; }
.item-overview { margin-bottom: 0; }
.tech-chips { margin-top: 22px; }

/* Packages */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; align-items: stretch; }
.pkg { --c: var(--blue); position: relative; padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.pkg.is-highlight { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), var(--shadow-md); }
.pkg-tag { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--c); color: var(--on-c); font-size: 12px; font-weight: 700; }
.pkg h3 { font-size: 1.2rem; }
.pkg-summary { color: var(--text-2); font-size: 14.5px; }
.pkg-price { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); padding: 14px 0; border-block: 1px solid var(--line); }
.pkg .ticks { flex: 1; margin-bottom: 8px; }

/* Other services */
.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.other-card { --c: var(--blue); display: flex; gap: 14px; align-items: center; padding: 18px; text-decoration: none; color: var(--text); }
.other-card strong { display: block; font-size: 15px; color: var(--navy); }
.other-card span span { display: block; color: var(--text-3); font-size: 13px; margin-top: 2px; }

/* Item page */
.item-hero { padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 6vw, 80px); background: #fff; border-bottom: 1px solid var(--ink); }
.item-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.item-panel { position: sticky; top: calc(var(--header-h) + 20px); padding: 30px; }
.item-panel .page-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin-top: 14px; overflow-wrap: anywhere; }
.item-panel .page-lead { font-size: 1rem; margin-top: 12px; }
.item-price { margin-top: 18px; font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.item-ctas { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 1061px) {
  /* Screenshot and brand lab on the left, the panel with the demo button beside them from the top */
  .item-hero-grid { grid-template-rows: auto 1fr; }
  .item-hero-grid > .item-panel { grid-column: 2; grid-row: 1 / span 2; }
}
.item-case { margin-top: 16px; }
.item-panel h2 { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 28px 0 12px; }
.item-panel .chip-row { margin-top: 20px; }

/* Project page */
.project-hero { padding: clamp(36px, 5vw, 56px) 0 0; background: #fff; }
.project-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.project-head .page-title { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3rem); overflow-wrap: anywhere; }
.project-facts { margin: 0; padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.project-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.project-facts dd { margin: 4px 0 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.project-facts a { color: var(--blue); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.status-completed { color: var(--green); background: #ECFDF5; }
.status-ongoing { color: var(--blue-2); background: var(--blue-soft); }
.status-on_hold { color: var(--amber); background: #FFFBEB; }
.project-progress { display: flex; align-items: center; gap: 22px; margin-bottom: 32px; padding: 20px 24px; }
.project-progress .ring { width: 80px; height: 80px; flex-shrink: 0; }
.project-progress .ring-val { font-size: 17px; }
.project-progress p { color: var(--text-2); font-size: 14.5px; }
.project-progress strong { display: block; color: var(--navy); margin-bottom: 2px; }
.project-cover { margin-bottom: -1px; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.project-side { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; }
.project-side h2 { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; }
.project-side h2:not(:first-child) { margin-top: 26px; }
.project-side .btn { margin-top: 26px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
/* Phone screenshots: whole screen, centred on a tinted panel, same cell size as the rest */
.gallery-item.is-portrait { aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--c) 9%, var(--surface-2)); }
.gallery-item.is-portrait img { position: absolute; top: 14px; left: 0; right: 0; margin: 0 auto; width: auto; height: calc(100% - 28px); aspect-ratio: auto; object-fit: contain; border-radius: 14px; box-shadow: var(--shadow-md); }
.gallery-cap { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm); pointer-events: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(11, 31, 58, .9); }
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: 94vw; max-height: calc(92vh - 40px); border-radius: 10px; }
.lightbox-cap { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 500; min-height: 1.4em; }
.lightbox-close, .lightbox-nav { position: fixed; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.lightbox-close { top: 18px; right: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); box-shadow: var(--shadow-md); transition: background-color .2s; }
.lightbox-nav:hover, .lightbox-close:hover { background: var(--blue-soft); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }
@media (max-width: 720px) { .lightbox-nav { top: auto; bottom: 18px; transform: none; } }
.project-ctas { margin-top: 26px; }
.empty-state { text-align: center; padding: 60px 24px; display: grid; justify-items: center; gap: 12px; }
.empty-state h2 { font-size: 1.4rem; }
.empty-state p { color: var(--text-2); }

/* About */
.about-cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.statement { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 600; line-height: 1.4; color: var(--navy); letter-spacing: -.01em; max-width: 30ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { --c: var(--blue); display: flex; align-items: center; gap: 14px; padding: 18px; text-decoration: none; color: var(--text); }
.contact-card.is-wa { --c: #1FAF55; }
.contact-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.contact-card strong { display: block; font-size: 15px; color: var(--navy); margin-top: 2px; overflow-wrap: anywhere; }
.form-card { padding: clamp(24px, 3.5vw, 40px); }
.form-card h2 { font-size: 1.5rem; }
.form-card > p { color: var(--text-2); margin-top: 8px; }
.form { margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field select { padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 11, 12, .1); }
.field .is-invalid { border-color: #DC2626; }
.field-error { color: #B91C1C; font-size: 13px; margin-top: 6px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-note { color: var(--text-3); font-size: 13.5px; }
.flash-stack { display: grid; gap: 8px; margin-bottom: 20px; }
.flash { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.flash-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.flash-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.sent-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 12px; margin-bottom: 22px; background: #ECFDF5; border: 1px solid #A7F3D0; }
.sent-card .icon-box { --c: var(--green); }
.sent-card strong { display: block; color: #065F46; }
.sent-card p { color: #047857; font-size: 14px; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.nf-code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--blue-soft); -webkit-text-stroke: 2px var(--blue); }
.nf h1 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); margin-top: 16px; }
.nf p { color: var(--text-2); margin: 12px auto 0; max-width: 44ch; }
.nf .hero-ctas { justify-content: center; }

@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, .5); } 70% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) { .ix-nav-list { gap: 16px; } }
@media (max-width: 1079px) {
  .ix-nav { display: none; }
  .ix-menu-btn { display: inline-flex; }
}
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stat { left: 8px; bottom: -14px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card.is-feature { grid-column: span 2; grid-template-columns: minmax(0, 1fr); }
  .why-grid, .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hero-grid, .item-hero-grid, .project-head, .project-grid, .about-svc, .faq-wrap, .about-cols, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .item-panel, .project-side { position: static; }
  .ix-f-brand { grid-column: 1 / -1; }
  .ix-f-col, .ix-f-col.wide { grid-column: span 4; }
}
@media (max-width: 720px) {
  .svc-grid, .why-grid, .ind-grid, .feature-grid, .process, .work-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .svc-card.is-feature { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  :root { --header-h: 64px; }
  .ix-brand .logo-mark { width: 30px; height: 30px; }
  .ix-word b { font-size: 19px; }
  .ix-menu-btn { height: 38px; padding: 0 14px; }
  .ix-f-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ix-f-brand, .ix-f-col.wide { grid-column: 1 / -1; }
  .ix-f-col { grid-column: span 2; }
  .ix-f-bottom { flex-direction: column; }
  .live-card { grid-template-columns: minmax(0, 1fr); }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-progress { flex-direction: column; align-items: flex-start; }
  .trust-row { justify-content: center; text-align: center; }
  .trust-items { justify-content: center; }
  .hero-ctas .btn, .cta-actions .btn { width: 100%; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .section-head.split { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print { .ix-header, .ix-menu, .wa-float, .cta-band { display: none; } }

/* ---------- Marketplace hero ---------- */
.hero-market { padding-top: clamp(36px, 5vw, 60px); padding-bottom: 0; }
.hero-market .hero-title { font-size: clamp(1.9rem, 1rem + 2.5vw, 3rem); }
.hero-market .rotator { max-width: 100%; }
.hero-market .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.hero-copy { padding-bottom: 56px; }
.rotator { position: relative; display: inline-block; vertical-align: top; height: 1.15em; overflow: hidden; padding-right: .05em; transition: width .5s var(--ease); }
.rot-word { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.rot-word.is-active { position: relative; transform: none; opacity: 1; }
.rot-word.is-out { transform: translateY(-110%); opacity: 0; }
.no-js .rot-word:not(:first-child) { display: none; }
.hero-search { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 6px 6px 6px 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-md); max-width: 600px; }
.hero-search .ico { color: var(--text-3); }
.hero-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: inherit; font-size: 15.5px; color: var(--text); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 11, 12, .1); }
.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; font-size: 13.5px; color: var(--text-3); }
.hero-quick a { color: var(--text-2); text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--surface); font-weight: 500; transition: background-color .2s, color .2s; }
.hero-quick a:hover, .hero-quick a.is-on { background: var(--blue-soft); color: var(--blue-2); }
.hero-market .hero-ctas { margin-top: 24px; }
.wall { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; height: 640px; overflow: hidden; perspective: 1400px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.wall-col { display: flex; flex-direction: column; gap: 16px; transform: rotateX(8deg) rotateY(-10deg) rotateZ(2deg); transform-origin: center; }
.wall-col:nth-child(2) { margin-top: -120px; }
.wall-col:nth-child(3) { margin-top: 60px; }
.wall-track { display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; animation: wallUp var(--dur, 40s) linear infinite; }
.wall-col.reverse .wall-track { animation-name: wallDown; }
.wall:hover .wall-track { animation-play-state: paused; }
.wall-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s; }
.wall-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); }
.wall-visual { display: block; border-bottom: 1px solid var(--line); }
.wall-visual .pv, .wall-visual .visual-img { aspect-ratio: 16 / 10; }
.wall-body { display: grid; gap: 2px; padding: 10px 12px 12px; }
.wall-body strong { font-size: 13px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-body span { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-body em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--c); margin-top: 4px; }
.market-more { text-align: center; margin-top: 36px; }
@keyframes wallUp { to { transform: translateY(calc(-100% - 16px)); } }
@keyframes wallDown { from { transform: translateY(calc(-100% - 16px)); } to { transform: none; } }
@media (max-width: 1060px) {
  .hero-market .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .wall { height: 420px; gap: 12px; margin-top: 8px; }
  .wall-col { transform: none; }
  .wall-col:nth-child(2) { margin-top: -80px; }
  .wall-col:nth-child(3) { margin-top: 40px; }
  .hero-market { padding-bottom: 32px; }
}
@media (max-width: 720px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 360px; }
  .wall-col:nth-child(3) { display: none; }
  .hero-search { flex-wrap: wrap; padding: 10px; }
  .hero-search .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } }

/* ---------- AI advisor (hero) ---------- */
.hero-search.ai-form { max-width: 640px; position: relative; }
.hero-search .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ai-orb { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue), #7C3AED); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); animation: orbPulse 2.8s ease-in-out infinite; }
.ai-form.is-busy .ai-orb { animation-duration: .9s; }
@keyframes orbPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); } 50% { box-shadow: 0 0 0 9px rgba(124, 58, 237, .08); } }
.ai-form .btn { position: relative; white-space: nowrap; }
.ai-btn-busy { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; gap: 5px; }
.ai-btn-busy i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: dots 1s infinite ease-in-out; }
.ai-btn-busy i:nth-child(2) { animation-delay: .15s; } .ai-btn-busy i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { transform: scale(.5); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
.ai-form.is-busy .ai-btn-label { visibility: hidden; } .ai-form.is-busy .ai-btn-busy { display: flex; }
.hero-quick button { font: inherit; font-size: 13.5px; cursor: pointer; border: 0; color: var(--text-2); padding: 4px 10px; border-radius: 999px; background: var(--surface); font-weight: 500; transition: background-color .2s, color .2s; }
.hero-quick button:hover { background: var(--blue-soft); color: var(--blue-2); }
.ai-panel { position: relative; margin-top: 16px; max-width: 640px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 18px 16px; animation: aiIn .45s var(--ease) both; }
.ai-panel[hidden] { display: none; }
@keyframes aiIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ai-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: var(--surface); border-radius: 50%; color: var(--text-3); cursor: pointer; }
.ai-close:hover { color: var(--navy); background: var(--blue-soft); }
.ai-head { padding-right: 36px; }
.ai-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #6D28D9; background: #F3EEFF; padding: 3px 9px; border-radius: 999px; }
.ai-summary { margin: 8px 0 0; font-size: 15px; color: var(--text); line-height: 1.55; }
.ai-services { display: grid; gap: 8px; margin-top: 14px; }
.ai-service { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ai-service:hover { border-color: var(--c, var(--blue)); transform: translateX(2px); box-shadow: var(--shadow-sm); }
.ai-service-ico { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 10%, #fff); }
.ai-service-body { flex: 1; min-width: 0; } .ai-service-body strong { display: block; font-size: 14.5px; } .ai-service-body span { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.ai-service .arrow { color: var(--text-3); transition: transform .2s; } .ai-service:hover .arrow { transform: translateX(3px); color: var(--c, var(--blue)); }
.ai-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ai-item { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.ai-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ai-item-visual { display: block; border-bottom: 1px solid var(--line); }
.ai-item-body { padding: 10px 12px 12px; display: grid; gap: 3px; }
.ai-item-meta { font-size: 11.5px; color: var(--text-3); } .ai-item-meta b { color: var(--navy); }
.ai-item-body strong { font-size: 14px; line-height: 1.3; }
.ai-item-why { font-size: 12.5px; color: var(--text-2); }
.ai-item-body em { font-style: normal; font-size: 12px; color: var(--blue-2); font-weight: 500; margin-top: 2px; }
.ai-questions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.ai-q { font: inherit; font-size: 13px; cursor: pointer; border: 1px dashed var(--line-2); background: #fff; color: var(--text-2); padding: 4px 10px; border-radius: 999px; }
.ai-q:hover { border-color: var(--blue); color: var(--blue-2); }
.ai-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ai-steps { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-2); display: grid; gap: 3px; }
.ai-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.ai-actions .btn { justify-content: center; }
.ai-error { padding: 10px 12px; border-radius: 10px; background: #FEF2F2; color: #991B1B; font-size: 14px; }
.ai-form.is-shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (max-width: 720px) {
  .ai-items { grid-template-columns: 1fr; }
  .ai-foot { flex-direction: column; } .ai-actions { width: 100%; }
  .hero-search.ai-form { padding: 10px; } .ai-orb { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ai-orb, .ai-panel, .ai-btn-busy i { animation: none; } }

/* ---------- Client portal ---------- */
.header-portal { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.header-portal:hover, .header-portal.is-active { color: var(--blue-2); background: var(--blue-soft); }
.portal-auth { padding: clamp(48px, 7vw, 96px) 0; background: var(--surface); min-height: 70vh; }
.portal-auth-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 420px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.portal-form { padding: 28px; }
.portal-form h2 { margin: 0 0 16px; font-size: 22px; }
.portal-form .field { margin-bottom: 14px; }
.portal-form .btn-block { width: 100%; justify-content: center; margin-top: 6px; }
.portal-help { font-size: 13.5px; color: var(--text-3); margin: 16px 0 0; line-height: 1.6; }
.portal-bar { background: var(--navy); color: #fff; }
.portal-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.portal-who { display: flex; align-items: center; gap: 10px; }
.portal-who strong { display: block; font-size: 14.5px; } .portal-who small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.portal-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font-weight: 700; }
.portal-links { display: flex; gap: 4px; }
.portal-links a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 8px; }
.portal-links a:hover, .portal-links a.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
.portal-section { padding-block: clamp(36px, 5vw, 56px); min-height: 60vh; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.portal-head .page-title { margin: 6px 0 0; }
.portal-kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.portal-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; min-width: 120px; }
.portal-kpis span { display: block; font-size: 12px; color: var(--text-3); } .portal-kpis strong { font-size: 18px; letter-spacing: -.01em; }
.portal-kpis .ok strong { color: #047857; } .portal-kpis .due strong { color: #B45309; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.portal-card { display: block; padding: 20px; text-decoration: none; color: var(--text); border-top: 3px solid var(--c, var(--blue)); }
.portal-card h2 { font-size: 18px; margin: 10px 0 6px; }
.portal-card-top { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-ok { background: #ECFDF5; color: #047857; } .chip-warn { background: #FFFBEB; color: #B45309; }
.portal-stage { font-size: 13.5px; color: var(--text-2); margin: 0 0 10px; }
.portal-progress { display: flex; align-items: center; gap: 10px; } .portal-progress .bar { flex: 1; } .portal-progress b { font-size: 13px; min-width: 36px; text-align: right; }
.portal-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.portal-money dt { font-size: 11.5px; color: var(--text-3); } .portal-money dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.portal-money .ok { color: #047857; } .portal-money .due { color: #B45309; }
.portal-money.big { grid-template-columns: 1fr; gap: 10px; border-top: 0; padding-top: 0; margin: 0 0 12px; }
.portal-money.big div { display: flex; justify-content: space-between; align-items: baseline; } .portal-money.big dd { font-size: 16px; }
.portal-card-foot { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--blue-2); font-weight: 500; }
.portal-h2 { font-size: 20px; margin: 36px 0 14px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line-2); display: grid; gap: 18px; }
.timeline li { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline li.is-milestone::before { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.timeline time { font-size: 12.5px; color: var(--text-3); padding-top: 2px; }
.timeline strong { display: block; font-size: 15px; } .timeline small { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; } .timeline p { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.portal-project-head { display: flex; gap: 24px; align-items: center; margin: 16px 0 8px; }
.portal-project-head .page-title { margin: 8px 0 4px; }
.portal-dates { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); } .portal-dates a { color: var(--blue-2); display: inline-flex; align-items: center; gap: 4px; }
.portal-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.portal-side { position: sticky; top: 90px; }
.portal-account { padding: 22px; } .portal-account h2 { font-size: 17px; margin: 0 0 14px; } .portal-account h3 { font-size: 13px; color: var(--text-3); margin: 16px 0 6px; font-weight: 600; }
.portal-account .btn-block { width: 100%; justify-content: center; margin-top: 10px; }
.portal-pay { list-style: none; margin: 0; padding: 0; font-size: 13.5px; } .portal-pay li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); } .portal-pay span { color: var(--text-3); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); text-decoration: none; font-size: 14px; } .back-link:hover { color: var(--blue-2); }
.muted-p { color: var(--text-3); font-size: 14.5px; }
@media (max-width: 900px) { .portal-auth-grid, .portal-cols { grid-template-columns: 1fr; } .portal-side { position: static; } .header-portal { display: none; } }
@media (max-width: 600px) { .portal-bar-in { flex-direction: column; align-items: flex-start; } .timeline li { grid-template-columns: 1fr; gap: 2px; } .portal-project-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Brand lab (white-label preview) ---------- */
.brand-lab { grid-column: 1; margin-top: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.brand-lab-head p { margin: 8px 0 0; font-size: 14px; color: var(--text-2); max-width: 60ch; }
.brand-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px 18px; margin-top: 14px; align-items: start; }
.brand-field { display: grid; gap: 6px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.brand-field input[type="text"] { height: 42px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--text); }
.brand-field input[type="text"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 11, 12, .1); }
.brand-color-in { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brand-color-in input[type="color"] { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; background: #fff; cursor: pointer; }
.brand-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.brand-swatches button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: var(--s); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; transition: transform .15s; }
.brand-swatches button:hover { transform: scale(1.15); }
.brand-logo-in { display: grid; gap: 6px; } .brand-logo-in small { font-weight: 400; font-size: 11.5px; }
.brand-logo-in input { font-size: 13px; max-width: 100%; min-width: 0; }
.brand-logo-prev:empty { display: none; }
.brand-logo-prev img { height: 36px; max-width: 140px; object-fit: contain; border-radius: 6px; background: var(--surface); padding: 4px; }
.brand-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.brand-actions [hidden] { display: none; }
.brand-mark { position: absolute; left: 10px; bottom: 10px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--text); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-md); border: 1px solid var(--line); animation: aiIn .4s var(--ease) both; }
.brand-mark img { height: 22px; max-width: 70px; object-fit: contain; }
.brand-mark i { width: 12px; height: 12px; border-radius: 3px; background: var(--brand, var(--blue)); }
.window-body { position: relative; }
.brand-logo { display: inline-block; height: 1.1em; max-width: 3.2em; object-fit: contain; vertical-align: -.15em; margin-right: .3em; }
[data-brand].has-logo { white-space: nowrap; }
[data-brand] .brand-logo + i, [data-brand].has-logo > i:first-child { display: none; }
.brand-pill { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; box-shadow: var(--shadow-lg); animation: aiIn .4s var(--ease) both; max-width: calc(100vw - 32px); }
.brand-pill i { width: 12px; height: 12px; border-radius: 3px; background: var(--brand, var(--blue)); flex-shrink: 0; }
.brand-pill img { height: 20px; max-width: 60px; object-fit: contain; }
.brand-pill b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.brand-pill button { font: inherit; font-size: 12.5px; color: #fff; background: rgba(255, 255, 255, .14); border: 0; border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.brand-pill button:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 900px) { .brand-form { grid-template-columns: 1fr; } .brand-pill { bottom: 84px; } }

/* ---------- Solution builder ---------- */
.build-section { padding-top: 36px; }
.build-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); }
.build-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); }
.build-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #fff; border: 1px solid var(--line-2); color: var(--text-2); }
.build-steps li.on { color: var(--navy); font-weight: 600; background: var(--blue-soft); } .build-steps li.on b { background: var(--blue); color: #fff; border-color: var(--blue); }
.build-steps li.done b { background: #10B981; color: #fff; border-color: #10B981; }
.build-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 32px; }
.build-service { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.build-service:hover { border-color: var(--c); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.build-service.is-on { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.build-service-ico { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.build-service > span:nth-child(2) { flex: 1; min-width: 0; } .build-service strong { display: block; font-size: 15px; } .build-service small { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.build-service .ico { color: var(--text-3); } .build-service.is-on .ico { color: var(--c); }
.build-services.is-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } .build-services.is-compact .build-service { padding: 10px 12px; } .build-services.is-compact .build-service-ico { width: 32px; height: 32px; }
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.build-h2 { font-size: 20px; margin: 0 0 14px; }
.build-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.build-opt:hover { border-color: var(--line-2); transform: translateX(2px); }
.build-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.build-opt-box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: background-color .2s, border-color .2s; }
.build-opt-box svg { opacity: 0; transform: scale(.5); transition: transform .2s, opacity .2s; }
.build-opt input:checked ~ .build-opt-box { background: var(--c); border-color: var(--c); } .build-opt input:checked ~ .build-opt-box svg { opacity: 1; transform: none; }
.build-opt input:checked ~ .build-opt-body strong { color: var(--navy); }
.build-opt:has(input:checked) { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); background: color-mix(in srgb, var(--c) 3%, #fff); }
.build-opt input:focus-visible ~ .build-opt-box { box-shadow: 0 0 0 3px rgba(255, 107, 61, .45); }
.build-opt.is-base { cursor: default; } .build-opt.is-base:hover { transform: none; }
.build-opt-body strong { display: block; font-size: 15px; font-weight: 600; } .build-opt-body small { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.build-opt-body em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--surface); color: var(--text-3); margin-left: 6px; vertical-align: middle; } .build-opt-body em.pop { background: #FFF7ED; color: #C2410C; }
.build-opt-price { text-align: right; } .build-opt-price b { display: block; font-size: 13.5px; white-space: nowrap; } .build-opt-price small { font-size: 12px; color: var(--text-3); }
.build-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.build-estimate { padding: 22px; background: var(--navy); color: #fff; border-color: var(--navy); }
.build-est-label { font-size: 13px; color: rgba(255, 255, 255, .7); }
.build-est-price { display: block; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; margin: 6px 0 14px; line-height: 1.2; } .build-est-price small { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.build-est-price.is-bump { animation: bump .35s var(--ease); } @keyframes bump { 50% { transform: scale(1.04); } }
.build-est-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); } .build-est-row span { color: rgba(255, 255, 255, .7); }
.build-est-note { font-size: 12.5px; color: rgba(255, 255, 255, .65); margin: 12px 0 0; line-height: 1.55; }
.build-quote { padding: 22px; } .build-quote h2 { font-size: 18px; margin: 0 0 4px; } .build-quote > p { font-size: 13.5px; color: var(--text-3); margin: 0 0 14px; }
.build-quote .field { margin-bottom: 12px; } .build-quote .btn-block { width: 100%; justify-content: center; margin-top: 4px; }
.build-sent { margin-bottom: 20px; }
@media (max-width: 960px) { .build-grid { grid-template-columns: 1fr; } .build-side { position: static; } }
@media (max-width: 600px) { .build-opt { grid-template-columns: auto minmax(0, 1fr); } .build-opt-price { grid-column: 2; text-align: left; } .build-opt-price b { white-space: normal; } }

/* AI advisor: thread + lead capture */
.ai-thread:empty { display: none; }
.ai-thread { display: grid; gap: 8px; margin: 0 36px 12px 0; }
.ai-turn { display: grid; gap: 4px; }
.ai-bubble { justify-self: end; max-width: 85%; background: var(--navy); color: #fff; font-size: 14px; padding: 8px 12px; border-radius: 14px 14px 4px 14px; }
.ai-prev { font-size: 12.5px; color: var(--text-3); padding-left: 4px; }
.ai-lead { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--surface); display: grid; gap: 10px; }
.ai-lead-copy strong { display: block; font-size: 14px; } .ai-lead-copy span { font-size: 13px; color: var(--text-3); }
.ai-lead-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 8px; }
.ai-lead-form input { height: 38px; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 10px; font: inherit; font-size: 14px; min-width: 0; }
.ai-lead-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 11, 12, .1); }
.ai-lead-form .btn { white-space: nowrap; }
.ai-lead-ok { font-size: 14px; color: #047857; font-weight: 600; }
@media (max-width: 720px) { .ai-lead-form { grid-template-columns: 1fr; } }
