/* ==========================================================================
   Databyting — site styles
   Navy #1B2652 · Deep #121A3B · Blue #2C3E9C · Light Blue #7AA2FF · Gold #F2B90F
   Clean, compact, calm. Gold is used very sparingly.
   ========================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }

:root {
    --navy: #1B2652;
    --deep: #121A3B;
    --blue: #2C3E9C;
    --sky: #7AA2FF;
    --gold: #F2B90F;
    --ink: #0B1220;
    --tint: #F5F7FF;
    --gray: #6B7280;
    --text: #4B5468;
    --line: #E4E8F5;

    --grad-brand: linear-gradient(120deg, #1B2652 0%, #2C3E9C 100%);
    --grad-dark: linear-gradient(135deg, #0E1535 0%, #1B2652 60%, #2C3E9C 130%);
    --grad-page: linear-gradient(180deg, #F2F6FF 0%, #FFFFFF 100%);

    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(18, 26, 59, .05), 0 4px 12px rgba(18, 26, 59, .05);
    --shadow-md: 0 10px 28px rgba(18, 26, 59, .1);
    --container: 1120px;
    --header-h: 84px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; }
section[id] { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky); color: var(--deep); }
svg { width: 1em; height: 1em; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--gold); color: var(--deep); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-navy { background: var(--grad-brand); color: #fff; box-shadow: 0 6px 16px rgba(44, 62, 156, .22); }
.btn-navy:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(44, 62, 156, .3); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--sky); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(4, 8, 28, .25); }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(242, 185, 15, .4); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 22px rgba(18, 26, 59, .05); }
.bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 176px; height: 54px; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--navy); transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--blue); }
.nav-link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.call-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); align-items: center; justify-content: center; background: #fff; color: var(--blue); }
.call-btn svg { width: 18px; height: 18px; }
.nav-cta { display: none; }
.nav-item { position: relative; }
.nav-link .chev { display: inline-block; width: 13px; height: 13px; margin-left: 3px; vertical-align: -2px; transition: transform .25s var(--ease); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.subnav { position: absolute; top: calc(100% - 2px); left: -14px; z-index: 5; min-width: 330px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 40px rgba(18, 26, 59, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .subnav, .nav-item:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background .2s; }
.subnav a:hover { background: var(--tint); }
.subnav .ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--blue); transition: background .2s, color .2s; }
.subnav a:hover .ico { background: var(--grad-brand); color: #fff; }
.subnav .ico svg { width: 18px; height: 18px; }
.subnav .tx { display: grid; line-height: 1.3; }
.subnav b { font-size: 14.5px; font-weight: 600; color: var(--deep); }
.subnav small { font-size: 12.5px; color: var(--gray); }
.subnav .all { margin-top: 4px; padding: 11px 12px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.subnav .all svg { width: 15px; height: 15px; margin-left: auto; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.header-phone svg { width: 16px; height: 16px; color: var(--blue); }
.menu-btn { display: none; position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-btn::before { top: 14px; } .menu-btn span { top: 20px; } .menu-btn::after { top: 26px; }
.menu-open .menu-btn::before { top: 20px; transform: rotate(45deg); }
.menu-open .menu-btn::after { top: 20px; transform: rotate(-45deg); }
.menu-open .menu-btn span { opacity: 0; }

/* ---------- Hero + page banners ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(var(--header-h) + 640px); padding: calc(var(--header-h) + 40px) 0 56px; background: radial-gradient(620px 420px at 82% 18%, rgba(122, 162, 255, .28), transparent 70%), radial-gradient(460px 320px at 0% 38%, rgba(167, 139, 250, .13), transparent 70%), var(--grad-page); }
.hero-visual { position: absolute; top: calc(var(--header-h) + (100% - var(--header-h)) / 2); right: max(8px, calc((100vw - 1120px) / 2 - 56px)); width: 560px; height: 560px; translate: 0 -50%; pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; max-width: none; }
.node { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 8px 22px rgba(44, 62, 156, .13); font-size: 13.5px; font-weight: 600; color: var(--deep); white-space: nowrap; }
.node i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.node svg { width: 14px; height: 14px; }
.hero-copy { position: relative; max-width: 600px; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero h1 { margin: 12px 0 18px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: var(--deep); }
.grad-text { background: linear-gradient(100deg, var(--blue), #5E86F2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 560px; font-size: 17.5px; line-height: 1.65; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero { padding: calc(var(--header-h) + 36px) 0 40px; background: var(--grad-page); }
.page-hero h1 { margin-top: 12px; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--deep); }
.page-hero .lead { max-width: 620px; margin-top: 12px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gray); }
.crumbs a:hover { color: var(--blue); }
.crumbs .here { color: var(--navy); font-weight: 600; }
.not-found { padding-bottom: 80px; }
.not-found .code { font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tint { position: relative; overflow: hidden; background: var(--tint); }
.section-tint::before { content: ""; position: absolute; top: 0; right: 0; width: 420px; height: 280px; pointer-events: none; background-image: radial-gradient(rgba(44, 62, 156, .16) 1.4px, transparent 1.6px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse at top right, #000, transparent 70%); mask-image: radial-gradient(ellipse at top right, #000, transparent 70%); }
.section-tint > .container { position: relative; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; flex: none; width: 54px; height: 8px; background: url("../img/brand/bits.svg") no-repeat left center / contain; }
.sec-head { margin-bottom: 32px; }
.sec-head h2, .contact-info h2 { font-size: clamp(24px, 2.7vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.028em; color: var(--deep); }
.sec-head p { max-width: 560px; margin-top: 10px; color: var(--text); }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-more { margin-top: 28px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue); }
.more-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more-link:hover svg { transform: translateX(3px); }
.bw { font-weight: 700; color: var(--deep); }
.bw b { font-weight: inherit; color: var(--blue); }

/* ---------- Services list ---------- */
.svc-list { display: grid; gap: 14px; }
.svc-row { display: grid; grid-template-columns: 56px minmax(0, .85fr) minmax(0, 1.3fr) 40px; column-gap: 22px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc-row .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--blue); transition: background .3s, color .3s; }
.svc-row .ico svg { width: 26px; height: 26px; }
.svc-row .n { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sky); }
.svc-row h3 { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--deep); transition: color .25s; }
.svc-row .d p { font-size: 15px; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags li { padding: 3px 10px; border-radius: 999px; background: var(--tint); font-size: 12.5px; font-weight: 600; color: var(--blue); }
.svc-row .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); transition: background .25s, color .25s, border-color .25s; }
.svc-row .go svg { width: 18px; height: 18px; }
.svc-row:hover { transform: translateY(-2px); border-color: #C9D6F7; box-shadow: var(--shadow-md); }
.svc-row:hover .ico { background: var(--grad-brand); color: #fff; }
.svc-row:hover h3 { color: var(--blue); }
.svc-row:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Technologies (tabbed, with logos) ---------- */
.tech-block { margin: 0; }
.tech-tabs { display: grid; grid-template-columns: 270px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.tech-nav { display: flex; flex-direction: column; padding: 10px; background: var(--tint); border-right: 1px solid var(--line); }
.tech-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: none; font-size: 15px; font-weight: 600; text-align: left; color: var(--navy); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.tech-tab .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--blue); transition: background .25s, color .25s; }
.tech-tab .ico svg { width: 17px; height: 17px; }
.tech-tab .nm { flex: 1; }
.tech-tab .ct { font-size: 12px; font-weight: 700; color: var(--gray); }
.tech-tab:hover { background: rgba(255, 255, 255, .7); }
.tech-tab[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 2px 10px rgba(18, 26, 59, .08); }
.tech-tab[aria-selected="true"] .ico { background: var(--grad-brand); color: #fff; }
.tech-panels { position: relative; padding: 28px 30px 32px; background: radial-gradient(420px 260px at 100% 0, rgba(122, 162, 255, .12), transparent 70%), #fff; }
.tech-panel { animation: fade .35s var(--ease); }
.tech-panel[hidden] { display: none; }
.tp-head { margin-bottom: 22px; }
.tp-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--deep); }
.tp-head p { margin-top: 2px; font-size: 15px; color: var(--text); }
.tech-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.tech-tiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 104px; padding: 16px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.tech-tiles li:hover { transform: translateY(-3px); border-color: #C9D6F7; box-shadow: var(--shadow-md); }
.tech-tiles img { width: 38px; height: 38px; object-fit: contain; }
.tech-tiles .ph { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--blue); }
.tech-tiles .ph svg { width: 20px; height: 20px; }
.tech-tiles b { font-size: 13.5px; font-weight: 600; text-align: center; line-height: 1.3; color: var(--deep); }
.tech-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.tech-row span { margin-right: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.tech-row i { font-style: normal; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .3s, transform .3s var(--ease); }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .shot img { transform: scale(1.03); }
.work-card .meta { padding: 18px 22px 22px; }
.work-card small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.work-card h3 { margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--deep); }
.work-card p { margin-top: 6px; font-size: 15px; color: var(--text); }
.work-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); }
.work-card .more svg { width: 15px; height: 15px; }
.demo-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); box-shadow: var(--shadow-sm); }
.demo-tag.inline { top: 18px; right: 18px; left: auto; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-grid.two { grid-template-columns: repeat(2, 1fr); }
.t-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.t-card .q { width: 24px; height: 24px; color: var(--sky); }
.t-card blockquote { margin: 12px 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--deep); }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 14px; }
.t-card b { display: block; font-size: 14px; color: var(--deep); }
.t-card small { font-size: 13px; color: var(--gray); }

