/* ==========================================================================
   BOISE STUMP: GLOBAL DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Brand Colors [cite: 154-167] */
    --iron-charcoal: #2D3134; 
    --concrete-white: #F7F8F9; 
    --sawdust-grey: #EAECEE; 
    --high-vis-orange: #E65C00; 
    --high-vis-hover: #CC5200; 
    --forestry-green: #2E7D32; 
    --body-text-dark: #4A4A4A; 
    --pure-white: #FFFFFF;

    /* Typography  */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 18px; /* Slightly larger for older homeowners [cite: 173] */
    font-weight: 400;
    color: var(--body-text-dark); /* [cite: 174] */
    background-color: var(--concrete-white); /* Reduces mobile glare [cite: 159-160] */
    line-height: 1.6;
}

/* Typography Rules [cite: 170-174] */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--iron-charcoal); /* [cite: 156-157] */
    letter-spacing: 0.5px; /* Slight tracking to match logo [cite: 171] */
    margin-bottom: 0.5em;
    line-height: 1.2;
}

/* ==========================================================================
   GLOBAL UI COMPONENTS [cite: 175-184]
   ========================================================================== */

/* Buttons [cite: 176-180] */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--high-vis-orange);
    color: var(--pure-white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    padding: 12px 24px;
    min-height: 48px; /* Fat Finger Tap Target [cite: 192-193] */
    min-width: 48px;
    border-radius: 4px; /* Slight rounding, no drop shadows [cite: 178-179] */
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--high-vis-hover); /* [cite: 180] */
}

/* Cards & Containers [cite: 181-184] */
.card {
    background-color: var(--pure-white);
    border: 1px solid var(--sawdust-grey); /* Subtle border, no box shadow [cite: 183-184] */
    padding: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   PHASE 2: HEADER & FOOTER
   ========================================================================== */

/* The Sticky Header [cite: 190-191] */
.global-header {
    background-color: var(--pure-white);
    border-bottom: 1px solid var(--sawdust-grey);
    position: sticky; /* This keeps it pinned to the top */
    top: 0;
    z-index: 1000; /* Ensures it stays above all other content */
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--iron-charcoal);
    text-decoration: none;
    letter-spacing: 1px;
    min-height: 48px; /* Fat Finger Tap Target [cite: 192] */
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Click-to-call link  */
.phone-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--iron-charcoal);
    text-decoration: none;
    min-height: 48px; /* Fat Finger Tap Target [cite: 192] */
    display: flex;
    align-items: center;
}

/* The Global Footer */
.global-footer {
    background-color: var(--iron-charcoal); /* [cite: 156-157] */
    color: var(--pure-white);
    padding: 48px 16px;
    margin-top: 64px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--pure-white);
    text-decoration: none;
    font-family: var(--font-heading);
    min-height: 48px; /* Fat Finger Tap Target [cite: 192] */
    display: flex;
    align-items: center;
}

.footer-nav a:hover {
    color: var(--high-vis-orange);
}

.footer-info p {
    margin-bottom: 8px;
    color: var(--sawdust-grey);
}

.footer-phone {
    color: var(--high-vis-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    min-height: 48px; /* Fat Finger Tap Target [cite: 192] */
    display: inline-flex;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* THIS IS THE FIX FOR THE UNEVEN DIVIDERS */
}

/* ==========================================================================
   UTILITY CLASSES (Spacing & Backgrounds)
   ========================================================================== */
.section-padding {
    padding: 80px 16px;
}

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

.bg-sawdust {
    background-color: var(--sawdust-grey); /* [cite: 161-162] */
}

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

/* ==========================================================================
   PHASE 3: HOMEPAGE SECTIONS
   ========================================================================== */

/* Hero Section (F-Pattern Layout)  */
.hero {
    padding: 80px 16px 60px;
    background-color: var(--pure-white);
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Scales beautifully on mobile */
    margin-bottom: 24px;
    max-width: 850px; 
}

.subheadline {
    font-size: 1.25rem;
    margin-bottom: 32px;
    max-width: 750px;
    color: var(--body-text-dark);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap; /* Stacks nicely on small mobile screens */
}

.secondary-cta {
    font-weight: 600;
    font-family: var(--font-heading);
}

.secondary-cta a {
    color: var(--high-vis-orange);
    text-decoration: none;
    font-size: 1.1rem;
}

/* Value Proposition Section [cite: 64-72] */
.body-intro {
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 800px;
}

.bullet-list {
    list-style: none; /* Removes default browser bullets */
    padding: 0;
    max-width: 800px;
}

.bullet-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 20px;
}

/* Custom Forestry Green Checkmarks  */
.bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--forestry-green); 
    font-weight: 700;
    font-size: 1.4rem;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Automatically adjusts columns based on screen size */
    gap: 32px;
    margin-top: 40px;
}

.service-grid .card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* Jobber Intake Section */
.jobber-section h2 {
    margin-bottom: 16px;
}

.jobber-embed-container {
    max-width: 600px;
    margin: 32px auto 0;
    background: var(--pure-white);
    padding: 24px;
    border-radius: 4px;
    border: 1px solid var(--sawdust-grey);
}

/* ==========================================================================
   PHASE 4: PRICING & GALLERY
   ========================================================================== */

/* Pricing Page */
.massive-price {
    display: block;
    font-size: clamp(4rem, 8vw, 6rem); /* Huge, scanning-friendly number  */
    color: var(--high-vis-orange);
    line-height: 1;
    margin: 16px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.price-estimate {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--forestry-green);
    margin-top: 16px;
    font-weight: 700;
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* Keep it sharp and square  */
    border: 1px solid var(--sawdust-grey);
}

/* Image Logo Sizing (For a Circular Badge) */
.header-logo {
    width: 150px; /* Adjust between 70px and 100px until it looks right */
    height: auto; 
    display: block;
}