:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #111827;
    --dark-soft: #1f2937;
    --text: #374151;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f5f7fb;
    --white: #ffffff;
    --soft-blue: #eff6ff;

    --radius-sm: 5px;
    --radius-md: 8px;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    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;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.main {
    min-height: 100vh;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 68px;
    display: flex;
    align-items: center;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: #facc15;
    font-weight: 800;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    color: var(--muted);
}

.navbar-menu a:hover {
    color: var(--dark);
}

.nav-btn {
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    background: var(--dark);
    color: var(--white) !important;
}

.nav-btn:hover {
    background: var(--dark-soft);
}

.navbar-toggle {
    display: none;
    width: 42px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 22px;
    cursor: pointer;
}

/* Button */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--white);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: var(--dark-soft);
    border-color: var(--dark-soft);
}

/* Hero */

.hero-section {
    padding: 70px 0 40px;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 35%),
        var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.hero-title {
    margin: 0;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1;
    color: var(--dark);
    letter-spacing: -2px;
}

.hero-subtitle {
    margin: 18px 0 0;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.25;
    color: var(--dark);
    font-weight: 700;
}

.hero-text {
    margin: 18px 0 0;
    max-width: 650px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-image-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
    min-height: 360px;
}

.hero-image {
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

/* Section */

.section {
    padding: 54px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 800;
}

.section-title {
    margin: 0;
    color: var(--dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-description {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
}

/* Feature */

.row {
    display: grid;
    gap: 18px;
}

.feature-row {
    grid-template-columns: repeat(3, 1fr);
}

.col {
    min-width: 0;
}

.feature-card {
    height: 100%;
    padding: 22px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* Projects */

.project-list {
    display: grid;
    gap: 22px;
}

.project-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    min-height: 270px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.project-image-wrap {
    background: var(--soft-blue);
    border-right: 1px solid var(--border);
}

.project-image {
    height: 100%;
    min-height: 270px;
    object-fit: cover;
}

.project-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.project-title {
    margin: 0;
    color: var(--dark);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.project-description {
    margin: 14px 0 22px;
    color: var(--muted);
    font-size: 16px;
}

/* Contact */

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: var(--radius-md);
    background: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-card .section-kicker {
    color: #93c5fd;
}

.contact-card .section-title {
    color: var(--white);
}

.contact-card .section-description {
    color: #d1d5db;
}

.contact-action {
    flex-shrink: 0;
}

/* Footer */

.site-footer {
    padding: 26px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    color: var(--primary);
    font-weight: 700;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-image-wrap,
    .hero-image {
        min-height: 280px;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image-wrap {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .project-image {
        min-height: 240px;
    }

    .contact-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .navbar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }

    .navbar-menu.show {
        display: flex;
    }

    .navbar-menu a {
        padding: 10px;
    }

    .hero-section {
        padding-top: 34px;
    }

    .hero-card {
        padding: 22px;
    }

    .section {
        padding: 38px 0;
    }

    .project-content {
        padding: 22px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}