/* ================================
   BRAND FONT — BORSCHA
   Place your licensed font files in assets/fonts/
   and update the filenames below to match.
================================ */

@font-face {
    font-family: "Borscha";
    src: url("fonts/Borscha-Regular.woff2") format("woff2"),
        url("fonts/Borscha-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Borscha";
    src: url("fonts/Borscha-Medium.woff2") format("woff2"),
        url("fonts/Borscha-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Borscha";
    src: url("fonts/Borscha-SemiBold.woff2") format("woff2"),
        url("fonts/Borscha-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Borscha";
    src: url("fonts/Borscha-Bold.woff2") format("woff2"),
        url("fonts/Borscha-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Borscha";
    src: url("fonts/Borscha-ExtraBold.woff2") format("woff2"),
        url("fonts/Borscha-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


:root {
    --orange: #fa5f04;
    --orange-2: #ff7a22;
    --orange-dark: #c94300;

    --ink: #111318;
    --muted: #69707d;
    --paper: #f7f7f5;
    --white: #fff;

    --line: #e8e8e5;
    --dark: #101114;
    --dark-2: #181a1f;

    --shadow: 0 24px 70px rgba(17, 19, 24, 0.10);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --radius: 24px;
}


/* ================================
   RESET
================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Borscha", Inter, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Borscha", "Space Grotesk", sans-serif;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


/* ================================
   CONTAINER
================================ */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* ================================
   SECTIONS
================================ */

.section {
    padding: 110px 0;
}

.section-sm {
    padding: 75px 0;
}


/* ================================
   EYEBROW
================================ */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--orange);
    font: 600 12px/1 "JetBrains Mono", monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--orange);
}


/* ================================
   BUTTONS
================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 21px;

    border-radius: 999px;
    border: 1px solid transparent;

    font-weight: 700;
    font-size: 14px;

    transition: transform .2s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
    cursor: pointer;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 14px 32px rgba(250, 95, 4, .24);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--orange-2);
    box-shadow: 0 20px 42px rgba(250, 95, 4, .3);
}

.btn-outline {
    border-color: var(--line);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-3px);
}


/* ================================
   HEADER
================================ */

header {
    position: fixed;
    z-index: 1000;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    padding: 18px 0;

    transition: .4s var(--ease);
}

header.scrolled {
    padding: 11px 0;

    background: rgba(255, 255, 255, .82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}


/* ================================
   NAVIGATION
================================ */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    min-width: 0;
}


/* ================================
   LOGO
================================ */

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    min-width: 0;

    font: 800 19px "Borscha", "Space Grotesk", sans-serif;
}


/*
   IMPORTANT:
   Hii ndiyo sehemu inayorekebisha
   logo yako kwenye mobile.
*/

.logo-image {
    display: block;

    width: auto;
    height: 48px;

    max-width: 190px;

    object-fit: contain;
    object-position: left center;

    flex-shrink: 0;

    transition:
        height .3s ease,
        max-width .3s ease,
        transform .3s ease;
}


/* Logo ikiwa ni link */
.logo:hover .logo-image {
    transform: scale(1.02);
}


/* ================================
   OLD LOGO MARK
================================ */

.logo-mark {
    width: 32px;
    height: 32px;

    flex-shrink: 0;

    border-radius: 10px;

    background: var(--orange);

    position: relative;
    overflow: hidden;

    box-shadow: 0 8px 24px rgba(250, 95, 4, .25);
}

.logo-mark::after {
    content: "";

    position: absolute;

    width: 17px;
    height: 17px;

    border: 2px solid #fff;
    border-radius: 5px;

    right: -2px;
    bottom: -2px;

    transform: rotate(45deg);

    opacity: .85;
}


/* ================================
   NAV LINKS
================================ */

.nav-links {
    display: flex;
    align-items: center;

    gap: 27px;

    font-size: 13.5px;
    font-weight: 600;

    color: #5d6470;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: 2px;

    height: 2px;

    background: var(--orange);

    transition: .3s var(--ease);
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links a:hover::after {
    right: 0;
}


/* ================================
   NAV ACTIONS
================================ */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}


/* ================================
   MOBILE MENU
================================ */

.menu {
    display: none;

    background: none;
    border: 0;

    width: 42px;
    height: 42px;

    padding: 0;

    font-size: 26px;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    flex-shrink: 0;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;

    padding: 170px 0 90px;

    display: grid;
    align-items: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(250, 95, 4, .12),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #fff 0%,
            #fafaf8 100%
        );
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.05fr .95fr;

    gap: 65px;

    align-items: center;
}

.hero h1 {
    font-size: clamp(46px, 6.6vw, 82px);

    max-width: 780px;

    margin: 22px 0;
}

.hero h1 span {
    color: var(--orange);
}

.hero-lead {
    font-size: 18px;

    color: var(--muted);

    max-width: 610px;

    margin-bottom: 30px;
}

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


/* ================================
   HERO ART
================================ */

.hero-art {
    position: relative;
    min-height: 520px;
}

.orbit {
    position: absolute;

    inset: 30px;

    border: 1px solid #ddd;

    border-radius: 50%;

    animation: spin 22s linear infinite;
}

.orbit:nth-child(2) {
    inset: 80px;

    border-style: dashed;

    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit:nth-child(3) {
    inset: 135px;

    border-color: rgba(250, 95, 4, .22);

    animation-duration: 11s;
}

.core {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 185px;
    height: 185px;

    border-radius: 38px;

    background: var(--dark);

    display: grid;
    place-items: center;

    color: #fff;

    box-shadow: 0 35px 80px rgba(0, 0, 0, .18);

    animation: float 4.5s ease-in-out infinite;
}

.core strong {
    font: 800 24px "Borscha", "Space Grotesk";
    text-align: center;
}

.core small {
    display: block;

    color: #aaa;

    font: 11px "JetBrains Mono";

    letter-spacing: .16em;

    margin-top: 7px;
}

.node {
    position: absolute;

    width: 72px;
    height: 72px;

    border-radius: 22px;

    background: #fff;

    border: 1px solid var(--line);

    box-shadow: var(--shadow);

    display: grid;
    place-items: center;

    color: var(--orange);

    font-size: 25px;

    animation: float 4s ease-in-out infinite;
}

.n1 {
    top: 35px;
    left: 42%;
}

.n2 {
    right: 20px;
    top: 40%;
}

.n3 {
    bottom: 20px;
    left: 43%;
}

.n4 {
    left: 5px;
    top: 48%;
}

.badge {
    position: absolute;

    right: 5%;
    top: 5%;

    background: #fff;

    border: 1px solid var(--line);

    padding: 12px 15px;

    border-radius: 16px;

    box-shadow: var(--shadow);

    font-size: 12px;
    font-weight: 700;

    animation: float 5s ease-in-out infinite;
}

.badge b {
    color: var(--orange);

    font-size: 17px;

    display: block;
}


/* ================================
   HERO 3D IMAGE
================================ */

.hero-3d {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}

.hero-3d-image {
    width: 70%;
    max-width: 340px;

    height: auto;

    object-fit: contain;

    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25));

    animation: float 6s ease-in-out infinite;
}


