/* =====================================================
   CarryMen - Services Page
   Pixel-perfect, production-ready stylesheet
   Stack: Bootstrap 5.3 + Bootstrap Icons + Poppins
   ===================================================== */

:root {
    --cm-orange: #F97316;
    --cm-orange-dark: #EA580C;
    --cm-orange-light: #FFF7F2;
    --cm-border: #F6D9C5;
    --cm-grey: #6B7280;
    --cm-heading: #222222;
    --cm-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    --cm-shadow-hover: 0 20px 45px rgba(0, 0, 0, .10);
    --cm-radius-card: 18px;
    --cm-radius-pricing: 20px;
    --cm-radius-image: 16px;
    --cm-radius-button: 10px;
    --cm-radius-badge: 8px;
}

/* ---------- Section wrapper ---------- */
.cm-services {
    padding: 60px 0 80px;
    background: #ffffff;
    font-family: "Poppins", sans-serif;
    color: var(--cm-heading);
}

.cm-services .container {
    max-width: 1320px;
}

/* ---------- Section header ---------- */
.cm-services-header {
    text-align: center;
    margin-bottom: 50px;
}

.cm-services-title {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--cm-heading);
}

.cm-services-title::before,
.cm-services-title::after {
    content: "";
    width: 60px;
    height: 3px;
    border-radius: 30px;
    background: var(--cm-orange);
    display: inline-block;
}

.cm-services-subtitle {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--cm-grey);
}

/* ---------- Service cards grid ---------- */
.cm-service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.cm-service-col {
    flex: 0 0 auto;
    width: 175px;
}

.cm-service-card {
    position: relative;
    height: 100%;
    min-height: 320px;
    padding: 20px;
    border-radius: var(--cm-radius-card);
    border: 1px solid var(--cm-border);
    background: #ffffff;
    box-shadow: var(--cm-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cm-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cm-shadow-hover);
}

/* ---------- Top icon circle ---------- */
.cm-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cm-orange);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.30);
    border: 4px solid #ffffff;
}

/* ---------- Card image ---------- */
.cm-service-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--cm-radius-image);
    display: block;
    margin-bottom: 14px;
}

/* ---------- Card title ---------- */
.cm-service-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--cm-heading);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Card description ---------- */
.cm-service-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--cm-grey);
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   PRICING SECTION
   ===================================================== */
.cm-pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1110px;
    margin: 0 auto 40px;
}

.cp_service_card{
    padding-bottom:60px;
}

.cm-pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    border-radius: var(--cm-radius-pricing);
    border: 1px solid var(--cm-border);
    background: #fef9f3;
    box-shadow: var(--cm-shadow);
}

/* ---------- Pricing head ---------- */
.cm-pricing-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    height:100px;
}

.cm-pricing-head-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cm-orange-light);
    color: var(--cm-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.cm-pricing-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--cm-orange);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.cm-pricing-head p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    color: var(--cm-grey);
}

/* ---------- Price list ---------- */
.cm-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cm-price-list li {
    display: grid;
    grid-template-columns: 110px 1fr 90px;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid #f1f1f1;
    column-gap: 14px;
}

.cm-price-list li:last-child {
    border-bottom: 0;
}

.cm-price-list li.placeholder {
    visibility: hidden;
}

.cm-duration-badge {
    justify-self: start;
    min-width: 80px;
    padding: 7px 12px;
    border-radius: var(--cm-radius-badge);
    background: var(--cm-orange);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
}

.cm-offer-price {
    justify-self: center;
    color: var(--cm-orange);
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
}

.cm-old-price {
    justify-self: end;
    color: var(--cm-grey);
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

/* ---------- Pricing note ---------- */
.cm-pricing-note {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #f1f1f1;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;
    color: var(--cm-grey);
}

/* =====================================================
   BOTTOM CTA STRIP
   ===================================================== */
.cm-cta {
    max-width: 1110px;
    margin: 0 auto;
    border: 2px solid var(--cm-orange);
    border-radius: var(--cm-radius-pricing);
    background: var(--cm-orange-light);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cm-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cm-cta-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--cm-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.cm-cta h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--cm-orange);
}

.cm-cta p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--cm-heading);
}

.cm-cta-btn {
    min-width: 160px;
    padding: 14px 26px;
    border-radius: var(--cm-radius-button);
    border: 0;
    background: var(--cm-orange);
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.25);
    transition: background 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cm-cta-btn:hover {
    background: var(--cm-orange-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
}

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

/* 768 - 991 : Pricing stacks */
@media (max-width: 991px) {
    .cm-services {
        padding-top: 70px;
    }

    .cm-pricing-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* 576 - 767 : CTA becomes column */
@media (max-width: 767px) {
    .cm-cta {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 22px 22px;
    }

    .cm-cta-btn {
        width: 100%;
    }

    .cm-service-thumb {
        height: 100% !important;
    }
}

/* < 576 : mobile fine-tuning */
@media (max-width: 575px) {
    .cm-services-title {
        gap: 12px;
        font-size: 28px;
    }
    

    .cm-services-title::before,
    .cm-services-title::after {
        width: 36px;
    }

    .cm-pricing-card {
        padding: 22px 18px;
    }

    .cm-price-list {
        padding: 0;
    }

    .cm-price-list li {
        grid-template-columns: 90px 1fr 72px;
    }

    .cm-offer-price,
    .cm-old-price {
        font-size: 17px;
    }
}
