/* =====================================================
   CLEANNORA HOME V2 — SERVICES
   ===================================================== */

.cn-services-section {
    position: relative;
    background: #ffffff;
    padding: 90px 0 100px;
}

.cn-services-section .container {
    max-width: 1200px;
}

/* =====================================================
   SERVICES HEADING
   ===================================================== */

.cn-services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.cn-section-label {
    display: inline-block;
    color: #083D2B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cn-services-heading h2 {
    margin: 0;
    color: #083D2B;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;
}

.cn-services-heading p {
    max-width: 420px;
    margin: 0 0 5px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

/* =====================================================
   CATEGORY FILTERS
   ===================================================== */

.cn-service-filters {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;

    width: fit-content;
    max-width: 100%;

    padding: 6px;

    margin-bottom: 36px;

    background: #f8faf9;
    border: 1px solid #e1e8e5;
    border-radius: 15px;
}

.cn-service-filter {
    appearance: none;
    border: 0;
    background: transparent;

    color: #083D2B;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    padding: 12px 18px;
    border-radius: 10px;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.cn-service-filter:hover {
    background: rgba(8, 61, 43, .07);
}

.cn-service-filter.active {
    background: #F4BF19;
    color: #083D2B;
    box-shadow: 0 5px 14px rgba(244, 191, 25, .18);
}

/* =====================================================
   SERVICES GRID
   ===================================================== */

.cn-services-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

/* =====================================================
   SERVICE CARD
   ===================================================== */

.cn-service-card {
    display: block;

    position: relative;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5ebe8;
    border-radius: 20px;

    text-decoration: none;

    box-shadow: 0 10px 28px rgba(8, 61, 43, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.cn-service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(244, 191, 25, .65);

    box-shadow: 0 20px 42px rgba(8, 61, 43, .13);
}

/* =====================================================
   SERVICE IMAGE
   ===================================================== */

.cn-service-image {
    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: #edf3f0;
}

.cn-service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}

.cn-service-card:hover .cn-service-image img {
    transform: scale(1.045);
}

/* =====================================================
   SERVICE ICON
   ===================================================== */

.cn-service-icon {
    position: absolute;

    left: 18px;
    bottom: -20px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #083D2B;

    color: #F4BF19;

    border: 4px solid #ffffff;
    border-radius: 16px;

    font-size: 22px;

    box-shadow: 0 7px 18px rgba(0, 0, 0, .15);

    z-index: 3;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.cn-service-card:hover .cn-service-icon {
    background: #F4BF19;
    color: #083D2B;
    transform: translateY(-3px);
}

/* =====================================================
   SERVICE CONTENT
   ===================================================== */

.cn-service-content {
    padding: 38px 22px 24px;
}

.cn-service-content h3 {
    margin: 0 0 9px;

    color: #083D2B;

    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
}

.cn-service-content p {
    margin: 0 0 20px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.65;

    min-height: 46px;
}

.cn-service-meta {
    display: flex;
    align-items: baseline;
    gap: 5px;

    padding-top: 16px;

    border-top: 1px solid #e8ecea;
}

.cn-service-meta strong {
    color: #083D2B;

    font-size: 15px;
    font-weight: 800;
}

.cn-service-meta span {
    color: #64748b;

    font-size: 13px;
}

/* =====================================================
   VIEW ALL SERVICES
   ===================================================== */

.cn-services-view-all {
    margin-top: 34px;
}

.cn-services-view-all a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-width: 190px;

    padding: 13px 22px;

    background: #083D2B;
    color: #ffffff;

    border: 2px solid #083D2B;
    border-radius: 11px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.cn-services-view-all a:hover {
    background: #F4BF19;
    color: #083D2B;
    border-color: #F4BF19;

    transform: translateY(-2px);
}

.cn-services-view-all i {
    transition: transform .25s ease;
}

.cn-services-view-all a:hover i {
    transform: translateX(4px);
}

/* =====================================================
   TRUST BENEFITS
   ===================================================== */

.cn-services-benefits {
    padding: 0 0 90px;

    background: #ffffff;
}

.cn-benefits-box {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: #fffdf7;

    border: 1px solid #e8e2d3;
    border-radius: 18px;

    overflow: hidden;
}

.cn-benefit {
    display: flex;
    gap: 15px;

    padding: 28px 24px;

    min-height: 130px;

    border-right: 1px solid #e4e0d6;
}

.cn-benefit:last-child {
    border-right: 0;
}

.cn-benefit > span {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #083D2B;
    color: #F4BF19;

    border-radius: 12px;

    font-size: 18px;
}

.cn-benefit strong {
    display: block;

    margin-bottom: 7px;

    color: #083D2B;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

.cn-benefit small {
    display: block;

    color: #64748b;

    font-size: 13px;
    line-height: 1.6;
}

/* =====================================================
   FINAL CTA
   ===================================================== */

.cn-services-cta {
    padding: 0 0 100px;

    background: #ffffff;
}

.cn-services-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 46px 50px;

    background: #083D2B;

    border-radius: 24px;

    position: relative;
    overflow: hidden;
}

.cn-services-cta-inner::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -90px;
    top: -100px;

    border: 1px solid rgba(244, 191, 25, .25);

    border-radius: 50%;
}

.cn-services-cta-inner > div {
    position: relative;
    z-index: 2;
}

.cn-services-cta-inner > div > span {
    display: block;

    margin-bottom: 9px;

    color: #F4BF19;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cn-services-cta-inner h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

.cn-services-cta-inner h2 strong {
    color: #F4BF19;
}

.cn-services-cta-inner p {
    margin: 0;

    color: rgba(255, 255, 255, .75);

    font-size: 15px;
}

.cn-services-cta-inner > a {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;

    padding: 14px 23px;

    background: #F4BF19;
    color: #083D2B;

    border-radius: 11px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition: transform .25s ease;
}

.cn-services-cta-inner > a:hover {
    transform: translateY(-3px);
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1100px) {

    .cn-services-section {
        padding: 75px 0 85px;
    }

    .cn-services-heading h2 {
        font-size: 42px;
    }

    .cn-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cn-benefits-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .cn-benefit:nth-child(2) {
        border-right: 0;
    }

    .cn-benefit:nth-child(-n+2) {
        border-bottom: 1px solid #e4e0d6;
    }
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .cn-services-section {
        padding: 60px 0 70px;
    }

    .cn-services-heading {
        display: block;

        margin-bottom: 28px;
    }

    .cn-services-heading h2 {
        font-size: 36px;
        letter-spacing: -.5px;
    }

    .cn-services-heading p {
        margin-top: 14px;
        font-size: 15px;
    }

    .cn-service-filters {
        width: 100%;

        overflow-x: auto;
        flex-wrap: nowrap;

        padding: 5px;

        scrollbar-width: none;
    }

    .cn-service-filters::-webkit-scrollbar {
        display: none;
    }

    .cn-service-filter {
        flex: 0 0 auto;

        white-space: nowrap;

        padding: 11px 15px;
        font-size: 13px;
    }

    .cn-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cn-service-image {
        height: 235px;
    }

    .cn-service-content {
        padding: 37px 20px 22px;
    }

    .cn-service-content h3 {
        font-size: 20px;
    }

    .cn-services-benefits {
        padding-bottom: 65px;
    }

    .cn-benefits-box {
        grid-template-columns: 1fr;
    }

    .cn-benefit {
        border-right: 0;
        border-bottom: 1px solid #e4e0d6;
    }

    .cn-benefit:last-child {
        border-bottom: 0;
    }

    .cn-services-cta {
        padding-bottom: 70px;
    }

    .cn-services-cta-inner {
        display: block;

        padding: 35px 25px;
    }

    .cn-services-cta-inner h2 {
        font-size: 29px;
    }

    .cn-services-cta-inner > a {
        margin-top: 25px;
    }
}

/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .cn-services-heading h2 {
        font-size: 31px;
    }

    .cn-service-image {
        height: 215px;
    }

    .cn-service-icon {
        left: 15px;
        width: 54px;
        height: 54px;
    }

    .cn-service-content {
        padding: 35px 18px 20px;
    }

    .cn-benefit {
        padding: 22px 18px;
    }

    .cn-services-cta-inner {
        padding: 30px 20px;
    }
}

/* =====================================================
   FINAL SERVICES POLISH
   ===================================================== */

.cn-services-section {
    padding-top: 70px;
}

.cn-services-heading {
    align-items: center;
}

.cn-services-heading h2 {
    font-size: clamp(36px, 4vw, 48px);
}

.cn-services-heading p {
    max-width: 390px;
}

.cn-service-filters {
    margin-bottom: 30px;
}

.cn-service-card {
    height: 100%;
}

.cn-service-content {
    min-height: 205px;
    display: flex;
    flex-direction: column;
}

.cn-service-meta {
    margin-top: auto;
}

.cn-services-view-all {
    display: flex;
    justify-content: center;
}

/* Better desktop spacing */
@media (min-width: 1201px) {
    .cn-services-section .container {
        max-width: 1250px;
    }

    .cn-services-grid {
        gap: 26px;
    }

    .cn-service-image {
        height: 230px;
    }
}

/* Mobile final polish */
@media (max-width: 768px) {

    .cn-services-section {
        padding-top: 55px;
    }

    .cn-services-heading h2 {
        font-size: 34px;
        line-height: 1.12;
    }

    .cn-services-heading p {
        max-width: 100%;
    }

    .cn-service-card {
        border-radius: 18px;
    }

    .cn-service-image {
        height: 220px;
    }

    .cn-service-content {
        min-height: auto;
    }

    .cn-service-filters {
        margin-bottom: 25px;
    }

    .cn-services-view-all {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {

    .cn-services-section {
        padding-top: 45px;
    }

    .cn-services-heading h2 {
        font-size: 30px;
    }

    .cn-service-image {
        height: 205px;
    }

    .cn-services-view-all a {
        width: 100%;
    }
}

/* =====================================================
   HERO → SERVICES BREATHING SPACE
   ===================================================== */

.cn-services-section {
    padding-top: 60px !important;
}

@media (max-width: 768px) {
    .cn-services-section {
        padding-top: 65px !important;
    }
}

/* =====================================================
   HOMEPAGE SERVICES — REMOVE EXTRA CARD SPACE
   ===================================================== */

.cn-services-grid {
    align-items: start !important;
}

.cn-service-card {
    height: auto !important;
    align-self: start !important;
}

.cn-service-content {
    min-height: 0 !important;
    height: auto !important;
    padding: 16px 22px 18px !important;
}

.cn-service-content p {
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

/* =====================================================
   SERVICE CARDS — EQUAL HEIGHT
   ===================================================== */

.cn-services-grid {
    align-items: stretch !important;
    grid-auto-rows: 1fr !important;
}

.cn-service-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
}

.cn-service-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
}

.cn-service-content p {
    min-height: 46px !important;
    margin-bottom: 5px !important;
}

.cn-service-meta {
    margin-top: auto !important;
}

/* =========================================================
   HERO V2 - FINAL DESKTOP BALANCE
========================================================= */

@media (min-width: 1201px) {

    /* HERO HEADING */
    .hero-v2 .hero-left h1 {
        font-size: 64px !important;
        line-height: 1.04 !important;
        font-weight: 650 !important;
        letter-spacing: -1px !important;
        max-width: 560px !important;
    }

    .hero-v2 .hero-left h1 span {
        font-weight: 650 !important;
    }

    /* HERO GIRL */
    .hero-v2 .hero-right {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding-top: 85px !important;
    }

    .hero-v2 .hero-maid {
        max-height: 570px !important;
        width: auto !important;
        object-fit: contain !important;
        transform: translateY(20px) !important;
    }

}

@media (min-width: 1201px) {

    .hero-v2 .hero-left p {
        font-size: 15.5px !important;
        line-height: 1.65 !important;
        max-width: 500px !important;
    }

}