:root {
    --navy: #0C2036;
    --navy-2: #1C3A5E;
    --orange: #F2762E;
    --orange-dark: #D9631E;
    --purple: #6C5CE7;
    --teal: #159C93;
    --blue: #2E7CD6;
    --cream: #FDF1E3;
    --sage: #EAF2E6;
    --paper: #F8F5EE;
    --text: #0C2036;
    --muted: #5C6A78;
    --line: #E7E1D2;
    --white: #ffffff;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-pill: 999px;
    --shadow: 0 20px 40px -24px rgba(12, 32, 54, .28);
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0
}

html {
    scroll-padding-top: env(safe-area-inset-top, 0px);
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #EFF5EA 0%, #F7F1E4 46%, #FBF7EF 100%);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
    color: var(--navy);
    letter-spacing: -0.02em;
    font-weight: 800;
    line-height: 1.08;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

section {
    padding: 88px 0;
}

@media (max-width:720px) {
    section {
        padding: 56px 0;
    }
}

/* ---------- Nav ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 20px calc(18px);
    backdrop-filter: blur(6px);
}

.navbar.docked {
    top: env(safe-area-inset-top, 0px);
}

.nav-shell {
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(12, 32, 54, .06);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 24px;
    box-shadow: 0 12px 30px -20px rgba(12, 32, 54, .35);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope';
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--navy);
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
}

.brand-word {
    font-family: 'Manrope';
    font-weight: 800;
    color: var(--navy);
}

.brand-word em {
    font-style: normal;
    color: #F2317A;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy-2);
}

.nav-links a {
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease, color .15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--orange-dark);
    border-color: var(--orange);
}

.nav-links a.active {
    color: var(--orange-dark);
    border-color: var(--orange);
}

.nav-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    margin-left: 20px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 22px -8px rgba(217, 99, 30, .55);
    white-space: nowrap;
}

.nav-cta:hover {
    filter: brightness(1.05);
}

.nav-toggle {
    display: none;
}

@media (max-width:920px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: #fff;
    }
}

/* ---------- Nav dropdown (Services) ---------- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    font: inherit;
    line-height: inherit;
    color: inherit;
    cursor: pointer;
    vertical-align: middle;
}

.nav-caret {
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-caret,
.nav-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    min-width: 220px;
    background: #eef6ff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 50;
}

.nav-dropdown-divider {
    height: 1px;
    background: #d3e6fb;
    margin: 4px 8px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    white-space: nowrap;
    color: #0b3d63;
    text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    background: #dcecfd;
    color: #ee7e0d;
}

/* Show on hover (desktop) OR when JS adds .open (click/touch) */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: .8rem;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 26px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.1rem);
    max-width: 15ch;
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.hero p.lede {
    margin-top: 22px;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    font-weight: 700;
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    box-shadow: 0 14px 28px -10px rgba(217, 99, 30, .55);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost {
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-weight: 700;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.pill {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 9px 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

/* trust strip */
.trust {
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 70px;
    background: rgba(255, 255, 255, .5);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    justify-content: space-between;
    align-items: center;
}

.trust-row span {
    font-family: 'Manrope';
    font-weight: 700;
    color: var(--navy-2);
    opacity: .55;
    font-size: 1.05rem;
}

/* ---------- Services grid ---------- */
.section-head {
    max-width: 640px;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.section-head p {
    color: var(--muted);
    margin-top: 14px;
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width:980px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:660px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.service-art {
    position: relative;
    padding: 30px 26px 18px;
    background: var(--cream);
}

.service-art.alt1 {
    background: #E9F3F1;
}

.service-art.alt2 {
    background: #EEF0FB;
}

.service-art.alt3 {
    background: #FBEFE3;
}

.service-art.alt4 {
    background: #EAF2E6;
}

.badge {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 18px -8px rgba(12, 32, 54, .35);
}

.service-art svg {
    width: 100%;
    height: 96px;
    margin-top: 16px;
}

.service-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.service-body h3 {
    font-size: 1.28rem;
}

.service-body p {
    color: var(--muted);
    font-size: .96rem;
}

.service-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 8px;
}

.service-body li {
    font-size: .9rem;
    color: var(--navy-2);
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.service-body li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    margin-top: 7px;
    flex: none;
}

.service-more {
    margin-top: auto;
    font-weight: 700;
    color: var(--orange-dark);
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Process ---------- */
.process {
    background: var(--navy);
    color: #fff;
    border-radius: 40px;
    margin: 0 28px;
}

.process .wrap {
    padding: 0;
}

.process-inner {
    padding: 70px 44px;
}

.process h2 {
    color: #fff;
}

.process p.sub {
    color: rgba(255, 255, 255, .68);
    max-width: 52ch;
    margin-top: 14px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 52px;
    position: relative;
}

@media (max-width:980px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:560px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 22px 18px;
}

.step .num {
    font-family: 'Manrope';
    font-weight: 800;
    color: var(--orange);
    font-size: .85rem;
    letter-spacing: .02em;
}

.step h4 {
    color: #fff;
    margin-top: 10px;
    font-size: 1.02rem;
}

.step p {
    color: rgba(255, 255, 255, .62);
    font-size: .86rem;
    margin-top: 8px;
}

/* ---------- Case studies ---------- */
.cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width:920px) {
    .cases {
        grid-template-columns: 1fr;
    }
}

.case-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.case-top {
    height: 150px;
    background: linear-gradient(135deg, var(--purple), #8B7CF6);
    position: relative;
    padding: 20px;
}

.case-top.teal {
    background: linear-gradient(135deg, var(--teal), #1FC2B7);
}

.case-top.blue {
    background: linear-gradient(135deg, var(--blue), #5AA3F0);
}

.case-top span {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.case-body {
    padding: 22px 24px 26px;
}

.case-body h3 {
    font-size: 1.1rem;
}

.case-body p {
    color: var(--muted);
    font-size: .92rem;
    margin-top: 8px;
}

.case-metrics {
    display: flex;
    gap: 18px;
    margin-top: 16px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.case-metrics div {
    font-family: 'Manrope';
    font-weight: 800;
    color: var(--navy);
    font-size: 1.1rem;
}

.case-metrics span {
    display: block;
    font-weight: 500;
    color: var(--muted);
    font-size: .72rem;
    margin-top: 2px;
}

/* ---------- Stack strip ---------- */
.stack {
    background: var(--sage);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    justify-content: space-between;
}

.stack h4 {
    font-size: .95rem;
    color: var(--navy-2);
    min-width: 180px;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy-2);
}

/* ---------- Testimonials ---------- */
.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width:780px) {
    .testimonials {
        grid-template-columns: 1fr;
    }
}

.t-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    box-shadow: var(--shadow);
}

.t-card p.quote {
    font-size: 1.05rem;
    color: var(--navy-2);
    line-height: 1.6;
}

.t-who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.t-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--purple));
}

.t-who strong {
    display: block;
    font-size: .92rem;
}

.t-who span {
    font-size: .8rem;
    color: var(--muted);
}

/* ---------- Blog ---------- */
.posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width:920px) {
    .posts {
        grid-template-columns: 1fr;
    }
}

.post-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 26px;
    box-shadow: var(--shadow);
}

.post-tag {
    color: var(--orange-dark);
    font-weight: 700;
    font-size: .78rem;
}

.post-card h3 {
    margin-top: 12px;
    font-size: 1.08rem;
}

.post-card p {
    color: var(--muted);
    font-size: .9rem;
    margin-top: 10px;
}

/* ---------- Final CTA ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 40px;
    padding: 64px 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin: 0 28px;
}

.cta-band h2 {
    color: #fff;
    max-width: 16ch;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cta-band p {
    color: rgba(255, 255, 255, .85);
    margin-top: 10px;
    max-width: 40ch;
}

.cta-band .btn-primary {
    background: #fff;
    color: var(--orange-dark);
    box-shadow: none;
}

/* ---------- Footer ---------- */
footer {
    padding: 70px 0 40px;
    color: var(--navy-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--line);
}

@media (max-width:780px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-grid h5 {
    font-size: .85rem;
    color: var(--navy);
    margin-bottom: 14px;
}

.footer-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-grid a {
    font-size: .9rem;
    color: var(--muted);
}

.footer-grid a:hover {
    color: var(--orange-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 26px;
    font-size: .82rem;
    color: var(--muted);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    padding: 10px 16px;
    border-radius: 10px;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    z-index: 100;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.breadcrumb {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 22px;
}

.breadcrumb a {
    color: var(--orange-dark);
    font-weight: 600;
}

.deliv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 10px;
}

@media (max-width:700px) {
    .deliv-grid {
        grid-template-columns: 1fr;
    }
}

.deliv-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.deliv-item .chk {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
    flex: none;
    margin-top: 1px;
}

.deliv-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.deliv-item p {
    color: var(--muted);
    font-size: .86rem;
}

.price-note {
    background: var(--sage);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.price-note h4 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.price-note p {
    color: var(--navy-2);
    font-size: .92rem;
    max-width: 60ch;
}

/* ---------- Billing ---------- */
.billing-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.billing-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.billing-item .bnum {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5FBF7A, #1E9E52);
    color: #fff;
    font-family: 'Manrope';
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.billing-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.billing-item p {
    color: var(--muted);
    font-size: .92rem;
}

.billing-note {
    background: var(--navy);
    color: rgba(255, 255, 255, .75);
    border-radius: 18px;
    padding: 20px 24px;
    font-size: .9rem;
    margin-top: 6px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 18px 2px;
}

.faq-item summary {
    font-family: 'Manrope';
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--orange-dark);
    font-size: 1.3rem;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    color: var(--muted);
    font-size: .94rem;
    margin-top: 12px;
    max-width: 70ch;
}

.hero-side {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 26px;
}

.stat-chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 20px;
    min-width: 140px;
}

.stat-chip strong {
    display: block;
    font-family: 'Manrope';
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 800;
}

.stat-chip span {
    font-size: .78rem;
    color: var(--muted);
}