/* Homepage sections and responsive layouts. */

.home-news-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-news-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: 16px; background: #fff; }
.home-news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-news-copy { padding: 24px; }
.home-news-copy p { font-size: .9rem; }
.home-news-meta { color: var(--color-text-muted); }
@media (max-width: 1024px) { .home-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .home-news-heading { align-items: flex-start; flex-direction: column; }
    .home-news-grid { grid-template-columns: 1fr; }
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(circle at 83% 24%, rgba(255,107,44,.12), transparent 24%),
        linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(17,17,17,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,17,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero-inner {
    display: grid;
    min-height: min(770px, calc(100svh - var(--header-height)));
    align-items: center;
    grid-template-columns: minmax(0, .94fr) minmax(500px, 1.06fr);
    gap: clamp(42px, 6vw, 90px);
    padding: clamp(74px, 8vw, 110px) 0;
}

.hero-copy {
    max-width: 650px;
}

.hero-copy .lead {
    max-width: 615px;
    margin-bottom: 30px;
    font-size: clamp(1.05rem, 1.45vw, 1.2rem);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}

.service-card::after {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,107,44,.08);
    content: "";
    opacity: 0;
    transition: opacity .3s ease, transform .4s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,107,44,.42);
    box-shadow: var(--shadow-md);
}

.service-card:hover::after {
    transform: scale(1.3);
    opacity: 1;
}

.service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 42px;
    place-items: center;
    border: 1px solid #eceef1;
    border-radius: 15px;
    background: var(--color-off-white);
    color: #222;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.service-card:hover .service-icon {
    border-color: rgba(255,107,44,.18);
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.service-icon svg {
    width: 23px;
    height: 23px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 26px;
    font-size: .96rem;
}

.service-card .link-arrow {
    position: absolute;
    z-index: 1;
    bottom: 28px;
    left: 30px;
}

.why-wrap {
    display: grid;
    align-items: stretch;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(28px, 5vw, 72px);
}

.why-sticky {
    align-self: start;
    position: sticky;
    top: calc(var(--header-height) + 34px);
}

.why-sticky p {
    max-width: 480px;
}

.why-points {
    display: grid;
    gap: 12px;
    counter-reset: why;
}

.why-point {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    counter-increment: why;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}

.why-point:hover {
    transform: translateX(5px);
    border-color: rgba(255,107,44,.35);
    box-shadow: var(--shadow-sm);
}

.why-index {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: var(--color-black);
    color: #fff;
    font-size: .86rem;
    font-weight: 600;
}

.why-index::before {
    content: "0" counter(why);
}

.why-point h3 {
    margin: 2px 0 8px;
}

.why-point p {
    margin: 0;
    font-size: .95rem;
}

.process-head {
    display: grid;
    align-items: end;
    grid-template-columns: 1fr .72fr;
    gap: 40px;
    margin-bottom: 60px;
}

.process-head p {
    margin-bottom: 0;
}

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-line::before {
    position: absolute;
    top: 23px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: var(--color-border);
    content: "";
}

.process-step {
    position: relative;
    padding: 0 24px 0 0;
}

