/*
Theme Name: ClearLitics Custom
Description: Minimal static-to-WP theme for ClearLitics
Author: ClearLitics LLC
Version: 1.0
*/

/* ==========================================================================
   EDITORIAL DESIGN SYSTEM (High-Contrast Elite Consultancy)
   ========================================================================== */
:root {
    --brand-blue: #004e7c;
    --brand-dark: #001e36;   
    
    --text-heading: #111111; 
    --text-body: #333333;    
    --text-muted: #555555;
    
    --bg-white: #ffffff;     
    --bg-slate: #e2e8f0;     
    
    --border-hairline: #cbd5e1; 
    --border-heavy: #111111;
    
    --font-serif: 'Lora', Georgia, serif; 
    --font-sans: 'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ==========================================================================
   STRUCTURAL DIVIDERS
   ========================================================================== */
.editorial-divider {
    height: 1px;
    background-color: var(--border-hairline);
    margin: 20px 0;
    width: 100%;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   LIGHT ANCHORING NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-hairline); 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); 
    z-index: 1000;
}

.navbar-container {
    max-width: 1140px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    gap: 6px;
}

.logo-main {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-heading); 
    letter-spacing: -0.2px;
}

.logo-main strong {
    font-weight: 700;
}

.logo-llc {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted); 
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--text-heading);
    text-decoration: none;
    font-size: 0.95rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--brand-blue);
}

/* ==========================================================================
   LAYOUT CONTAINERS & TYPOGRAPHY
   ========================================================================== */
.section {
    padding: 120px 40px;
    scroll-margin-top: 100px;
}

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

.bg-slate {
    background-color: var(--bg-slate);
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.container {
    max-width: 1080px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 40px; 
}

/* ==========================================================================
   HERO SECTION (Full-Bleed, Enhanced Center Scrim)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 140px 40px;
    min-height: 85vh;
    background-color: var(--brand-dark);
    background-image: url('Background_Image_1.webp'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 30, 54, 0.20) 0%,
        rgba(0, 30, 54, 0.82) 32%,
        rgba(0, 30, 54, 0.90) 50%,
        rgba(0, 30, 54, 0.82) 68%,
        rgba(0, 30, 54, 0.15) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-family: var(--font-serif);
    font-size: 3.2rem; 
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 4px 14px rgba(0, 20, 38, 0.85);
}

.hero-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px; 
    margin-bottom: 32px; 
}

.pillar-text {
    font-family: var(--font-sans);
    font-size: 0.95rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.pillar-separator {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

.hero-outcome {
    font-family: var(--font-serif);
    font-size: 2.2rem; 
    font-weight: 400; 
    color: #ffffff !important;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 20, 38, 0.8);
}

/* ==========================================================================
   CAPABILITIES GRID
   ========================================================================== */
.capabilities-wrapper {
    margin-top: 0; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==========================================================================
   STACKED BOX ARCHITECTURE (Capabilities Only)
   ========================================================================== */
.step-stack {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step-header-box {
    background: var(--bg-white);
    border-left: 1px solid var(--border-hairline);
    border-right: 1px solid var(--border-hairline);
    border-top: 4px solid var(--brand-blue);
    border-bottom: 2px solid var(--brand-blue);
    padding: 20px;
    text-align: center;
}

.step-header-box h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading); 
}

.step-text-box {
    background: var(--bg-white);
    border: 1px solid var(--border-hairline);
    border-top: none; 
    padding: 24px 20px;
    flex-grow: 1; 
    text-align: center;
}

.step-text-box p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ==========================================================================
   SUCCESS STATEMENT (Grey, Centered, Italic)
   ========================================================================== */
.signature-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-hairline);
    text-align: center;
}

.success-statement {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ==========================================================================
   HOW WE WORK SECTION (Chevron Flow)
   ========================================================================== */
.chevron-flow {
    display: flex;
    align-items: stretch; 
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 50px;
}

.flow-card {
    flex: 1;
    background: var(--bg-white);
    border: 1px solid var(--border-hairline);
    padding: 28px 24px;
    border-top: 4px solid var(--text-heading); 
}

.flow-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.flow-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

.flow-card p b {
    color: var(--text-heading);
}

.flow-arrow {
    font-size: 1.5rem;
    color: #cbd5e1; 
    flex-shrink: 0;
    align-self: center;
}

.process-tagline {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-heading);
    text-align: center;
}

/* ==========================================================================
   ABOUT SECTION (Elite 2-Column Split)
   ========================================================================== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; 
    max-width: 900px; 
    margin: 0 auto;
}

.about-col-left, .about-col-right {
    text-align: left; 
}

.about-split h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
}

.about-split .editorial-divider {
    width: 40px;
    margin: 20px 0; 
}

.about-split .about-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 14px; 
}

.about-split .about-text:last-child {
    margin-bottom: 0; 
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
    max-width: 800px;
}

.contact-form {
    margin-top: 40px;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-group {
    margin-bottom: 30px;
    width: 100%;
}

.half {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-heading);
    background: var(--bg-white);
    border: 1px solid var(--border-hairline);
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--text-heading);
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
}

.turnstile-box {
    margin: 30px 0;
}

.btn-submit {
    display: inline-block;
    background: var(--text-heading);
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-submit:hover {
    background: var(--brand-blue);
}

/* ==========================================================================
   FOOTER (Kept dark to ground the bottom of the page)
   ========================================================================== */
.footer {
    background: var(--brand-dark);
    border-top: 2px solid var(--brand-blue);
    padding: 60px 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.footer-brand strong {
    font-weight: 700;
}

.footer-brand span {
    font-size: 0.75rem;
    color: #a3b8c7;
}

.footer-copy {
    font-size: 0.85rem;
    color: #a3b8c7;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-heading);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .chevron-flow {
        flex-direction: column;
        gap: 20px;
    }

    .flow-arrow {
        transform: rotate(90deg); 
        margin: 10px 0;
        align-self: center;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-hairline);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 40px;
        gap: 24px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .section {
        padding: 80px 24px;
    }

    .hero-section {
        padding: 120px 24px; 
        min-height: auto; 
    }

    .main-title {
        font-size: 2.2rem;
    }

    .hero-pillars {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
    }

    .pillar-separator {
        display: none; 
    }

    .pillar-text {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
        text-align: center;
    }

    .hero-outcome {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}