/* =========================================================================
   SyncMinds — public website
   Clean, light corporate. One family (Geist), navy ink, a single confident blue,
   teal as the second "mind". Structure comes from whitespace and hairlines.
   ========================================================================= */

@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  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: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-tint: #EEF3FF;
  --line: #E3E8F0;
  --line-strong: #CCD5E3;
  --ink: #0E1B2E;
  --body: #3B4A60;
  --muted: #66748A;
  --navy: #0A1A33;
  --navy-2: #12264A;
  --blue: #2046D8;
  --blue-ink: #1A39B5;
  --teal: #0E9F9A;
  --ok: #127C4A;
  --warn: #9A6412;
  --danger: #C2412D;
  --wa: #1FAF5A;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-xl: clamp(1.25rem, 1.15rem + .4vw, 1.4rem);
  --t-h3: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  --t-h2: clamp(1.85rem, 1.4rem + 1.7vw, 2.75rem);
  --t-h1: clamp(2.35rem, 1.55rem + 3.3vw, 4.25rem);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(14, 27, 46, .05), 0 8px 24px -12px rgba(14, 27, 46, .14);
  --shadow-lg: 0 2px 4px rgba(14, 27, 46, .04), 0 24px 60px -24px rgba(14, 27, 46, .28);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 76px;
  --tabbar-h: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 var(--t-base)/1.65 var(--font); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-ink); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: #CFDBFF; color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 650; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 680; letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: var(--t-h2); letter-spacing: -.035em; }
