/* ==========================================================================
   GoodPartner Tech Creatives — design system
   ========================================================================== */

:root {
    --purple: #392c98;
    --purple-600: #2f247f;
    --purple-50: #f2f0fb;
    --blue: #010ed0;
    --blue-soft: #e8e9ff;
    --ink: #14121f;
    --ink-2: #2a2740;
    --muted: #5b5870;
    --line: #e5e3ef;
    --bg: #ffffff;
    --bg-soft: #f7f6fb;
    --bg-dark: #14121f;
    --bg-dark-2: #1c1930;
    --success: #178a5b;
    --warning: #b45309;
    --danger: #b42318;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(20, 18, 31, .05), 0 4px 14px rgba(20, 18, 31, .06);
    --shadow-md: 0 14px 40px rgba(20, 18, 31, .10);
    --shadow-lg: 0 30px 80px rgba(20, 18, 31, .18);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Sora", var(--font);
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--purple);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--blue);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 .6em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.15rem, 4.6vw, 3.55rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
}

h3 {
    font-size: 1.18rem;
    font-weight: 650;
}

h4 {
    font-size: 1rem;
    font-weight: 650;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    padding-left: 1.2em;
}

strong {
    color: var(--ink);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: clamp(56px, 7vw, 96px) 0;
}

.section-tight {
    padding: clamp(36px, 4.5vw, 56px) 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-dark {
    background: var(--bg-dark);
    color: #cfcbe4;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head p {
    color: var(--muted);
    font-size: 1.06rem;
    margin-bottom: 0;
}

.section-dark .section-head p {
    color: #b4aecf;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-50);
    border: 1px solid #e2defa;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-dark .eyebrow {
    background: rgba(122, 108, 255, .14);
    border-color: rgba(122, 108, 255, .35);
    color: #c7c0ff;
}

/* --------------------------------------------------------------- buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 8px 22px rgba(57, 44, 152, .28);
}

.btn-primary:hover {
    background: var(--purple-600);
    color: #fff;
}

.btn-accent {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 22px rgba(1, 14, 208, .22);
}

.btn-accent:hover {
    background: #020bb0;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--purple-50);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.btn-light {
    background: #fff;
    color: var(--purple);
}

.btn-light:hover {
    background: var(--purple-50);
    color: var(--purple);
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 650;
    color: var(--purple);
    text-decoration: none;
}

.btn-link svg {
    width: 17px;
    height: 17px;
    transition: transform .15s ease;
}

.btn-link:hover svg {
    transform: translateX(3px);
}

.btn.is-loading {
    opacity: .7;
    pointer-events: none;
}

/* --------------------------------------------------------------- topbar */
.topbar {
    background: var(--bg-dark);
    color: #b9b3d3;
    font-size: .8rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 38px;
    flex-wrap: wrap;
    padding-top: 4px;
    padding-bottom: 4px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.topbar-item:hover {
    color: #fff;
}

.topbar-icon {
    width: 14px;
    height: 14px;
}

.topbar-spacer {
    flex: 1;
}

/* --------------------------------------------------------------- header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.06rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.brand-text span {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list a,
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 12px;
    border: 0;
    background: none;
    border-radius: 8px;
    font-family: var(--font);
    font-size: .92rem;
    font-weight: 550;
    color: var(--ink-2);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-dropdown-toggle:hover {
    background: var(--purple-50);
    color: var(--purple);
}

.nav-list a.is-active,
.nav-dropdown-toggle.is-active {
    color: var(--purple);
    background: var(--purple-50);
}

.nav-caret {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 620px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 95;
}

.nav-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2px;
}

.nav-dropdown-grid a {
    display: flex;
    gap: 11px;
    padding: 10px 11px;
    border-radius: 9px;
    align-items: flex-start;
    white-space: normal;
    min-width: 0;
}

.nav-dropdown-grid a > span:last-child {
    min-width: 0;
}

.nav-dropdown-grid a strong {
    display: block;
    font-size: .9rem;
    color: var(--ink);
    margin-bottom: 2px;
}

.nav-dropdown-grid a small {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.nav-dd-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 9px;
    background: var(--purple-50);
    color: var(--purple);
}

.nav-dd-icon svg {
    width: 17px;
    height: 17px;
}

.nav-dropdown-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 10px 12px;
    font-size: .86rem;
    font-weight: 650;
    border-top: 1px solid var(--line);
    width: 100%;
    border-radius: 0 0 9px 9px;
}

.nav-dropdown-all svg {
    width: 15px;
    height: 15px;
}

.nav-cta {
    flex: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    color: var(--ink);
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav-toggle:hover {
    background: var(--purple-50);
    border-color: #c9c2ea;
    color: var(--purple);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

.nav-toggle[aria-expanded="true"] {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    box-shadow: 0 6px 16px rgba(57, 44, 152, .28);
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.nav-overlay {
    display: none;
}

.nav-drawer-foot {
    display: none;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--purple);
    color: #fff;
    padding: 10px 16px;
    z-index: 200;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* --------------------------------------------------------------- hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 6.5vw, 92px) 0 clamp(52px, 7vw, 100px);
    background:
        radial-gradient(900px 480px at 82% -10%, rgba(1, 14, 208, .09), transparent 62%),
        radial-gradient(760px 420px at 8% 4%, rgba(57, 44, 152, .10), transparent 60%),
        #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero h1 {
    margin-bottom: 18px;
}

.hero h1 .accent {
    color: var(--purple);
}

.hero h1 .accent-blue {
    color: var(--blue);
}

.hero-lead {
    font-size: clamp(1.02rem, 1.5vw, 1.14rem);
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: .88rem;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-points svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* Dashboard mockup — clearly a representative interface preview */
.mock {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #221d49 0%, #14122a 55%, #0e0c1d 100%);
    padding: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .07);
}

.mock::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(122, 108, 255, .35), transparent 40%, rgba(1, 14, 208, .25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
}

.mock-window {
    background: #fbfaff;
    border-radius: 14px;
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    background: #f0eef8;
    border-bottom: 1px solid #e3dff0;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5d1e6;
}

.mock-label {
    margin-left: auto;
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8c88a3;
    font-weight: 700;
}

.mock-body {
    display: grid;
    grid-template-columns: 64px 1fr;
    min-height: 340px;
}

.mock-side {
    background: #17142c;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: center;
}

.mock-side i {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b93c9;
}

.mock-side i svg {
    width: 15px;
    height: 15px;
}

.mock-side i.active {
    background: var(--purple);
    color: #fff;
}

.mock-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mock-head strong {
    font-family: var(--font-display);
    font-size: .86rem;
    color: #241f3d;
}

.mock-chip {
    font-size: .58rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e6f6ee;
    color: #167a53;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mock-stat {
    background: #fff;
    border: 1px solid #e9e6f3;
    border-radius: 9px;
    padding: 9px 10px;
}

.mock-stat small {
    display: block;
    font-size: .55rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8b87a0;
    font-weight: 700;
    margin-bottom: 3px;
}

.mock-stat b {
    font-family: var(--font-display);
    font-size: .84rem;
    color: #221d3d;
}

.mock-stat b.up {
    color: #178a5b;
}

.mock-chart {
    background: #fff;
    border: 1px solid #e9e6f3;
    border-radius: 10px;
    padding: 11px 12px 6px;
}

.mock-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mock-chart-head small {
    font-size: .58rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8b87a0;
    font-weight: 700;
}

.mock-chart-head span {
    font-size: .58rem;
    color: #6f6a89;
}

.mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 84px;
}

