/* residential.css - Cohesive Modern ISP Theme */

/* --- Vertical rhythm ---------------------------------------------------- */
/* Sections were each carrying their own padding (100/140, 60/80, 40/80, 0/0,
   60/60), so nothing lined up and the page read as unrelated blocks stacked
   together. One token drives them all; change it here to retune the whole
   page's breathing room. */
:root {
    --section-pad-y: 80px;
}

@media (max-width: 820px) {
    :root {
        --section-pad-y: 52px;
    }
}

/* --- Page Layout --- */
.plans-wrapper {
    background-color: var(--npt-white);
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* --- Hero Section (Matches Home Page) --- */
.plans-header-content {
    background-color: #141414;
    background: linear-gradient(135deg, #141414 0%, #082e18 100%);
    color: #ffffff;
    padding: 100px 20px 140px;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: -90px;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.plans-header-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #ffffff !important;
}

.plans-header-content p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* --- Availability Embed --- */
.availability-embed-section {
    padding: 60px 20px 80px;
    position: relative;
    z-index: 11;
}

.availability-embed-section .section-title {
    margin-bottom: 16px;
}

.availability-embed-section .section-desc {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    color: #475569;
    font-size: 1.05rem;
}

.availability-embed-frame-wrap {
    max-width: 1100px;
    height: clamp(520px, 72vh, 700px);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(3, 166, 60, 0.08),
                0 8px 16px rgba(0, 0, 0, 0.04);
    margin-top: 0;
}

.availability-embed-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    background: #ffffff;
}

/* --- FAQ CTA --- */
.faq-cta-section {
    padding: 0 20px;
    margin: 60px auto 40px;
    position: relative;
    z-index: 12;
}

.faq-cta-card {
    max-width: 1000px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq-cta-copy h2 {
    margin: 0 0 6px;
    color: var(--npt-black);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.faq-cta-copy p {
    margin: 0;
    color: #475569;
    font-size: 0.98rem;
}

.faq-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--cfn-green) 0%, var(--cfn-dark-green) 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 10px;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(3, 166, 60, 0.3);
}

/* --- Pricing Intro --- */
.pricing-intro {
    margin: 0 auto 30px;
    max-width: 820px;
    padding: 0 20px;
    position: relative;
    text-align: center;
    z-index: 10;
}

.pricing-intro-kicker {
    background: #dcfce7;
    border-radius: 999px;
    color: var(--cfn-dark-green);
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    padding: 7px 14px;
    text-transform: uppercase;
}

.pricing-intro h2 {
    color: var(--npt-black);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    line-height: 1.12;
    margin: 0 0 14px;
}

.pricing-intro p {
    color: #475569;
    font-size: 1.06rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 680px;
}

/* --- Pricing Grid Layout --- */
.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Equal height cards */
    gap: 24px;
    padding: 0 32px;
    max-width: 1320px;
    margin: 0 auto 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

/* --- Pricing Card: clean, conventional ISP layout --- */
.pricing-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    max-width: 340px;
    min-width: 280px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    position: relative;
}

.pricing-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

/* Highlighted plan */
.pricing-box.popular {
    border: 2px solid var(--cfn-green);
    box-shadow: 0 16px 36px rgba(3, 166, 60, 0.15);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--cfn-green);
    color: #ffffff;
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom-left-radius: 12px;
    z-index: 2;
}

.pricing-box-inner {
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.panel-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--npt-black);
    margin: 0 0 16px;
}

.price-wrapper {
    margin-bottom: 0;
}

.price {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--npt-black);
    line-height: 1;
    letter-spacing: -1.5px;
    display: inline-flex;
    align-items: flex-start;
}

.price small {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 4px;
    margin-top: 8px;
    letter-spacing: normal;
}

/* Speed: simple, between two dividers */
.plan-speed {
    margin: 22px 0 24px;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-speed-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cfn-dark-green);
}

.plan-speed-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature checklist */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    color: #475569;
}

.plan-features .cfn-icon {
    color: var(--cfn-green);
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
}

/* CTA */
.sign-up-btn {
    background-color: var(--cfn-green);
    color: #ffffff;
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: auto;
    letter-spacing: 0.3px;
}

.sign-up-btn:hover {
    background-color: var(--cfn-dark-green);
    transform: translateY(-2px);
}