.process-dot {
    position: relative;
    z-index: 1;
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 26px;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #fff;
    color: var(--color-text-muted);
    font-size: .75rem;
    font-weight: 600;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.process-step:hover .process-dot {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.process-step p {
    margin-bottom: 0;
    font-size: .9rem;
    line-height: 1.6;
}

.tech-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(34px, 6vw, 80px);
}

.tech-categories {
    display: grid;
    gap: 12px;
}

.tech-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.tech-row:first-child {
    padding-top: 0;
}

.tech-label {
    padding-top: 8px;
    color: var(--color-text-muted);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tech-pill {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #fff;
    color: #25282d;
    font-size: .88rem;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.tech-pill:hover {
    border-color: rgba(255,107,44,.36);
    background: var(--color-primary-soft);
    color: var(--color-primary-hover);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.industry-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}

.industry-card::before {
    position: absolute;
    top: -38px;
    right: -34px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,107,44,.08);
    content: "";
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,107,44,.35);
    box-shadow: var(--shadow-sm);
}

.industry-card .industry-number {
    display: block;
    margin-bottom: 52px;
    color: var(--color-text-muted);
    font-size: .72rem;
    font-weight: 600;
}

.industry-card h3 {
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.industry-card p {
    margin-bottom: 0;
    font-size: .82rem;
    line-height: 1.5;
}

.testimonials-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 44px;
}

.testimonials-head .section-intro {
    margin-bottom: 0;
}

.carousel-controls {
    display: flex;
    gap: 8px;
}

.carousel-btn {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.carousel-btn:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
}

.testimonials-track {
    display: grid;
    overflow-x: auto;
    grid-auto-columns: calc((100% - 32px) / 3);
    grid-auto-flow: column;
    gap: 16px;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    display: flex;
    min-height: 365px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    scroll-snap-align: start;
}

.quote-mark {
    margin-bottom: 26px;
    color: var(--color-primary);
    font-size: 3rem;
    font-weight: 600;
    line-height: .8;
}

.testimonial-card blockquote {
    margin: 0 0 28px;
    color: #27292e;
    font-size: .98rem;
    font-weight: 540;
    line-height: 1.72;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-person img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-person strong {
    display: block;
    margin-bottom: 3px;
    font-size: .9rem;
}

.testimonial-person span {
    display: block;
    color: var(--color-text-muted);
    font-size: .78rem;
    line-height: 1.4;
}

.final-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 10vw, 130px) 0;
    background: #080808;
    color: #fff;
}

.final-cta::before {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    filter: blur(80px);
}

.final-cta::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    filter: blur(80px);
}

.final-cta::before {
    top: -120px;
    right: 3%;
    width: 340px;
    height: 340px;
    background: rgba(255,107,44,.2);
}

.final-cta::after {
    bottom: -180px;
    left: 5%;
    width: 320px;
    height: 320px;
    background: rgba(76,97,255,.11);
}

.cta-inner {
    max-width: 910px;
    margin-inline: auto;
    text-align: center;
}

.cta-kicker {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--color-primary);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.final-cta h2 {
    margin-bottom: 22px;
    font-size: clamp(2.4rem, 5.4vw, 5rem);
    line-height: 1;
}

.final-cta p {
    max-width: 700px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.62);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 1180px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(430px, .94fr);
        gap: 40px;
    }

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

    .industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 78px;
    }

    .hero-copy {
        max-width: 770px;
    }

    .why-wrap {
        grid-template-columns: 1fr;
    }

    .why-sticky {
        position: static;
    }

    .process-head {
        grid-template-columns: 1fr;
    }

    .process-line {
        padding-left: 5px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-line::before {
        top: 20px;
        bottom: 20px;
        left: 27px;
        width: 1px;
        height: auto;
    }

    .process-step {
        display: grid;
        grid-template-columns: 46px 1fr;
        gap: 22px;
        padding: 0 0 30px;
    }

    .process-step:last-child {
        padding-bottom: 0;
    }

    .process-dot {
        margin-bottom: 0;
    }

    .process-step > div:last-child {
        padding-top: 8px;
    }

    .tech-layout {
        grid-template-columns: 1fr;
    }

    .testimonials-track {
        grid-auto-columns: calc((100% - 16px) / 2);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 270px;
    }

    .service-icon {
        margin-bottom: 30px;
    }

    .why-point {
        grid-template-columns: 52px 1fr;
        padding: 22px;
    }

    .why-index {
        width: 44px;
        height: 44px;
    }

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

    .testimonials-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .testimonials-track {
        grid-auto-columns: 86%;
    }
}