.mock-bars span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #6e5df2, #392c98);
    opacity: .85;
}

.mock-bars span:nth-child(2n) {
    background: linear-gradient(180deg, #4b6bff, #010ed0);
    opacity: .75;
}

.mock-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e9e6f3;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: .62rem;
    color: #4a4562;
}

.mock-row .pill {
    margin-left: auto;
    font-size: .52rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eef0ff;
    color: #3a3fb8;
}

.mock-row .pill.warn {
    background: #fff3e2;
    color: #a35a06;
}

.mock-tag {
    position: absolute;
    left: -14px;
    bottom: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .74rem;
    font-weight: 650;
    color: var(--ink);
}

.mock-tag svg {
    width: 17px;
    height: 17px;
    color: var(--success);
}

.mock-tag small {
    display: block;
    font-size: .64rem;
    color: var(--muted);
    font-weight: 500;
}

.mock-note {
    margin-top: 10px;
    text-align: right;
    font-size: .66rem;
    color: #8e89a6;
    letter-spacing: .02em;
}

/* --------------------------------------------------------------- trust row */
.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.trust-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.trust-card .ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--purple-50);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.trust-card .ico svg {
    width: 19px;
    height: 19px;
}

.trust-card strong {
    display: block;
    font-size: .92rem;
    margin-bottom: 3px;
}

