:root {
    --brand: #c45c0a;
    --brand-dark: #9a4708;
    --brand-light: #fef3e8;
    --ink: #1a2332;
    --muted: #5c6578;
    --line: #e2e8f0;
    --surface: #f8fafc;
    --white: #ffffff;
    --radius: 1rem;
    --shadow: 0 18px 40px rgba(26, 35, 50, 0.08);
    --max: 72rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: var(--white);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

.topbar {
    background: var(--ink);
    color: var(--white);
    font-size: 0.875rem;
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
}

.topbar a {
    color: var(--white);
    font-weight: 600;
}

.topbar a:hover {
    color: #fbbf24;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 800;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
    color: var(--brand);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--ink);
}

.btn-dark {
    background: var(--ink);
    color: var(--white);
}

.btn-dark:hover {
    background: #0f172a;
}

.menu-toggle {
    display: inline-flex;
    border: 0;
    background: var(--surface);
    border-radius: 0.65rem;
    padding: 0.55rem;
    cursor: pointer;
}

.menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--ink);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 0 1rem;
    border-top: 1px solid var(--line);
    font-weight: 600;
}

.nav-mobile.is-open {
    display: flex;
}

.hero {
    position: relative;
    min-height: 34rem;
    display: grid;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(26, 35, 50, 0.88) 0%, rgba(26, 35, 50, 0.55) 55%, rgba(196, 92, 10, 0.35) 100%),
        url("https://images.unsplash.com/photo-1504149927700-13625f9b1b44?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.hero-content {
    position: relative;
    padding: 4.5rem 0 5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.12;
    margin: 0 0 1rem;
    max-width: 14ch;
}

.hero-lead {
    font-size: 1.1rem;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 36rem;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
}

.stat strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
}

.stat span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: var(--surface);
}

.section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    margin: 0 0 0.75rem;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.cards {
    display: grid;
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 0.15rem);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: var(--brand-light);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.split-image {
    border-radius: calc(var(--radius) + 0.25rem);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 18rem;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.checklist li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.checklist li::before {
    content: "✓";
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 0.75rem;
    display: grid;
    place-items: center;
    margin-top: 0.15rem;
}

.projects {
    display: grid;
    gap: 1rem;
}

.project {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 14rem;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 14rem;
}

.project figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(transparent, rgba(26, 35, 50, 0.88));
    color: var(--white);
    font-weight: 700;
}

.reviews {
    display: grid;
    gap: 1rem;
}

.review {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
}

.review-stars {
    color: #f59e0b;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
}

.review p {
    margin: 0 0 0.85rem;
    color: var(--muted);
}

.review cite {
    font-style: normal;
    font-weight: 700;
    font-size: 0.9rem;
}

.cta-band {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    border-radius: calc(var(--radius) + 0.35rem);
    padding: 2.5rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-band h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
    margin: 0 auto 1.25rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.92);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
}

.contact-box h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.contact-box p,
.contact-box a {
    margin: 0.25rem 0;
    color: var(--muted);
}

.contact-box a:hover {
    color: var(--brand);
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.75rem 0.85rem;
    font: inherit;
    margin-bottom: 1rem;
    background: var(--white);
}

.contact-form textarea {
    min-height: 7rem;
    resize: vertical;
}

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
    padding: 2.5rem 0 1.25rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-grid h3 {
    color: var(--white);
    margin: 0 0 0.65rem;
    font-size: 1rem;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-grid a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    font-size: 0.82rem;
}

.demo-strip {
    background: #0f2744;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    border-top: 3px solid #0da6e0;
}

.demo-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.85rem 0;
}

.demo-strip a {
    color: #7dd3fc;
    font-weight: 700;
}

.demo-strip a:hover {
    color: var(--white);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .projects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .reviews {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 0.95fr 1.05fr;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
