/* Base styles */
:root {
    --brand: #ff6600;
    --dark: #1f1f25;
    --text: #252525;
    --muted: #707070;
    --background: #fafafa;
    --surface: #ffffff;
    --shadow: 0 18px 45px rgba(0,0,0,0.08);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--background);
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #eee;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 18px 0;
}
.brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}
.main-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    transition: background .25s ease;
}
.main-nav a:hover {
    background: rgba(255,102,0,0.1);
}
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
}
.page-main {
    padding: 24px 0 64px;
}
.hero {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, rgba(255,102,0,.12), transparent 60%);
}
.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--brand);
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.05;
}
.hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover {
    transform: translateY(-1px);
}
.button-primary {
    background: var(--brand);
    color: #fff;
}
.button-secondary {
    background: transparent;
    border-color: var(--brand);
    color: var(--brand);
}
.feature-grid,
.about-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 40px;
}
.card {
    background: var(--surface);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.feature-card h2,
.card h3 {
    margin-top: 0;
}
.section {
    padding: 64px 0;
}
.section-light {
    background: #fff;
}
.text-center {
    text-align: center;
}
.about-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
}
.about-card {
    border-left: 4px solid var(--brand);
}
.contact-form {
    display: grid;
    gap: 1rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 14px;
    font: inherit;
}
.site-footer {
    background: #151519;
    color: #dcdcdc;
    padding: 24px 0;
}
.footer-inner {
    display: flex;
    justify-content: center;
}
.flash-container {
    margin: 16px 0;
}
.flash {
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 12px;
    max-width: 720px;
}
.flash-success {
    background: #eaf8ee;
    color: #1b5d37;
}
.flash-error {
    background: #fdecea;
    color: #8f1d1a;
}
@media (max-width: 860px) {
    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 740px) {
    .nav-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav a {
        width: 100%;
        border-radius: 0;
        padding: 14px 0;
    }
    .nav-toggle {
        display: block;
    }
}
