:root {
    --blue: #0077bd;
    --blue-dark: #045d98;
    --ink: #202124;
    --muted: #5f6673;
    --line: #e8edf2;
    --warm: #f8f5f3;
    --soft: #f5f8fb;
    --dark: #071d26;
    --green: #00c987;
    --radius: 8px;
    --shadow: 0 24px 48px rgba(21, 32, 43, .12);
    --max: 1200px;
    --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.12; letter-spacing: 0; font-family: var(--font-head); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 20;
    padding: .6rem .9rem;
    background: #fff;
    border: 1px solid var(--line);
}
.skip-link:focus { left: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248,245,243,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,.94);
    border-color: var(--line);
    box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.nav-shell {
    min-height: 122px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand img { width: 222px; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: .96rem;
}
.site-nav a:not(.btn) {
    color: #0e1621;
    position: relative;
}
.site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.45rem;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 2.25rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--blue);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(0,119,189,.22);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-small { min-height: 45px; padding: 0 1.9rem; }
.btn-light { background: #fff; color: var(--blue); box-shadow: none; }
.text-link {
    color: var(--blue);
    font-weight: 800;
    border-bottom: 2px solid currentColor;
}
.eyebrow {
    margin-bottom: .8rem;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .08em;
}

.section { padding: 96px 0; }
.section-warm { background: var(--warm); }
.section-dark { background: var(--dark); color: #fff; }
.hero { padding: 112px 0 146px; }
.hero-inner {
    display: grid;
    justify-items: center;
    text-align: center;
}
.hero-inner > *,
.split-grid > * { min-width: 0; }
.hero p {
    max-width: 760px;
    margin-bottom: 3rem;
    font-size: 1.35rem;
    color: #111827;
}
.hero-screen {
    width: 100%;
    margin: 3.2rem 0 0;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eef3f8;
}
.page-hero { padding: 92px 0; }
.page-hero p { font-size: 1.18rem; color: var(--muted); }
.section-title,
.section-heading {
    max-width: 850px;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: rgba(255,255,255,.7); }

.logo-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
    display: flex;
    align-items: center;
    gap: 76px;
    width: max-content;
    will-change: transform;
}
.logo-track img {
    max-width: 178px;
    max-height: 86px;
    object-fit: contain;
}
.trusted-section .section-title {
    max-width: 760px;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 7rem;
}
.split-grid.reversed > :first-child { order: 2; }
.split-grid p { color: #111827; }
.visual-stack,
.image-frame {
    position: relative;
}
.analytics-art,
.device-art {
    margin: 0 auto;
    filter: drop-shadow(0 26px 36px rgba(8, 30, 38, .1));
}
.image-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.image-frame img {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
}
.web-design-band {
    position: relative;
    overflow: hidden;
    background: #869bb5;
    color: #fff;
}
.web-design-band .split-grid p,
.web-design-band h2 { color: #fff; }
.web-design-band .image-frame {
    box-shadow: 0 28px 54px rgba(12, 29, 46, .22);
}
.web-design-grid {
    position: relative;
}
.web-design-grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -96px;
    width: 2px;
    height: 122px;
    background: rgba(255,255,255,.64);
    transform: translateX(-50%);
}
.analytics-section {
    background: #fff;
}
.analytics-grid {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}
.icon-list {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}
.icon-list div {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    font-size: 1.1rem;
    font-weight: 650;
}
.icon-list img {
    width: 58px;
    height: 58px;
    padding: 12px;
    border-radius: 50%;
    background: #f6fbfd;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card,
.stat-card,
.team-card,
.post-card,
.contact-card,
.faq-item,
.process-step {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 34px rgba(10, 28, 42, .06);
}
.section-dark .feature-card,
.section-dark .process-step {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
}
.feature-card {
    min-height: 190px;
    padding: 2rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.feature-card p { color: var(--muted); }
.section-dark .feature-card p { color: rgba(255,255,255,.7); }
.blog-feature-section {
    background: var(--warm);
}
.blog-feature-section .section-heading {
    max-width: 880px;
    margin-bottom: 6.5rem;
}
.blog-feature-section .section-heading h2 {
    margin-bottom: 1rem;
}
.blog-feature-section .section-heading p {
    margin-bottom: 1.5rem;
    color: #000;
    font-size: 1.02rem;
    line-height: 1.55;
}
.blog-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem 1.8rem;
}
.blog-feature-card {
    position: relative;
    z-index: 0;
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 1.35rem;
    min-height: 185px;
    padding: 2rem 1.85rem;
    border: 1px solid #d8d2cb;
    border-radius: 8px;
    background: var(--warm);
    color: #000;
    transform: translate(0, 0);
    transform-origin: center;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.blog-feature-card::before,
.blog-feature-card::after {
    content: none;
}
.blog-feature-section .blog-feature-card {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.blog-feature-section .blog-feature-card:hover {
    z-index: 2;
    background: #fff;
    transform: translate(6px, -6px);
    box-shadow: -3px 3px 0 -1px #fff, -3px 3px 0 0 #242424, -6px 6px 0 -1px #fff, -6px 6px 0 0 #242424;
}
.blog-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fafafa;
}
.blog-icon svg {
    width: 42px;
    height: 42px;
    fill: #3f3f3f;
}
.blog-feature-card h3 {
    margin-bottom: .75rem;
    font-size: 1.1rem;
}
.blog-feature-card p {
    margin: 0;
    color: #000;
    line-height: 1.45;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.stat-card {
    padding: 2rem;
    text-align: center;
}
.stat-card strong {
    display: block;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 3rem;
    line-height: 1;
}
.stat-card span {
    display: block;
    margin-top: .8rem;
    color: var(--muted);
    font-weight: 700;
}
.growth-section {
    position: relative;
    overflow: hidden;
    background: #6253f4;
    color: #fff;
    padding: 170px 0 132px;
}
.growth-hero {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 5rem;
    margin-bottom: 132px;
}
.growth-hero h2 {
    max-width: 560px;
    color: #fff;
    font-size: clamp(2.8rem, 4.6vw, 4.45rem);
}
.growth-hero p {
    max-width: 560px;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.55;
}
.growth-hero img {
    width: min(560px, 100%);
    opacity: .35;
    filter: brightness(2.2);
}
.growth-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}
.growth-stat {
    position: relative;
    z-index: 0;
    min-height: 140px;
    padding: 1.35rem 1.45rem 1.4rem;
    border-radius: 8px;
    color: #fff;
    transform: translate(0, 0);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.growth-stat::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: .75rem;
    width: 2px;
    height: 28px;
    background: var(--green);
    z-index: 1;
}
.growth-stat strong {
    display: block;
    margin-bottom: 1.35rem;
    font-family: var(--font-head);
    font-size: 2.05rem;
    line-height: 1;
}
.growth-stat span {
    display: block;
    max-width: 250px;
    font-weight: 700;
    line-height: 1.55;
}
.growth-stat:hover {
    z-index: 2;
    background: #fff;
    color: #0d1720;
    transform: translate(6px, -6px);
    box-shadow: -3px 3px 0 -1px #fff, -3px 3px 0 0 #242424, -6px 6px 0 -1px #fff, -6px 6px 0 0 #242424;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.process-step {
    padding: 1.2rem;
    color: #fff;
    font-weight: 800;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.team-card {
    overflow: hidden;
    text-align: center;
}
.team-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.team-card h3 { margin: 1.2rem 1rem .2rem; }
.team-card p { margin: 0 1rem 1.4rem; color: var(--muted); }
.testimonial {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.testimonial blockquote {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 650;
}

.contact-card {
    padding: 2rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
label span {
    display: block;
    margin-bottom: .45rem;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}
input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
}
textarea { resize: vertical; }
label { display: block; margin-bottom: 1rem; }
.hp-field { position: absolute; left: -9999px; }
.contact-detail {
    display: grid;
    gap: .35rem;
    margin-top: 2rem;
}
.notice {
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    border-radius: var(--radius);
    font-weight: 800;
}
.notice.success { color: #05603a; background: #e7f7ef; }
.notice.error { color: #9b1c1c; background: #fdecec; }
.faq-list {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    padding: 1.2rem 1.4rem;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 800;
}
.faq-item p { margin: .8rem 0 0; color: var(--muted); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.post-card {
    overflow: hidden;
}
.post-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--soft);
}
.post-card div { padding: 1.6rem; }

.site-footer {
    padding: 72px 0 28px;
    background: var(--dark);
    color: #fff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2rem;
}
.footer-mark { width: 64px; margin-bottom: 1rem; }
.site-footer p { color: rgba(255,255,255,.68); }
.site-footer a {
    display: block;
    margin: .45rem 0;
    color: rgba(255,255,255,.76);
}
.site-footer a:hover { color: #fff; }
.site-footer .btn-light {
    display: inline-flex;
    color: var(--blue);
}
.site-footer .btn-light:hover {
    color: var(--blue-dark);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.58);
    font-size: .9rem;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .container { width: min(100% - 32px, var(--max)); }
    .nav-shell { min-height: 86px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .7rem; }
    .site-nav .btn { margin-top: .4rem; }
    .split-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .analytics-grid,
    .growth-hero {
        grid-template-columns: 1fr;
    }
    .web-design-grid::before {
        left: 24px;
        top: -68px;
        height: 90px;
    }
    .blog-feature-grid,
    .growth-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .split-grid.reversed > :first-child { order: 0; }
    .card-grid,
    .card-grid.four,
    .stats-grid,
    .team-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 2rem; }
    .brand img { width: 190px; }
    .section { padding: 68px 0; }
    .hero { padding: 76px 0 86px; }
    .hero p { font-size: 1.05rem; }
    .hero-inner { overflow: hidden; }
    .logo-track {
        gap: 48px;
    }
    .logo-track img {
        max-width: 150px;
    }
    .blog-feature-section .section-heading {
        margin-bottom: 4rem;
    }
    .blog-feature-grid,
    .growth-stats {
        grid-template-columns: 1fr;
    }
    .blog-feature-card {
        grid-template-columns: 74px 1fr;
        gap: 1.1rem;
        padding: 1.45rem;
    }
    .blog-icon {
        width: 64px;
        height: 64px;
    }
    .growth-section {
        padding: 90px 0;
    }
    .growth-hero {
        margin-bottom: 64px;
    }
    .growth-hero h2 {
        font-size: 2.45rem;
    }
    .card-grid,
    .card-grid.four,
    .stats-grid,
    .team-grid,
    .process-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .hero-screen { border-radius: 12px; }
    .feature-card,
    .contact-card { padding: 1.4rem; }
    .footer-bottom {
        flex-direction: column;
    }
}