/* ================================
   GRIDS
================================ */

.grid-3 {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.grid-4 {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    background: var(--line);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    overflow: hidden;
}


/* ================================
   SECTION HEAD
================================ */

.section-head {
    max-width: 700px;

    margin-bottom: 52px;
}

.section-head h2 {
    font-size: clamp(34px, 4.5vw, 58px);

    margin: 15px 0;
}

.section-head p {
    color: var(--muted);

    font-size: 16px;
}


/* ================================
   CARDS
================================ */

.card {
    border: 1px solid var(--line);

    border-radius: var(--radius);

    padding: 30px;

    background: #fff;

    transition: transform .25s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);

    position: relative;

    overflow: hidden;

    will-change: transform;
}

.card::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(250, 95, 4, .09),
            transparent 38%
        );

    opacity: 0;

    transition: .4s;
}

.card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);

    border-color: #ddd;
}

.card:hover::before {
    opacity: 1;
}

.icon {
    width: 48px;
    height: 48px;

    border-radius: 15px;

    background: rgba(250, 95, 4, .10);

    color: var(--orange);

    display: grid;
    place-items: center;

    font-size: 21px;

    margin-bottom: 25px;
}

.card h3 {
    font-size: 21px;

    margin-bottom: 10px;
}

.card p {
    color: var(--muted);

    font-size: 14.5px;
}


/* ================================
   DARK BAND
================================ */

.dark-band {
    background: var(--dark);

    color: #fff;

    position: relative;

    overflow: hidden;
}

