/* =============================================================
   National Exterminating Landing Page
   css/lp-front-page.css
   ============================================================= */


/* ─── Custom Properties ──────────────────────────────────────── */
:root {
    --brand-blue:   #0c5dac;
    --brand-navy:   #01305e;
    --brand-red:    #e51837;
    --text-dark:    #1a1a1a;
    --text-white:   #ffffff;
    --bg-white:     #ffffff;
    --bg-light:     #f5f5f5;

    --gradient-red-blue: linear-gradient(to bottom, #e51837, #0c5dac);
}


/* ─── Container ───────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}


/* =============================================================
   HERO WRAPPER — shared background for header + hero
   ============================================================= */

.hero-wrapper {
    position: relative;
    background-image: url('../images/general-LP-header-background.jpg.webp');
    background-size: cover;
    background-position: center top;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 48, 94, 0.82);
    z-index: 1;
}

.hero-wrapper > * {
    position: relative;
    z-index: 2;
}


/* =============================================================
   SITE HEADER
   ============================================================= */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-logo-link img {
    width: 305px;
    height: auto;
    display: block;
}

.header-phone {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-white);
    white-space: nowrap;
    text-align: right;
}

.header-phone:hover {
    text-decoration: underline;
}


/* =============================================================
   HERO
   ============================================================= */

.hero {
    min-height: 800px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0 100px;
}

/* ── Hero content order (corrects DOM vs. design order) ────── */
.hero-eyebrow        { order: 1; }
.hero-content h1     { order: 2; }
.hero-disclaimer     { order: 3; }
.hero-stars          { order: 4; }
.hero-content .btn-primary { order: 5; }

.hero-eyebrow {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3.4rem;
    color: var(--text-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 6.5rem;
    color: var(--text-white);
    line-height: 1.1;
    margin: 0 0 24px;
    max-width: 900px;
}

.hero-disclaimer {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 28px;
}

.hero-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-stars img {
    display: block;
    width: 300px;
    height: auto;
}

.hero-stars-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2.5rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.btn-primary {
    display: inline-block;
    background-color: var(--brand-red);
    color: var(--text-white);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.03em;
    padding: 18px 52px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #c41530;
}


/* =============================================================
   HOW IT WORKS — "Middle Georgia Pest Control Made Easy"
   ============================================================= */

.how-it-works {
    overflow: hidden;
}

.how-it-works-inner {
    display: flex;
}

.how-it-works-left {
    flex: 0 0 50%;
    background-color: var(--brand-navy);
    padding: 64px 5% 64px max(5%, calc((100vw - 1200px) / 2 + 5%));
}

.how-it-works-photo {
    flex: 0 0 50%;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.how-it-works-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

/* Shared white heading style */
.section-heading-white {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 4rem;
    color: var(--text-white);
    line-height: 1.2;
    margin: 0;
}

/* Red bar below the how-it-works heading */
.how-it-works-left .section-heading-white::after {
    content: '';
    display: block;
    width: 130px;
    height: 3px;
    background-color: var(--brand-red);
    margin: 16px 0 32px;
}

/* Hide the blue-stars image — heading ::after provides the divider */
.how-it-works-left .section-divider {
    display: none;
}

.section-divider {
    display: block;
    margin-bottom: 32px;
    height: 18px;
    width: auto;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.step-item img {
    flex-shrink: 0;
    width: 111px;
    height: auto;
}

.step-item p {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-white);
    line-height: 1.4;
    margin: 0;
}

.link-underline {
    color: var(--text-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =============================================================
   PEST TYPES — "Indoor Pest Control: Evict Your House Guests"
   ============================================================= */

.pest-types {
    padding: 64px 0;
    background-color: var(--bg-white);
    text-align: center;
}

/* Shared section heading/text styles (used across sections) */
.section-heading-blue {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 3.8rem;
    color: var(--brand-navy);
    line-height: 1.2;
    margin: 0 0 14px;
}

.section-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0 0 24px;
}

.subsection-heading {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--brand-blue);
    margin: 32px 0 12px;
}

/* ── Pest Types overrides ──────────────────────────────────── */
.pest-types .section-heading-blue {
    font-size: 4rem;
}

/* Red bar replaces the blue-stars divider image */
.pest-types .section-heading-blue::after {
    content: '';
    display: block;
    width: 130px;
    height: 3px;
    background-color: var(--brand-red);
    margin: 16px auto 0;
}

.pest-types .section-divider {
    display: none;
}

.pest-types .section-intro {
    font-size: 2.2rem;
    color: #000;
    max-width: 900px;
    margin: 0 auto 32px;
}

.pest-types .subsection-heading {
    font-size: 3rem;
    margin: 0 0 8px;
}

/* ── Pest icons grid ───────────────────────────────────────── */
.pest-icons-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.pest-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 170px;
    text-align: center;
}

.pest-icon-item img {
    width: 170px;
    height: auto;
}

.pest-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--brand-navy);
    text-align: center;
    text-transform: uppercase;
    margin-top: 8px;
    line-height: 1.3;
}