/* --- E-Bill & ACH Auto Pay banner (spans the bottom of a designated card) --- */
.card-autopay-banner {
    /* Negative margins cancel .pricing-box-inner padding (36 28 32) to reach card edges */
    margin: 24px -28px -32px;
    background: #ecfdf3;
    color: var(--cfn-dark-green);
    border-top: 1px solid #bbf7d0;
    padding: 13px 16px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.card-autopay-banner .cfn-icon {
    margin-right: 5px;
}

/* Promotional pricing */
.price-was {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #94a3b8;
    text-decoration: line-through;
    line-height: 1;
    margin-bottom: 4px;
}

.plan-promo-label {
    align-self: center;
    display: inline-block;
    margin-top: 12px;
    background: rgba(3, 166, 60, 0.08);
    color: var(--cfn-green);
    border: 1px solid rgba(3, 166, 60, 0.25);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    backdrop-filter: blur(8px);
}

.pricing-footer-disclosure {
    max-width: 980px;
    margin: 0 auto 1.4rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.78rem;
    line-height: 1.55;
    text-align: left;
}

.pricing-footer-disclosure p {
    margin: 0 0 0.55rem;
}

.pricing-footer-disclosure p:last-child {
    margin-bottom: 0;
}

/* --- Pricing row (desktop) + carousel (mobile) --- */
.pricing-carousel {
    position: relative;
    width: 100%;
}

/* Desktop: all tiers in a single row, growing to fill the width (no squish cap) */
#plans-grid {
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

#plans-grid .pricing-box {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;   /* let cards grow to fill the row instead of capping at 340px */
}

/* Chevron buttons hidden on desktop */
.pricing-nav {
    display: none;
}

@media (max-width: 900px) {
    /* Mobile: horizontal swipe carousel, one tier at a time */
    #plans-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 6px 4px 14px;
        margin-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #plans-grid::-webkit-scrollbar {
        display: none;
    }

    #plans-grid .pricing-box {
        flex: 0 0 84%;
        max-width: 84%;
        min-width: 0;
        margin-bottom: 0;
        scroll-snap-align: center;
    }

    /* Keep natural price order when swiping (old layout forced popular first) */
    #plans-grid .pricing-box.popular {
        order: 0;
    }

    .pricing-nav {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 40;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 50%;
        background: var(--cfn-green);
        color: #ffffff;
        font-size: 1rem;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
        transition: opacity 0.2s ease, background-color 0.2s ease;
    }

    .pricing-nav.prev { left: 2px; }
    .pricing-nav.next { right: 2px; }
    .pricing-nav:active { background: var(--cfn-dark-green); }
    .pricing-nav:disabled { opacity: 0; pointer-events: none; }
}