.trust-card p {
    margin: 0;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------- POS section */
.pos-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(800px 400px at 90% 10%, rgba(57, 44, 152, .5), transparent 60%),
        radial-gradient(600px 400px at 5% 90%, rgba(1, 14, 208, .25), transparent 55%),
        var(--bg-dark);
    color: #cfcbe4;
}

.pos-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}

.pos-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

.pos-list li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: .9rem;
    color: #d7d2ea;
}

.pos-list svg {
    width: 17px;
    height: 17px;
    color: #8f7bff;
    flex: none;
    margin-top: 2px;
}

.pos-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.pos-mock .mock-window {
    background: #fbfaff;
}

/* --------------------------------------------------------------- service cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-card:hover {
    border-color: #c9c2ea;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: inherit;
}

.service-card .ico {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(150deg, var(--purple-50), #fff);
    border: 1px solid #e6e2f8;
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card .ico svg {
    width: 21px;
    height: 21px;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 7px;
}

.service-card p {
    font-size: .86rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.service-card .more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 650;
    color: var(--purple);
}

.service-card .more svg {
    width: 15px;
    height: 15px;
    transition: transform .15s ease;
}

.service-card:hover .more svg {
    transform: translateX(3px);
}

/* --------------------------------------------------------------- problems */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.problem-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.problem-card .mark {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 8px;
    background: #fdf1ec;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card .mark svg {
    width: 16px;
    height: 16px;
}

.problem-card h3 {
    font-size: .93rem;
    margin-bottom: 4px;
}

.problem-card p {
    margin: 0;
    font-size: .83rem;
    color: var(--muted);
}

.problem-card a {
    font-weight: 600;
}

/* --------------------------------------------------------------- industries */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.industry-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.industry-card .ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.industry-card .ico svg {
    width: 17px;
    height: 17px;
}

.industry-card h3 {
    font-size: .9rem;
    margin-bottom: 4px;
}

.industry-card p {
    margin: 0;
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------- process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    counter-reset: step;
}

.process-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    color: var(--purple);
    background: var(--purple-50);
    border-radius: 7px;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 14px;
}

.process-step h3 {
    font-size: .94rem;
    margin-bottom: 6px;
}

.process-step p {
    margin: 0;
    font-size: .82rem;
    color: var(--muted);
}

/* --------------------------------------------------------------- portfolio */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.project-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.project-visual {
    background:
        radial-gradient(500px 220px at 80% 0%, rgba(1, 14, 208, .35), transparent 60%),
        linear-gradient(150deg, #2a2266, #14122a);
    padding: 30px 26px;
    color: #fff;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-visual .tag {
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b7aefc;
    font-weight: 700;
}

.project-visual strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
}

.project-visual .mini-ui {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 42px;
    margin-top: 14px;
}

.project-visual .mini-ui i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(255, 255, 255, .35);
}

.project-visual .mini-ui i:nth-child(2n) {
    background: rgba(143, 123, 255, .8);
}

.project-body {
    padding: 22px;
}

.project-body h3 {
    font-size: 1.04rem;
    margin-bottom: 7px;
}

.project-body p {
    font-size: .87rem;
    color: var(--muted);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.project-meta span {
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--muted);
}

/* --------------------------------------------------------------- FAQ */
.faq-list {
    display: grid;
    gap: 10px;
    max-width: 860px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 17px 20px;
    font-weight: 600;
    font-size: .93rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--purple);
    flex: none;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item .faq-answer {
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: .89rem;
}

