/* Self-hosted variable fonts (latin subset) with metric-matched Arial fallbacks to limit layout shift on swap. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); 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: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("/assets/fonts/jakarta-latin.woff2") format("woff2"); 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: "Plus Jakarta Sans"; font-style: italic; font-weight: 700 800; font-display: swap; src: url("/assets/fonts/jakarta-italic-latin.woff2") format("woff2"); 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: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 93%; descent-override: 22%; line-gap-override: 0%; }

/* =========================================================
   Zevnix: Aurora 3D design system
   ========================================================= */

:root {
    --ink: #0F172A;
    --text: #334155;
    --muted: #566377;
    --violet: #7C3AED;
    --violet-600: #6D28D9;
    --blue: #3B82F6;
    --pink: #F472B6;
    --line: rgba(124, 58, 237, .14);
    --grad: linear-gradient(100deg, #7C3AED 0%, #6366F1 50%, #2563EB 100%);
    --glass-bg: rgba(255, 255, 255, .58);
    --glass-border: rgba(255, 255, 255, .85);
    --shadow: 0 18px 50px -18px rgba(76, 29, 149, .22), 0 2px 6px rgba(76, 29, 149, .05);
    --shadow-lg: 0 30px 80px -30px rgba(76, 29, 149, .35);
    --radius: 24px;
    --radius-sm: 14px;
    --font-head: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, sans-serif;
    --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
    --container: 1634px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: #F8F6FF;
    background-image:
        radial-gradient(60rem 40rem at -10% -5%, rgba(196, 181, 253, .55), transparent 60%),
        radial-gradient(50rem 36rem at 95% 0%, rgba(251, 207, 232, .55), transparent 60%),
        radial-gradient(55rem 40rem at 70% 45%, rgba(191, 219, 254, .55), transparent 60%),
        radial-gradient(50rem 40rem at 5% 70%, rgba(233, 213, 255, .5), transparent 60%),
        radial-gradient(50rem 40rem at 100% 95%, rgba(199, 210, 254, .5), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
body::before { /* fine grid texture */
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(124, 58, 237, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 58, 237, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-600); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #6D28D9; outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; color: #fff; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }

.grad {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--violet);
}
em.grad { font-style: italic; padding-right: .06em; }

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border-radius: var(--radius);
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--ink); margin-bottom: 14px;
}
.eyebrow::after { content: ""; width: 44px; height: 2px; border-radius: 2px; background: var(--grad); }

.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; max-width: 30ch; }
.section-title-sm { font-size: clamp(26px, 2.6vw, 34px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.section-note { max-width: 36ch; color: var(--muted); font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: 15.5px; line-height: 1;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(99, 102, 241, .65); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 36px -10px rgba(99, 102, 241, .8); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: rgba(124, 58, 237, .35); color: var(--ink); }
.btn-ghost:hover { color: var(--violet); background: #fff; }
.btn-light { background: #fff; color: var(--violet-600); }
.btn-light:hover { color: var(--violet); }
.btn-outline-light { border-color: rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-nav { padding: 15px 28px; font-size: 16.5px; }
.btn-lg { padding: 18px 34px; font-size: 18px; gap: 12px; }
.btn-lg .icon { width: 22px; height: 22px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0 0; }
.nav-pill {
    display: flex; align-items: center; gap: 24px;
    padding: 14px 16px 14px 36px; border-radius: 999px;
    background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-border);
    box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.brand img { height: 42px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-links { display: flex; align-items: center; gap: 18px; margin: 0 auto; }
.nav-links > li > a, .nav-dropdown-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
    color: var(--ink); font-weight: 600; font-size: 17px; background: none; border: 0; cursor: pointer;
}
.nav-links > li > a[aria-current="page"], .nav-links > li > a:hover, .nav-dropdown-btn:hover, .nav-dropdown-btn[aria-expanded="true"] { background: rgba(124, 58, 237, .08); color: var(--violet); }
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px);
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; width: 560px; padding: 22px 24px;
    background: rgba(255, 255, 255, .92); border: 1px solid var(--glass-border); border-radius: 20px;
    box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown.closed .dropdown { opacity: 0; visibility: hidden; transform: translate(-50%, 6px); }
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.dropdown-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dropdown a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.dropdown a:hover { background: rgba(124, 58, 237, .08); color: var(--violet); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 16px; padding-left: 26px; border-left: 1px solid rgba(15, 23, 42, .15); }
.nav-phone .icon { color: var(--violet); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(124, 58, 237, .1); color: var(--violet); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .95fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 4.4vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { display: inline; }
.hero-lead { margin-top: 26px; font-size: 18px; color: #1E293B; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero-ctas .btn-ghost .icon { color: var(--violet); }
.trust-chips { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 42px; }
.trust-chips li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.trust-chips li + li { padding-left: 20px; border-left: 1px solid rgba(15, 23, 42, .12); }
.chip-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .35); }
.chip-tile .icon { width: 26px; height: 26px; color: var(--violet); }
.icon-star { width: 16px; height: 16px; color: #FBBF24; vertical-align: -2px; }
.trust-chips strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 18px; line-height: 1.2; }

.hero-visual { position: relative; z-index: 1; align-self: stretch; margin: -110px -90px -40px -70px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero-visual img { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 40px 60px rgba(124, 58, 237, .18)); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hero-form { position: relative; z-index: 2; }

/* ---------- Quote form ---------- */
.quote-card { padding: 36px 30px 32px; border-radius: 28px; background: rgba(255, 255, 255, .55); }
.quote-title { font-size: clamp(30px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.quote-sub { margin: 12px 0 26px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field-icon { position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; color: var(--ink); pointer-events: none; }
.field input, .field select, .field textarea {
    width: 100%; padding: 15px 14px 15px 50px; border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, .14); background: rgba(255, 255, 255, .8);
    font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
    appearance: none; -webkit-appearance: none;
}
.field select { padding-right: 30px; padding-left: 46px; font-size: 14.5px; background-position: right 10px center !important; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field select:invalid, .field select option[value=""] { color: var(--ink); }
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink); opacity: .9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.field [aria-invalid="true"] { border-color: #BE123C; }
.field-error { display: block; margin-top: 4px; font-size: 12.5px; color: #BE123C; }
.form-alert { margin-bottom: 14px; padding: 10px 14px; border-radius: 10px; background: #FFF1F2; color: #9F1239; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
.form-consent a { text-decoration: underline; }
.quote-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; align-items: center; gap: 32px; margin-top: 40px; padding: 18px 28px; border-radius: 20px; }
.trust-strip p { flex: none; max-width: 210px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.35; padding-right: 32px; border-right: 1px solid var(--line); }
.trust-strip ul { display: flex; flex: 1; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.trust-strip li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text); }
.trust-strip .icon { width: 22px; height: 22px; color: var(--violet); }

html, body { overflow-x: clip; }

/* ---------- Services bento ---------- */
#services { position: relative; }
.deco { position: absolute; pointer-events: none; z-index: 0; max-width: none; }
.deco-services { top: -40px; right: -60px; width: 460px; opacity: .9; }
.section-title-wide { max-width: none; font-size: clamp(32px, 4vw, 60px); letter-spacing: -.03em; }
.grad-blue { font-style: italic; background: linear-gradient(90deg, #4F46E5, #3B82F6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blue); padding-right: .06em; }
.bento { display: grid; gap: 16px; margin-top: 26px; position: relative; z-index: 1; }
.bento-row { display: flex; gap: 16px; }
.svc { position: relative; flex: 1 1 0; min-width: 0; padding: 22px 30px 20px 35px; overflow: hidden; min-height: 285px; border-radius: 24px; background: rgba(255, 255, 255, .5); transition: transform .25s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-text { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; max-width: 46%; }
.svc h3 { font-size: clamp(22px, 1.75vw, 29px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px; }
.svc h3 a { color: inherit; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.svc p { font-size: clamp(14.5px, 1.05vw, 17px); line-height: 1.32; color: #1E293B; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 18px; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 7px; border-radius: 9px; background: #fff; box-shadow: 0 4px 14px -6px rgba(76, 29, 149, .25); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tags img { width: 22px; height: 22px; object-fit: contain; }
.svc-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 14px; margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 1.2vw, 19px); color: var(--violet); }
.svc-link .icon { transition: transform .2s; }
.svc:hover .svc-link .icon, .case:hover .svc-link .icon { transform: translateX(4px); }
.svc-art { position: absolute; z-index: 1; pointer-events: none; max-width: none; width: auto; height: auto; filter: drop-shadow(0 20px 30px rgba(124, 58, 237, .18)); }

/* Row splits and art placement measured from the approved mockup (1585px wide container). */
.svc-custom-software { flex-grow: 645; }
.svc-mobile-apps     { flex-grow: 432; }
.svc-ai-ml           { flex-grow: 477; }
.svc-saas            { flex-grow: 712; min-height: 217px; }
.svc-web             { flex-grow: 857; min-height: 217px; }
.svc-marketing       { flex-grow: 877; min-height: 241px; }
.svc-cloud           { flex-grow: 692; min-height: 241px; }

.bento-row:first-child .tags { flex-wrap: nowrap; gap: 7px; }
.bento-row:first-child .tags li { padding: 5px 9px 5px 6px; font-size: 12.5px; gap: 5px; }
.bento-row:first-child .tags img { width: 20px; height: 20px; }
.bento-row:first-child .svc p { font-size: clamp(14px, .98vw, 16px); }
.svc-custom-software .svc-text { max-width: 56%; }
.svc-custom-software p { max-width: 80%; }
.svc-custom-software .svc-art  { right: -30px; top: 4px; width: 60%; }
.svc-mobile-apps .svc-text     { max-width: 60%; }
.svc-mobile-apps p             { max-width: 90%; }
.svc-mobile-apps .svc-art      { right: -30px; top: 6px; height: 96%; }
.svc-ai-ml .svc-text           { max-width: 56%; }
.svc-ai-ml p                   { max-width: 92%; }
.svc-ai-ml .svc-art            { right: 4px; top: -4px; width: 41%; }
.svc-saas .svc-text            { max-width: 41%; }
.svc-saas .svc-art             { right: 4px; top: 4px; width: 52%; }
.svc-saas h3                   { margin-bottom: 8px; }
.svc-web .svc-text             { max-width: 52%; }
.svc-web .svc-art              { right: 18px; top: 2px; width: 46%; }
.svc-marketing .svc-text       { max-width: 44%; }
.svc-marketing .svc-art        { right: 6px; bottom: -6px; width: 54%; }
.svc-cloud .svc-text           { max-width: 50%; }
.svc-cloud .svc-art            { right: 14px; top: -4px; height: 104%; }

/* ---------- Why us ---------- */
.section-why, .section-work { position: relative; }
.section-why { padding-bottom: 24px; }
.section-work { padding-top: 24px; }
.deco-why { left: -80px; top: 200px; width: 520px; opacity: .8; }
.deco-work { right: -80px; top: 0; width: 420px; opacity: .8; transform: scaleX(-1); }
.why-grid { display: grid; grid-template-columns: .82fr 1.6fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.why-intro .section-title { font-size: clamp(30px, 3.2vw, 48px); }
.why-map { width: 112%; max-width: none; margin: -10px 0 0 -6%; filter: drop-shadow(0 30px 40px rgba(124, 58, 237, .2)); }
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 22px; border-radius: 22px; background: rgba(255, 255, 255, .5); }
.why-item img { flex: none; width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(124, 58, 237, .25)); }
.why-item h3 { font-size: 21px; font-weight: 800; line-height: 1.15; margin: 2px 0 10px; }
.why-item p { font-size: 15px; line-height: 1.45; color: #1E293B; }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; position: relative; z-index: 1; }
.case { display: flex; flex-direction: column; padding: 18px 28px 24px; border-radius: 26px; background: rgba(255, 255, 255, .5); transition: transform .25s ease, box-shadow .25s ease; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-img { margin: 0 -10px 16px; border-radius: 18px; overflow: hidden; }
.case-img img { width: 100%; transition: transform .4s ease; }
.case:hover .case-img img { transform: scale(1.03); }
.case-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 14px; border-radius: 10px; background: rgba(124, 58, 237, .12); color: var(--ink); font-size: 14px; font-weight: 600; }
.case-tag .icon { color: var(--violet); }
.case h3 { margin-bottom: 8px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 800; letter-spacing: -.01em; }
.case > p { font-size: 15.5px; line-height: 1.45; color: #1E293B; }
.case .tags { margin: 18px 0 20px; }
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.case-metric { display: flex; align-items: center; gap: 14px; padding-right: 24px; border-right: 1px solid rgba(15, 23, 42, .12); }
.case-metric p { font-size: 15px; line-height: 1.1; color: #1E293B; }
.case-metric strong { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case .svc-link { margin-top: 0; font-size: 16.5px; }

/* ---------- Process ---------- */
.process-wrap { position: relative; margin-top: 34px; }
.process-ribbon { position: absolute; left: -6%; width: 112%; max-width: none; top: 50%; transform: translateY(-50%); z-index: 0; pointer-events: none; }
.process { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 72px; padding: 0 30px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: 24px; background: rgba(255, 255, 255, .55); }
.step-num { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #8B5CF6, #C084FC); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 19px; box-shadow: 0 8px 18px -6px rgba(124, 58, 237, .6); }
.step-icon { position: absolute; top: -14px; right: 8px; width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(124, 58, 237, .25)); }
.step h3 { margin-top: 18px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.step p { font-size: 15.5px; line-height: 1.4; color: #1E293B; }
.step-time { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 7px 16px; border-radius: 999px; background: rgba(124, 58, 237, .12); color: var(--ink); font-size: 15px; font-weight: 600; }
.step-time .icon { color: var(--violet); }

/* ---------- Tech stack ---------- */
.stack-grid { display: grid; grid-template-columns: 290px 1fr; gap: 30px; align-items: center; }
.stack-title { font-size: clamp(28px, 2.6vw, 40px); }
.stack-pills { display: grid; gap: 16px; }
.stack-pills ul { display: flex; gap: 10px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 auto; min-width: 0; white-space: nowrap; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 24px -14px rgba(76, 29, 149, .4); font-weight: 600; font-size: 17px; color: var(--ink); }
.pill img { width: 32px; height: 32px; object-fit: contain; }

/* ---------- Stats ---------- */
.stats { position: relative; display: grid; grid-template-columns: 300px 1fr; align-items: center; margin-top: 36px; padding: 26px 30px; border-radius: 28px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.stats-ring { width: 300px; max-width: none; margin: -40px 0 -40px -40px; }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { display: grid; gap: 6px; padding: 0 28px; }
.stats li + li { border-left: 1px solid rgba(124, 58, 237, .25); }
.stats strong { font-family: var(--font-head); font-size: clamp(40px, 4.4vw, 66px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stats span { font-size: 19px; color: var(--ink); }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.review { margin: 0; padding: 26px; display: grid; gap: 14px; }
.stars { color: #F59E0B; letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--ink); }
.review figcaption { font-size: 14px; color: var(--muted); }
.review strong { display: block; color: var(--ink); }

/* ---------- Offices + FAQ ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.visit-title { font-size: clamp(26px, 2.3vw, 38px); margin-bottom: 22px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { display: grid; grid-template-columns: 42% 1fr; gap: 20px; padding: 20px; border-radius: 24px; background: rgba(255, 255, 255, .5); }
.office-map { width: 100%; height: 100%; max-height: 260px; object-fit: cover; border-radius: 16px; }
.office-info { display: flex; flex-direction: column; gap: 12px; }
.office-info h3 { font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.office-info address, .office-info p { display: flex; gap: 12px; font-style: normal; font-size: 15.5px; color: var(--ink); line-height: 1.4; }
.office-info hr { border: 0; border-top: 1px solid rgba(15, 23, 42, .12); margin: 2px 0; }
.office-info .icon { color: var(--violet); flex: none; }
.office-info .btn .icon { color: #fff; }
.office-info a:not(.btn) { color: var(--ink); }
.office-info .btn { margin-top: 6px; padding: 14px 20px; font-size: 16.5px; }
.faq-col .visit-title { margin-bottom: 18px; }
.faqs { display: grid; gap: 10px; }
.faq { border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .6); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 22px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.faq summary .icon { flex: none; width: 20px; height: 20px; color: var(--ink); transition: transform .2s; }
.faq[open] summary { padding-top: 16px; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq[open] summary h3 { color: var(--violet-600); }
.faq p { padding: 0 22px 16px; font-size: 14.5px; color: #1E293B; }
.areas { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.areas .eyebrow { margin: 0; }
.areas ul { display: flex; flex-wrap: wrap; gap: 12px; }
.areas a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-border); color: var(--ink); font-size: 15px; font-weight: 500; box-shadow: 0 6px 16px -10px rgba(76, 29, 149, .35); }
.areas a .icon { color: var(--violet); }
.areas a:hover { color: var(--violet); background: #fff; }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 36% 1fr; align-items: center; gap: 20px;
    padding: 34px 48px; border-radius: 32px; color: #fff; border: 1px solid rgba(255, 255, 255, .6);
    background: radial-gradient(36rem 18rem at 18% 50%, rgba(255, 255, 255, .4), transparent 70%), linear-gradient(100deg, #C4B5FD 0%, #8B5CF6 30%, #6D5BE8 55%, #5B63E6 78%, #4F7BE8 100%);
    box-shadow: 0 30px 70px -30px rgba(79, 70, 229, .5);
}
.cta-art { width: 118%; max-width: none; margin: -50px 0 -60px -60px; filter: drop-shadow(0 20px 40px rgba(76, 29, 149, .25)); animation: float 8s ease-in-out infinite; }
.cta h2 { color: #fff; font-size: clamp(30px, 3.4vw, 54px); font-weight: 800; letter-spacing: -.03em; text-shadow: 0 2px 20px rgba(76, 29, 149, .25); }
.cta h2 em { font-style: italic; background: linear-gradient(90deg, #FBCFE8, #F9A8D4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta p { margin-top: 8px; font-size: 19px; color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -12px rgba(30, 27, 75, .4); }
.btn-white:first-child { color: var(--violet-600); }
.btn-white:hover { color: var(--violet); }
.icon-wa { width: 28px; height: 28px; color: #25D366; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .6); color: #fff; font-size: 20px; font-weight: 600; }
.cta-phone .icon { width: 26px; height: 26px; }
.cta-phone:hover { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { padding: 24px 0 28px; }
.footer-card { padding: 34px 40px 22px; border-radius: 28px; background: rgba(255, 255, 255, .5); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1.05fr 1.05fr 1.3fr .7fr 1fr; gap: 28px; }
.footer-grid > * + * { padding-left: 26px; border-left: 1px solid rgba(15, 23, 42, .1); }
.footer-grid > :nth-child(3) { padding-left: 0; border-left: 0; }
.footer-brand img { width: 160px; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--violet); box-shadow: 0 6px 16px -8px rgba(76, 29, 149, .35); }
.site-footer .social a { color: var(--violet); }
.site-footer .social a:hover { background: var(--violet); color: #fff; }
.footer-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16.5px; margin-bottom: 14px; }
summary.footer-title { display: flex; align-items: center; justify-content: space-between; list-style: none; pointer-events: none; }
summary.footer-title::-webkit-details-marker { display: none; }
summary.footer-title .icon { display: none; width: 20px; height: 20px; transition: transform .2s; }
.case-dots { display: none; }
.site-footer li { margin-bottom: 9px; font-size: 14.5px; }
.site-footer li a { color: var(--ink); display: inline-flex; gap: 12px; align-items: center; }
.site-footer li a:hover { color: var(--violet); }
.footer-locations li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 13.5px; color: #1E293B; line-height: 1.4; }
.footer-locations strong { display: block; font-size: 14.5px; color: var(--ink); }
.footer-locations .icon, .footer-contact .icon { color: var(--violet); flex: none; }
.footer-contact li { font-size: 16px; margin-bottom: 14px; }
.footer-contact .icon { width: 24px; height: 24px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(15, 23, 42, .1); font-size: 14px; color: var(--ink); }
.footer-bottom ul { display: flex; gap: 0; }
.footer-bottom li { margin: 0; font-size: 14px; }
.footer-bottom li + li::before { content: "|"; margin: 0 22px; color: var(--ink); }
.footer-bottom a { color: var(--ink) !important; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #22B866, #128C4A 55%, #0E7A3A); border: 4px solid rgba(255, 255, 255, .85); color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .icon { width: 36px; height: 36px; }
.mobile-bar { display: none; }

/* ---------- Simple pages (thank you, 404) ---------- */
.simple-page { min-height: 60vh; display: grid; align-items: center; }
.simple-card { max-width: 640px; margin: 0 auto; padding: 48px 40px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.simple-card h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; }
.simple-card .hero-ctas { justify-content: center; margin-top: 8px; }
.simple-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.simple-links a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: rgba(124, 58, 237, .08); font-size: 14px; font-weight: 600; }

/* =========================================================
   Responsive
   ========================================================= */
/* =========================================================
   Service pages
   ========================================================= */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 22px; font-size: 15px; color: var(--ink); }
.crumbs li { display: inline-flex; align-items: center; gap: 12px; }
.crumbs li + li::before { content: ""; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.crumbs a:hover { color: var(--violet); }
.crumbs [aria-current] { color: var(--violet-600); font-weight: 600; }
.svc-hero h1 { font-size: clamp(36px, 3.6vw, 58px); }
.svc-hero .hero-visual { margin: -40px -16px -20px -60px; }
.svc-hero .hero-visual img { max-width: 600px; }

.section-build { position: relative; }
.build-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.build-card { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 22px; background: rgba(255, 255, 255, .5); transition: transform .25s ease, box-shadow .25s ease; }
.build-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.build-card img { flex: none; width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(124, 58, 237, .25)); }
.build-card h3 { margin-bottom: 6px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.build-card p { font-size: 15.5px; line-height: 1.4; color: #1E293B; }

.compare-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.compare-intro .section-title { font-size: clamp(30px, 3vw, 46px); }
.compare-art { width: 150px; margin: 18px 0 0 40px; filter: drop-shadow(0 24px 30px rgba(124, 58, 237, .25)); }
.compare-card { align-self: stretch; padding: 26px 30px; border-radius: 26px; background: rgba(255, 255, 255, .5); }
.compare-card h3 { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font-size: clamp(20px, 1.6vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.compare-card h3 img { width: 64px; height: 64px; object-fit: contain; }
.compare-card li { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: clamp(15.5px, 1.15vw, 18px); color: var(--ink); }
.compare-card li + li { border-top: 1px solid rgba(15, 23, 42, .08); }
.mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; }
.mark .icon { width: 16px; height: 16px; stroke-width: 3; }
.mark-no { background: #B4B6C4; }
.mark-yes { background: linear-gradient(135deg, #4ADE80, #16A34A); box-shadow: 0 6px 14px -6px rgba(22, 163, 74, .6); }
.compare-us { border: 1.5px solid rgba(167, 139, 250, .8); background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 6px rgba(167, 139, 250, .12), 0 30px 60px -30px rgba(124, 58, 237, .55); }

.ind-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: center; }
.ind-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ind-list li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 160px; padding: 18px 10px; border-radius: 20px; background: rgba(255, 255, 255, .5); text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.15; color: var(--ink); }
.ind-list img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(124, 58, 237, .22)); }

.tech-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.tech-grid-solo { grid-template-columns: 1fr; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tech-pills .pill { flex: 0 1 auto; padding: 12px 18px; }
.case-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 26px; }
.case-feature .case-img { margin: 0; }
.case-feature .case-body { display: flex; flex-direction: column; }
.case-feature .case-foot { margin-top: 18px; flex-wrap: wrap; }
.case-feature .case-metric { padding-right: 18px; }
.case-feature .case-metric p { white-space: nowrap; }
.case-feature .svc-link { white-space: nowrap; }

.faq-related { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; align-items: start; }
.related { display: grid; gap: 12px; }
.related-card { display: flex; align-items: center; gap: 18px; padding: 14px 24px 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .55); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.related-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.related-card img { flex: none; width: 64px; height: 64px; object-fit: contain; }
.related-card span { flex: 1; min-width: 0; font-size: 14.5px; color: #1E293B; line-height: 1.35; }
.related-card strong { display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 19px; color: var(--ink); }
.related-card > .icon { flex: none; color: var(--violet); width: 24px; height: 24px; }
.faq-related .areas { margin-top: 8px; }

/* =========================================================
   Location pages
   ========================================================= */
.loc-art { position: relative; width: 100%; max-width: 600px; }
.loc-art img { display: block; }
.map-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, .88); border: 1px solid var(--glass-border); box-shadow: 0 12px 24px -12px rgba(76, 29, 149, .45); font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.map-chip .icon { flex: none; color: var(--violet); }
.map-chip-area { left: 6%; top: 36%; max-width: 52%; white-space: normal; }
.map-chip-office { right: 6%; top: 2%; }

.loc-svc-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 28px; }
.loc-svc-grid li { grid-column: span 3; display: flex; }
.loc-svc-grid li:nth-child(n+5) { grid-column: span 4; }
.loc-svc-grid .related-card { flex: 1; padding: 18px 20px 18px 16px; }
.loc-svc-grid .related-card img { width: 72px; height: 72px; }
.loc-svc-grid .related-card:hover { transform: translateY(-4px); }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-grid .build-card { padding: 20px 22px; gap: 16px; }
.why-grid .build-card img { width: 80px; height: 80px; }
.why-grid .build-card h3 { font-size: 19px; }
.why-grid .build-card p { font-size: 15px; }

.loc-office { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: stretch; }
.route-map { position: relative; overflow: hidden; padding: 0; border-radius: 26px; min-height: 260px; }
.route-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.route-map .map-chip { transform: translate(-50%, 0); }
.route-from { left: 18%; top: 50%; }
.route-to { left: 81%; top: 60%; }
.office-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 26px; border-radius: 26px; background: rgba(255, 255, 255, .55); }
.office-card > img { width: 170px; height: auto; filter: drop-shadow(0 18px 26px rgba(124, 58, 237, .25)); }
.office-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.office-actions .btn { padding: 13px 20px; font-size: 16px; }
.office-card .office-info .btn-ghost .icon { color: var(--violet); }

.loc-ind { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.loc-ind .ind-list { margin-top: 24px; }
.loc-ind .ind-list li { min-height: 140px; font-size: 16px; }
.loc-ind .ind-list img { width: 72px; height: 72px; }
.loc-ind .case-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }

.nearby { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nearby a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .55); color: var(--ink); font-weight: 600; font-size: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.nearby a span { flex: 1; min-width: 0; }
.nearby a .icon { flex: none; color: var(--violet); }
.nearby a:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); color: var(--violet); }

/* ---------- Small laptops ---------- */
@media (max-width: 1440px) {
    .bento-row:first-child .tags { flex-wrap: wrap; }
    .stack-pills { grid-template-columns: repeat(5, 1fr); gap: 12px; }
    .stack-pills ul { display: contents; }
    .pill { font-size: 15px; padding: 11px 10px; }
    .pill img { width: 26px; height: 26px; }
}

@media (max-width: 1200px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; }
    .hero-visual { position: absolute; right: 380px; top: 20px; width: 420px; margin: 0; opacity: .3; }
    .nav-links { gap: 4px; }
    .nav-phone { display: none; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid > * + * { padding-left: 0; border-left: 0; }
    .cta { grid-template-columns: 1fr; }
    .cta-art { position: absolute; left: -60px; top: -40px; width: 420px; opacity: .45; margin: 0; }
    .cta-copy { position: relative; }
    .process { gap: 20px; padding: 0; }
    .visit-grid { grid-template-columns: minmax(0, 1fr); }
    .visit-grid > * { min-width: 0; }
    .visit-grid .faq-col { order: 2; margin-top: 16px; }
    .compare-grid { grid-template-columns: 1fr 1fr; }
    .compare-intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px; }
    .compare-intro > :not(img) { grid-column: 1; }
    .compare-art { grid-column: 2; grid-row: 1 / span 2; width: 150px; margin: 0; }
    .ind-grid, .tech-grid, .faq-related { grid-template-columns: minmax(0, 1fr); }
    .loc-svc-grid li, .loc-svc-grid li:nth-child(n+5) { grid-column: span 6; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .loc-office, .loc-ind { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; width: 48px; height: 48px; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -8px rgba(124, 58, 237, .7); }
    .nav-toggle .icon { width: 22px; height: 22px; }
    .nav-pill { flex-wrap: wrap; border-radius: 28px; }
    .nav-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 4px 12px; }
    .nav-menu.open { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; margin: 0; }
    .nav-links > li > a, .nav-dropdown-btn { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 16px; }
    .dropdown { position: static; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; background: transparent; border: 0; padding: 4px 14px 8px; display: none; opacity: 1; visibility: visible; }
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
    .has-dropdown.open .dropdown { display: grid; }
    .nav-actions { flex-direction: column; align-items: stretch; }
    .nav-phone { display: inline-flex; justify-content: center; border: 0; padding: 0; }

    /* Hero: copy, chips, visual, form */
    .hero-grid { grid-template-columns: 1fr; gap: 8px; }
    .hero-visual { position: relative; inset: auto; width: auto; opacity: 1; margin: -10px auto -30px; }
    .hero-visual img { max-width: 460px; }
    .hero-form { width: 100%; max-width: 620px; margin: 0 auto; }

    /* Services: two per row, art on top */
    .bento-row { flex-wrap: wrap; }
    .bento-row > .svc { flex: 1 1 calc(50% - 8px); }
    .svc { display: flex; flex-direction: column; min-height: 0; padding: 18px 24px 22px; }
    .svc .svc-text, .svc .svc-text p { max-width: none; height: auto; }
    .svc-art { order: -1; position: relative; inset: auto !important; align-self: flex-end; width: auto !important; height: auto !important; max-width: 88%; max-height: 210px; margin: -6px -14px 6px 0; }
    .bento-row .tags { flex-wrap: wrap; }

    .why-grid { grid-template-columns: 1fr; gap: 20px; }
    .why-map { width: 100%; max-width: 520px; margin: 0 auto; display: block; }
    .why-list { grid-template-columns: repeat(2, 1fr); }
    .cases { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; padding: 0; }
    .process-ribbon { display: none; }
    .step:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .build-grid { grid-template-columns: 1fr 1fr; }
    .ind-list { grid-template-columns: repeat(3, 1fr); }
    .svc-hero .hero-visual { margin: -10px auto -20px; }
    .svc-hero .hero-visual img { max-width: 440px; }
    .loc-art { max-width: 440px; margin: 0 auto; }
    .loc-svc-grid li, .loc-svc-grid li:nth-child(n+5) { grid-column: span 6; }
    .stats { grid-template-columns: 1fr; justify-items: center; padding-top: 0; }
    .stats-ring { width: 240px; margin: -30px auto -20px; }
    .stats ul { width: 100%; }
    .stack-grid { grid-template-columns: 1fr; gap: 16px; }
    .stack-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .stack-pills ul { display: contents; }
    .offices { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .areas { flex-wrap: nowrap; flex-direction: column; align-items: flex-start; gap: 14px; }
    .areas ul { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding: 4px 2px 10px; scrollbar-width: none; }
    .areas ul::-webkit-scrollbar { display: none; }
    .areas a { white-space: nowrap; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
    body { font-size: 15.5px; padding-bottom: 92px; background-attachment: scroll; }
    :root { --glass-bg: rgba(255, 255, 255, .74); }
    .glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .container { padding: 0 16px; }
    .site-header { padding-top: 10px; }
    .nav-pill { padding: 8px 8px 8px 18px; }
    .brand img { height: 32px; width: auto; }
    .section { padding: 44px 0; }
    .section-title, .section-title-wide { font-size: clamp(29px, 8vw, 36px); max-width: none; }
    .deco { display: none; }

    /* Hero */
    .hero { padding-top: 28px; }
    .hero h1 { font-size: clamp(34px, 10vw, 44px); }
    .hero-lead { font-size: 16.5px; margin-top: 18px; }
    .hero-ctas { flex-direction: column; gap: 14px; margin-top: 26px; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .trust-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
    .trust-chips li { flex-direction: column; justify-content: center; gap: 8px; padding: 18px 10px; border-radius: 20px; text-align: center; background: rgba(255, 255, 255, .55); border: 1px solid var(--glass-border); box-shadow: 0 10px 24px -16px rgba(76, 29, 149, .4); }
    .trust-chips li + li { padding-left: 10px; border-left: 1px solid var(--glass-border); }
    .trust-chips li:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; gap: 14px; }
    .trust-chips li:last-child:nth-child(odd) strong { display: inline; }
    .trust-chips li:last-child:nth-child(odd) > span:last-child { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--ink); }
    .trust-chips .chip-tile { background: transparent; box-shadow: none; width: auto; height: auto; }
    .trust-chips .chip-tile .icon { width: 34px; height: 34px; }
    .trust-chips strong { font-size: 19px; }
    .trust-chips li > span:last-child { font-size: 15px; }
    .hero-visual { margin: -20px -16px -40px; }
    .hero-visual img { max-width: 100%; }
    .quote-card { padding: 24px 18px; }
    .quote-title { font-size: 30px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }

    /* Services: one per row */
    .bento-row > .svc { flex-basis: 100%; }
    .svc { padding: 14px 20px 20px; }
    .svc-art { width: auto !important; max-width: 88%; max-height: 190px; margin: -4px -12px 4px 0; }
    .svc h3 { font-size: 24px; margin-bottom: 8px; }
    .svc p, .bento-row:first-child .svc p { font-size: 15px; }
    .tags { margin: 14px 0 16px; gap: 8px; }
    .tags li, .bento-row:first-child .tags li { padding: 6px 10px 6px 7px; font-size: 13px; }
    .svc-link { margin-top: 0; }

    /* Why: two per row, icon on top */
    .why-list { gap: 12px; }
    .why-item { flex-direction: column; gap: 10px; padding: 18px 14px; }
    .why-item img { width: 64px; height: 64px; margin: 0 auto; }
    .why-item h3 { font-size: 18px; margin: 0 0 6px; }
    .why-item p { font-size: 14px; }

    /* Cases: one card per swipe */
    .cases { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 20px -16px 0; padding: 4px 16px 10px; scroll-padding: 0 16px; scrollbar-width: none; }
    .cases::-webkit-scrollbar { display: none; }
    .case { flex: 0 0 100%; scroll-snap-align: start; padding: 14px 18px 20px; }
    .case:hover { transform: none; }
    .case-foot { flex-wrap: wrap; }
    .case-metric { padding-right: 0; border-right: 0; }
    .case-metric strong { font-size: 30px; }
    .case-dots { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
    .case-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(124, 58, 237, .25); transition: background .2s, transform .2s; }
    .case-dots span.on { background: var(--violet); transform: scale(1.2); }

    /* Process: vertical timeline */
    .process { grid-template-columns: 1fr; gap: 16px; padding-left: 40px; }
    .process::before { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 8px; border-radius: 8px; background: linear-gradient(180deg, #C4B5FD, #A78BFA 30%, #93C5FD 60%, #C084FC); box-shadow: 0 0 14px 2px rgba(167, 139, 250, .55), inset 0 0 0 1px rgba(255, 255, 255, .6); }
    .step { padding: 18px 20px 20px; }
    .step::before { content: ""; position: absolute; left: -34px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }
    .step-num { width: 40px; height: 40px; font-size: 17px; }
    .step-icon { width: 84px; height: 84px; top: 6px; right: 10px; }
    .step h3 { margin-top: 8px; font-size: 22px; }
    .step p { max-width: 70%; font-size: 15px; }

    /* Tech stack + stats */
    .stack-pills { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .pill { padding: 10px 4px; gap: 5px; font-size: clamp(12px, 3.3vw, 14px); letter-spacing: -.01em; border-radius: 16px; }
    .pill img { width: 20px; height: 20px; }
    .stats { padding: 0 12px 20px; }
    .stats-ring { width: 200px; margin: -20px auto -10px; }
    .stats ul { grid-template-columns: 1fr 1fr; }
    .stats li { padding: 18px 8px; text-align: center; justify-items: center; }
    .stats li + li { border-left: 0; }
    .stats li:nth-child(even) { border-left: 1px solid rgba(124, 58, 237, .25); }
    .stats li:nth-child(n+3) { border-top: 1px solid rgba(124, 58, 237, .25); }
    .stats strong { font-size: 42px; }
    .stats span { font-size: 15.5px; }

    /* Offices + FAQ */
    .office { grid-template-columns: 38% 1fr; gap: 14px; padding: 14px; }
    .office-map { max-height: none; }
    .office-info { gap: 8px; }
    .office-info h3 { font-size: 19px; }
    .office-info address, .office-info p { gap: 8px; font-size: 14px; }
    .office-info .icon { width: 18px; height: 18px; }
    .office-info hr { display: none; }
    .office-info .btn { padding: 11px 14px; font-size: 15px; justify-content: center; }
    .faq summary { padding: 12px 16px; }
    .faq summary h3 { font-size: 15px; }
    .faq p { padding: 0 16px 14px; }

    /* CTA: stacked and centred */
    .cta { padding: 0 18px 26px; text-align: center; justify-items: center; gap: 0; background: radial-gradient(20rem 12rem at 50% 0%, rgba(255, 255, 255, .35), transparent 70%), linear-gradient(165deg, #A78BFA 0%, #7C4DEF 40%, #5B52E6 70%, #4F6AE6 100%); }
    .cta-art { position: static; width: 78%; opacity: 1; margin: -10px auto -30px; }
    .cta h2 { font-size: 32px; }
    .cta p { font-size: 16px; }
    .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; margin-top: 20px; }
    .cta-actions .btn { justify-content: center; padding: 14px 20px; font-size: 17px; }
    .cta-phone { justify-content: center; padding-left: 0; border: 0; font-size: 18px; }

    /* Footer: accordions */
    .footer-card { padding: 24px 16px 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 10px; }
    .footer-brand { margin-bottom: 10px; }
    .footer-col { border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border); }
    .footer-col .footer-title { margin: 0; padding: 14px 16px; cursor: pointer; pointer-events: auto; }
    .footer-col .footer-title .icon { display: block; color: var(--ink); }
    .footer-col[open] .footer-title .icon { transform: rotate(180deg); }
    .footer-col ul { padding: 0 16px 8px; }
    .footer-contact { margin-top: 8px; padding-top: 16px !important; border-top: 1px solid rgba(15, 23, 42, .1) !important; }
    .footer-contact .footer-title { display: none; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .footer-bottom ul { flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
    .footer-bottom li + li::before { content: none; }

    /* Service pages */
    .crumbs ol { font-size: 13.5px; margin-bottom: 16px; flex-wrap: nowrap; white-space: nowrap; }
    .crumbs li:nth-child(2):not(:last-child) { display: none; }
    .svc-hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
    .svc-hero .hero-visual { margin: -10px -8px -24px; }
    .svc-hero .hero-visual img { max-width: 100%; }
    .build-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
    .build-card { gap: 14px; padding: 16px 18px; }
    .build-card img { width: 72px; height: 72px; }
    .build-card h3 { font-size: 18px; }
    .build-card p { font-size: 14.5px; }
    .compare-grid { grid-template-columns: 1fr; gap: 14px; }
    .compare-art { width: 110px; }
    .compare-card { padding: 20px 18px; }
    .compare-card h3 img { width: 52px; height: 52px; }
    .compare-card li { font-size: 15px; padding: 10px 0; }
    .ind-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ind-list li { min-height: 130px; font-size: 15px; }
    .ind-list img { width: 68px; height: 68px; }
    .tech-pills { gap: 10px; }
    .tech-pills .pill { padding: 10px 14px; font-size: 14px; }
    .case-feature { grid-template-columns: 1fr; padding: 14px 18px 20px; gap: 14px; }
    .related-card { gap: 12px; padding: 12px 14px 12px 10px; }
    .related-card img { width: 52px; height: 52px; }
    .related-card strong { font-size: 16.5px; }
    .related-card span { font-size: 13.5px; }

    /* Location pages */
    .loc-art { max-width: 100%; }
    .map-chip { padding: 7px 10px; font-size: 13px; gap: 6px; border-radius: 12px; }
    .map-chip .icon { width: 16px; height: 16px; }
    .loc-svc-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
    .loc-svc-grid li, .loc-svc-grid li:nth-child(n+5) { grid-column: auto; }
    .loc-svc-grid .related-card { padding: 12px 14px 12px 10px; }
    .loc-svc-grid .related-card img { width: 56px; height: 56px; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .why-grid .build-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
    .why-grid .build-card img { width: 56px; height: 56px; }
    .why-grid .build-card h3 { font-size: 16px; }
    .why-grid .build-card p { font-size: 13.5px; }
    .loc-office { gap: 14px; margin-top: 20px; }
    .route-map { min-height: 0; aspect-ratio: 2 / 1; border-radius: 20px; }
    .route-map .map-chip { transform: none; }
    .route-from { left: 3%; top: 54%; }
    .route-to { left: auto; right: 3%; top: 64%; }
    .office-card { grid-template-columns: 88px minmax(0, 1fr); gap: 6px 14px; padding: 16px; border-radius: 20px; align-items: start; }
    .office-card > img { grid-row: 1 / span 4; width: 88px; align-self: center; }
    .office-card .office-info { display: contents; }
    .office-card .office-info > :not(.office-actions) { grid-column: 2; }
    .office-card .office-actions { grid-column: 1 / -1; margin-top: 8px; }
    .office-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .office-actions .btn { padding: 11px 10px; font-size: 14.5px; justify-content: center; }
    .loc-ind .ind-list { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
    .loc-ind .ind-list li { min-height: 110px; padding: 12px 6px; font-size: 13.5px; }
    .loc-ind .ind-list img { width: 52px; height: 52px; }
    .loc-ind .case-feature { grid-template-columns: 1fr; }
    .nearby { gap: 8px; }
    .nearby a { padding: 11px 12px; font-size: 14px; gap: 8px; }
    .nearby a .icon { width: 18px; height: 18px; }

    /* Bottom contact bar */
    .wa-float { display: none; }
    .mobile-bar {
        display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
        padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .78); border: 1px solid var(--glass-border);
        box-shadow: 0 16px 36px -14px rgba(76, 29, 149, .45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); background: #fff; box-shadow: 0 6px 14px -8px rgba(76, 29, 149, .35); }
    .mobile-bar a .icon { width: 20px; height: 20px; }
    .mobile-bar a:first-child .icon { color: var(--violet); }
    .mobile-bar a:nth-child(2) { color: #fff; background: linear-gradient(135deg, #128C4A, #0E7A3A); }
    .mobile-bar .mobile-bar-cta { background: var(--grad); color: #fff; }
}

/* Very small phones */
@media (max-width: 380px) {
    .stack-pills { grid-template-columns: repeat(2, 1fr); }
    .mobile-bar a { font-size: 13.5px; gap: 4px; }
    .office { grid-template-columns: 1fr; }
    .office-map { max-height: 150px; }
}

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

/* ---------- Cookie consent banner ---------- */
.consent { position: fixed; left: 24px; bottom: 24px; z-index: 60; max-width: 460px; padding: 18px 20px; border-radius: var(--radius-sm); display: grid; gap: 12px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-lg); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14.5px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { padding: 10px 20px; font-size: 15px; }
@media (max-width: 720px) {
    .consent { left: 10px; right: 10px; max-width: none; bottom: calc(86px + env(safe-area-inset-bottom)); }
}