/* Addons */
.addons-section-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.addon-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    flex: 1 1 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.addon-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.addon-top-bar { height: 6px; width: 100%; }
.addon-content { padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; }
.addon-icon-title { margin-bottom: 15px; color: var(--npt-black); }
.addon-icon-title h3 { font-size: 1.5rem; font-weight: 800; margin: 10px 0 0; }
.addon-icon-title .cfn-icon { font-size: 2rem; margin-bottom: 5px; }
.addon-content p { color: #64748b; margin-bottom: 20px; line-height: 1.5; }
.addon-price-tag { display: flex; align-items: baseline; justify-content: center; margin-bottom: 20px; color: var(--npt-black); }
.addon-price-tag .symbol { font-size: 1.2rem; font-weight: 600; }
.addon-price-tag .val { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); line-height: 1; }
.addon-price-tag .per { font-size: 0.9rem; color: #64748b; font-weight: 600; margin-left: 3px; }
.addon-features-list { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: auto; }
.addon-features-list span { background-color: #f8fafc; padding: 10px 15px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: #334155; display: flex; align-items: center; justify-content: center; gap: 8px; }
.addon-image-wrapper { margin-bottom: 15px; height: 120px; display: flex; align-items: center; justify-content: center; }
.addon-image-wrapper img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 9999; backdrop-filter: blur(4px); justify-content: center; align-items: center; }
.modal-content { background: white; padding: 40px; border-radius: 16px; width: 90%; max-width: 450px; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.25); border-top: 6px solid var(--cfn-green); animation: modalSlideIn 0.3s ease-out; }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.close-modal-btn { position: absolute; top: 15px; right: 20px; border: none; background: none; font-size: 2rem; cursor: pointer; color: #cbd5e1; line-height: 1; }
.close-modal-btn:hover { color: var(--npt-black); }

/* Loading */
.loading-spinner { padding: 80px; text-align: center; }
.spinner { border: 3px solid #f1f5f9; border-top: 3px solid var(--cfn-green); border-radius: 50%; width: 40px; height: 40px; animation: spin 0.8s linear infinite; margin: 0 auto 15px; }
@keyframes spin { to { transform: rotate(360deg); } }

.section-title { text-align: center; font-size: 2.5rem; margin-bottom: var(--spacing-lg); color: var(--npt-black); }

/* Responsive */
@media (max-width: 900px) {
    #plans-pricing.pricing-container {
        display: block;
        margin-top: 20px;
        padding: 0 1rem;
    }

    .availability-embed-frame-wrap {
        height: clamp(520px, 82vh, 780px);
    }

    .faq-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-cta-button {
        width: 100%;
        justify-content: center;
    }

    #plans-grid .pricing-box {
        flex: 0 0 84%;
        width: auto;
        max-width: 84%;
        min-width: 0; /* Override the 300px min-width */
        margin-bottom: 0;
    }

    #plans-grid .pricing-box.popular {
        transform: none;
        order: 0;
        margin-top: 0;
        margin-bottom: 0;
        border: 2px solid var(--cfn-green);
    }

    #plans-grid .pricing-box.popular:hover {
        transform: none;
    }

    .plans-header-content {
        padding: 60px 1rem 40px;
        clip-path: none;
        margin-bottom: 0;
    }

    .plans-header-content h1 {
        font-size: 2.5rem;
    }

    .popular-badge {
        top: 0;
        right: 0;
        border-radius: 0 0 0 16px;
    }

    .addon-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-green-hover);
    border-color: rgba(3, 166, 60, 0.2);
}

.quote-icon {
    font-size: 2rem;
    color: var(--cfn-light-green);
    margin-bottom: 15px;
}

.quote-text {
    font-size: 1.1rem;
    color: #334155;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.quote-author {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.quote-author strong {
    color: var(--npt-black);
    font-weight: 700;
}

.quote-author span {
    color: #64748b;
}

/* --- Timeline Section --- */
.timeline-section {
    padding: 40px 20px 80px;
    background: white;
    border-top: 1px solid #f1f5f9;
}

.timeline-container {
    max-width: 1000px;
    margin: 40px auto 0;
}

