/* =========================
   DESIGN TOKENS
========================= */

:root {
    --ink: #1a1a17;
    --ink-soft: #55534c;
    --paper: #f5f3ee;
    --surface: #ffffff;
    --border: #e2ded3;
    --border-strong: #cfc9ba;

    --rust: #a8441e;
    --rust-dark: #8a3717;
    --rust-tint: #f3ded4;

    --dark-panel: #1e1c19;
    --dark-panel-border: #3a3733;

    --radius-s: 3px;
    --radius-m: 4px;

    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", sans-serif;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(1150px, 90%);
    margin: auto;
}

.section {
    padding: 96px 0;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 3px;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 243, 238, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-container {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

nav#navMenu {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 28px;
}

nav a {
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 0.2s;
}

nav a:hover {
    color: var(--ink);
}

.nav-button {
    padding: 10px 18px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-s);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}

.nav-button:hover {
    background: var(--rust-dark);
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px;
}

.menu-button span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    display: block;
}


/* =========================
   HERO
========================= */

.hero {
    padding-top: 64px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    padding-bottom: 64px;
}

.kicker {
    font-size: 14px;
    color: var(--rust-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 4.8vw, 58px);
    line-height: 1.08;
    max-width: 620px;
}

.hero h1 .highlight {
    display: block;
    color: var(--ink-soft);
}

.hero-description {
    margin-top: 22px;
    max-width: 520px;
    color: var(--ink-soft);
    font-size: 17px;
}

.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.white-button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: var(--radius-s);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    border: 1px solid transparent;
    cursor: pointer;
}

.primary-button {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.primary-button:hover {
    background: var(--rust-dark);
    border-color: var(--rust-dark);
}

.primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.secondary-button {
    border-color: var(--border-strong);
    color: var(--ink);
}

.secondary-button:hover {
    border-color: var(--ink);
}


/* =========================
   HERO IMAGE CARD
========================= */

.hero-card {
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-m);
    background: var(--ink);
    box-shadow: 0 24px 48px rgba(26, 26, 23, 0.16);
}

.hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 18, 16, 0.9) 0%,
        rgba(20, 18, 16, 0.15) 55%,
        rgba(20, 18, 16, 0) 100%
    );
}

.hero-card-content {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 28px;
    color: #fff;
}

.hero-card-content span {
    font-size: 12px;
    color: var(--rust) ;
    filter: brightness(1.4);
    font-weight: 600;
}

.hero-card-content h3 {
    font-size: 26px;
    line-height: 1.2;
    margin-top: 8px;
    font-weight: 500;
}


/* =========================
   STATS STRIP
========================= */

.stats-strip {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.stat {
    flex: 1 1 200px;
    padding: 0 28px;
    border-left: 1px solid var(--border);
}

.stat:first-child {
    padding-left: 0;
    border-left: none;
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--rust-dark);
}

.stat span {
    font-size: 13px;
    color: var(--ink-soft);
}


/* =========================
   ABOUT
========================= */

.about {
    background: var(--surface);
}

.two-column {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
}

h2 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.18;
}

.about-text {
    color: var(--ink-soft);
    font-size: 16px;
}

.about-text p {
    margin-bottom: 18px;
}

.text-link {
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: 6px;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 2px;
    transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
    color: var(--rust-dark);
    border-color: var(--rust-dark);
}


/* CLIENTS */

.clients-block {
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.clients-label {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 20px;
}

.clients-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.clients-grid li {
    font-size: 13px;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
}


/* =========================
   SECTION HEADING
========================= */

.section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rust-dark);
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 2px solid var(--rust);
}

.section-heading {
    max-width: 640px;
    margin-bottom: 50px;
}

.section-heading > p:last-child {
    color: var(--ink-soft);
    margin-top: 16px;
    font-size: 16px;
}


/* =========================
   PRODUCTS
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--surface);
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 16px 32px rgba(26, 26, 23, 0.06);
}

.product-icon {
    width: 44px;
    height: 44px;
    color: var(--rust-dark);
    margin-bottom: 28px;
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
}

.product-card .text-link {
    margin-top: 22px;
}

.products-note {
    margin-top: 28px;
    font-size: 14px;
    color: var(--ink-soft);
}

.products-note a {
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
}


/* =========================
   INDUSTRIES
========================= */