.dark-band::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    right: -180px;
    top: -240px;

    background:
        radial-gradient(
            circle,
            rgba(250, 95, 4, .35),
            transparent 65%
        );

    filter: blur(15px);
}

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

.dark-band h2 {
    color: #fff;
}


/* ================================
   STATS
================================ */

.stat-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.stat {
    padding: 28px;

    border: 1px solid #2a2d33;

    border-radius: 20px;

    background: #15171b;
}

.stat b {
    font: 800 38px "Borscha", "Space Grotesk";

    color: var(--orange);

    display: block;
}

.stat span {
    font-size: 13px;

    color: #a9adb5;
}


/* ================================
   PROCESS
================================ */

.process {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 14px;
}

.step {
    padding: 22px 0;

    border-top: 2px solid var(--orange);
}

.step b {
    font: 12px "JetBrains Mono";

    color: #999;
}

.step h3 {
    font-size: 19px;

    margin: 10px 0;
}

.step p {
    font-size: 13px;

    color: var(--muted);
}


/* ================================
   PROJECT
================================ */

.project {
    padding: 0;

    overflow: hidden;
}

.project-cover {
    height: 230px;

    background:
        linear-gradient(
            135deg,
            #111318,
            #fa5f04
        );

    position: relative;

    overflow: hidden;
}

.project-cover::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    border: 1px solid rgba(255, 255, 255, .3);

    border-radius: 50%;

    left: 12%;
    top: -20%;

    box-shadow:
        100px 40px 0 -60px rgba(255, 255, 255, .2),
        200px 90px 0 -90px rgba(255, 255, 255, .2);

    animation: spin 14s linear infinite;
}

.project-cover span {
    position: absolute;

    left: 20px;
    bottom: 18px;

    padding: 6px 10px;

    border-radius: 99px;

    background: rgba(0, 0, 0, .25);

    color: #fff;

    font: 10px "JetBrains Mono";

    text-transform: uppercase;
}

.project-body {
    padding: 23px;
}

.project-body h3 {
    font-size: 20px;
}

.project-body p {
    color: var(--muted);

    font-size: 14px;

    margin-top: 8px;
}


/* ================================
   CTA
================================ */

.cta {
    background:
        linear-gradient(
            135deg,
            #fa5f04,
            #d94700
        );

    color: #fff;

    border-radius: 34px;

    padding: 70px;

    position: relative;

    overflow: hidden;
}

.cta::before,
.cta::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 50%;
}

.cta::before {
    width: 450px;
    height: 450px;

    right: -180px;
    top: -220px;
}

.cta::after {
    width: 260px;
    height: 260px;

    left: -140px;
    bottom: -170px;
}

.cta > * {
    position: relative;

    z-index: 1;
}

.cta h2 {
    color: #fff;

    font-size: clamp(35px, 5vw, 60px);

    max-width: 760px;

    margin: 15px 0 25px;
}

.cta p {
    max-width: 600px;

    color: rgba(255, 255, 255, .82);

    margin-bottom: 25px;
}


/* ================================
   CONTACT
================================ */

.contact-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 60px;
}

.contact-list {
    display: grid;

    gap: 18px;

    margin-top: 30px;
}

.contact-item {
    display: flex;

    gap: 14px;
}

.contact-item .icon {
    margin: 0;

    width: 42px;
    height: 42px;

    flex-shrink: 0;
}

.contact-item p {
    font-size: 14px;

    color: var(--muted);
}


/* ================================
   FORM
================================ */

form {
    border: 1px solid var(--line);

    border-radius: var(--radius);

    padding: 30px;

    background: var(--paper);
}

.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.field {
    margin-bottom: 15px;
}

.field label {
    display: block;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #ddd;

    border-radius: 12px;

    background: #fff;

    font: 14px "Borscha", Inter;

    color: var(--ink);

    outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(250, 95, 4, .10);
}

.field textarea {
    min-height: 145px;

    resize: vertical;
}

.cf-turnstile {
    margin: 4px 0 6px;
}

#form-status {
    font-size: 13.5px;

    font-weight: 600;

    min-height: 18px;

    margin-bottom: 15px;
}


/* ================================
   FOOTER
================================ */

footer {
    background: var(--dark);

    color: #9fa4ad;

    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 45px;

    border-bottom: 1px solid #2a2d33;
}

.footer-brand p {
    max-width: 300px;

    font-size: 13px;

    margin-top: 14px;
}