@media (max-width: 560px) {
    .hero-inner {
        padding: 62px 0 66px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .service-card {
        padding: 24px;
    }

    .service-card .link-arrow {
        bottom: 24px;
        left: 24px;
    }

    .why-point {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tech-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .industry-card {
        min-height: 150px;
    }

    .industry-card .industry-number {
        margin-bottom: 30px;
    }

    .testimonials-track {
        grid-auto-columns: 92%;
    }

    .testimonial-card {
        min-height: 350px;
        padding: 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

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

@media (max-width: 360px) {
    .hero-inner {
        padding-top: 52px;
    }
}

.final-cta {
    border-top: 1px solid #eceef1;
    border-bottom: 1px solid #eceef1;
    background: radial-gradient(circle at 82% 12%, rgba(255,107,44,.10), transparent 28%),
        radial-gradient(circle at 10% 94%, rgba(88,105,210,.055), transparent 26%),
        #ffffff;
    color: #111111;
}

.final-cta::before {
    background: rgba(255,107,44,.075);
    filter: blur(90px);
}

.final-cta::after {
    background: rgba(76,97,255,.045);
    filter: blur(90px);
}

.final-cta h2 {
    color: #111111;
}

.final-cta p {
    color: #626870;
}

.final-cta .btn--ghost-dark {
    border-color: #d9dce1;
    background: rgba(255,255,255,.78);
    color: #111111;
    box-shadow: 0 10px 26px rgba(17,24,39,.04);
}

.final-cta .btn--ghost-dark:hover {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.why-point:hover {
    transform: none;
}

.hero--viewport {
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner--refined {
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(28px, 4.6vh, 58px);
    grid-template-columns: minmax(0, .86fr) minmax(460px, 1.14fr);
    gap: clamp(34px, 5vw, 74px);
}

.hero-copy--refined {
    max-width: 650px;
}

.hero-copy--refined h1 {
    margin-bottom: clamp(16px, 2.4vh, 24px);
    font-size: clamp(3.15rem, 5.75vw, 5.35rem);
    line-height: .98;
}

.hero-copy--refined .lead {
    max-width: 610px;
    margin-bottom: clamp(20px, 3vh, 30px);
    font-size: clamp(1rem, 1.18vw, 1.14rem);
    line-height: 1.65;
}

.hero-showcase {
    position: relative;
    width: 100%;
    min-width: 0;
    max-height: min(610px, calc(100svh - var(--header-height) - 56px));
    aspect-ratio: 1.08 / 1;
    margin-left: auto;
    isolation: isolate;
}

.hero-showcase__ambient {
    position: absolute;
    z-index: -1;
    inset: 10% 8% 7% 14%;
    border-radius: 36%;
    background: radial-gradient(circle at 70% 20%, rgba(255,107,44,.18), transparent 38%),
        radial-gradient(circle at 20% 75%, rgba(77,101,210,.09), transparent 36%);
    filter: blur(44px);
}

.hero-showcase__main {
    position: absolute;
    inset: 0 8% 7% 0;
    overflow: hidden;
    border: 1px solid #e0e3e7;
    border-radius: clamp(20px, 2vw, 30px);
    background: #f5f6f8;
    box-shadow: 0 30px 80px rgba(17,24,39,.13);
}

.hero-showcase__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-showcase__main::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 56%, rgba(8,8,8,.56) 100%);
    content: "";
    pointer-events: none;
}

.hero-showcase__caption {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 24px;
    left: 28px;
    color: #fff;
}

.hero-showcase__caption small {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.74);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-showcase__caption strong {
    display: block;
    font-size: clamp(1.05rem, 1.7vw, 1.42rem);
    font-weight: 600;
}

.hero-showcase__secondary {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    width: 31%;
    aspect-ratio: .88 / 1;
    overflow: hidden;
    padding: 10px;
    border: 1px solid #e0e3e7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(17,24,39,.15);
}

.hero-showcase__secondary img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: top center;
}

.hero-showcase__chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid #e3e5e9;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(17,24,39,.09);
    color: #555c64;
    font-size: clamp(.69rem, .82vw, .78rem);
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}

.hero-showcase__chip span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 5px rgba(255,107,44,.10);
}

.hero-showcase__chip--top {
    top: 5%;
    left: -3%;
}

.hero-showcase__chip--bottom {
    bottom: 10%;
    left: -5%;
}

.stats-section {
    position: relative;
    padding: clamp(54px, 6vw, 86px) 0;
    border-top: 1px solid #eceef1;
    border-bottom: 1px solid #eceef1;
    background: #fff;
}

.stats-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.stats-heading__line {
    width: 34px;
    height: 1px;
    background: var(--color-primary);
}

.stats-heading p {
    margin: 0;
    color: #737980;
    font-size: clamp(.78rem, .9vw, .86rem);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #e4e6ea;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(17,24,39,.045);
}

.stat-card {
    position: relative;
    min-width: 0;
    padding: clamp(26px, 3vw, 40px);
}

.stat-card:not(:last-child)::after {
    position: absolute;
    top: 24px;
    right: 0;
    bottom: 24px;
    width: 1px;
    background: #e6e8eb;
    content: "";
}

.stat-value {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
    color: #111;
    font-size: clamp(2.15rem, 3.4vw, 3.4rem);
    line-height: .94;
    letter-spacing: -.045em;
    font-weight: 600;
}

.stat-suffix {
    color: var(--color-primary);
}

.stat-card h2 {
    max-width: 230px;
    margin-bottom: 8px;
    font-size: clamp(1rem, 1.28vw, 1.18rem);
    line-height: 1.3;
    letter-spacing: -.018em;
    font-weight: 600;
}

.stat-card p {
    margin: 0;
    font-size: clamp(.82rem, .92vw, .9rem);
    line-height: 1.55;
}

.brands-section {
    padding: clamp(38px, 5vw, 64px) 0;
    background: #fafafa;
}

.brands-shell {
    padding: clamp(26px, 3.2vw, 42px);
    border: 1px solid #e6e8eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17,24,39,.035);
}

.brands-title-wrap {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    margin-bottom: 28px;
}

.brands-title-line {
    height: 1px;
    background: #eceef1;
}

.brands-title-wrap h2 {
    margin: 0;
    color: #697078;
    font-size: clamp(.72rem, .85vw, .82rem);
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.brands-grid {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 36px);
}

.brand-logo {
    display: grid;
    min-width: 0;
    min-height: 64px;
    place-items: center;
    padding: 10px;
}

.brand-logo img {
    width: 100%;
    max-width: 142px;
    max-height: 46px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .25s ease, opacity .25s ease;
}

.brand-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 1280px) {
    .hero-inner--refined {
        grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
        gap: 38px;
    }

    .hero-copy--refined h1 {
        font-size: clamp(2.9rem, 5.2vw, 4.6rem);
    }
}