/* =============================================================
   CTA BANNER — "Take Back Your Home" + "$50 Off" (shared)
   ============================================================= */

.cta-banner {
    position: relative;
    background-image: url('../images/general-LP-header-background.jpg.webp');
    background-size: cover;
    background-position: center;
    padding: 48px 0;
    text-align: center;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(1, 48, 94, 0.8);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 4rem;
    color: var(--text-white);
    text-align: center;
    margin-top: 16px;
    line-height: 1.2;
}

.cta-offer {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 3.4rem;
    color: var(--text-white);
    text-align: center;
    margin-top: 16px;
    line-height: 1.3;
}

.cta-phone {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3.4rem;
    color: var(--text-white);
    text-decoration: underline;
    text-align: center;
    margin-top: 12px;
}

.btn-primary-white {
    display: inline-block;
    background-color: var(--text-white);
    color: var(--brand-navy);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.03em;
    padding: 16px 48px;
    border-radius: 4px;
    margin-top: 24px;
    transition: background-color 0.2s ease;
}

.btn-primary-white:hover {
    background-color: #e8e8e8;
}


/* =============================================================
   SERVICE PLANS
   ============================================================= */

.service-plans {
    padding: 64px 0;
    background-color: var(--bg-white);
}

.subsection-heading-blue {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--brand-blue);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-body {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    color: #000;
    line-height: 1.5;
    margin-bottom: 32px;
}

.plans-grid {
    display: flex;
    gap: 24px;
}

.plan-card {
    flex: 1;
    border-left: 9px solid;
    border-image: linear-gradient(to bottom, #e51837, #0c5dac) 1;
    padding: 24px 24px 24px 32px;
    background-color: #ffffff;
}

.plan-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.plan-card-body p {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    color: #000;
    line-height: 1.5;
}


/* =============================================================
   MOSQUITO INTRO — "Mosquito Control For Any Yard"
   ============================================================= */

.mosquito-intro {
    padding: 64px 0;
    background-color: var(--bg-white);
}

.mosquito-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.mosquito-intro-content {
    flex: 1;
}

/* Scoped heading size override */
.mosquito-intro .section-heading-blue {
    font-size: 4rem;
    margin-bottom: 0;
}

/* Red bar replaces the blue-stars divider image */
.mosquito-intro-content .section-heading-blue::after {
    content: '';
    display: block;
    width: 130px;
    height: 3px;
    background-color: var(--brand-red);
    margin: 16px 0 24px;
}

.mosquito-intro-content .section-divider {
    display: none;
}

.mosquito-intro-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    color: #000;
    line-height: 1.5;
    margin-bottom: 16px;
}

.mosquito-intro-content p:last-child {
    margin-bottom: 0;
}

.mosquito-intro-photo {
    flex: 0 0 42%;
}

.mosquito-intro-photo img {
    width: 100%;
    height: auto;
    display: block;
}


/* =============================================================
   MOSQUITO DETAILS — Two Column
   ============================================================= */

.mosquito-details {
    padding: 0 0 64px;
    background-color: var(--bg-white);
}

.mosquito-details-grid {
    display: flex;
    gap: 48px;
}

.mosquito-col {
    flex: 1;
}

.mosquito-col p {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    color: #000;
    line-height: 1.5;
    margin-bottom: 16px;
}

.mosquito-col p:last-child {
    margin-bottom: 0;
}

.bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.bullet-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    color: #000;
    line-height: 2;
}

.bullet-list li::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: var(--brand-red);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}


/* =============================================================
   RESPONSIVE — 1024px (Tablet Landscape)
   ============================================================= */

@media (max-width: 1024px) {

    /* Header */
    .header-logo-link img {
        width: 240px;
    }
    .header-phone {
        font-size: 2rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 5rem;
    }
    .hero-eyebrow {
        font-size: 2.8rem;
    }
    .hero-stars-text {
        font-size: 2rem;
    }

    /* How It Works */
    .how-it-works-left {
        padding: 64px 5%;
    }
    .section-heading-white {
        font-size: 3.4rem;
    }
    .step-item p {
        font-size: 2.2rem;
    }

    /* CTA Banner */
    .cta-heading {
        font-size: 3.2rem;
    }
    .cta-offer {
        font-size: 2.8rem;
    }
    .cta-phone {
        font-size: 2.8rem;
    }

    /* Pest Types */
    .pest-types .section-heading-blue {
        font-size: 3.4rem;
    }
    .pest-icon-item {
        width: 140px;
    }
    .pest-icon-item img {
        width: 140px;
    }
}