/* ---------- About + team ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-copy p { font-size: 17px; line-height: 1.7; color: var(--text); }
.about-copy p + p { margin-top: 14px; }
.co-facts { padding: 8px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.co-facts div { padding: 14px 0; }
.co-facts div + div { border-top: 1px solid var(--line); }
.co-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.co-facts dd { margin-top: 2px; font-weight: 600; color: var(--deep); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .photo img { transform: scale(1.04); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 26, 59, .65)); opacity: 0; transition: opacity .3s; }
.member:hover .photo::after { opacity: 1; }
.social { display: flex; gap: 8px; }
.photo .social { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; justify-content: center; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.member:hover .social, .member:focus-within .social { opacity: 1; transform: none; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); transition: background .2s, color .2s; }
.social a:hover { background: var(--blue); color: #fff; }
.social svg { width: 16px; height: 16px; }
.member .info { padding-top: 12px; }
.member h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--deep); }
.member .info span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--gray); }

/* ---------- Services page: engagement + process ---------- */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engage { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.engage .ico { width: 42px; height: 42px; margin-bottom: 14px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.engage .ico svg { width: 21px; height: 21px; }
.engage h3 { font-size: 18px; font-weight: 700; color: var(--deep); }
.engage small { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--blue); }
.engage p { margin-top: 10px; font-size: 15px; color: var(--text); }
.engage .from { display: block; margin-top: 12px; color: var(--deep); }
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 41px; border-top: 2px dashed #C3D2F6; }
.step { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step .n { width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 0 0 6px var(--tint); }
.js .step .n { transform: scale(.6); transition: transform .6s var(--ease) calc(var(--d, 0ms) + .15s); }
.js .step.in .n { transform: none; }
.step h3 { font-size: 18px; font-weight: 700; color: var(--deep); }
.step p { margin-top: 6px; font-size: 15px; color: var(--text); }

/* ---------- Service detail ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature { display: flex; gap: 14px; padding: 18px; border-radius: 12px; background: var(--tint); }
.chk { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.chk svg { width: 15px; height: 15px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--deep); }
.feature p { margin-top: 4px; font-size: 14.5px; color: var(--text); }
.svc-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.aside-card h3 { font-size: 17px; font-weight: 700; color: var(--deep); }
.aside-card.contact { border: 0; background: var(--grad-dark); color: #fff; }
.aside-card.contact h3 { color: #fff; }
.aside-card.contact p { margin: 6px 0 16px; font-size: 14.5px; color: rgba(226, 233, 255, .8); }
.aside-card .btn { width: 100%; }
.aside-line { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: #E4ECFF; }
.aside-line svg { width: 16px; height: 16px; flex: none; color: var(--sky); }
.aside-links { margin-top: 8px; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--navy); }
.aside-links a > svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.aside-links .go { margin-left: auto; width: 15px; height: 15px; opacity: 0; transition: opacity .25s; }
.aside-links a:hover { color: var(--blue); }
.aside-links a:hover .go { opacity: 1; }

/* ---------- Case study ---------- */
.cs-shot { position: relative; margin-bottom: 40px; overflow: hidden; border-radius: var(--radius); background: var(--tint); box-shadow: var(--shadow-md); }
.cs-shot img { width: 100%; height: auto; display: block; }
.cs-shot .demo-tag { top: 14px; left: 14px; }
.cs-media { margin-bottom: 40px; }
.cs-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--deep); }
.cs-video iframe, .cs-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.g-open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--tint); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.g-open img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.g-open:hover img { transform: scale(1.02); }
.zoom { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); opacity: 0; transition: opacity .25s; }
.zoom svg { width: 16px; height: 16px; }
.g-open:hover .zoom, .g-open:focus-visible .zoom { opacity: 1; }
.g-item figcaption { margin-top: 8px; font-size: 13.5px; color: var(--gray); }
.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.cs-block + .cs-block { margin-top: 32px; }
.cs-block p { font-size: 17px; line-height: 1.7; color: var(--text); }
.cs-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.cs-results div { padding: 18px; border-radius: 12px; background: var(--tint); }
.cs-results b { display: block; font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.cs-results span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--gray); }
.cs-quote { margin: 32px 0 0; padding: 20px 24px; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--tint); font-size: 17px; color: var(--deep); }
.cs-quote cite { display: block; margin-top: 8px; font-size: 13.5px; font-style: normal; font-weight: 600; color: var(--gray); }
.cs-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cs-aside dl { display: grid; gap: 14px; margin-bottom: 8px; }
.cs-aside dt { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.cs-aside dd { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--deep); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips i { font-style: normal; padding: 3px 10px; border-radius: 999px; background: var(--tint); font-size: 12.5px; color: var(--blue); }
.next-case { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.next-case small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.next-case h3 { margin-top: 2px; font-size: 20px; font-weight: 800; letter-spacing: -.015em; color: var(--deep); }
.next-case p { margin-top: 4px; max-width: 520px; font-size: 15px; color: var(--text); }
.lightbox { width: min(1040px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--deep); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 9, 28, .82); }
.lightbox img { display: block; width: 100%; max-height: 80vh; object-fit: contain; }
.lb-cap { padding: 12px 20px 16px; font-size: 14px; color: rgba(226, 233, 255, .8); }
.lb-cap:empty { display: none; }
.lb-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--deep); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------- Contact + FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info > p { margin-top: 10px; color: var(--text); }
.info-list { margin-top: 24px; border-top: 1px solid var(--line); }
.info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-item .ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--blue); }
.info-item .ico svg { width: 18px; height: 18px; }
.info-item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.info-item a, .info-item p { font-size: 15.5px; font-weight: 600; line-height: 1.5; color: var(--deep); }
.info-item a:hover { color: var(--blue); }
.dir { display: inline-block; margin-top: 2px; font-size: 14px; color: var(--blue) !important; }
.follow, .profiles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.follow b, .profiles b { font-size: 14px; color: var(--deep); margin-right: 4px; }
.follow .social a { background: var(--tint); }
.follow .social a:hover { background: var(--blue); }
.profiles a { padding: 5px 12px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 600; color: var(--blue); }

