/* =============================================================
   HOSPITAL CLEANING SYDNEY PAGE
   Scoped only to .hospital-cleaning-page classes
   Uses existing KV Cleaning brand colours only
   Brand: #077CEA
   Dark Blue: #0563C1
   Accent: #FEE766
   Light Blue: #DCF0FF
   Dark: #0A0A1A
   White: #FFFFFF
   Text: #444
   ============================================================= */

/* -------------------------------------------------------------
   PAGE VARIABLES
------------------------------------------------------------- */

.hospital-cleaning-page {
    --hsp-blue: #077CEA;
    --hsp-blue-dark: #0563C1;
    --hsp-yellow: #FEE766;
    --hsp-white: #FFFFFF;
    --hsp-dark: #0A0A1A;
    --hsp-lightblue: #DCF0FF;
    --hsp-border: #d2e0eb;
    --hsp-text: #444444;
    --hsp-radius: 14px;
}

.hospital-cleaning-page h1,
.hospital-cleaning-page h2,
.hospital-cleaning-page h3 {
    margin-top: 0;
    color: var(--hsp-dark);
}

.hospital-cleaning-page h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.hospital-cleaning-page h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.3;
}

.hospital-cleaning-page p {
    margin: 0 0 16px;
    color: var(--hsp-text);
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.hospital-cleaning-page p:last-child {
    margin-bottom: 0;
}

.hospital-cleaning-page a {
    color: var(--hsp-blue);
    text-decoration: none;
}

.hospital-cleaning-page a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------
   LAYOUT PRIMITIVES
------------------------------------------------------------- */

.hsp-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.hsp-section {
    padding: 50px 0;
}

.hsp-bg-white {
    background: var(--hsp-white);
}

.hsp-bg-blue {
    background: var(--hsp-lightblue);
}

.hsp-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--hsp-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    line-height: 1.4;
}

.hsp-centered-heading {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}

.hsp-centered-heading p {
    text-align: center;
}

/* -------------------------------------------------------------
   BUTTONS
------------------------------------------------------------- */

.hsp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border: 2px solid var(--hsp-dark);
    border-radius: 30px;
    color: var(--hsp-dark);
    font-weight: 600;
    font-size: 16px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.hsp-btn-outline:hover {
    background: var(--hsp-dark);
    color: var(--hsp-white);
    transform: translateY(-2px);
    text-decoration: none;
}

.hsp-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    align-items: center;
}

/* -------------------------------------------------------------
   HERO
------------------------------------------------------------- */

.hsp-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 55px;
    align-items: center;
}

.hsp-hero-content h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 18px;
}

.hsp-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--hsp-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    display: block;
}

/* -------------------------------------------------------------
   CONTENT BLOCK
------------------------------------------------------------- */

.hsp-content-block {
    max-width: 950px;
    margin: 0 auto;
}

.hsp-list {
    margin: 18px 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.hsp-content-block .hsp-list {
    grid-template-columns: repeat(2, 1fr);
}

.hsp-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hsp-text);
}

.hsp-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hsp-blue);
}

/* -------------------------------------------------------------
   AREA CARDS (with image on first)
------------------------------------------------------------- */

.hsp-areas-intro {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.hsp-areas-intro p {
    text-align: center;
}

.hsp-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.hsp-area-card {
    padding: 34px 32px;
    border: 1px solid var(--hsp-border);
    border-top: 4px solid var(--hsp-blue);
    border-radius: 12px;
    background: var(--hsp-white);
    box-shadow: 0 6px 22px rgba(10, 10, 26, .05);
}

.hsp-area-card-image {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.hsp-area-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--hsp-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.hsp-area-card h3 {
    color: var(--hsp-blue-dark);
}

/* -------------------------------------------------------------
   SIMPLE CARD GRIDS (environments, why-choose)
------------------------------------------------------------- */

.hsp-cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.hsp-cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hsp-card {
    padding: 30px 28px;
    border: 1px solid var(--hsp-border);
    border-radius: 12px;
    background: var(--hsp-white);
    box-shadow: 0 5px 20px rgba(10, 10, 26, .04);
    transition: .3s ease;
}

.hsp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(7, 124, 234, .10);
    border-color: var(--hsp-blue);
}

.hsp-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.hsp-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* -------------------------------------------------------------
   ROUTINE VS DEEP CLEANING COMPARE
------------------------------------------------------------- */

.hsp-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    max-width: 950px;
    margin: 0 auto;
}

.hsp-compare-card {
    padding: 30px 28px;
    border: 1px solid var(--hsp-border);
    border-radius: 12px;
    background: var(--hsp-white);
}

.hsp-compare-card h3 {
    font-size: 18px;
}

/* -------------------------------------------------------------
   PROCESS STEPS
------------------------------------------------------------- */

.hsp-process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hsp-process-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hsp-process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--hsp-border);
    border-radius: 12px;
    background: var(--hsp-white);
    box-shadow: 0 5px 20px rgba(10, 10, 26, .05);
}

.hsp-process-step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hsp-blue);
    border-radius: 50%;
    color: var(--hsp-blue);
    font-weight: 700;
    font-size: 14px;
}

.hsp-process-step h3 {
    margin-bottom: 6px;
    font-size: 17px;
}
.faq-question,
.faq-answer {
    cursor: pointer;
}

.hsp-process-step p {
    margin-bottom: 0;
    font-size: 14px;
}

.hsp-process-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--hsp-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

/* -------------------------------------------------------------
   FAQ ACCORDION
------------------------------------------------------------- */

