/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1e3a5f;
    --color-primary-dark: #152a45;
    --color-accent: #c9a227;
    --color-accent-light: #d4b340;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f8fa;
    --color-bg-cream: #fdfcf9;
    --color-border: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-primary);
}

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

a:hover {
    color: var(--color-accent);
}

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    color: var(--color-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.logo:hover {
    text-decoration: none;
    color: var(--color-accent);
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Hero */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    color: white;
    position: relative;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    position: relative;
}

.hero .btn {
    position: relative;
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--color-bg-cream);
}

.services h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.services h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 1rem auto 3rem;
    border-radius: 2px;
}

.services-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-category {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--color-border);
}

.service-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.service-category:hover .category-icon {
    background: var(--color-accent);
    color: var(--color-primary);
}

.service-category h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.6rem 0;
    color: var(--color-text-light);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-border);
}

.service-list li:last-child {
    border-bottom: none;
}

/* About */
.about {
    padding: 6rem 0;
    background: var(--color-bg);
}

.about h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 1rem auto 2.5rem;
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Contact */
.contact {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.contact h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.contact h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 1rem auto 2.5rem;
    border-radius: 2px;
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.contact-info p {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: var(--color-accent);
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    padding: 2.5rem 0;
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.site-footer a {
    color: var(--color-accent);
}

.site-footer a:hover {
    color: var(--color-accent-light);
}

.site-footer p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 968px) {
    .services-categories {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav {
        gap: 1.25rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .services,
    .about,
    .contact {
        padding: 4rem 0;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 1.75rem;
    }

    .service-category {
        padding: 2rem;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    .category-icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .site-header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 0.75rem;
    }

    .nav {
        gap: 1rem;
    }

    .hero {
        padding: 9rem 0 4rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