.faq-item .faq-answer p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------- CTA band */
.cta-band {
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(1, 14, 208, .35), transparent 60%),
        linear-gradient(135deg, #2d2382, #392c98 55%, #241b6e);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(34px, 5vw, 58px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 10px;
}

.cta-band p {
    color: #d9d4f4;
    margin: 0;
    max-width: 560px;
}

.cta-actions {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* --------------------------------------------------------------- page hero */
.page-hero {
    background:
        radial-gradient(700px 320px at 85% -20%, rgba(1, 14, 208, .10), transparent 60%),
        linear-gradient(180deg, #f8f7fd, #fff);
    padding: clamp(42px, 5.5vw, 70px) 0 clamp(30px, 4vw, 44px);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    max-width: 860px;
    margin-bottom: 12px;
}

.page-hero .lead {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--muted);
    max-width: 720px;
    margin-bottom: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 18px;
    list-style: none;
    padding: 0;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--purple);
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 7px;
    color: #b7b2cc;
}

/* --------------------------------------------------------------- content blocks */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.split-narrow {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.prose {
    max-width: 72ch;
}

.prose h2 {
    font-size: 1.45rem;
    margin-top: 2em;
}

.prose h3 {
    margin-top: 1.6em;
}

.prose p,
.prose li {
    color: #3c3950;
}

.prose ul,
.prose ol {
    margin-bottom: 1.2em;
}

.prose li {
    margin-bottom: .45em;
}

.prose blockquote {
    margin: 1.6em 0;
    padding: 14px 20px;
    border-left: 3px solid var(--purple);
    background: var(--purple-50);
    border-radius: 0 10px 10px 0;
    color: var(--ink-2);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: .9rem;
}

.prose th,
.prose td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}

.prose th {
    background: var(--bg-soft);
    font-weight: 650;
}

.check-list,
.x-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.check-list li,
.x-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9rem;
    color: var(--ink-2);
}

.check-list svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex: none;
    margin-top: 3px;
}

.x-list svg {
    width: 18px;
    height: 18px;
    color: var(--danger);
    flex: none;
    margin-top: 3px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.feature-tile .ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--purple-50);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-tile .ico svg {
    width: 17px;
    height: 17px;
}

.feature-tile h3 {
    font-size: .9rem;
    margin-bottom: 4px;
}

.feature-tile p {
    margin: 0;
    font-size: .81rem;
    color: var(--muted);
    line-height: 1.5;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--muted);
}

.stat-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-band .stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}

.stat-band .stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.stat-band .stat span {
    font-size: .82rem;
    color: var(--muted);
}

/* --------------------------------------------------------------- service detail */
.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.service-aside {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 14px;
}

.aside-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.aside-card.dark {
    background: linear-gradient(150deg, #2a2266, #17142c);
    border-color: transparent;
    color: #cdc7ea;
}

.aside-card.dark h3 {
    color: #fff;
}

.aside-card h3 {
    font-size: .94rem;
    margin-bottom: 9px;
}

.aside-card p {
    font-size: .84rem;
    color: var(--muted);
}

.aside-card.dark p {
    color: #bdb6dc;
}

.aside-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.aside-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 550;
    text-decoration: none;
    color: var(--ink-2);
    padding: 7px 9px;
    border-radius: 8px;
}

.aside-links a:hover {
    background: var(--purple-50);
    color: var(--purple);
}

.aside-links svg {
    width: 15px;
    height: 15px;
    color: var(--purple);
    flex: none;
}

/* --------------------------------------------------------------- blog */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: #c9c2ea;
    color: inherit;
}

.post-cover {
    height: 132px;
    background:
        radial-gradient(300px 120px at 80% 0%, rgba(1, 14, 208, .4), transparent 60%),
        linear-gradient(150deg, #2f2677, #191532);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.post-cover span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #cfc9ff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 4px 9px;
    border-radius: 999px;
}

.post-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-body h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.post-body p {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.post-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: .76rem;
    color: #8d88a4;
}

.post-meta .read {
    color: var(--purple);
    font-weight: 650;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.article-head {
    margin-bottom: 22px;
}

.article-head h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .8rem;
    color: var(--muted);
}

/* --------------------------------------------------------------- forms */
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3.4vw, 34px);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink);
}