/* Progress Bubbles */
.timeline-nav-wrapper {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.timeline-progress-line {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
    border-radius: 2px;
}

/* Using a simple width change JS might be complicated for varying steps,
   so we rely on the bubbles to hide the line underneath */

.timeline-bubbles {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.timeline-step-bubble {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f8fafc;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.timeline-step-bubble.active {
    background: var(--cfn-green);
    border-color: var(--cfn-green);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(3, 166, 60, 0.3);
}

/* Content Area */
.timeline-content-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.nav-arrow {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    padding: 0 20px;
    cursor: pointer;
    transition: color 0.2s;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 5;
}

.nav-arrow:hover {
    color: var(--npt-black);
    background: rgba(0,0,0,0.02);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.step-content-inner {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 20px;
    animation: fadeIn 0.4s ease;
}

.step-image-wrapper {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-badge {
    background: #dcfce7;
    color: var(--cfn-dark-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 15px;
}

.step-text-wrapper h3 {
    font-size: 2rem;
    color: var(--npt-black);
    margin-bottom: 20px;
}

.step-text-wrapper p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 800px) {
    .step-content-inner {
        grid-template-columns: 1fr;
        padding: 30px 10px;
        gap: 20px;
    }

    .timeline-content-card {
        flex-direction: column;
        padding-bottom: 60px; /* Space for arrows */
    }

    .nav-arrow {
        position: absolute;
        bottom: 10px;
        width: 50px;
        height: 50px;
        background: #f8fafc;
        border-radius: 50%;
        justify-content: center;
    }

    .prev-arrow { left: 20px; }
    .next-arrow { right: 20px; }

    .step-image-wrapper {
        height: 200px;
    }

    .timeline-bubbles {
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

.addons-section-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px; /* Increased to fit 3 cards better */
    margin: 40px auto 60px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.addon-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1 1 300px; /* Allows cards to shrink/grow but stay around 300px */
    max-width: 350px; /* Cap size so it doesn't get too wide in 2-col wrap */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.addon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.addon-top-bar { height: 6px; width: 100%; }

.addon-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.addon-icon-title { margin-bottom: 15px; }
.addon-icon-title h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-top: 10px; }
.addon-icon-title .cfn-icon { font-size: 2.25rem; }

.addon-content p { color: #64748b; font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; }

.addon-price-tag { display: flex; align-items: baseline; justify-content: center; margin-bottom: 20px; }
.addon-price-tag .symbol { font-size: 1.25rem; font-weight: 700; color: var(--npt-black); }
.addon-price-tag .val { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); color: var(--npt-black); }
.addon-price-tag .per { font-size: 1rem; color: #94a3b8; font-weight: 600; margin-left: 4px; }

.addon-features-list { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.addon-features-list span {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.addon-image-wrapper { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.addon-image-wrapper img { max-height: 100%; max-width: 150px; object-fit: contain; }

/* Final mobile guardrails */
@media (max-width: 700px) {
    .plans-wrapper {
        padding-bottom: 48px;
    }

    .plans-header-content {
        padding: 46px 16px 42px;
    }

    .plans-header-content h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .pricing-intro {
        margin-top: 24px;
        padding: 0 16px;
    }

    #plans-pricing.pricing-container {
        display: block;
        overflow-x: visible;
        padding: 0 16px;
    }

    .pricing-carousel {
        margin-left: -16px;
        margin-right: -16px;
        overflow: visible;
        padding: 0 16px;
    }

    #plans-grid.pricing-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        grid-template-columns: none;
        justify-content: flex-start;
        margin-bottom: 16px;
        overflow-x: auto;
        padding: 6px 4px 14px;
        scroll-snap-type: x mandatory;
    }

    #plans-grid .pricing-box,
    #plans-grid .pricing-box.popular {
        flex: 0 0 min(88%, 340px);
        max-width: min(88%, 340px);
        min-width: 0;
        width: auto;
        margin: 0;
        scroll-snap-align: center;
        transform: none !important;
    }

    .pricing-box-inner {
        padding: 26px 20px;
    }

    .price {
        font-size: clamp(2.8rem, 15vw, 3.35rem);
    }

    .availability-embed-section,
    .timeline-section,
    .testimonials-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .availability-embed-section {
        padding-top: 42px;
        padding-bottom: 52px;
    }

    .availability-embed-section iframe,
    .availability-embed-frame-wrap {
        min-height: 500px !important;
        height: min(680px, 82vh);
    }

    .faq-cta-card {
        padding: 20px;
    }

    .timeline-container {
        margin-top: 28px;
    }

    .timeline-section {
        padding-top: 34px;
        padding-bottom: 58px;
    }

    .section-title {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
        margin-bottom: 1.75rem;
    }

    .timeline-bubbles {
        justify-content: flex-start;
        gap: 12px;
    }

    .timeline-step-bubble {
        flex: 0 0 48px;
        height: 48px;
        width: 48px;
    }

    .feature-top,
    .feature-title-group,
    .eero-integration {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .feature-metrics {
        grid-template-columns: 1fr !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        padding: 22px;
    }
}

@media (max-width: 420px) {
    #plans-grid .pricing-box,
    #plans-grid .pricing-box.popular {
        flex-basis: 92%;
        max-width: 92%;
    }

    .pricing-nav {
        width: 40px;
        height: 40px;
    }

    .card-autopay-banner {
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: -26px;
    }

    .timeline-content-card {
        min-height: 0;
    }

    .step-content-inner {
        padding-left: 0;
        padding-right: 0;
    }
}

/* --- Mesh Wi-Fi section ------------------------------------------------- */
/* Built from the page's own pieces — .section-title and the green check from
   the plan cards — so it reads as another section of the site rather than a
   widget bolted on. Two-column image/copy split mirrors the Installation
   Process card, which is the page's existing pattern for this shape. */
/* --- Page rhythm -------------------------------------------------------- */
/* Every content section shares one vertical scale so the page reads as a
   continuous document instead of separately-authored blocks. Declared last so
   it wins over the per-section padding these rules replace. */
#availability-check,
#installation-process,
#mesh-wifi,
#customer-reviews,
.faq-cta-section {
    padding-top: var(--section-pad-y);
    padding-bottom: var(--section-pad-y);
}

/* The pricing grid sits directly under the hero and already carries its own
   bottom margin, so it only needs the shared spacing beneath it. */
#plans-pricing {
    margin-bottom: var(--section-pad-y);
}

/* The FAQ strip was the one heading on the page that wasn't a centred section
   title — 24px and left-aligned, which is what made it read as a widget
   dropped on top of the layout rather than part of it. Bring it in line with
   the others while keeping the compact single-row card. */
.faq-cta-section .faq-cta-copy h2 {
    font-size: 1.6rem;
    line-height: 1.25;
}

@media (max-width: 820px) {
    .faq-cta-section .faq-cta-copy h2 {
        font-size: 1.35rem;
    }
}

/* Was an inline style="padding: 60px 20px; background-color: #f8fafc" on the
   <section> in all nine pages, which meant it could never take part in the
   shared rhythm — inline styles outrank the stylesheet. Moved here so it
   follows --section-pad-y like every other section. */
.testimonials-section {
    padding-left: 20px;
    padding-right: 20px;
    background-color: #f8fafc;
}

/* --- Installation timeline, mobile -------------------------------------- */
/* Three things were wrong at phone width:
   1. The active bubble used transform: scale(1.15) inside a container with
      overflow-x: auto. A scaled child gets clipped by its scroll box, so the
      circle rendered as a squared-off blob with colour bleeding past it.
   2. justify-content: flex-start bunched the four bubbles to the left while
      the progress line still spanned 100%, leaving a rail running off the
      right edge to nothing.
   3. min-height: 400px plus 60px of arrow padding left a large empty gap
      under the step text.
   Four 44px bubbles and their gaps fit inside 326px comfortably, so the
   horizontal scroll was never needed in the first place. */
@media (max-width: 900px) {
    .timeline-bubbles {
        overflow: visible;
        justify-content: space-between;
        gap: 6px;
        padding-bottom: 0;
    }

    .timeline-step-bubble {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
        border-width: 2px;
    }

    /* A ring instead of a scale: nothing to clip, and it cannot nudge the row. */
    .timeline-step-bubble.active {
        transform: none;
        box-shadow: 0 0 0 4px rgba(3, 166, 60, 0.18),
                    0 6px 14px rgba(3, 166, 60, 0.28);
    }

    /* Centre the rail on the 44px bubbles rather than the desktop 54px ones. */
    .timeline-progress-line {
        top: 20px;
    }

    .timeline-nav-wrapper {
        margin-bottom: 28px;
    }

    .timeline-content-card {
        min-height: 0;
        padding-bottom: 74px;
    }
}

/* --- Mesh Wi-Fi section ------------------------------------------------- */
/* Built from the page's own pieces — .section-title and the green check from
   the plan cards — so it reads as another section of the site rather than a
   widget bolted on. Two-column image/copy split mirrors the Installation
   Process card, which is the page's existing pattern for this shape. */
.mesh-section {
    padding: var(--section-pad-y) 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.mesh-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.mesh-section .section-title {
    margin-bottom: 44px;
}

.mesh-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 56px;
}

/* The source render sits on a near-white backdrop, so it needs no card or
   border to sit correctly on the white section. */
.mesh-visual {
    margin: 0;
}

.mesh-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.mesh-lede {
    margin: 0 0 26px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.65;
}

.mesh-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.mesh-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.55;
}

.mesh-points .cfn-icon {
    color: var(--cfn-green);
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-top: 0.3em;
}

.mesh-attrib {
    margin: 30px 0 0;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* eero's mark is always set lowercase, so this stays untransformed even though
   the surrounding label is uppercased. */
.eero-wordmark {
    text-transform: lowercase;
    letter-spacing: -0.02em;
    font-size: 1.15rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1;
}

@media (max-width: 900px) {
    .mesh-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 560px;
        margin: 0 auto;
    }

    .mesh-section .section-title {
        margin-bottom: 32px;
    }

    .mesh-attrib {
        justify-content: center;
    }

    .mesh-copy {
        text-align: left;
    }
}
