:root {
    --bg-color: #ffffff;
    --text-main: #4a5568;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --accent: #B1976B;
    --bg-light: #f9f9f9;
    --container-width: 1200px;
    --spacing-section: 100px;
    --header-height: 80px;
    --font-serif: "Georgia", "Times New Roman", Times, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.6rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 10px; font-family: var(--font-serif); font-weight: 700; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.5rem; font-size: 1.05rem; }

.subheadline {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 600;
    font-family: var(--font-sans);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

section { padding: var(--spacing-section) 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 14px 28px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.btn:hover {
    background-color: #8c734b;
    border-color: #8c734b;
}

.icon-svg {
    width: 36px;
    height: 36px;
    fill: var(--accent);
    margin-bottom: 15px;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-menu a.nav-link:hover { color: var(--accent); }

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    max-height: 500px;
    display: flex;
    align-items: flex-start;
    padding-top: 180px;
    color: var(--text-light);
    margin-top: 0;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('images/hero.png');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    color: #fff;
    max-width: 900px;
}

.hero-subtitle {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    font-family: var(--font-sans);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
    z-index: 1;
}

.about-img::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
    z-index: -1;
    border-radius: 2px;
}

.about-img img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: var(--bg-color);
    padding: 35px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: transparent;
}

.stats-bar {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    align-items: flex-start;
}

.stat-number {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: #ffffff; 
    display: block;
    line-height: 1.3;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 500;
    line-height: 1.5;
    display: block;
    max-width: 220px;
    margin: 0 auto;
}

.legal-page-header {
    padding-top: 150px;
    padding-bottom: 20px;
    background-color: var(--bg-light); 
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 25px 80px 25px; 
}

.legal-content a {
    color: var(--text-dark);
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: var(--accent);
}

.legal-content.text-center { text-align: center; }
.legal-content h1 { font-size: 2.2rem; margin-bottom: 20px; }
.legal-content h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 20px; color: var(--text-dark); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.2rem; margin-top: 30px; margin-bottom: 15px; color: var(--text-dark); }
.legal-content p { margin-bottom: 1.5rem; text-align: left; }
.legal-content ul { list-style: disc; margin-left: 20px; margin-bottom: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

.about-cta {
    margin-top: 30px;
    font-weight: 500;
}

.about-cta a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
}

.services-intro {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.services-section {
    padding-top: 40px;
}

.hero--small {
    min-height: 40vh;
    height: auto;
    padding-top: 190px;
    padding-bottom: 100px;
}

.hero--small h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero--small p {
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent); }

.copyright {
    color: #888;
    font-size: 0.85rem;
}

#scrollToTop {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--accent);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

#scrollToTop.show {
    display: flex;
}

#scrollToTop:hover {
    background-color: #8c734b;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

@media (max-width: 900px) {
    h1 { 
        font-size: 2rem; 
        word-wrap: break-word; 
        word-break: break-word;
        hyphens: auto; 
    }

    .legal-page-header h1 {
        font-size: 1.7rem;
        padding: 0 10px;
    }

    .hero {
        padding: 150px 0 80px 0;
        text-align: center;
        height: auto;
        min-height: auto;
        align-items: center;
    }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid #333;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        margin: 10px 0;
        display: block;
    }

    .about-grid { display: flex; flex-direction: column-reverse; gap: 40px; }
    
    .stats-grid { 
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .features-row { grid-template-columns: 1fr; }

    .footer-row {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
}