.form-field label .req {
    color: var(--danger);
}

.form-field .hint {
    font-size: .74rem;
    color: var(--muted);
}

.input,
.select,
.textarea {
    width: 100%;
    font-family: var(--font);
    font-size: .94rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d9d5e8;
    border-radius: 10px;
    padding: 12px 13px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(57, 44, 152, .12);
}

.textarea {
    min-height: 130px;
    resize: vertical;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b5870' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 38px;
}

.checkbox-field {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .82rem;
    color: var(--muted);
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--purple);
    flex: none;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-errors {
    background: #fef1f0;
    border: 1px solid #f4c6c2;
    color: #8d1d15;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: .86rem;
    margin-bottom: 18px;
}

.form-errors ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.form-note {
    font-size: .76rem;
    color: var(--muted);
    margin-top: 12px;
}

.form-status {
    margin-top: 14px;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: .88rem;
    display: none;
}

.form-status.is-success {
    display: block;
    background: #e9f7f0;
    border: 1px solid #b9e6d2;
    color: #116240;
}

.form-status.is-error {
    display: block;
    background: #fef1f0;
    border: 1px solid #f4c6c2;
    color: #8d1d15;
}

.form-intro {
    margin-bottom: 20px;
}

.form-intro h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    margin: 0 0 6px;
}

.form-intro p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.form-intro .req {
    color: var(--danger);
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 6px;
}

.form-actions .btn {
    flex: none;
}

.form-actions .form-note {
    margin: 0;
    max-width: 340px;
}

.form-status ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.btn.is-loading {
    opacity: .7;
    pointer-events: none;
}

.checkbox-field a {
    color: var(--purple);
    font-weight: 600;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(26px, 4vw, 48px);
    align-items: start;
}

.contact-side {
    display: grid;
    gap: 12px;
}

.contact-tile {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

a.contact-tile:hover {
    border-color: #c9c2ea;
    box-shadow: var(--shadow-sm);
    color: inherit;
}

.contact-tile .ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--purple-50);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.contact-tile .ico svg {
    width: 18px;
    height: 18px;
}

.contact-tile strong {
    display: block;
    font-size: .9rem;
    margin-bottom: 2px;
}

.contact-tile span {
    font-size: .84rem;
    color: var(--muted);
}

.map-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: 20px;
    font-size: .85rem;
    color: var(--muted);
}

.map-card strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
}

/* --------------------------------------------------------------- footer */
.site-footer {
    background: var(--bg-dark);
    color: #a29bbc;
    padding: 56px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr 1.1fr;
    gap: 34px;
    padding-bottom: 40px;
}

.brand-footer .brand-text strong {
    color: #fff;
}

.brand-footer .brand-text span {
    color: #8d86a8;
}

.footer-brand p {
    font-size: .86rem;
    color: #a29bbc;
    margin: 16px 0;
    max-width: 340px;
}

.footer-contact {
    display: grid;
    gap: 9px;
    font-size: .84rem;
}

.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c3bcd9;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact svg {
    width: 15px;
    height: 15px;
    color: #8f7bff;
    flex: none;
}