/* =============================================================
   RESPONSIVE — 768px (Tablet Portrait)
   ============================================================= */

@media (max-width: 768px) {

    /* Header */
    .header-logo-link img {
        width: 200px;
    }
    .header-phone {
        font-size: 1.8rem;
    }

    /* Hero */
    .hero {
        min-height: 600px;
    }
    .hero-content {
        padding: 60px 0 64px;
    }
    .hero-content h1 {
        font-size: 3.8rem;
    }
    .hero-eyebrow {
        font-size: 2.2rem;
    }
    .hero-stars img {
        width: 220px;
    }
    .hero-stars-text {
        font-size: 1.8rem;
    }
    .btn-primary {
        font-size: 1.8rem;
        padding: 16px 40px;
    }

    /* How It Works — stack vertically */
    .how-it-works-inner {
        flex-direction: column;
    }
    .how-it-works-left {
        flex: none;
        width: 100%;
        padding: 56px 5%;
    }
    .how-it-works-photo {
        flex: none;
        min-height: unset;
        height: 380px;
    }
    .section-heading-white {
        font-size: 3rem;
    }
    .step-item img {
        width: 80px;
    }
    .step-item p {
        font-size: 1.8rem;
    }

    /* CTA Banner */
    .cta-heading {
        font-size: 2.8rem;
    }
    .cta-offer {
        font-size: 2.2rem;
    }
    .cta-phone {
        font-size: 2.2rem;
    }

    /* Pest Types */
    .pest-types .section-heading-blue {
        font-size: 2.8rem;
    }
    .pest-types .section-intro {
        font-size: 1.8rem;
    }
    .pest-types .subsection-heading {
        font-size: 2.4rem;
    }
    .pest-icons-grid {
        gap: 20px;
    }
    .pest-icon-item {
        width: 130px;
    }
    .pest-icon-item img {
        width: 130px;
    }

    /* Service Plans — stack cards vertically */
    .plans-grid {
        flex-direction: column;
    }
    .plan-card {
        width: 100%;
        margin-bottom: 24px;
    }
    .plan-card:last-child {
        margin-bottom: 0;
    }

    /* Mosquito Intro — stack vertically */
    .mosquito-intro-inner {
        flex-direction: column;
    }
    .mosquito-intro-photo {
        flex: none;
        width: 100%;
    }

    /* Mosquito Details — stack vertically */
    .mosquito-details-grid {
        flex-direction: column;
    }
    .mosquito-col {
        flex: none;
        width: 100%;
    }
}


/* =============================================================
   RESPONSIVE — 480px (Mobile)
   ============================================================= */

@media (max-width: 480px) {

    /* Header */
    .header-logo-link img {
        width: 160px;
    }
    .header-phone {
        font-size: 1.4rem;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }
    .hero-content {
        padding: 48px 0 56px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-eyebrow {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    .hero-stars img {
        width: 180px;
    }
    .hero-stars-text {
        font-size: 1.4rem;
    }
    .btn-primary {
        font-size: 1.6rem;
        padding: 14px 32px;
        display: block;
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
    }

    /* How It Works */
    .how-it-works-left {
        padding: 40px 5%;
    }
    .section-heading-white {
        font-size: 2.6rem;
    }
    .step-item {
        gap: 16px;
    }
    .step-item img {
        width: 64px;
    }
    .step-item p {
        font-size: 1.6rem;
    }
    .how-it-works-photo {
        height: 280px;
    }

    /* CTA Banner */
    .cta-heading {
        font-size: 2.2rem;
    }
    .cta-offer {
        font-size: 1.8rem;
    }
    .cta-phone {
        font-size: 1.8rem;
    }
    .btn-primary-white {
        font-size: 1.6rem;
        padding: 14px 32px;
    }

    /* Pest Types */
    .pest-types .section-heading-blue {
        font-size: 2.4rem;
    }
    .pest-types .section-intro {
        font-size: 1.6rem;
    }
    .pest-types .subsection-heading {
        font-size: 2rem;
    }
    .pest-icons-grid {
        gap: 16px;
    }
    .pest-icon-item {
        width: 100px;
    }
    .pest-icon-item img {
        width: 100px;
    }
    .pest-label {
        font-size: 1.4rem;
    }
}
