:root {
    --bg: #f8f4eb;
    --bg-alt: #ffffff;
    --text: #1f1f1f;
    --muted: #5f6470;
    --blue: #8fc5ee;
    --blue-dark: #2f6f9f;
    --brown: #a36a16;
    --border: #e4dccd;
    --card: #ffffff;
    --shadow: 0 18px 50px rgba(31, 31, 31, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

a {
    color: var(--blue-dark);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

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

.site-header {
    background: rgba(248, 244, 235, 0.94);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.logo {
    width: 155px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 600;
}

    .nav a {
        color: var(--text);
    }

.hero {
    padding: 90px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
}

.eyebrow,
.section-label {
    margin: 0 0 12px;
    color: var(--brown);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.hero-text {
    max-width: 720px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 20px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--text);
    color: #ffffff;
    font-weight: 700;
    border: 1px solid var(--text);
}

    .button:hover {
        text-decoration: none;
        background: #000000;
    }

    .button.secondary {
        background: transparent;
        color: var(--text);
        border-color: var(--border);
    }

        .button.secondary:hover {
            background: #ffffff;
        }

.hero-card {
    padding: 30px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-logo {
    margin-bottom: 24px;
}

.hero-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.section {
    padding: 78px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.two-column {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
}

.section-text p,
.section-heading p,
.focus-box p,
.contact-card p {
    color: var(--muted);
    font-size: 17px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    padding: 26px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.04);
}

    .card p {
        color: var(--muted);
        margin-bottom: 0;
    }

.focus-box {
    padding: 48px;
    background: linear-gradient(135deg, rgba(143, 197, 238, 0.22), rgba(163, 106, 22, 0.10)), #ffffff;
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

    .focus-box p {
        max-width: 850px;
    }

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

    .tech-list span {
        padding: 10px 16px;
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 999px;
        font-weight: 700;
        font-size: 14px;
    }

.contact-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
}

.company-details {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

    .company-details p {
        margin-bottom: 12px;
    }

.site-footer {
    padding: 28px 0;
    background: #151515;
    color: #ffffff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

    .footer-inner p {
        margin: 0;
        color: rgba(255, 255, 255, 0.78);
        font-size: 14px;
    }

@media (max-width: 900px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero {
        padding: 58px 0 60px;
    }

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

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

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .logo {
        width: 135px;
    }

    .nav {
        font-size: 13px;
    }

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

    .focus-box {
        padding: 30px;
    }

    .hero-text {
        font-size: 18px;
    }
}