h3 { font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.25; }
h4 { font-size: var(--t-lg); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
.lead { font-size: var(--t-xl); line-height: 1.55; color: var(--body); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.sr-only, .hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { left: -10000px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head p { margin: 0; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; color: var(--blue); }

/* ---------- icons & buttons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --bg: var(--blue-ink); --bd: var(--blue-ink); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn-primary { box-shadow: 0 1px 2px rgba(32, 70, 216, .25), 0 8px 20px -10px rgba(32, 70, 216, .6); }
.btn-outline { --bg: #fff; --fg: var(--ink); --bd: var(--line-strong); }
.btn-outline:hover { --bg: #fff; --bd: var(--ink); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: transparent; }
.btn-ghost:hover { --bg: var(--bg-soft); --bd: transparent; --fg: var(--ink); }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn-light:hover { --bg: #E8EEFF; --bd: #E8EEFF; --fg: var(--navy); }
.btn-wa { --bg: var(--wa); --bd: var(--wa); --fg: #fff; }
.btn-wa:hover { --bg: #179149; --bd: #179149; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--t-sm); border-radius: 9px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
.textlink .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- announcement + utility bar ---------- */
.announce { background: var(--navy); color: #DCE4F5; font-size: var(--t-sm); text-align: center; padding: 9px var(--gutter); }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.utility { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.utility-group { display: flex; align-items: center; gap: 22px; }
.utility a { color: var(--body); display: inline-flex; align-items: center; gap: 7px; }
.utility a:hover { color: var(--blue); }
.utility .icon { width: 15px; height: 15px; color: var(--blue); }

/* ---------- header & navigation ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 27, 46, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.28rem; letter-spacing: -.035em; flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 10px; }
.brand-name { white-space: nowrap; color: #0D2B4E; }
.footer .brand-name { color: #fff; }
.brand-c { background: linear-gradient(135deg, #A300FF 0%, #6A4BFF 45%, #00C2FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-slogan { font-size: .78rem; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.7); margin-top: 3px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .98rem; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-item.is-open > .nav-link { background: var(--bg-soft); color: var(--ink); }
.nav-link[aria-current] { color: var(--blue); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; color: var(--muted); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1101px) {
  .nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-item:hover .chev { transform: rotate(180deg); }
}
.dd-link { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 10px; border-radius: 10px; color: var(--ink); }
.dd-link:hover { background: var(--bg-soft); color: var(--ink); }
.dd-link .dd-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); }
.dd-link .dd-ico .icon { width: 18px; height: 18px; }
.dd-link strong { display: block; font-size: .96rem; line-height: 1.3; }
.dd-link span.dd-sub { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dd-simple { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .96rem; }
.dd-simple:hover { background: var(--bg-soft); color: var(--blue); }
.dd-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 12px; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.mega { left: 50%; transform: translate(-42%, 6px); width: min(980px, calc(100vw - 48px)); padding: 22px; }
.nav-item.is-open > .mega { transform: translate(-42%, 0); }
@media (hover: hover) and (min-width: 1101px) { .nav-item:hover > .mega { transform: translate(-42%, 0); } }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 250px; gap: 18px; }
.mega-col h3 { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin: 4px 10px 8px; }
.mega-col .dd-link { padding: 8px 10px; }
.mega-card { background: var(--navy); color: #C9D4EA; border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mega-card strong { color: #fff; font-size: 1.1rem; line-height: 1.3; }
.mega-card p { font-size: .9rem; margin: 0; }
.mega-card .btn { margin-top: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* mobile menu sheet */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: #fff; overflow-y: auto; padding: 0 var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.mobile-menu:not([hidden]) { animation: sheet-in .28s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: 64px; position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)); padding: env(safe-area-inset-top) var(--gutter) 0; }
.mobile-menu details { border-bottom: 1px solid var(--line); }
.mobile-menu summary, .mobile-menu .mm-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-size: 1.1rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .mm-link { border-bottom: 1px solid var(--line); }
.mobile-menu details[open] summary .chev { transform: rotate(180deg); }
.mobile-menu .mm-sub { display: grid; padding: 0 0 14px; }
.mobile-menu .mm-sub a { padding: 9px 4px; color: var(--body); font-size: 1rem; }
.mobile-menu .mm-cta { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 10%, rgba(32, 70, 216, .07), transparent 70%),
  linear-gradient(to right, rgba(14, 27, 46, .045) 1px, transparent 1px) 0 0 / 64px 64px,
  linear-gradient(to bottom, rgba(14, 27, 46, .045) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .hero-title { display: block; }
.hero-pill { display: flex; width: fit-content; max-width: 100%; letter-spacing: 0; line-height: 1.4;  align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--body); margin-bottom: 22px; box-shadow: var(--shadow); }
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-tint); display: grid; place-items: center; color: var(--blue); }
.hero-pill .dot .icon { width: 13px; height: 13px; }
.hero h1 .hero-title { max-width: 15ch; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: var(--t-sm); color: var(--body); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 17px; height: 17px; color: var(--teal); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { display: grid; }
.stats strong { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 680; letter-spacing: -.04em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: var(--t-sm); }

/* hero composition: "growth console" */
.console { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: end; width: 100%; }
.c-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.c-browser { inset: 4% 0 24% 6%; overflow: hidden; }
.c-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.c-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.c-url { margin-left: 10px; flex: 1; height: 26px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.c-url .icon { width: 12px; height: 12px; color: var(--muted); }
.c-body { padding: 20px 22px; display: grid; gap: 16px; }
.c-result { display: grid; gap: 3px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.c-result.is-ours { border-color: rgba(32, 70, 216, .35); background: linear-gradient(0deg, rgba(32, 70, 216, .04), rgba(32, 70, 216, .04)), #fff; }
.c-site { font-size: .74rem; color: #4D5156; display: flex; align-items: center; gap: 6px; }
.c-site b { width: 16px; height: 16px; border-radius: 50%; background: var(--bg-tint); display: inline-block; }
.c-title { font-size: .98rem; color: #1A0DAB; font-weight: 500; line-height: 1.3; }
.c-desc { font-size: .78rem; color: #4D5156; line-height: 1.45; }
.c-skel { height: 9px; border-radius: 5px; background: var(--bg-soft); }
.c-skel.w60 { width: 60%; } .c-skel.w80 { width: 80%; } .c-skel.w40 { width: 40%; }
.c-scores { left: 0; bottom: 3%; width: 64%; padding: 16px 18px; }
.c-scores-title { font-size: .76rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ring { display: grid; justify-items: center; gap: 6px; font-size: .68rem; color: var(--muted); text-align: center; line-height: 1.2; }
.ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .track { stroke: #E6F4EC; }
.ring .val { stroke: #0C9D58; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; animation: ring-fill 1.4s .5s var(--ease) forwards; }
.ring b { position: relative; margin-top: -46px; margin-bottom: 18px; color: #0B7A45; font-size: .95rem; font-weight: 650; }
@keyframes ring-fill { to { stroke-dashoffset: var(--off); } }
.c-lead { right: -2%; bottom: 14%; width: 56%; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; opacity: 0; transform: translateY(14px) scale(.98); animation: lead-in .7s 1.6s var(--ease) forwards; }
.c-lead .ico { width: 38px; height: 38px; border-radius: 10px; background: #E7F7EE; color: var(--ok); display: grid; place-items: center; }
.c-lead strong { display: block; font-size: .88rem; line-height: 1.25; }
.c-lead span { display: block; font-size: .76rem; color: var(--muted); }
@keyframes lead-in { to { opacity: 1; transform: none; } }
.c-tag { right: 6%; top: 0; padding: 8px 12px; font-size: .78rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; border-radius: 999px; animation: float 6s ease-in-out infinite; }
.c-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(14, 159, 154, .15); }
@keyframes float { 50% { transform: translateY(-6px); } }
.console-note { position: absolute; left: 6%; bottom: -26px; font-size: .78rem; color: var(--muted); }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding-block: 22px; }
.trust-label { font-size: var(--t-sm); color: var(--muted); max-width: 16ch; line-height: 1.4; }
.trust-items { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; }
.trust-items span { font-weight: 600; color: #8592A6; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.trust-items img { height: 32px; width: auto; filter: grayscale(1); opacity: .7; }

/* ---------- service index ---------- */
.svc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.svc-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; }
.svc-col > h3 { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin: 14px 14px 8px; display: flex; align-items: center; justify-content: space-between; }
.svc-col > h3 small { font-weight: 500; font-size: .85rem; }
.svc-link { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: start; padding: 14px; border-radius: 12px; color: var(--ink); transition: background-color .2s; }
.svc-link:hover { background: var(--bg-soft); color: var(--ink); }
.svc-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.svc-link:hover .svc-ico { background: var(--blue); color: #fff; }
.svc-link strong { display: block; font-size: 1.05rem; line-height: 1.3; letter-spacing: -.01em; }
.svc-link span.svc-sub { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.svc-link .go { color: var(--line-strong); margin-top: 12px; transition: transform .2s var(--ease), color .2s; }
.svc-link:hover .go { color: var(--blue); transform: translateX(2px); }

/* ---------- why / feature grid ---------- */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-item { padding: 26px 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.why-item .icon { width: 26px; height: 26px; color: var(--blue); margin-bottom: 16px; }
.why-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-item p { margin: 0; font-size: .97rem; color: var(--muted); }

/* ---------- packages / plans ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; padding: 5px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; width: fit-content; max-width: 100%; }
.tab { border: 0; background: none; padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--body); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 27, 46, .08), 0 2px 8px -4px rgba(14, 27, 46, .2); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.plan:hover { box-shadow: var(--shadow); }
.plan.is-featured { border: 1.5px solid var(--blue); box-shadow: 0 1px 2px rgba(32, 70, 216, .1), 0 20px 40px -24px rgba(32, 70, 216, .45); }
.plan .badge { position: absolute; top: -12px; left: 24px; padding: 3px 11px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 600; }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); margin: 0 0 22px; font-size: .94rem; min-height: 2.8em; }
.price-note { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.price { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); font-weight: 700; letter-spacing: -.045em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.price.custom { font-size: 1.85rem; }
.period { font-size: .95rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 22px 0 26px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; color: var(--body); line-height: 1.45; }
.plan li .icon { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: var(--t-sm); color: var(--muted); }

.compare-wrap { position: relative; overflow-x: auto; max-width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--bg-soft); font-size: 1rem; color: var(--ink); position: sticky; top: 0; }
.compare thead th small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.compare tbody th { font-weight: 500; color: var(--body); width: 28%; }
.compare td { color: var(--ink); }
.compare td .icon { width: 18px; height: 18px; color: var(--teal); }
.compare td.na { color: var(--line-strong); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .col-featured { background: rgba(32, 70, 216, .035); }

/* ---------- process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.steps li:not(:nth-child(3n)) { border-right: 1px solid var(--line); margin-right: 0; }
.steps li:not(:nth-child(3n+1)) { padding-left: 28px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: .9rem; font-weight: 600; color: var(--blue); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ind-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.ind-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.ind-card .icon { width: 24px; height: 24px; color: var(--blue); }
.ind-card strong { font-size: 1.05rem; line-height: 1.3; }
.ind-card span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.work-media { display: block; padding: 22px 22px 0; background: linear-gradient(160deg, #EEF2FF 0%, #E6F6F5 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.work-card:nth-child(3n+2) .work-media { background: linear-gradient(160deg, #F1F5F9 0%, #E8EEFF 100%); }
.work-card:nth-child(3n) .work-media { background: linear-gradient(160deg, #E9F7F6 0%, #F4F1FF 100%); }
.browser { display: block; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -1px 0 rgba(14,27,46,.04), 0 12px 32px -12px rgba(14,27,46,.28); transform: translateY(6px); transition: transform .45s var(--ease); }
.work-card:hover .browser { transform: translateY(0); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; background: #F3F5F9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5DBE5; flex: none; }
.browser-bar i:first-child { background: #F2A39B; } .browser-bar i:nth-child(2) { background: #F3D28A; } .browser-bar i:nth-child(3) { background: #9FD9A6; }
.browser-url { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; min-width: 0; flex: 1; height: 18px; padding: 0 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url .icon { width: 10px; height: 10px; flex: none; }
.browser-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.work-card:hover .browser-shot img { transform: scale(1.035); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.work-meta { font-size: .82rem; color: var(--blue); font-weight: 600; letter-spacing: .01em; }
.work-body h3 { margin: 6px 0 8px; font-size: 1.2rem; line-height: 1.3; }
.work-body h3 a { color: inherit; }
.work-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.work-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.work-links .textlink { font-size: .92rem; }
.work-visit { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.work-visit:hover { color: var(--blue); }
.work-visit .icon { width: 14px; height: 14px; }
.work-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card .work-media { padding: 0; background: var(--bg-soft); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); font-weight: 500; font-size: .95rem; }
.filters a:hover { border-color: var(--ink); color: var(--ink); }
.filters a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- testimonials & clients ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 22px; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; margin-top: auto; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.stars { color: #E2A50B; letter-spacing: 2px; margin-bottom: 12px; font-size: 1rem; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; align-items: center; }
.logos a, .logos span { display: grid; place-items: center; height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.logos img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos a:hover img { filter: none; opacity: 1; }

/* ---------- areas served ---------- */
.areas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.area-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.area-lists h3 { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.area-lists ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.area-lists a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--ink); font-weight: 500; }
.area-lists a:hover { color: var(--blue); }
.area-lists .icon { width: 15px; height: 15px; color: var(--teal); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; color: var(--ink); line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; width: 22px; height: 22px; color: var(--blue); transition: transform .25s var(--ease); margin-top: 1px; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .faq-a { padding: 0 0 22px; max-width: 68ch; }
.faq-list .faq-a p:last-child { margin: 0; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.faq-cats a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); font-weight: 500; font-size: .95rem; }
.faq-cats a:hover { border-color: var(--ink); color: var(--ink); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: var(--t-h3); }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 24px; }
.post-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.post-card:hover { color: var(--ink); }
.post-card .work-media { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 16 / 9; padding: 0; background: var(--bg-soft); }
.post-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.3; transition: color .2s; }
.post-card:hover h3 { color: var(--blue); }
.post-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.meta { color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.meta .cat { color: var(--blue); font-weight: 600; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding-block: clamp(36px, 5vw, 72px) clamp(36px, 5vw, 64px); background: var(--bg-soft); border-bottom: 1px solid var(--line); overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(14, 27, 46, .04) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(to bottom, rgba(14, 27, 46, .04) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(100deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000); pointer-events: none; }
.page-hero > .wrap, .page-hero > .wrap-narrow { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); max-width: 22ch; }
.page-hero .lead { margin-top: 14px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); margin-right: 4px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- content layout ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.side-card h2, .side-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.side-card.dark { background: var(--navy); border-color: var(--navy); color: #C9D4EA; }
.side-card.dark h2, .side-card.dark h3, .side-card.dark strong { color: #fff; }
.side-card.dark p { font-size: .95rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 10px 6px 12px; border-left: 2px solid var(--line); color: var(--body); font-size: .93rem; line-height: 1.4; }
.toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.toc a.is-active { color: var(--blue); border-left-color: var(--blue); font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.45; font-size: .97rem; }
.ticks .icon { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.ticks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }

.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--body); max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); margin: 2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.3rem; margin: 1.7em 0 .5em; }
.prose h4 { margin: 1.5em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(32, 70, 216, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--blue); }
.prose ol li::marker { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--blue); background: var(--bg-soft); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose pre { background: var(--navy); color: #E6ECF8; padding: 16px; border-radius: var(--r); overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; font-size: .92em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); border: 0; margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16 / 8; background: var(--bg-soft); border: 1px solid var(--line); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.gallery img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 48px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }

.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.link-cloud a { padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.link-cloud a:hover { border-color: var(--blue); color: var(--blue); }
.link-cloud .icon { width: 16px; height: 16px; color: var(--blue); }

.author { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); margin-top: 48px; }
.author .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.author p { margin: 2px 0 0; font-size: .95rem; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; }
.share span { font-size: var(--t-sm); color: var(--muted); margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #C9D4EA; position: relative; overflow: clip; }
.cta-band::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(50% 80% at 100% 0%, rgba(32, 70, 216, .45), transparent 70%),
  radial-gradient(40% 60% at 0% 100%, rgba(14, 159, 154, .25), transparent 70%); pointer-events: none; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #C9D4EA; }
.cta-band .form-card { background: #fff; color: var(--body); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.cta-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.cta-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #DCE4F5; }
.cta-points .icon { color: #5EE2D9; width: 20px; height: 20px; margin-top: 2px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-contact .btn-outline { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .3); }
.cta-contact .btn-outline:hover { --bd: #fff; --fg: #fff; --bg: rgba(255, 255, 255, .06); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: .92rem; font-weight: 500; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea, .subscribe input, .chat-lead input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2366748A' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field input::placeholder, .field textarea::placeholder { color: #98A3B5; }
.field input:focus, .field select:focus, .field textarea:focus, .subscribe input:focus, .chat-lead input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 70, 216, .14); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .86rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-note { min-height: 1.4em; margin: 0; font-size: .94rem; color: var(--muted); }
.form-note.ok { color: var(--ok); }
.form-note.error { color: var(--danger); }
.form-legal { font-size: .82rem; color: var(--muted); margin: 0; }
.form-success { display: grid; gap: 12px; justify-items: start; padding: 28px; border-radius: var(--r-lg); background: #F0FAF4; border: 1px solid #BFE5CF; animation: fade .4s var(--ease); }
.form-success .icon { width: 32px; height: 32px; color: var(--ok); }
.form-success h3 { margin: 0; }
.form-success p { margin: 0; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select label { position: relative; }
.chips-select input { position: absolute; opacity: 0; pointer-events: none; }
.chips-select span { display: inline-flex; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: .93rem; font-weight: 500; cursor: pointer; color: var(--ink); background: #fff; transition: border-color .15s, background-color .15s; }
.chips-select input:checked + span { border-color: var(--blue); background: var(--bg-tint); color: var(--blue); }
.chips-select input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.stepper { display: flex; gap: 8px; margin-bottom: 24px; }
.stepper i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.stepper i.on { background: var(--blue); }
.quote-step h2 { font-size: 1.35rem; }
.quote-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.contact-methods { display: grid; gap: 12px; }
.contact-methods a, .contact-methods div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink); }
.contact-methods a:hover { border-color: var(--blue); color: var(--ink); }
.contact-methods .ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); }
.contact-methods .ico.wa { background: #E6F7EE; color: var(--wa); }
.contact-methods strong { display: block; font-size: 1rem; line-height: 1.3; }
.contact-methods small { display: block; color: var(--muted); font-size: .88rem; }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--r-lg); margin-top: 18px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #A9B6CE; margin-top: 0; }
.footer a { color: #C9D4EA; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 72px 48px; }
.footer .brand { color: #fff; }
.footer-about { font-size: .95rem; max-width: 36ch; margin: 18px 0 22px; }
.footer h2 { color: #fff; font-size: .98rem; letter-spacing: 0; font-weight: 600; margin: 4px 0 16px; }
.footer nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer-contact { display: grid; gap: 12px; font-size: .95rem; }
.footer-contact a, .footer-contact p { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 0; }
.footer-contact .icon { width: 17px; height: 17px; color: #6E8BD8; margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; }
.socials a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.socials .icon { width: 17px; height: 17px; }
.subscribe { margin-top: 24px; }
.subscribe label { display: block; color: #fff; font-weight: 500; font-size: .95rem; margin-bottom: 10px; }
.subscribe-row { display: flex; gap: 8px; max-width: 380px; }
.subscribe input { min-height: 44px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.subscribe input::placeholder { color: #7E8BA6; }
.subscribe .btn { min-height: 44px; }
.subscribe .form-note { color: #A9B6CE; margin-top: 8px; }
.subscribe .form-note.ok { color: #6EE7B0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px 28px; font-size: .88rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-areas { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-areas .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-block: 20px; font-size: .86rem; align-items: center; }
.footer-areas strong { color: #fff; font-weight: 600; margin-right: 6px; }

/* ---------- floating actions & chat ---------- */
.fab-stack { position: fixed; right: 20px; bottom: calc(20px + var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { display: inline-flex; align-items: center; gap: 8px; height: 56px; min-width: 56px; justify-content: center; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(14, 27, 46, .45); transition: transform .2s var(--ease); font-weight: 600; }
.fab:hover { transform: translateY(-2px); }
.fab-wa { background: var(--wa); color: #fff; }
.fab-wa:hover { color: #fff; }
.fab-wa .icon { width: 28px; height: 28px; }
.fab-chat { background: var(--ink); color: #fff; padding: 0 20px 0 16px; }
.fab-chat[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.fab-top { width: 44px; height: 44px; min-width: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab-top.is-on { opacity: 1; pointer-events: auto; }

.chat { position: fixed; z-index: 95; right: 20px; bottom: calc(20px + var(--tabbar-h) + env(safe-area-inset-bottom)); width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(14, 27, 46, .45); overflow: hidden; transform-origin: bottom right; }
.chat:not([hidden]) { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--navy); color: #C9D4EA; }
.chat-head h2 { color: #fff; font-size: 1.05rem; margin: 0; }
.chat-head p { margin: 0; font-size: .82rem; }
.chat-head .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .2); }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; background: var(--bg-soft); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; line-height: 1.5; font-size: .96rem; white-space: pre-wrap; overflow-wrap: anywhere; animation: fade .25s var(--ease); }
.msg.bot { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.err { background: #FDF0EE; border-color: #F3C9C2; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; background: #fff; }
.chat-input textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong); }
.chat-input textarea:focus { outline: none; border-color: var(--blue); }
.chat-input .send { background: var(--blue); color: #fff; border: 0; width: 44px; height: 44px; }
.chat-lead { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: #fff; }
.chat-lead p { margin: 0 0 4px; font-size: .94rem; color: var(--ink); }
.chat-lead input { min-height: 42px; }
.chat-lead-actions { display: flex; align-items: center; gap: 14px; }
.chat-foot { margin: 0; padding: 0 16px 10px; font-size: 12px; color: var(--muted); text-align: center; background: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row button { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: .88rem; color: var(--ink); }
.chip-row button:hover { border-color: var(--blue); color: var(--blue); }

.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 96; max-width: 600px; margin-inline: auto; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; gap: 16px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg); }
.consent p { margin: 0; font-size: .94rem; }
.consent div { display: flex; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h) + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 97; background: var(--ink); color: #fff; padding: 10px 12px 10px 18px; border-radius: 12px; font-weight: 500; animation: fade .3s var(--ease); display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); }
.toast button { background: #fff; color: var(--ink); border: 0; border-radius: 8px; padding: 7px 12px; cursor: pointer; font-weight: 600; }
.toast button + button { background: transparent; color: #fff; }

/* ---------- app-like mobile ---------- */
.tabbar { display: none; }
.utility-hide-sm { display: inline-flex; }

@media (max-width: 1100px) {
  .nav, .header-actions .btn-outline, .utility .utility-hide-sm { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar .toc-card { display: none; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cols { grid-template-columns: 1fr; }
  .why, .faq-layout, .areas { grid-template-columns: 1fr; }
  .why-intro { position: static; }
}

@media (max-width: 860px) {
  :root { --tabbar-h: 66px; --header-h: 64px; }
  .utility { display: none; }
  .header-actions > .btn-primary { min-height: 40px; padding: 0 14px; font-size: .92rem; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .tabbar a { display: grid; place-items: center; align-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 600; position: relative; -webkit-tap-highlight-color: transparent; }
  .tabbar a .icon { width: 23px; height: 23px; transition: transform .15s var(--ease); }
  .tabbar a:active .icon { transform: scale(.88); }
  .tabbar a[aria-current] { color: var(--blue); }
  .tabbar a[aria-current]::before { content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); }
  .tabbar a.tab-wa { color: var(--wa); }
  .fab-stack .fab-wa { display: none; }
  .fab { height: 50px; min-width: 50px; }
  .fab-chat span { display: none; }
  .fab-chat { padding: 0; width: 50px; }
  .chat { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .chat:not([hidden]) { animation: sheet .34s var(--ease); }
  @keyframes sheet { from { transform: translateY(100%); } }

  .hero { padding-top: 28px; }
  .hero-grid, .page-hero-grid, .cta-band .wrap { grid-template-columns: 1fr; }
  .console { max-width: 420px; justify-self: center; margin-top: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head.split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:not(:nth-child(3n+1)) { padding: 22px 0; border-right: 0 !important; }
  .why-grid { grid-template-columns: 1fr; }
  .work-grid, .work-grid.cols-3 { grid-template-columns: 1fr; }
  .work-grid .work-card:nth-child(n) .work-media { aspect-ratio: 16 / 10; }
  .area-lists { grid-template-columns: 1fr 1fr; }
  .ticks.cols { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; gap: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 56px; }
  .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
  .consent { flex-direction: column; align-items: stretch; }
  .tabs { width: auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .rail-mobile { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 16px var(--gutter) 8px; scrollbar-width: none; }
  .rail-mobile::-webkit-scrollbar { display: none; }
  .rail-mobile > * { scroll-snap-align: center; }
}

@media (max-width: 520px) {
  .ind-grid { grid-template-columns: 1fr; }
  .c-scores { width: 78%; }
  .c-lead { width: 70%; }
  .ring svg { width: 44px; height: 44px; }
  .ring b { margin-top: -40px; margin-bottom: 14px; font-size: .85rem; }
}

@media (display-mode: standalone) { [data-install] { display: none !important; } }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .28s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .c-lead { opacity: 1; transform: none; }
  .ring .val { stroke-dashoffset: var(--off); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  .header, .utility, .announce, .footer, .tabbar, .fab-stack, .chat, .cta-band, .sidebar { display: none !important; }
  body { padding: 0; }
}
/* grid children must be allowed to shrink so inner scrollers (tables, rails) don't widen the page */
.content-layout > *, .page-hero-grid > *, .section-head > * { min-width: 0; }

@media (max-width: 1060px) and (min-width: 861px) { .work-grid, .work-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Project page: large browser-framed screenshot */
.cover.browser-cover { aspect-ratio: auto; padding: clamp(18px, 4vw, 44px) clamp(18px, 4vw, 44px) 0; background: linear-gradient(160deg, #EEF2FF 0%, #E6F6F5 100%); }
.cover.browser-cover .browser { transform: none; }
.cover.browser-cover .browser-bar { height: 34px; }
.cover.browser-cover .browser-url { height: 22px; font-size: .8rem; max-width: 360px; }
.mobile-more { display: none; }
@media (max-width: 860px) { .home-work .work-card:nth-child(n+4) { display: none; } .mobile-more { display: block; margin: 20px 0 0; } }
@media (max-width: 860px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { flex: none; white-space: nowrap; }
}
.google-rating { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.google-rating:hover { border-color: var(--ink); color: var(--ink); }
.google-rating .g-score { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.google-rating .stars { color: #F5A623; letter-spacing: 1px; display: block; line-height: 1; }
.google-rating small { color: var(--muted); font-size: .82rem; }
.google-rating .icon { width: 14px; height: 14px; color: var(--muted); }