.footer h4 {
    color: #fff;

    font-size: 13px;

    margin-bottom: 15px;
}

.footer a {
    display: block;

    font-size: 13px;

    margin: 9px 0;
}

.footer a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 22px;

    display: flex;

    justify-content: space-between;

    font-size: 12px;
}


/* ================================
   REVEAL ANIMATION
================================ */

.reveal {
    opacity: 0;

    transform: translateY(28px);

    transition: .8s var(--ease);
}

.reveal.in {
    opacity: 1;

    transform: none;
}


/* ================================
   PAGE HERO
================================ */

.page-hero {
    padding: 160px 0 85px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(250, 95, 4, .12),
            transparent 30%
        ),
        #fafaf8;
}

.page-hero h1 {
    font-size: clamp(45px, 6vw, 76px);

    max-width: 850px;

    margin: 18px 0;
}

.page-hero p {
    max-width: 650px;

    color: var(--muted);

    font-size: 17px;
}


/* ================================
   LANGUAGE BUTTON
================================ */

.lang {
    border: 1px solid var(--line);

    background: #fff;

    border-radius: 999px;

    padding: 8px 11px;

    font-weight: 700;

    font-size: 12px;

    cursor: pointer;
}


/* ================================
   SERVICE SPECTRUM (auto-scroll gallery)
================================ */

.spectrum-head {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 45px;
}

.spectrum-head h2 {
    font-size: clamp(34px, 4.5vw, 52px);

    margin-top: 10px;
}

.spectrum-head p {
    max-width: 340px;

    color: var(--muted);

    font-size: 15px;
}

.spectrum-track-wrap {
    overflow: hidden;

    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 4%,
        #000 96%,
        transparent
    );

    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 4%,
        #000 96%,
        transparent
    );
}

.spectrum-track {
    display: flex;

    gap: 20px;

    width: max-content;

    animation: spectrum-scroll 32s linear infinite;
}

.spectrum-track-wrap:hover .spectrum-track {
    animation-play-state: paused;
}

.spectrum-item {
    flex: 0 0 auto;

    width: 300px;
}

.spectrum-img {
    width: 300px;
    height: 340px;

    border-radius: var(--radius);

    overflow: hidden;

    background: var(--paper);

    border: 1px solid var(--line);
}

.spectrum-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.spectrum-item span {
    display: block;

    margin-top: 16px;

    font: 700 17px "Borscha", "Space Grotesk", sans-serif;

    text-align: center;
}