.hsp-faq-list {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hsp-faq-item {
    border: 1px solid var(--hsp-border);
    border-radius: 12px;
    background: var(--hsp-white);
    overflow: hidden;
    transition: border-color .3s ease, background-color .3s ease;
}

.hsp-faq-item.is-open {
    border-color: var(--hsp-blue);
}

.hsp-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: var(--hsp-dark);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
}

.hsp-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--hsp-blue);
    border-radius: 50%;
    color: var(--hsp-blue);
    font-size: 20px;
    line-height: 1;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.hsp-faq-item.is-open .hsp-faq-icon {
    transform: rotate(45deg);
    background: var(--hsp-blue);
    color: var(--hsp-white);
}

.hsp-faq-answer {
    height: 0;
    overflow: hidden;
    transition: height .35s ease;
}

.hsp-faq-answer-inner {
    padding: 0 26px 24px;
}

.hsp-faq-answer-inner p {
    margin: 0;
    font-size: 15px;
}

/* -------------------------------------------------------------
   FINAL CTA
------------------------------------------------------------- */

.hsp-final-cta {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: center;
    padding: 55px;
    border-radius: var(--hsp-radius);
    background: var(--hsp-blue);
}

.hsp-final-cta-content h2 {
    color: var(--hsp-white);
}

.hsp-final-cta-content p {
    color: rgba(255, 255, 255, .9);
}

.hsp-final-cta-content .hsp-eyebrow {
    color: rgba(255, 255, 255, .8);
}

.hsp-final-cta-panel {
    padding: 30px;
    border-radius: 12px;
    background: var(--hsp-white);
}

.hsp-final-cta-panel h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.hsp-final-cta-panel p {
    margin-bottom: 20px;
    font-size: 14px;
}

.hsp-cta-phone {
    display: inline-flex;
    flex-direction: column;
    color: var(--hsp-blue);
    font-weight: 700;
    font-size: 17px;
}

.hsp-cta-phone span {
    margin-bottom: 4px;
    color: var(--hsp-text);
    font-size: 12px;
    font-weight: 400;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .hsp-cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hsp-section {
        padding: 60px 0;
    }

    .hsp-hero-grid,
    .hsp-area-card-image,
    .hsp-process-grid,
    .hsp-compare-grid,
    .hsp-final-cta {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hsp-hero-image {
        height: 320px;
    }

    .hsp-process-image img {
        height: 320px;
    }

    .hsp-areas-grid,
    .hsp-cards-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hsp-section {
        padding: 45px 0;
    }

    .hsp-container {
        width: min(100% - 30px, 1200px);
    }

    .hsp-hero-content h1 {
        font-size: 28px;
    }

    .hsp-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hsp-btn-outline {
        text-align: center;
        padding: 14px 20px;
    }

    .hsp-cards-grid-3 {
        grid-template-columns: 1fr;
    }

    .hsp-list,
    .hsp-content-block .hsp-list {
        grid-template-columns: 1fr;
    }

    .hsp-area-card {
        padding: 26px 22px;
    }

    .hsp-process-step {
        grid-template-columns: 40px 1fr;
        padding: 16px;
    }

    .hsp-final-cta {
        padding: 30px 22px;
    }

    .hsp-faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .hsp-faq-answer-inner {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .hsp-hero-content h1 {
        font-size: 24px;
    }

    .hsp-hero-image {
        height: 220px;
    }

    .hsp-process-image img {
        height: 220px;
    }
}

    /* ----- Container & Items ----- */
    .hsp-faq-list {
        max-width: 950px;
        margin: 0 auto;
    }

    .hsp-faq-item {
        margin-bottom: 15px;
        border: 1px solid #d2e0eb;
        border-radius: 12px;
        background: #ffffff;
        overflow: hidden;
        transition: border-color 0.3s ease;
    }

    /* ----- Question button ----- */
    .hsp-faq-question {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 20px 25px;
        border: none;
        background: #ffffff;
        color: #0A0A1A;
        cursor: pointer;
        text-align: left;
        font-family: inherit;
        font-size: 18px;
        font-weight: 600;
        transition: background 0.2s ease;
    }
    .hsp-faq-question:hover {
        background: #f7faff;
    }

    /* ----- Icon (+ / rotated) ----- */
    .hsp-faq-icon {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #077CEA;
        border-radius: 50%;
        color: #077CEA;
        font-size: 24px;
        line-height: 1;
        transition: all 0.3s ease;
    }

    /* ----- Answer (closed by default) ----- */
    .hsp-faq-answer {
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease !important;
    }

    /* ----- Answer content ----- */
    .hsp-faq-answer-inner {
        padding: 0 25px 25px;
    }
    .hsp-faq-answer-inner p {
        margin: 0;
                cursor: pointer;

        color: #444444;
        font-size: 16px;
        line-height: 1.8;
    }

    /* ----- Active (open) state ----- */
    .hsp-faq-item.active {
        border-color: #077CEA;
    }
    .hsp-faq-item.active .hsp-faq-question {
        background: #f7faff;
    }
    .hsp-faq-item.active .hsp-faq-icon {
        transform: rotate(45deg);
        background: #077CEA;
        color: #ffffff;
    }
    .hsp-faq-item.active .hsp-faq-answer {
        max-height: 1000px !important;
    }

    /* ----- Mobile tweaks ----- */
    @media (max-width: 767px) {
        .hsp-faq-question {
            padding: 18px;
            font-size: 16px;
        }
        .hsp-faq-answer-inner {
            padding: 0 18px 20px;
        }
    }
