/* =============================================================================
   SCHOOL CLEANING — page-specific styles (supplements ece-cleaning.css)
   Mirrors office-cleaning.css pattern: hero background override + the one
   section unique to this page (the "Schools are among the most demanding"
   intro panel that replaces office's stats grid).
   ============================================================================= */

/* -----------------------------------------------------------------------------
   HERO — background image override
   ----------------------------------------------------------------------------- */
.school-hero {
    position: relative;
    min-height: 520px;
    background-image: url('../images/school/crewcare-schools-banner.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.school-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.school-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 60px;
}

/* -----------------------------------------------------------------------------
   INTRO PANEL — "Schools are among the most demanding..."
   Unique to the schools page. Two-column layout: copy left, image right.
   Replaces office's stats grid (no stat cards by design).
   ----------------------------------------------------------------------------- */
.school-intro-section {
    background: #ffffff;
    padding: 80px 0;
}

.school-intro-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.school-intro-content {
    flex: 1 1 55%;
}

.school-intro-image {
    flex: 1 1 45%;
    text-align: right;
}

.school-intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: inline-block;
}

.school-intro-text {
    font-family: Europa, Arial, sans-serif;
    font-size: 18px;
    color: #555555;
    line-height: 1.7;
    margin: 0 0 22px;
}

.school-intro-text:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
   LEAD MAGNET BADGE — visual parity with office's badge
   ----------------------------------------------------------------------------- */
.school-leadmagnet-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 50px;
    padding: 14px 22px;
    margin-top: 22px;
    max-width: 380px;
    width: 100%;
    transform: translateY(-47px);
}

.school-leadmagnet-badge-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.school-leadmagnet-badge span {
    font-family: Europa, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #59595b;
    line-height: 1.4;
}

/* -----------------------------------------------------------------------------
   BLOG / TIPS & NEWS WRAPPER — same padding scale as office-blog-section
   ----------------------------------------------------------------------------- */
.school-blog-section {
    padding: 70px 0;
}

/* =============================================================================
   RESPONSIVE BREAKPOINTS
   Match the breakpoints used elsewhere in the site (991/767/479/320).
   ============================================================================= */

/* Tablet */
@media (max-width: 991px) {
    .school-hero {
        min-height: 450px;
    }

    .school-intro-section {
        padding: 60px 0;
    }

    .school-intro-wrapper {
        gap: 40px;
    }

    .school-intro-text {
        font-size: 17px;
    }

    .school-blog-section {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .school-hero {
        min-height: 400px;
    }

    .school-hero .container {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .school-intro-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .school-intro-image {
        text-align: center;
    }

    .school-leadmagnet-badge {
        padding: 12px 16px;
        gap: 10px;
    }

    .school-blog-section {
        padding: 50px 0;
    }
}

/* Small mobile */
@media (max-width: 479px) {
    .school-intro-section {
        padding: 50px 0;
    }

    .school-intro-text {
        font-size: 16px;
    }

    .school-blog-section {
        padding: 40px 0;
    }
}

/* Very small mobile */
@media (max-width: 320px) {
    .school-blog-section {
        padding: 28px 0;
    }
}