.form-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -.015em; color: var(--deep); }
.form-card > p { margin-top: 4px; font-size: 15px; color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field label small { font-weight: 500; color: var(--gray); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); font: 500 15px/1.4 "Inter", sans-serif; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field input::placeholder, .field textarea::placeholder { color: #9AA3B8; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(44, 62, 156, .1); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #E2824F; }
.err-msg { font-size: 13px; font-weight: 500; color: #C2410C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; }
.form-alert.ok { background: #E8F7F0; color: #14694A; border: 1px solid #BFE8D6; }
.form-alert.err { background: #FDEFE8; color: #9A3A0F; border: 1px solid #F6D2BF; }
.form-alert.warn { background: #FFF6DD; color: #7A5A00; border: 1px solid #F3DFA2; line-height: 1.55; }
.form-alert.warn b { display: block; margin-bottom: 2px; color: #5E4500; }
.form-alert.warn a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-grid.is-off { opacity: .5; filter: grayscale(.3); }
.form-grid.is-off .btn { cursor: not-allowed; box-shadow: none; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--gray); }
.form-note a { color: var(--blue); font-weight: 600; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-note { color: var(--text); font-size: 15px; }
.faq-note a { color: var(--blue); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 600; color: var(--deep); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); transition: transform .3s var(--ease), background .2s, color .2s; }
.pm svg { width: 14px; height: 14px; }
.faq-list details[open] .pm { transform: rotate(135deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.ans { padding: 0 0 16px; font-size: 15.5px; color: var(--text); animation: fade .3s var(--ease); }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 14px; margin-bottom: 24px; }
.job { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.job h3 { font-size: 18px; font-weight: 700; color: var(--deep); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.job-meta span { padding: 3px 10px; border-radius: 999px; background: var(--tint); font-size: 12.5px; font-weight: 600; color: var(--blue); }
.job > p { margin-top: 12px; color: var(--text); }
.job-req { display: grid; gap: 6px; margin-top: 12px; }
.job-req li { display: flex; gap: 8px; font-size: 14.5px; color: var(--text); }
.job-req svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.cv-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 30px; border-radius: var(--radius); color: #fff; background: var(--grad-dark); }
.cv-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.cv-card p { margin-top: 6px; color: rgba(226, 233, 255, .8); font-size: 15px; }
.cv-card ul { display: grid; gap: 6px; margin-top: 12px; }
.cv-card li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #E4ECFF; }
.cv-card li svg { flex: none; width: 16px; height: 16px; color: var(--sky); }
.cv-card .btn { flex: none; }
.cv-note { margin-top: 14px; font-size: 14px; color: var(--gray); }
.cv-note a { color: var(--blue); font-weight: 600; }

/* ---------- Closing band ---------- */
.cta-band { padding: 0 0 72px; }
.section-tint + .cta-band { padding-top: 72px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px 40px; border-radius: 16px; color: #fff; background: var(--grad-dark); }
.cta-card h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.025em; }
.cta-card p { margin-top: 4px; color: rgba(226, 233, 255, .8); font-size: 15.5px; }
.cta-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.cta-phone { font-size: 15px; font-weight: 600; color: #E4ECFF; }
.cta-phone:hover { color: #fff; }

/* ---------- Legal text ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 32px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.015em; color: var(--deep); }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0 20px; list-style: disc; display: grid; gap: 6px; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose em { color: var(--gray); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(226, 233, 255, .75); border-top: 4px solid var(--blue); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 52px 0 36px; }
.site-footer .view-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sky); }
.site-footer .view-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.site-footer .view-more:hover svg { transform: translateX(3px); }
.footer-brand img { width: 160px; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; font-size: 14.5px; }
.footer-brand .tag { margin-top: 10px; color: var(--sky); font-weight: 600; }
.site-footer h4 { margin-bottom: 14px; font-size: 14px; font-weight: 700; color: #fff; }
.site-footer li + li { margin-top: 9px; }
.site-footer li { font-size: 14.5px; }
.site-footer a { transition: color .2s; }
.site-footer li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--sky); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom b { color: #fff; font-weight: 600; }
.legal { margin-left: 14px; text-decoration: underline; text-underline-offset: 3px; }
.legal:hover { color: #fff; }
.footer-bottom .social a { width: 32px; height: 32px; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-bottom .social a:hover { background: var(--sky); color: var(--deep); }

/* ---------- Floating buttons ---------- */
.wa-float { position: fixed; right: 20px; bottom: 76px; z-index: 90; display: inline-flex; align-items: center; height: 46px; padding: 0 13px; border-radius: 999px; color: #fff; background: var(--grad-brand); box-shadow: 0 8px 22px rgba(44, 62, 156, .35); transition: padding .3s var(--ease), gap .3s var(--ease); }
.wa-float svg { width: 20px; height: 20px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; transition: max-width .35s var(--ease); }
.wa-float:hover { gap: 8px; padding: 0 18px 0 14px; }
.wa-float:hover span { max-width: 110px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 4px 16px rgba(18, 26, 59, .18); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .node { display: none; }
    .hero { min-height: 0; display: block; }
    .hero-visual { top: 50%; right: -240px; opacity: .55; translate: 0 -45%; }
    .process::before { display: none; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .process { grid-template-columns: 1fr 1fr; gap: 20px; }
    .svc-layout, .cs-layout { grid-template-columns: 1fr; gap: 32px; }
    .svc-aside, .cs-aside { position: static; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .header-phone { display: none; }
}
@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .menu-btn { display: block; }
    .call-btn { display: inline-flex; }
    .header-cta { gap: 10px; }
    .header-cta .btn { display: none; }
    .nav { position: fixed; left: 14px; right: 14px; top: calc(var(--header-h) + 6px); flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
    .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
    .nav-link { padding: 13px 14px; border-radius: 8px; font-size: 16px; }
    .nav-link.is-active { background: var(--tint); }
    .nav-link.is-active::after { display: none; }
    .nav-link .chev { display: none; }
    .subnav { position: static; min-width: 0; padding: 0 0 6px 10px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: none; }
    .subnav::before { display: none; }
    .subnav a { padding: 9px 12px; gap: 10px; }
    .subnav small { display: none; }
    .subnav .ico { width: 30px; height: 30px; }
    .subnav .all { display: none; }
    .nav-cta { display: grid; gap: 10px; margin-top: 8px; padding: 12px 6px 6px; border-top: 1px solid var(--line); }
    .nav-cta .btn { width: 100%; }
    .nav-call { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; font-size: 15px; font-weight: 600; color: var(--navy); }
    .nav-call svg { width: 16px; height: 16px; color: var(--blue); }
    .hero { padding: calc(var(--header-h) + 40px) 0 56px; }
    .hero-visual { top: 50%; width: 460px; height: 460px; right: -300px; translate: 0 -44%; opacity: .5; }
    .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 56px 0; }
    .cta-band { padding-bottom: 56px; }
    .section-tint + .cta-band { padding-top: 56px; }
    .engage-grid, .t-grid { grid-template-columns: 1fr 1fr; }
    .cta-card, .cv-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    .work-grid, .engage-grid, .t-grid, .t-grid.two, .feature-grid, .cs-gallery, .cs-results, .form-grid, .process { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
    .tech-tiles { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .svc-row { grid-template-columns: 46px minmax(0, 1fr) 36px; column-gap: 12px; row-gap: 10px; padding: 16px; }
    .svc-row .ico { width: 46px; height: 46px; }
    .svc-row .d { grid-column: 1 / 4; grid-row: 2; }
    .svc-row .go { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
    .sec-head.row, .next-case, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; }
    .cta-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; text-align: center; }
    .cta-card { padding: 28px 22px; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
    .legal { display: block; margin: 6px 0 0; }
    .job-head { flex-direction: column; align-items: flex-start; }
    .wa-float { right: 14px; bottom: 68px; } .to-top { right: 14px; bottom: 14px; }
}

/* ==========================================================================
   Home page structure
   ========================================================================== */
/* Logos right under the hero */
.trust { padding: 8px 0 44px; background: linear-gradient(180deg, #FFFFFF 0%, var(--tint) 100%); }
.trust-inner { display: flex; align-items: center; gap: 36px; }
.trust-label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.trust-logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.trust-logos li { display: grid; place-items: center; }
.trust-logos img { height: 30px; width: auto; max-width: 112px; object-fit: contain; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.trust-logos img:hover { filter: none; opacity: 1; }

/* Services: sticky intro on the left, list on the right */

/* Technologies: slim band */
.section.slim { padding: 60px 0; }
.slim .tech-block { margin: 0; padding: 0; border: 0; }

/* Process: line fills in as each step scrolls into view */
.sec-note { max-width: 340px; color: var(--text); font-size: 15.5px; }

/* FAQ + contact details */
.home-faq { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; }
.talk-card { position: sticky; top: calc(var(--header-h) + 28px); padding: 28px; border-radius: var(--radius); color: #fff; background: var(--grad-dark); }
.talk-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.talk-card > p { margin: 6px 0 18px; font-size: 15px; color: rgba(226, 233, 255, .8); }
.talk-card .btn { width: 100%; }
.talk-card ul { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.talk-card li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; line-height: 1.5; color: #E4ECFF; }
.talk-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.talk-card li svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--sky); }
.talk-card a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.talk-card .dirlink { color: var(--sky); font-weight: 600; }

@media (max-width: 1100px) {
    .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .trust-logos { width: 100%; }
    .home-faq { grid-template-columns: 1fr; gap: 36px; }
    .talk-card { position: static; }
}
@media (max-width: 640px) {
    .trust-logos { flex-wrap: wrap; justify-content: flex-start; gap: 18px 28px; }
    .trust-logos img { height: 26px; }
    .sec-note { max-width: none; }
}
.svc-list + .tech-block { margin-top: 48px; }

@media (max-width: 900px) {
    .tech-tabs { grid-template-columns: 1fr; }
    .tech-nav { flex-direction: row; gap: 6px; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .tech-nav::-webkit-scrollbar { display: none; }
    .tech-tab { width: auto; flex: none; padding: 9px 14px 9px 10px; }
    .tech-tab .ct { display: none; }
    .tech-panels { padding: 22px 18px 24px; }
}

/* ---------- Home: services bento ---------- */
.sec-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 380px; }
.sec-aside p { color: var(--text); font-size: 15.5px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; grid-column: span 2; min-height: 270px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.tile.w4 { grid-column: span 4; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D6F7; }
.tile .top { display: flex; align-items: flex-start; justify-content: space-between; }
.tile .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--blue); transition: background .3s, color .3s; }
.tile .ico svg { width: 25px; height: 25px; }
.tile:hover .ico { background: var(--grad-brand); color: #fff; }
.tile .go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.tile .go svg { width: 17px; height: 17px; }
.tile:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }
.tile .n { margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sky); }
.tile h3 { margin-top: 2px; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--deep); }
.tile p { margin-top: 8px; max-width: 460px; font-size: 15px; color: var(--text); }
.tile .tags { margin-top: auto; padding-top: 18px; }
.tile .tags li { background: var(--tint); }

/* Featured: Web Development */
.tile.dark { border: 0; color: #fff; background: var(--grad-dark); }
.tile.dark::after { content: ""; position: absolute; right: -90px; bottom: -130px; width: 440px; height: 440px; background: url("../img/brand/ring-dark.svg") no-repeat center / contain; opacity: .5; pointer-events: none; }
.tile.dark > * { position: relative; z-index: 1; }
.tile.dark .ico { background: rgba(255, 255, 255, .12); color: var(--sky); }
.tile.dark:hover .ico { background: #fff; color: var(--blue); }
.tile.dark .go { border-color: rgba(255, 255, 255, .25); color: #fff; }
.tile.dark .n { color: var(--sky); }
.tile.dark h3 { font-size: 30px; color: #fff; }
.tile.dark p { color: rgba(226, 233, 255, .82); font-size: 16px; }
.tile.dark .tags li { background: rgba(255, 255, 255, .12); color: #E4ECFF; }

/* Highlight: AI */
.tile.accent { border-color: #D5DEFA; background: linear-gradient(145deg, #EAF0FF 0%, #F4F0FF 100%); }
.tile.accent .ico { background: var(--grad-brand); color: #fff; }
.tile.accent .tags li { background: #fff; }

@media (max-width: 1100px) {
    .bento { grid-template-columns: 1fr 1fr; }
    .tile, .tile.w4 { grid-column: span 1; }
    .tile.dark { grid-column: span 2; }
    .sec-aside { max-width: none; }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .tile.dark { grid-column: span 1; }
    .tile { min-height: 0; padding: 22px; }
    .tile.dark h3 { font-size: 26px; }
}

/* ---------- About page ---------- */
.ab-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 44px) 0 72px; background: radial-gradient(560px 380px at 85% 20%, rgba(122, 162, 255, .28), transparent 70%), radial-gradient(420px 300px at 0% 60%, rgba(167, 139, 250, .12), transparent 70%), var(--grad-page); }
.ab-ring { position: absolute; top: 50%; right: max(-120px, calc((100vw - 1120px) / 2 - 120px)); width: 520px; height: 520px; translate: 0 -42%; background: url("../img/brand/ring-light-icon.svg") no-repeat center / contain; opacity: .55; pointer-events: none; }
.ab-hero .container { position: relative; }
.ab-hero .kicker { margin-top: 26px; }
.ab-hero h1 { max-width: 700px; margin-top: 6px; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: var(--deep); }
.ab-hero .lead { max-width: 580px; margin-top: 18px; }

.ab-story { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.ab-copy h2 { margin-bottom: 16px; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.028em; color: var(--deep); }
.ab-copy p { font-size: 17px; line-height: 1.7; color: var(--text); }
.ab-copy p + p { margin-top: 14px; }
.ab-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 26px; }
.ab-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--deep); }
.ab-checks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--tint); color: var(--blue); }
.ab-facts { position: relative; overflow: hidden; padding: 28px; border-radius: 18px; color: #fff; background: var(--grad-dark); box-shadow: var(--shadow-md); }
.ab-facts::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 320px; height: 320px; background: url("../img/brand/ring-dark.svg") no-repeat center / contain; opacity: .4; pointer-events: none; }
.ab-facts > * { position: relative; z-index: 1; }
.ab-facts h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ab-facts dl { margin: 14px 0 18px; }
.ab-facts dl div { padding: 13px 0; }
.ab-facts dl div + div { border-top: 1px solid rgba(255, 255, 255, .14); }
.ab-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.ab-facts dd { margin-top: 2px; font-weight: 600; }
.ab-facts .more-link { color: #fff; }

.ab-numbers-wrap { padding: 8px 0 72px; }
.ab-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-radius: 18px; background: var(--grad-brand); box-shadow: 0 18px 40px rgba(27, 38, 82, .22); }
.ab-numbers div { padding: 30px 20px; text-align: center; }
.ab-numbers div + div { border-left: 1px solid rgba(255, 255, 255, .16); }
.ab-numbers b { display: block; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.ab-numbers span { color: rgba(226, 233, 255, .82); font-size: 14px; }
.ab-numbers b span { font-size: inherit; color: inherit; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 26px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D6F7; }
.value .ico, .focus .ico { width: 48px; height: 48px; margin-bottom: 18px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.value .ico svg, .focus .ico svg { width: 23px; height: 23px; }
.value h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; color: var(--deep); }
.value p { margin-top: 8px; font-size: 15px; color: var(--text); }

.focus-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.focus-grid .focus { grid-column: span 2; }
@media (min-width: 861px) { .focus-grid .focus:nth-child(4):nth-last-child(2), .focus-grid .focus:nth-child(5):last-child { grid-column: span 3; } }
.focus { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.focus:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D6F7; }
.focus h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--deep); }
.focus p { margin-top: 8px; font-size: 15px; color: var(--text); }
.focus .more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.focus .more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.focus:hover .more svg { transform: translateX(3px); }

@media (max-width: 1100px) {
    .values { grid-template-columns: 1fr 1fr; }
    .ab-ring { opacity: .35; right: -200px; }
}
@media (max-width: 860px) {
    .ab-story { grid-template-columns: 1fr; gap: 32px; }
    .focus-grid { grid-template-columns: 1fr 1fr; }
    .focus-grid .focus { grid-column: auto; }
}
@media (max-width: 620px) {
    .ab-hero { padding-bottom: 52px; }
    .ab-ring { display: none; }
    .ab-checks, .values, .focus-grid { grid-template-columns: 1fr; }
    .ab-numbers { grid-template-columns: 1fr 1fr; }
    .ab-numbers div + div { border-left: 0; }
    .ab-numbers div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
    .ab-numbers div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .16); }
    .ab-numbers-wrap { padding-bottom: 56px; }
}

/* ---------- Services menu: two columns for the longer list ---------- */
@media (min-width: 1101px) {
    .subnav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; width: 700px; min-width: 0; }
    .subnav a { min-width: 0; }
    .subnav .tx b { display: block; font-size: 14px; line-height: 1.25; }
    .subnav .all { grid-column: 1 / -1; }
}