@media (max-width: 1024px) {
    .hero--viewport {
        min-height: calc(100svh - var(--header-height));
    }

    .hero-inner--refined {
        min-height: calc(100svh - var(--header-height));
        grid-template-columns: minmax(0, .93fr) minmax(360px, 1.07fr);
        gap: 28px;
        padding-block: 28px;
    }

    .hero-copy--refined h1 {
        font-size: clamp(2.5rem, 5.5vw, 3.6rem);
    }

    .hero-copy--refined .lead {
        font-size: .96rem;
        line-height: 1.58;
    }

    .hero-showcase {
        max-height: 500px;
    }

    .hero-showcase__chip--bottom {
        display: none;
    }

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

    .stat-card:nth-child(2)::after {
        display: none;
    }

    .stat-card:nth-child(-n/**/+2) {
        border-bottom: 1px solid #e6e8eb;
    }

    .brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .hero--viewport {
        min-height: auto;
    }

    .hero-inner--refined {
        min-height: calc(100svh - var(--header-height));
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(230px, 1fr);
        gap: 22px;
        padding-block: 30px 22px;
    }

    .hero-copy--refined {
        max-width: 690px;
    }

    .hero-copy--refined h1 {
        max-width: 680px;
        margin-bottom: 14px;
        font-size: clamp(2.55rem, 7.3vw, 4rem);
    }

    .hero-copy--refined .lead {
        max-width: 650px;
        margin-bottom: 20px;
    }

    .hero-showcase {
        width: min(100%, 680px);
        max-height: none;
        aspect-ratio: 1.9 / 1;
        margin-inline: auto;
    }

    .hero-showcase__main {
        inset: 0 7% 5% 0;
    }

    .hero-showcase__secondary {
        width: 24%;
        aspect-ratio: .8 / 1;
    }

    .hero-showcase__chip--top {
        top: 7%;
        left: 2%;
    }
}

