:root {
    --color-primary: #2563eb;
    --color-text: #111;
    --color-bg: #fff;
    --color-surface: #f8f8f8;
    --radius: 8px;
    --max-width: 1100px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav-logo { width: 34px; height: 34px; border-radius: 6px; }
.nav-brand { font-weight: 700; margin-right: auto; margin-left: 0.6rem; }
nav ul { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; }
nav a { color: var(--color-text); text-decoration: none; font-weight: 500; }

section { padding: 3rem 1rem; }
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
}
#hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
#hero p { color: #555; max-width: 620px; }

.btn-primary {
    display: inline-block;
    margin-top: 0.8rem;
    background: var(--color-primary);
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

#services, #about, #contact {
    max-width: var(--max-width);
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card {
    border: 1px solid #e9e9e9;
    border-radius: var(--radius);
    padding: 1rem;
    background: #fff;
    transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }

form { display: grid; gap: 0.8rem; max-width: 560px; }
input, textarea {
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font: inherit;
}

footer {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
    padding: 1rem;
}

@media (min-width: 768px) {
    #hero h1 { font-size: 3rem; }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
}
