/* Homepage — conversion layout on top of style.css (same look as lawn-quote.html) */

.page-home .navbar .container {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-home .nav-menu {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 10px;
        padding: 15px 0 0;
    }

    .page-home .navbar .container {
        flex-direction: column;
        align-items: center;
    }
}

.hero.hero--main {
    background: linear-gradient(rgba(27, 54, 93, 0.78), rgba(74, 124, 89, 0.74)),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 580px;
    padding: 100px 0 90px;
}

.hero--main .hero-urgent-home {
    max-width: 640px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
}

.hero--main .trust-badges--stack {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    align-items: center;
}

.hero-cta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-cta-grid a {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.hero-cta-grid .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.85);
}

.hero-cta-grid .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

@media (max-width: 767px) {
    .hero-cta-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-grid .cta-order-call {
        order: 1;
    }

    .hero-cta-grid .cta-order-sms {
        order: 2;
    }

    .hero-cta-grid .cta-order-book {
        order: 3;
    }

    .hero-cta-grid .cta-order-describe {
        order: 4;
    }
}

@media (min-width: 768px) {
    .hero-cta-grid .cta-order-book {
        order: 1;
    }

    .hero-cta-grid .cta-order-call {
        order: 2;
    }

    .hero-cta-grid .cta-order-sms {
        order: 3;
    }

    .hero-cta-grid .cta-order-describe {
        order: 4;
        flex-basis: 100%;
    }
}

.home-cta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 28px 20px;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.06), rgba(74, 124, 89, 0.1));
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.home-cta-bar a {
    text-decoration: none;
}

@media (max-width: 767px) {
    .home-cta-bar .cta-order-call {
        order: 1;
    }

    .home-cta-bar .cta-order-sms {
        order: 2;
    }

    .home-cta-bar .cta-order-book {
        order: 3;
    }
}

@media (min-width: 768px) {
    .home-cta-bar .cta-order-book {
        order: 1;
    }

    .home-cta-bar .cta-order-call {
        order: 2;
    }

    .home-cta-bar .cta-order-sms {
        order: 3;
    }
}

.home-trust-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.65;
}

.pricing-tier .hourly-detail {
    font-size: 0.88rem;
    color: #666;
    margin: 8px 0 0;
    line-height: 1.4;
}

.pricing-tier .hourly-typical {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin: 6px 0 0;
    font-style: italic;
}

.pricing-tier .lawn-quote-link {
    margin-top: 14px;
    font-size: 0.9rem;
}

.pricing-tier .lawn-quote-link a {
    color: var(--secondary);
    font-weight: 600;
}

.home-policy {
    text-align: center;
    max-width: 640px;
    margin: 35px auto 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.55;
}

.gallery-group {
    margin-bottom: 2.75rem;
}

.gallery-group:last-child {
    margin-bottom: 0;
}

.gallery-group__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.35rem;
    text-align: left;
}

.gallery-group__lead {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 1.1rem;
    max-width: 42rem;
    line-height: 1.5;
}

.home-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 0;
}

.home-gallery figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--light);
}

.home-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.home-gallery figcaption {
    font-size: 0.75rem;
    padding: 8px 10px;
    color: #666;
    text-align: center;
}

.home-form-hint {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 25px;
    color: #555;
    font-size: 1.02rem;
}

.optional-label {
    font-weight: 400;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Sticky CTA Bar */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 10px 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    flex: 1;
    transition: all 0.2s ease;
}

.sticky-call {
    background: #16a34a;
    color: #fff;
}

.sticky-call:hover {
    background: #15803d;
}

.sticky-text {
    background: #1b365d;
    color: #fff;
}

.sticky-text:hover {
    background: #152a4a;
}

.sticky-book {
    background: #f8f9fa;
    color: #1b365d;
    border: 2px solid #1b365d;
}

.sticky-book:hover {
    background: #1b365d;
    color: #fff;
}

/* Hide sticky bar on larger screens */
@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none !important;
    }
}

/* Adjust body padding for mobile to account for sticky bar */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
}