@keyframes spectrum-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 650px) {

    .spectrum-head {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .spectrum-item {
        width: 220px;
    }

    .spectrum-img {
        width: 220px;
        height: 250px;
    }
}

/* ================================
   TRUSTED WORLDWIDE STATS
================================ */

.trust-head {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 45px;
}

.trust-head h2 {
    font-size: clamp(34px, 4.5vw, 52px);

    margin-top: 10px;
}

.trust-head p {
    max-width: 340px;

    color: var(--muted);

    font-size: 15px;
}

.trust-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.trust-card {
    border: 1px solid var(--line);

    border-radius: var(--radius);

    padding: 32px 28px;

    background: #fff;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    min-height: 260px;

    position: relative;

    overflow: hidden;

    cursor: pointer;

    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.trust-card::before {
    content: "";

    position: absolute;

    inset: -1px;

    border-radius: inherit;

    padding: 1px;

    background: linear-gradient(135deg, var(--orange), var(--orange-2), transparent 60%);

    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;

    transition: opacity .35s var(--ease);

    pointer-events: none;
}

.trust-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: -60%;

    width: 45%;
    height: 100%;

    background: linear-gradient(
        115deg,
        transparent,
        rgba(250, 95, 4, .12),
        transparent
    );

    transform: skewX(-20deg);

    transition: left .7s var(--ease);

    pointer-events: none;
}

.trust-card:hover,
.trust-card:focus-visible,
.trust-card.touched {
    transform: translateY(-8px) scale(1.015);

    box-shadow: 0 30px 60px rgba(250, 95, 4, .16);

    border-color: transparent;
}

.trust-card:hover::before,
.trust-card:focus-visible::before,
.trust-card.touched::before {
    opacity: 1;
}

.trust-card:hover::after,
.trust-card:focus-visible::after,
.trust-card.touched::after {
    left: 130%;
}

.trust-card:hover b,
.trust-card:focus-visible b,
.trust-card.touched b {
    color: var(--orange);
}

.trust-card b {
    font: 800 46px "Borscha", "Space Grotesk", sans-serif;

    color: var(--ink);

    display: block;

    margin-bottom: 18px;

    transition: color .35s var(--ease), transform .35s var(--ease);
}

.trust-card:hover b,
.trust-card:focus-visible b,
.trust-card.touched b {
    transform: translateY(-2px);
}

.trust-card p {
    font-size: 14px;

    color: var(--muted);

    line-height: 1.6;

    position: relative;

    z-index: 1;
}

@media (max-width: 950px) {

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

@media (max-width: 650px) {

    .trust-head {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

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

    .trust-card {
        min-height: auto;
    }
}


/* ================================
   WHY CHOOSE US (comparison table)
================================ */

.compare-head {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 45px;
}

.compare-head h2 {
    font-size: clamp(34px, 4.5vw, 52px);

    margin-top: 10px;
}

.compare-head p {
    max-width: 340px;

    color: var(--muted);

    font-size: 15px;
}

.compare-table {
    border-radius: var(--radius);

    overflow: hidden;

    border: 1px solid var(--line);
}

.compare-row {
    display: grid;

    grid-template-columns: 1.1fr 1fr 1fr;

    gap: 20px;

    align-items: center;

    padding: 26px 32px;

    background: var(--paper);

    border-bottom: 1px solid #ececea;

    position: relative;

    overflow: hidden;

    transition: background .35s var(--ease);
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: var(--orange);

    transform: scaleY(0);

    transform-origin: top;

    transition: transform .45s var(--ease);
}

.compare-row:hover {
    background: #fff;
}

.compare-row:hover::before {
    transform: scaleY(1);
}

.compare-row.head-row {
    background: #f0f0ed;

    font-weight: 800;
}

.compare-row.head-row:hover {
    background: #f0f0ed;
}

.compare-row.head-row::before {
    display: none;
}

.compare-feature {
    font: 700 19px "Borscha", "Space Grotesk", sans-serif;

    display: flex;

    align-items: center;

    gap: 10px;

    transition: transform .35s var(--ease);
}

.compare-row:hover .compare-feature {
    transform: translateX(6px);
}

.compare-others,
.compare-we {
    font-size: 14.5px;

    color: var(--muted);

    display: flex;

    align-items: center;

    gap: 9px;
}

.compare-we {
    color: var(--ink);

    font-weight: 600;
}

.compare-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border-radius: 7px;

    font-size: 13px;

    flex-shrink: 0;

    transition: transform .4s var(--ease);
}

.compare-row:hover .compare-icon {
    transform: scale(1.15) rotate(-4deg);
}

.compare-icon.x {
    background: rgba(220, 38, 38, .12);

    color: #dc2626;
}

.compare-icon.check {
    background: rgba(34, 197, 94, .14);

    color: #16a34a;
}

@media (max-width: 800px) {

    .compare-head {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .compare-row {
        grid-template-columns: 1fr;

        gap: 8px;

        padding: 20px 22px;
    }

    .compare-others::before {
        content: "Others: ";

        font-weight: 700;

        color: var(--ink);
    }

    .compare-we::before {
        content: "We: ";

        font-weight: 700;
    }

    .compare-row.head-row {
        display: none;
    }
}

/* ================================
   TESTIMONIALS (What Clients Say)
================================ */

.testimonial-head {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 40px;
}

.testimonial-head h2 {
    font-size: clamp(34px, 4.5vw, 52px);

    margin-top: 10px;
}

.testimonial-head p {
    max-width: 340px;

    color: var(--muted);

    font-size: 15px;
}

.testimonial-wrap {
    position: relative;
}

.testimonial-track {
    display: flex;

    gap: 18px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;

    scroll-behavior: smooth;

    padding: 4px 4px 12px;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.testimonial-card {
    flex: 0 0 auto;

    scroll-snap-align: start;

    width: 300px;

    background: #fff;

    border: 1px solid var(--line);

    border-radius: 20px;

    padding: 24px;

    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);

    border-color: #ddd;
}

.testimonial-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;
}

.testimonial-who {
    display: flex;

    align-items: center;

    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #fff;

    font: 700 15px "Borscha", "Space Grotesk", sans-serif;

    flex-shrink: 0;
}

.testimonial-name b {
    display: block;

    font-size: 14.5px;
}

.testimonial-name span {
    display: block;

    font-size: 12px;

    color: var(--muted);

    margin-top: 2px;
}

.testimonial-g {
    width: 20px;
    height: 20px;

    flex-shrink: 0;
}

.testimonial-stars {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 12px;

    color: #f5b400;

    font-size: 14px;

    letter-spacing: 2px;
}

.testimonial-verified {
    width: 15px;
    height: 15px;

    border-radius: 50%;

    background: #4a90e2;

    display: inline-grid;

    place-items: center;

    flex-shrink: 0;
}

.testimonial-verified::after {
    content: "✓";

    color: #fff;

    font-size: 9px;

    font-weight: 800;
}

.testimonial-text {
    font-size: 13.5px;

    line-height: 1.65;

    color: var(--ink);

    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.testimonial-card.expanded .testimonial-text {
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.testimonial-more {
    display: inline-block;

    margin-top: 10px;

    font-size: 13px;

    font-weight: 700;

    color: var(--muted);

    cursor: pointer;

    background: none;

    border: 0;

    padding: 0;

    transition: color .3s var(--ease);
}

.testimonial-more:hover {
    color: var(--orange);
}

.testimonial-nav {
    position: absolute;

    top: 42%;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #fff;

    border: 1px solid var(--line);

    box-shadow: var(--shadow);

    display: grid;
    place-items: center;

    font-size: 18px;

    cursor: pointer;

    z-index: 5;

    transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);

    color: var(--ink);
}

.testimonial-nav:hover {
    transform: translateY(-50%) scale(1.08);

    border-color: var(--orange);

    color: var(--orange);
}

.testimonial-nav.prev {
    left: -14px;
}

.testimonial-nav.next {
    right: -14px;
}

@media (max-width: 650px) {

    .testimonial-head {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .testimonial-card {
        width: 250px;
    }

    .testimonial-nav {
        display: none;
    }
}

/* ================================
   QUICK INQUIRY (homepage mini form)
================================ */

.quick-inquiry {
    background:
        linear-gradient(
            135deg,
            #fa5f04,
            #d94700
        );

    border-radius: 34px;

    padding: 60px;

    position: relative;

    overflow: hidden;

    color: #fff;
}

.quick-inquiry::before,
.quick-inquiry::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(255, 255, 255, .22);

    border-radius: 50%;
}

.quick-inquiry::before {
    width: 380px;
    height: 380px;

    right: -160px;
    top: -180px;
}

.quick-inquiry::after {
    width: 220px;
    height: 220px;

    left: -120px;
    bottom: -140px;
}

.quick-inquiry-grid {
    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 50px;

    align-items: center;

    position: relative;

    z-index: 1;
}

.quick-inquiry-copy .eyebrow {
    color: #fff;
}

.quick-inquiry-copy .eyebrow::before {
    background: #fff;
}

.quick-inquiry-copy h2 {
    color: #fff;

    font-size: clamp(30px, 3.6vw, 42px);

    margin: 14px 0 12px;
}

.quick-inquiry-copy p {
    color: rgba(255, 255, 255, .85);

    font-size: 15px;

    max-width: 400px;
}

.quick-inquiry-form {
    background: #fff;

    border-radius: 22px;

    padding: 26px;

    color: var(--ink);

    box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
}

.quick-inquiry-form .field {
    margin-bottom: 13px;
}

.quick-inquiry-form .form-status {
    color: #fff;
}

.quick-inquiry-form .btn-primary {
    width: 100%;
}

@media (max-width: 900px) {

    .quick-inquiry-grid {
        grid-template-columns: 1fr;
    }

    .quick-inquiry {
        padding: 40px 26px;

        border-radius: 26px;
    }
}

/* ================================
   TICKER
================================ */

.ticker {
    white-space: nowrap;

    overflow: hidden;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    padding: 15px 0;

    color: #8a8f98;

    font: 12px "JetBrains Mono";

    text-transform: uppercase;
}

.ticker-track {
    display: inline-flex;

    gap: 35px;

    animation: marquee 25s linear infinite;
}

.ticker strong {
    color: var(--orange);
}


/* ================================
   DESKTOP / TABLET
================================ */

@media (max-width: 1100px) {

    .nav {
        gap: 15px;
    }

    .nav-links {
        gap: 18px;
    }

    .logo-image {
        height: 44px;
        max-width: 175px;
    }

    .hero-grid {
        gap: 40px;
    }
}


/* ================================
   TABLET
================================ */

@media (max-width: 950px) {

    header {
        padding: 14px 0;
    }

    header.scrolled {
        padding: 10px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;

        position: fixed;
        top: 0;
        right: 0;

        width: min(300px, 80%);
        height: 100vh;

        gap: 4px;

        padding: 100px 30px 30px;

        background: #fff;

        box-shadow: -20px 0 60px rgba(0, 0, 0, .15);

        z-index: 999;

        animation: slideIn .35s var(--ease);
    }

    .nav-links.open a {
        padding: 14px 0;

        border-bottom: 1px solid var(--line);

        font-size: 16px;

        color: var(--ink);
    }

    .nav-overlay {
        display: none;

        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, .4);

        z-index: 998;
    }

    .nav-overlay.open {
        display: block;
    }

    .menu {
        display: flex;
    }

    .nav-actions .btn-outline {
        display: none;
    }

    .logo-image {
        height: 43px;
        max-width: 170px;
    }

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

    .hero-art {
        min-height: 430px;
    }

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

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

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


/* ================================
   MOBILE
================================ */

@media (max-width: 650px) {

    .container {
        width: calc(100% - 30px);
        max-width: none;
    }

    header {
        padding: 11px 0;
    }

    header.scrolled {
        padding: 8px 0;
    }


    /* ============================
       MOBILE LOGO
    ============================ */

    .nav {
        width: 100%;

        gap: 10px;

        justify-content: space-between;
    }

    .logo {
        flex: 1;

        min-width: 0;

        max-width: calc(100% - 55px);
    }

    .logo-image {
        height: 40px;

        width: auto;

        max-width: 170px;

        object-fit: contain;

        object-position: left center;
    }

    .menu {
        width: 42px;
        height: 42px;

        flex: 0 0 42px;

        font-size: 24px;
    }

    .nav-actions {
        gap: 6px;
    }


    /* ============================
       HERO
    ============================ */

    .hero {
        min-height: auto;

        padding-top: 125px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 58px);

        margin: 18px 0;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-art {
        min-height: 360px;
    }

    .orbit {
        inset: 20px;
    }

    .orbit:nth-child(2) {
        inset: 55px;
    }

    .orbit:nth-child(3) {
        inset: 90px;
    }

    .core {
        width: 145px;
        height: 145px;

        border-radius: 30px;
    }

    .core strong {
        font-size: 20px;
    }

    .node {
        width: 58px;
        height: 58px;

        border-radius: 17px;

        font-size: 20px;
    }


    /* ============================
       GENERAL
    ============================ */

    .section {
        padding: 75px 0;
    }

    .section-sm {
        padding: 55px 0;
    }

    .grid-3,
    .grid-4,
    .stat-grid,
    .process,
    .form-grid {
        grid-template-columns: 1fr;
    }


    /* ============================
       CTA
    ============================ */

    .cta {
        padding: 42px 25px;

        border-radius: 25px;
    }


    /* ============================
       FOOTER
    ============================ */

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

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }


    /* ============================
       PAGE HERO
    ============================ */

    .page-hero {
        padding-top: 125px;

        padding-bottom: 65px;
    }

    .page-hero h1 {
        font-size: clamp(40px, 11vw, 56px);
    }
}


/* ================================
   SMALL PHONES
================================ */

@media (max-width: 420px) {

    .container {
        width: calc(100% - 24px);
    }

    header {
        padding: 9px 0;
    }

    .logo-image {
        height: 36px;

        max-width: 145px;
    }

    .menu {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }

    .hero {
        padding-top: 115px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .actions {
        flex-direction: column;

        width: 100%;
    }

    .actions .btn {
        width: 100%;
    }

    .hero-art {
        min-height: 320px;
    }

    .core {
        width: 125px;
        height: 125px;
    }

    .node {
        width: 52px;
        height: 52px;

        border-radius: 15px;
    }
}


/* ================================
   VERY SMALL PHONES
================================ */

@media (max-width: 350px) {

    .logo-image {
        height: 33px;

        max-width: 125px;
    }

    .menu {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .hero h1 {
        font-size: 35px;
    }
}


/* ================================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    html {
        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}


/* ================================
   ANIMATIONS
================================ */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}