/* ==========================================
   COMPNOW — COMPACT SINGLE-SCREEN HOMEPAGE
   ========================================== */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Header remains above all homepage content */

.site-header {
    position: relative !important;
    top: auto !important;
    margin-bottom: 0 !important;
    z-index: 10 !important;
}

/* Remove excessive homepage spacing */

main {
    padding-top: 0 !important;
}

main > .hero {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 24px 8px !important;
    overflow: visible !important;
}

/* Main heading: one line */

.hero .compnow-restored-heading {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

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

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

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(20px, 2.6vw, 39px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.5px !important;

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

    white-space: nowrap !important;
    text-align: left !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Compact introductory text */

.hero-description {
    margin: 5px 0 10px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

/* Compact buttons */

.hero-buttons {
    margin: 8px 0 !important;
    gap: 10px !important;
}

.hero-buttons .btn {
    min-height: 0 !important;
    padding: 10px 16px !important;
}

/* Compact proof/statistics row */

.hero-proof {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    gap: 12px !important;
}

.hero-proof .proof-item strong {
    font-size: 24px !important;
}

/* Services immediately below the heading */

.services-section {
    margin: 0 !important;
    padding: 8px 20px 10px !important;
    min-height: 0 !important;
}

.services-section .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.services-section .section-heading {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.services-section .section-heading h2 {
    font-size: clamp(21px, 2vw, 30px) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
}

.services-section .section-heading p {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

/* Three main service cards */

.services-grid {
    gap: 10px !important;
    margin: 0 0 10px !important;
}

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

.service-card .service-icon {
    margin: 6px 0 !important;
}

.service-card .service-icon svg {
    width: 32px !important;
    height: 32px !important;
}

.service-card h3 {
    font-size: 17px !important;
    line-height: 1.15 !important;
    margin: 5px 0 !important;
}

.service-card p {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 5px 0 !important;
}

.service-card .card-link {
    font-size: 10px !important;
}

/* Smaller service cards, including Cloud Services */

.services-section .services-secondary,
.services-section .secondary-services,
.services-section .services-grid-secondary {
    gap: 10px !important;
    margin: 0 !important;
}

/* Gold bar directly below Cloud Services */

.service-strip {
    position: relative !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
}

.service-strip .strip-track {
    animation: none !important;
    transform: none !important;
    gap: 18px !important;
}

.service-strip span {
    font-size: 15px !important;
}

/* Hide duplicated ticker entries without removing original content */

.service-strip .strip-track > :nth-child(n+13) {
    display: none !important;
}

/* No unnecessary animations */

.hero *,
.service-strip *,
.service-card {
    animation: none !important;
}

/* Small screens: allow natural scrolling and wrapping */

@media (max-width: 768px) {

    .hero .compnow-restored-heading {
        font-size: clamp(23px, 5vw, 34px) !important;
        white-space: normal !important;
    }

    main > .hero {
        padding: 15px !important;
    }

    .services-section {
        padding: 12px 15px !important;
    }

    .service-strip .strip-track {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}