@media (max-width: 640px) {
    .hero-inner--refined {
        grid-template-rows: auto minmax(180px, 1fr);
        gap: 16px;
        padding-block: 22px 16px;
    }

    .hero-copy--refined h1 {
        margin-bottom: 12px;
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1;
    }

    .hero-copy--refined .lead {
        margin-bottom: 16px;
        font-size: .91rem;
        line-height: 1.5;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 44px;
        padding: 11px 12px;
        font-size: .82rem;
    }

    .hero-showcase {
        aspect-ratio: 1.74 / 1;
    }

    .hero-showcase__main {
        inset: 0 5% 3% 0;
        border-radius: 18px;
    }

    .hero-showcase__secondary {
        width: 25%;
        padding: 6px;
        border-radius: 14px;
    }

    .hero-showcase__secondary img {
        border-radius: 9px;
    }

    .hero-showcase__caption {
        right: 16px;
        bottom: 12px;
        left: 16px;
    }

    .hero-showcase__caption small {
        display: none;
    }

    .hero-showcase__caption strong {
        font-size: .92rem;
    }

    .hero-showcase__chip {
        padding: 7px 10px;
        font-size: .64rem;
    }

    .hero-showcase__chip--top {
        top: 7px;
        left: 7px;
    }

    .stats-section {
        padding: 44px 0;
    }

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

    .stat-card {
        padding: 24px;
    }

    .stat-card:not(:last-child) {
        border-bottom: 1px solid #e6e8eb;
    }

    .stat-card::after {
        display: none !important;
    }

    .stat-card:nth-child(-n/**/+2) {
        border-bottom: 1px solid #e6e8eb;
    }

    .stat-value {
        margin-bottom: 10px;
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    .stat-card h2 {
        max-width: none;
    }

    .brands-section {
        padding: 34px 0;
    }

    .brands-shell {
        padding: 24px 18px;
    }

    .brands-title-wrap {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
        text-align: center;
    }

    .brands-title-line {
        display: none;
    }

    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brand-logo {
        min-height: 54px;
        padding: 8px;
    }

    .brand-logo img {
        max-width: 120px;
        max-height: 38px;
    }
}

@media (max-width: 390px) {
    .hero-inner--refined {
        padding-block: 18px 12px;
        gap: 12px;
    }

    .hero-copy--refined h1 {
        font-size: clamp(2rem, 10vw, 2.35rem);
    }

    .hero-copy--refined .lead {
        font-size: .86rem;
        line-height: 1.46;
    }

    .hero-actions .btn {
        min-height: 42px;
        padding-inline: 9px;
        font-size: .76rem;
    }

    .hero-actions .btn svg {
        display: none;
    }

    .hero-showcase {
        aspect-ratio: 1.9 / 1;
    }

    .hero-showcase__secondary {
        display: none;
    }

    .hero-showcase__main {
        inset: 0;
    }

    .hero-showcase__chip {
        display: none;
    }

    .hero-showcase__caption {
        bottom: 10px;
    }

    .stat-card {
        padding: 22px 20px;
    }

    .brands-grid {
        gap: 8px;
    }
}

@media (max-height: 740px) and (min-width: 821px) {
    .hero-inner--refined {
        padding-block: 20px;
    }

    .hero-copy--refined h1 {
        margin-bottom: 14px;
        font-size: clamp(2.55rem, 5vw, 4rem);
    }

    .hero-copy--refined .lead {
        margin-bottom: 18px;
        line-height: 1.5;
    }

    .hero-showcase {
        max-height: calc(100svh - var(--header-height) - 40px);
    }
}

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

    .brand-logo img {
        transition: none;
    }
}

.stats-section {
    padding: clamp(46px, 4.8vw, 66px) 0;
}