.industries {
    background: var(--dark-panel);
    color: #efece5;
}

.industries-label {
    color: #d4a891;
    border-left-color: #d4a891;
}

.industries .section-heading > p:last-child,
.industries h2 {
    color: #efece5;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--dark-panel-border);
    border: 1px solid var(--dark-panel-border);
}

.industry-card {
    background: var(--dark-panel);
    padding: 34px;
}

.industry-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}

.industry-card p {
    color: #b3aea5;
    font-size: 14px;
}


/* =========================
   WHY US
========================= */

.why-us {
    background: var(--paper);
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--rust-tint);
    color: var(--rust-dark);
    border-radius: var(--radius-s);
    margin-bottom: 22px;
    font-weight: 700;
}

.feature h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
}

.feature p {
    color: var(--ink-soft);
    font-size: 14px;
}


/* =========================
   CTA
========================= */

.cta {
    background: var(--ink);
    color: var(--paper);
    padding: 72px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta h2 {
    max-width: 560px;
    color: var(--paper);
}

.cta-label {
    color: var(--rust);
    border-left-color: var(--rust);
}

.cta p:not(.section-label) {
    color: #c9c6bd;
    margin-top: 14px;
    max-width: 480px;
}

.white-button {
    background: var(--paper);
    color: var(--ink);
    white-space: nowrap;
}

.white-button:hover {
    background: #fff;
}


/* =========================
   CONTACT
========================= */

.contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.contact-description {
    color: var(--ink-soft);
    margin-top: 20px;
    max-width: 420px;
}

.contact-details {
    margin-top: 36px;
    display: grid;
    gap: 18px;
}

.contact-details strong {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
    color: var(--ink-soft);
    font-size: 14.5px;
}

.contact-details a:hover {
    color: var(--rust-dark);
}

.gmail-card {
    background: var(--paper);
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    text-align: left;
}

.gmail-card-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-m);
    background: var(--surface);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    padding: 9px;
    margin-bottom: 22px;
}

.gmail-card-icon svg {
    width: 100%;
    height: 100%;
}

.gmail-card h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gmail-card > p {
    color: var(--ink-soft);
    font-size: 14.5px;
    max-width: 380px;
}

.gmail-button {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-s);
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s, transform 0.15s;
}

.gmail-button svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.gmail-button:hover {
    background: var(--rust-dark);
    transform: translateY(-1px);
}

.gmail-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--ink-soft);
}

.gmail-note a {
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
}

.gmail-note a:hover {
    color: var(--rust-dark);
    border-color: var(--rust-dark);
}


/* =========================
   FOOTER
========================= */

footer {
    background: var(--dark-panel);
    color: #cfccc4;
}

.footer-content {
    padding: 52px 0 36px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 13.5px;
    color: #9d998f;
    max-width: 260px;
}

.footer-logo-img {
    height: 40px;
    background: #fff;
    padding: 4px 8px;
    border-radius: var(--radius-s);
    mix-blend-mode: normal;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #cfccc4;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-contact a {
    color: #cfccc4;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact span {
    color: #9d998f;
}

.footer-bottom {
    border-top: 1px solid var(--dark-panel-border);
    padding: 20px 0;
}

.footer-bottom p {
    color: #9d998f;
    font-size: 12.5px;
}


/* =========================
   SCROLL REVEAL
========================= */

.section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
    opacity: 1;
    transform: none;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    nav#navMenu,
    .nav-button {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    nav#navMenu.active {
        display: flex;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        padding: 24px;
        background: var(--surface);
        flex-direction: column;
        gap: 18px;
        border-bottom: 1px solid var(--border);
        margin: 0;
    }

    .hero-content,
    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-strip {
        flex-direction: column;
        gap: 16px;
    }

    .stat {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 16px;
    }

    .stat:first-child {
        border-top: none;
        padding-top: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


@media (max-width: 600px) {

    .section {
        padding: 64px 0;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-card {
        height: 300px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 22px;
    }
}
