:root {
    --primary-green: #1a3b2b; /* Original Deep Green */
    --primary-gold: #d4af37; /* Original Gold */
    --bg-paper: #fdfbf7; /* Creamy Bond Paper Base */
    --text-dark: #111111;
    --text-grey: #444444;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    
    --grid-gutter: 2rem;
    --section-padding: 6rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-paper);
    background-image: url('../assets/images/bond_paper_texture.png');
    background-blend-mode: multiply;
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1300px; /* Wider for editorial feel */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--primary-green);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Navigation - Editorial Style */
/* Ensure Nav sits on top of solid background */
.editorial-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Constrain Nav to the Text Column (Left Side) */
    background: transparent;
    border-bottom: none;
    z-index: 100;
    padding: 2rem 4rem; /* Match hero container padding */
}

/* Nav Grid - Simplified for Left Column */
.nav-grid {
    display: flex;
    flex-direction: column; /* Stack Brand and Links */
    align-items: flex-start; /* Left Align everything */
    padding: 0; /* Removed container padding since nav has it */
    gap: 1.5rem;
}

.brand {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 5px;
    margin-bottom: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: 0; /* Reset */
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-green) !important;
    margin: 0; /* Reset margins */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    position: relative;
}

/* Underline hover effect for links */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hide the CTA button in nav since it's redundant with Hero CTA immediately below */
.editorial-nav .btn-gold {
    display: none; 
}

/* Hero - Split Screen (No Overlap) */
.hero-editorial {
    min-height: 90vh;
    display: flex;
    align-items: stretch;
    padding-top: 0; /* Remove top padding, handled by flex */
    background: var(--bg-paper); /* Solid background for text side */
}

.hero-bg {
    position: relative; /* Change from absolute to relative */
    width: 50%; /* Strictly 50% width */
    height: auto; /* Allow height to fill */
    min-height: 100%;
    background-size: cover;
    background-position: center;
    order: 2; /* Move image to right */
    border-left: 4px solid var(--primary-gold); /* Visual separator */
}

/* Remove gradient overlay */
.hero-bg::after {
    display: none;
}

.hero-container {
    width: 50%; /* Strictly 50% width */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem; /* Generous padding */
    order: 1; /* Move text to left */
    z-index: 1; /* Ensure text is above */
}

.hero-text-block {
    width: 100%;
    padding: 0; /* Reset internal padding */
    margin: 0;
    text-align: left;
    max-width: 600px; /* Limit line length for readability */
}

/* Ensure Nav sits on top of solid background */
.editorial-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: none;
}

/* Responsive Stack */
@media (max-width: 1024px) {
    /* Navigation - Full width on mobile */
    .editorial-nav {
        position: relative;
        width: 100%;
        padding: 1.5rem 2rem;
        background: var(--bg-paper);
        border-bottom: 2px solid var(--primary-gold);
    }
    
    .nav-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .brand {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
    
    .nav-links {
        display: none; /* Hide nav links on mobile, show hamburger if needed later */
    }
    
    .editorial-nav .btn-gold {
        display: block;
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Hero Section - Stacked on mobile */
    .hero-editorial {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-bg {
        width: 100%;
        height: 40vh;
        min-height: 300px;
        order: 1; /* Image on top mobile */
        border-left: none;
        border-bottom: 4px solid var(--primary-gold);
    }
    
    .hero-container {
        width: 100%;
        order: 2;
        padding: 3rem 2rem;
    }
    
    .hero-text-block {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-text-block h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }
}

.eyebrow {
    display: block;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.hero-text-block h1 {
    font-size: 4.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-shadow: none;
    text-align: left;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--primary-green); /* Changed from text-dark/grey to Primary Green for consistency */
    margin-bottom: 3rem;
    max-width: 500px;
    font-weight: 600; /* Increased weight for readability */
    text-align: left;
    opacity: 0.9;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--primary-green);
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-gold {
    background: var(--primary-gold);
    color: var(--primary-green);
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.seal-icon {
    width: 60px;
    height: 60px;
}

/* Trust Panel (Bolster Model) */
.trust-panel {
    background: var(--primary-green);
    color: var(--bg-paper);
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.trust-stat {
    flex: 1;
}

.border-x {
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Narrative Section */
.narrative-section {
    padding: var(--section-padding) 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem; /* Increased gap */
    align-items: center;
}

.gold-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    margin: 2rem 0;
}

.narrative-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-grey);
}

.visual-box {
    width: 100%;
    height: 600px; /* Tall vertical presence */
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    box-shadow: var(--shadow-md);
}

.visual-box::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: -2rem; /* Offset to left for Z-pattern */
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-gold);
    z-index: -1;
}

/* Specialties Grid - High Contrast Power Block */
.specialties-section {
    padding: var(--section-padding) 0;
    background: var(--primary-green); /* Deep Green Background */
    color: var(--bg-paper);
}

.section-head {
    margin-bottom: 4rem;
    text-align: center;
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--bg-paper); /* Light text on dark bg */
}

.section-head p {
    color: rgba(255, 255, 255, 0.8);
}

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

.spec-card {
    background: var(--bg-paper);
    padding: 3rem;
    border-top: 4px solid var(--primary-gold); /* Gold top border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Deeper shadow */
    transition: transform 0.3s;
}

.spec-card:hover {
    transform: translateY(-10px);
}

/* Remove old highlight class logic */
.spec-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.spec-card p {
    color: var(--text-grey);
}

/* Client Hub (FAQ) - Legal Pad Style */
.client-hub-section {
    padding: var(--section-padding) 0;
}

.client-hub-container {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Gold border */
    border-left: 6px solid var(--primary-gold); /* Legal pad left border */
    padding: 4rem;
    box-shadow: var(--shadow-sm);
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stacked for readability */
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 2rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    border-bottom: none; /* Remove old border */
    padding-bottom: 0;
}

.faq-item p {
    font-size: 1.05rem;
    color: var(--text-grey);
}

/* Footer */
footer {
    background: var(--primary-green);
    color: var(--bg-paper);
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h4 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-phone {
    color: var(--bg-paper);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 700;
}

.footer-compliance {
    max-width: 600px;
    text-align: right;
}

.compliance-text {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 1rem;
    line-height: 1.4;
    border-left: 2px solid var(--primary-gold);
    padding-left: 1rem;
    text-align: left;
}

/* Additional Mobile Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .trust-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .border-x {
        border: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 2rem 0;
    }
    
    .split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .visual-box {
        height: 400px;
    }
    
    .section-head h2 {
        font-size: 2rem;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .client-hub-container {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-compliance {
        text-align: center;
        max-width: 100%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-text-block h1 {
        font-size: 2rem;
    }
    
    .hero-lead {
        font-size: 1rem;
    }
    
    .brand {
        font-size: 1rem;
    }
    
    .editorial-nav .btn-gold {
        padding: 0.7rem 1.2rem;
        font-size: 0.75rem;
    }
}