.brands-section {
    padding: clamp(36px, 4vw, 54px) 0;
}

.final-cta {
    padding: clamp(58px, 6vw, 84px) 0;
}

.recent-work-pill {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(255,107,44,.24);
    border-radius: 999px;
    background: #fff7f2;
    color: #8d451e;
    font-size: .78rem;
    font-weight: 600;
}

.recent-work-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 5px rgba(255,107,44,.10);
}

.hero-inner--refined {
    margin-inline: auto;
}

.cta-inner {
    margin-inline: auto;
}

.why-wrap {
    gap: clamp(28px, 4vw, 54px);
}

.tech-layout {
    gap: clamp(28px, 4vw, 54px);
}

.process-head {
    margin-bottom: clamp(34px, 4vw, 48px);
}

@media (max-width: 520px) {
    .recent-work-pill {
        min-height: 34px;
        margin-bottom: 14px;
        padding: 7px 11px;
        font-size: .72rem;
    }
}

.projects-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(17,17,17,.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,17,.024) 1px, transparent 1px),
        radial-gradient(circle at 90% 0%, rgba(255,107,44,.065), transparent 23%),
        #fbfbfb;
    background-size: 48px 48px, 48px 48px, auto, auto;
}

.projects-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(28px, 3.5vw, 42px);
}

.projects-section__intro {
    max-width: 760px;
}

.projects-section__intro h2 {
    margin-bottom: 14px;
    font-size: clamp(2.35rem, 4.3vw, 4rem);
    line-height: 1;
}

.projects-section__intro p {
    max-width: 680px;
    margin: 0;
    font-size: clamp(.96rem, 1.08vw, 1.04rem);
}

.projects-carousel__controls {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding-bottom: 2px;
}

.projects-carousel__button {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #dde0e4;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    color: #151515;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(17,24,39,.045);
    transition: border-color .2s ease,
        background .2s ease,
        color .2s ease,
        opacity .2s ease,
        box-shadow .2s ease;
}

.projects-carousel__button svg {
    width: 18px;
    height: 18px;
}

.projects-carousel__button:hover:not(:disabled) {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255,107,44,.16);
}

.projects-carousel__button:disabled {
    cursor: default;
    opacity: .36;
}

.projects-carousel {
    min-width: 0;
}

.projects-carousel__viewport {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
}

.projects-carousel__track {
    display: flex;
    gap: 18px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0,0,0);
    transition: transform .46s cubic-bezier(.22,.8,.26,1);
}

.projects-carousel__viewport.is-dragging .projects-carousel__track {
    transition: none;
}

.projects-carousel__card {
    display: flex;
    min-width: 0;
    min-height: 520px;
    overflow: hidden;
    flex: 0 0 calc((min(1240px, calc(100vw - (var(--page-gutter) * 2))) - 36px) / 3);
    flex-direction: column;
    border: 1px solid #e2e4e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(17,24,39,.055);
    transition: border-color .24s ease,
        box-shadow .24s ease;
}

.projects-carousel__card:hover {
    border-color: rgba(255,107,44,.30);
    box-shadow: 0 20px 44px rgba(17,24,39,.085);
}

.projects-carousel__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid #eceef1;
    background: #f1f3f5;
}

.projects-carousel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    pointer-events: none;
    transition: transform .42s var(--ease);
}

.projects-carousel__card:hover .projects-carousel__media img {
    transform: scale(1.022);
}

.projects-carousel__body {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 24px 22px;
}

.projects-carousel__tag {
    display: inline-flex;
    min-height: 34px;
    align-self: flex-start;
    align-items: center;
    margin-bottom: 16px;
    padding: 7px 11px;
    border: 1px solid #e3e5e9;
    border-radius: 999px;
    background: #f8f9fa;
    color: #60666e;
    font-size: .73rem;
    font-weight: 600;
}

.projects-carousel__body h3 {
    margin-bottom: 12px;
    font-size: clamp(1.28rem, 1.7vw, 1.6rem);
    line-height: 1.12;
    font-weight: 600;
}