.footer-col h3 {
    color: #fff;
    font-size: .86rem;
    letter-spacing: .02em;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.footer-col a {
    color: #a29bbc;
    font-size: .84rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col p {
    font-size: .84rem;
    color: #a29bbc;
}

.footer-cta .btn {
    width: 100%;
    margin-bottom: 9px;
    font-size: .86rem;
    padding: 11px 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 22px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: .78rem;
}

.footer-bottom nav {
    display: flex;
    gap: 18px;
}

.footer-bottom a {
    color: #8d86a8;
    font-size: .78rem;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1faa53;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(16, 122, 60, .38);
    transition: transform .15s ease, box-shadow .2s ease;
}

.whatsapp-float svg {
    width: 25px;
    height: 25px;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.03);
    color: #fff;
    box-shadow: 0 14px 30px rgba(16, 122, 60, .45);
}

/* --------------------------------------------------------------- misc */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.notice {
    background: var(--purple-50);
    border: 1px solid #e2defa;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .84rem;
    color: #3b3277;
}

.empty-state {
    text-align: center;
    padding: 44px 24px;
    border: 1px dashed #d9d5e8;
    border-radius: var(--radius);
    color: var(--muted);
    font-size: .9rem;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-6 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.center {
    text-align: center;
}

.small {
    font-size: .82rem;
    color: var(--muted);
}

.tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
    .hero-grid,
    .pos-grid {
        grid-template-columns: 1fr;
    }

    .pos-grid .pos-mock {
        order: -1;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .service-aside {
        position: static;
        grid-template-columns: 1fr 1fr;
        display: grid;
    }

    .cta-band {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 920px) {
    .site-header {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 16, 38, .48);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s;
        z-index: 84;
        border: 0;
        padding: 0;
    }

    body.nav-open .nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(88vw, 360px);
        background: #fff;
        padding: 84px 16px 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        transform: translateX(104%);
        transition: transform .28s cubic-bezier(.4, 0, .2, 1);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        z-index: 85;
        margin: 0;
        border-left: 1px solid var(--line);
        box-shadow: -24px 0 60px rgba(15, 16, 38, .16);
    }

    .main-nav.is-open {
        transform: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-list > li + li {
        border-top: 1px solid #f1eff9;
    }

    .nav-list a,
    .nav-dropdown-toggle {
        padding: 14px 12px;
        font-size: .98rem;
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }

    .nav-list a:hover,
    .nav-dropdown-toggle:hover,
    .nav-list a.is-active,
    .nav-dropdown-toggle.is-active {
        background: var(--purple-50);
    }

    .nav-dropdown {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        box-shadow: none;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 6px;
        margin: 0 0 8px;
        display: none;
        opacity: 1;
        visibility: visible;
        background: #fbfaff;
    }

    .nav-dropdown.is-open {
        display: block;
        transform: none;
    }

    .nav-dropdown-grid {
        grid-template-columns: 1fr;
    }

    .nav-dropdown-grid a {
        padding: 10px;
    }

    .nav-dropdown-all {
        border-top: 0;
        margin-top: 2px;
        padding: 10px;
    }

    .nav-cta {
        width: 100%;
        margin-top: 10px;
    }

    .nav-drawer-foot {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--line);
        font-size: .86rem;
    }

    .nav-drawer-foot a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: var(--ink-2);
        text-decoration: none;
        font-weight: 600;
    }

    .nav-drawer-foot a:hover {
        color: var(--purple);
    }

    .nav-drawer-foot svg {
        width: 16px;
        height: 16px;
        flex: none;
    }

    .nav-drawer-foot p {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        margin: 0;
        color: var(--muted);
        line-height: 1.5;
    }

    .nav-toggle {
        position: relative;
        z-index: 86;
    }

    body.nav-open {
        overflow: hidden;
    }

    .header-inner {
        min-height: 68px;
    }

    .split,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        justify-content: center;
        gap: 10px 16px;
    }

    .topbar-spacer,
    .topbar-item:nth-child(1),
    .topbar-item:nth-child(2) {
        display: none;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 18px;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .pos-actions .btn {
        width: 100%;
    }

    .trust-row,
    .service-grid,
    .industry-grid,
    .process-grid,
    .post-grid,
    .feature-grid,
    .form-grid,
    .stat-band,
    .service-aside {
        grid-template-columns: 1fr;
    }

    .pos-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .mock-tag {
        left: 8px;
        bottom: -14px;
        font-size: .68rem;
        padding: 8px 10px;
    }

    .mock-body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mock-side {
        display: none;
    }

    .section-head.center {
        text-align: left;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 14px;
        bottom: 14px;
    }

    .breadcrumbs {
        font-size: .74rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }

    .form-actions .form-note {
        max-width: none;
    }

    .cta-band {
        border-radius: 16px;
    }

    .brand-text strong {
        font-size: .98rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: rgba(57, 44, 152, .18);
}

/* print */
@media print {
    .site-header,
    .topbar,
    .site-footer,
    .whatsapp-float,
    .cta-band,
    .nav-toggle {
        display: none !important;
    }

    body {
        color: #000;
    }
}
