/* ========================================
   COMPNOW.US — HOMEPAGE SPACE CLEANUP
   ======================================== */

/* Remove unnecessary decorative elements */

.hero-proof,
.hero-visual,
.hero-bottom,
.site-progress,
.ambient,
#networkCanvas {
    display: none !important;
}

/* Remove excessive whitespace above content */

main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

main > .hero {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 8px 20px 10px !important;

    overflow: visible !important;
}

/* Keep the main heading centered */

.hero .compnow-restored-heading {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto 8px !important;
    padding: 0 !important;

    font-size: clamp(22px, 2.6vw, 38px) !important;
    line-height: 1.15 !important;

    text-align: center !important;
    color: #123b70 !important;
    -webkit-text-fill-color: #123b70 !important;
}

/* Center description */

.hero-description {
    max-width: 780px !important;
    margin: 4px auto 10px !important;

    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Center buttons without excessive spacing */

.hero-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    gap: 12px !important;
    margin: 8px auto 4px !important;
    padding: 0 !important;
}

/* SMALLER YELLOW PHONE BUTTON */

.hero-buttons a[href^="tel:"] {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    height: auto !important;
    min-height: 38px !important;

    padding: 9px 16px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    background: #f5bd22 !important;
    color: #123b70 !important;
    -webkit-text-fill-color: #123b70 !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    white-space: nowrap !important;
    border-radius: 5px !important;
}

/* Remove phone icon so number is truly centered */

.hero-buttons a[href^="tel:"] .phone-icon,
.hero-buttons a[href^="tel:"] .btn-arrow {
    display: none !important;
}

/* Make the other hero button proportionate */

.hero-buttons .btn {
    min-height: 38px !important;
    height: auto !important;

    padding: 9px 16px !important;

    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Reduce space before service cards */

.services-section {
    margin-top: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 12px !important;
}

.services-section .section-heading {
    margin-bottom: 12px !important;
}

/* Keep the cards readable */

.services-grid {
    gap: 14px !important;
}

.services-grid .service-card {
    height: auto !important;
    min-height: 0 !important;
    padding: 18px !important;
}

.services-grid .service-card h3 {
    font-size: 19px !important;
    line-height: 1.25 !important;
}

.services-grid .service-card p {
    font-size: 15px !important;
    line-height: 1.45 !important;
}

/* Bottom services bar */

.service-strip {
    margin-top: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Mobile */

@media (max-width: 768px) {
    .hero-buttons {
        flex-wrap: wrap !important;
    }

    .hero .compnow-restored-heading {
        white-space: normal !important;
    }

    .services-grid .service-card {
        padding: 16px !important;
    }
}
