/* --- CSS VARIABLES --- */
:root {
    --bg-white: #ffffff;
    --bg-offset: #fafafa;
    --bg-dark: #111111;
    
    --text-main: #111111;  /* Requested #111 */
    --text-light: #444444;
    --text-inverse: #ffffff;
    
    --border-color: #e5e5e5;
    
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --max-width: 900px;
    --spacing-section: 120px;
}

/* --- RESET & GLOBAL --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1.headline-primary {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.headline-sub {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-light);
}

h2.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 10px;
    display: inline-block;
}

h2.section-title-inverse {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--text-inverse);
    padding-bottom: 10px;
    display: inline-block;
    color: var(--text-inverse);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #333;
}

.lead-text {
    font-weight: 700;
    font-size: 1.25rem;
}

.note {
    font-style: italic;
    color: #666;
    font-size: 1rem;
}

/* --- LISTS --- */
ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.styled-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.styled-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--text-main);
}

.styled-list-inverse li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-inverse);
}

.styled-list-inverse li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--text-inverse);
}

/* --- LINKS & BUTTONS --- */
a {
    color: var(--text-main);
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 600;
    border: 2px solid var(--text-main);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-main);
}

.btn-inverse {
    background-color: var(--text-inverse);
    color: var(--bg-dark);
    border-color: var(--text-inverse);
}

.btn-inverse:hover {
    background-color: transparent;
    color: var(--text-inverse);
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

.bg-offset {
    background-color: var(--bg-offset);
}

.grid-three-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.grid-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

/* --- HEADER & NAV --- */
.site-header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    /* Invert white logo to black */
    filter: invert(1); 
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --- HERO SPECIFICS --- */
.hero-content {
    max-width: 700px;
}
.hero-section {
    padding-top: 2rem;
}
.cta-wrapper {
    margin-top: 2rem;
}

/* --- SERVICE CARDS --- */
.service-card {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* --- CONTACT SECTION (Dark Mode) --- */
.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
}

.contact-container {
    text-align: center;
    max-width: 600px;
}

.contact-sub {
    color: #cccccc;
}

.contact-methods {
    text-align: left; 
    margin: 2rem auto; 
    display: inline-block;
}

.contact-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888888;
}

/* --- FOOTER --- */
.site-footer {
    padding: 2rem 0;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
    color: #666;
}



/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }
    
    .main-nav {
        display: none; /* Hide nav on small screens for simplicity */
    }
}