/* ============================================
   PLACER PRESSURE WASHING - STYLES
   Mobile-first, fast, clean
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Colors */
    --primary-blue: #1a5276;
    --primary-blue-dark: #154360;
    --light-blue: #ebf5fb;
    --white: #ffffff;
    --dark-text: #2c3e50;
    --light-text: #5d6d7e;
    --cta-orange: #e67e22;
    --cta-orange-hover: #d35400;
    --light-gray: #f8f9fa;
    --border-gray: #e5e8eb;
    --success-green: #27ae60;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 60px 20px;
    --section-padding-mobile: 40px 16px;
    
    /* Transitions */
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Space for sticky mobile bar */
    padding-bottom: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

/* ---------- HEADER ---------- */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    z-index: 1000;
    padding: 12px 16px;
}

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

.logo a {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.header-phone:hover {
    background: var(--primary-blue-dark);
}

.phone-icon {
    font-size: 14px;
}

/* ---------- HERO SECTION ---------- */
.hero {
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 100%);
    padding: var(--section-padding-mobile);
}

.hero-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Before/After Placeholder */
.hero-image {
    margin-bottom: 24px;
}

.before-after-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.before-after-placeholder {
    display: flex;
    height: 220px;
    background: var(--light-gray);
}

.ba-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-text);
}

.ba-before {
    background: #d5d8dc;
}

.ba-after {
    background: #a9dfbf;
}

.ba-divider {
    width: 4px;
    background: var(--white);
}

/* Hero Text */
.hero-text {
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 28px;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.hero-subhead {
    font-size: 16px;
    color: var(--light-text);
}

.hero-subhead .divider {
    margin: 0 8px;
    color: var(--border-gray);
}

/* Hero CTA */
.hero-cta {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-blue);
    border-radius: 8px;
    transition: var(--transition);
}

.cta-phone:hover {
    background: #d4e6f1;
}

.cta-icon {
    font-size: 24px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
}

.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    color: var(--light-text);
    font-size: 14px;
}

.cta-divider::before,
.cta-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-gray);
    margin: 0 12px;
}

.cta-button {
    display: block;
    background: var(--cta-orange);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--cta-orange-hover);
    transform: translateY(-1px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--light-text);
}

.badge {
    color: var(--success-green);
    font-weight: 500;
}

.badge-divider {
    color: var(--border-gray);
}

/* ---------- PROOF SECTION ---------- */
.proof {
    padding: var(--section-padding-mobile);
    background: var(--white);
}

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

.proof h2 {
    text-align: center;
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 24px;
}

.proof-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.proof-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.proof-image-placeholder {
    height: 200px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

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

.proof-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--light-text);
    letter-spacing: 1px;
}

.proof-caption {
    font-size: 14px;
    color: var(--light-text);
    text-align: center;
}

/* ---------- PRICING SECTION ---------- */
.pricing {
    padding: var(--section-padding-mobile);
    background: var(--light-blue);
}

.pricing-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.pricing h2 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 24px;
}

.price-list {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.price-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
}

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

.price-item-highlight {
    background: #fef9e7;
    margin: 8px -20px -20px -20px;
    padding: 16px 20px;
    border-radius: 0 0 12px 12px;
    border-bottom: none;
}

.price-service {
    font-size: 16px;
    color: var(--dark-text);
}

.price-dots {
    flex: 1;
    border-bottom: 2px dotted var(--border-gray);
    margin: 0 12px;
    height: 0;
    align-self: flex-end;
    margin-bottom: 6px;
}

.price-amount {
    font-size: 16px;
    color: var(--light-text);
}

.price-amount strong {
    color: var(--dark-text);
    font-size: 18px;
}

.pricing-note {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.pricing-cta {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    transition: var(--transition);
}

.pricing-cta:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ---------- FINAL CTA SECTION ---------- */
.final-cta {
    padding: var(--section-padding-mobile);
    background: var(--primary-blue);
    text-align: center;
}

.final-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 24px;
}

.final-phone {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.final-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.final-button {
    display: inline-block;
    background: var(--cta-orange);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 32px;
}

.final-button:hover {
    background: var(--cta-orange-hover);
    transform: translateY(-2px);
}

.service-areas {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.service-areas strong {
    color: var(--white);
}

.service-areas-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 40px 20px;
    background: var(--dark-text);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-location {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-phone {
    display: inline-block;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-legal {
    font-size: 13px;
    margin-bottom: 16px;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- STICKY MOBILE BAR ---------- */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: var(--white);
    border-top: 1px solid var(--border-gray);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px;
    gap: 8px;
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.sticky-call {
    background: var(--primary-blue);
    color: var(--white);
}

.sticky-call:hover {
    background: var(--primary-blue-dark);
}

.sticky-quote {
    background: var(--cta-orange);
    color: var(--white);
}

.sticky-quote:hover {
    background: var(--cta-orange-hover);
}

/* ---------- DESKTOP STYLES ---------- */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
    
    .header {
        padding: 16px 24px;
    }
    
    .logo a {
        font-size: 18px;
    }
    
    .header-phone {
        padding: 10px 16px;
        font-size: 16px;
    }
    
    .hero {
        padding: var(--section-padding);
    }
    
    .hero-container {
        max-width: 700px;
    }
    
    .before-after-placeholder {
        height: 350px;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .hero-subhead {
        font-size: 18px;
    }
    
    .hero-cta {
        padding: 32px;
    }
    
    .cta-number {
        font-size: 26px;
    }
    
    .proof {
        padding: var(--section-padding);
    }
    
    .proof h2 {
        font-size: 32px;
    }
    
    .proof-gallery {
        justify-content: center;
        overflow-x: visible;
    }
    
    .proof-item {
        flex: 0 0 300px;
    }
    
    .proof-image-placeholder {
        height: 220px;
    }
    
    .pricing {
        padding: var(--section-padding);
    }
    
    .pricing h2 {
        font-size: 32px;
    }
    
    .final-cta {
        padding: var(--section-padding);
    }
    
    .final-cta h2 {
        font-size: 32px;
    }
    
    .final-phone {
        font-size: 36px;
    }
    
    /* Hide mobile sticky bar on desktop */
    .mobile-sticky-bar {
        display: none;
    }
}

/* ---------- LARGE DESKTOP ---------- */
@media (min-width: 1024px) {
    .hero-container {
        max-width: 800px;
    }
    
    .before-after-placeholder {
        height: 400px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
}

/* ---------- UTILITY CLASSES ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ---------- REAL IMAGE STYLES ---------- */

/* Hero Image */
.before-after-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Gallery Images */
.proof-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .proof-item img {
        height: 220px;
    }
}