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

:root {
    --color-bg: #fafafa;
    --color-text: #2d2d2d;
    --color-text-light: #6b6b6b;
    --color-primary: #1a1a1a;
    --color-accent: #c8a87c;
    --color-border: #e5e5e5;
    --color-white: #ffffff;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --max-width: 1100px;
    --header-height: 72px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-light);
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    position: absolute;
    left: 0;
    transition: 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* === Hero === */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero .cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.hero .cta:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* === Page Content === */
.page-content {
    padding: 3rem 0 4rem;
}

.page-content .container {
    max-width: 780px;
}

.page-content h1 {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2.5rem 0 1rem;
}

.page-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    margin-bottom: 1.25rem;
}

.page-content ul, .page-content ol {
    margin: 0 0 1.25rem 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--color-text-light);
    font-style: italic;
}

.page-content img {
    border-radius: 4px;
    margin: 1.5rem 0;
}

/* === Contact === */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    padding: 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.contact-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

/* === Footer === */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
}

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

.footer-content {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.footer-links button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0;
}

.footer-links button:hover {
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        padding: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 { font-size: 2rem; }
    .hero { padding: 3rem 0; }

    .page-content h1 { font-size: 1.75rem; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