.projects-carousel__body p {
    margin-bottom: 22px;
    font-size: clamp(.88rem, .95vw, .96rem);
    line-height: 1.64;
}

.projects-carousel__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #171717;
    font-size: .9rem;
    font-weight: 600;
}

.projects-carousel__link svg {
    width: 16px;
    height: 16px;
    transition: transform .22s var(--ease);
}

.projects-carousel__link:hover {
    color: var(--color-primary);
}

.projects-carousel__link:hover svg {
    transform: translateX(4px);
}

.projects-carousel__footer {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.projects-carousel__status {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.projects-carousel__progress {
    display: block;
    width: min(320px, 80%);
    height: 2px;
    overflow: hidden;
    border-radius: 10px;
    background: #dfe2e6;
}

.projects-carousel__progress span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: var(--color-primary);
    transition: width .28s ease;
}

.projects-carousel__count {
    display: flex;
    flex: 0 0 auto;
    gap: 5px;
    color: #8a9097;
    font-size: .78rem;
    letter-spacing: .06em;
}

.projects-carousel__count strong {
    color: #171717;
    font-weight: 600;
}

.projects-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 7px;
}

.projects-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cfd3d8;
    cursor: pointer;
    transition: width .22s ease,
        border-radius .22s ease,
        background .22s ease;
}

.projects-carousel__dot[aria-current="true"] {
    width: 24px;
    border-radius: 99px;
    background: var(--color-primary);
}

.projects-carousel__all {
    justify-self: end;
}

@media (max-width: 1100px) {
    .projects-carousel__card {
        flex-basis: calc((min(1240px, calc(100vw - (var(--page-gutter) * 2))) - 18px) / 2);
    }

    .projects-carousel__footer {
        grid-template-columns: 1fr auto;
    }

    .projects-carousel__dots {
        display: none;
    }
}

@media (max-width: 768px) {
    .projects-section__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .projects-carousel__controls {
        align-self: flex-end;
    }

    .projects-carousel__card {
        min-height: 470px;
        flex-basis: calc(100vw - (var(--page-gutter) * 2));
    }

    .projects-carousel__track {
        gap: 14px;
    }

    .projects-carousel__body {
        padding: 22px 20px 20px;
    }

    .projects-carousel__footer {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .projects-carousel__status {
        width: 100%;
    }

    .projects-carousel__progress {
        width: 100%;
    }

    .projects-carousel__all {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 520px) {
    .projects-section__intro h2 {
        font-size: clamp(2.05rem, 10vw, 2.65rem);
    }

    .projects-carousel__button {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .projects-carousel__card {
        min-height: 445px;
        border-radius: 18px;
    }

    .projects-carousel__media {
        aspect-ratio: 4 / 3;
    }

    .projects-carousel__body h3 {
        font-size: 1.28rem;
    }

    .projects-carousel__body p {
        font-size: .88rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .projects-carousel__track {
        transition: none;
    }

    .projects-carousel__progress span {
        transition: none;
    }

    .projects-carousel__dot {
        transition: none;
    }
}

@media (max-width: 768px) {
    .service-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-content: start;
        align-items: center;
        gap: 14px 12px;
        min-height: 0;
        padding: 20px;
    }
    .service-card .service-icon { width: 44px; height: 44px; margin: 0; }
    .service-card h3 { margin: 0; }
    .service-card p { grid-column: 1 / -1; margin: 0; }
    .service-card .link-arrow { grid-column: 1 / -1; position: static; justify-self: start; }
    .why-point {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        padding: 20px;
        align-items: start;
    }
    .why-index { width: 40px; height: 40px; border-radius: 12px; }
    .why-point h3 { margin: 0 0 8px; }
    .industry-card {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-content: start;
        align-items: baseline;
        gap: 10px;
        padding: 20px;
        min-height: 0;
    }
    .industry-card .industry-number { margin: 0; }
    .industry-card h3 { margin: 0; }
    .industry-card p { grid-column: 1 / -1; margin: 0; }
    .quote-mark { margin-bottom: 16px; }
}
