/* service packages section css start */

/* ==========================================================================
   Section wrapper — teal background
   ========================================================================== */
.service-packages-sec {
    background-color: #b4d8dd; /* teal background from Figma */
    padding: 128px 0 100px;
}

/* ==========================================================================
   Heading row — same flex pattern as our-process
   Figma: page# at x:155, h2 at x:350 (195px offset from content left)
   ========================================================================== */
.service-packages-sec .heading-section {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 40px; /* matches space between subtitle and divider */
}

/* Page number — narrow column, auto-generated by ech_block_index() */
.service-packages-sec .heading-section .heading-number {
    flex: 0 0 195px;
    display: flex;
    flex-direction: column;
    font-size: 1.875rem; /* 30px */
    line-height: 1.2;
    padding-top: 6px;
}

.service-packages-sec .heading-section .heading-number p {
    margin: 0;
    color: var(--black-text);
}

/* "/ 0.5" line is white on the teal background */
.service-packages-sec .heading-section .heading-number p:last-child {
    color: #fafbf8;
}

/* Big heading column */
.service-packages-sec .heading-section .heading-title {
    flex: 1;
}

.service-packages-sec .heading-section .heading-title h2 {
    margin: 0;
    font-size: clamp(52px, 6.25vw, 90px); /* 90px @ 1440px */
    font-weight: 400 !important;           /* "SERVICE" regular weight — override theme bold */
    letter-spacing: -0.05em;
    line-height: 0.9;
    text-transform: uppercase;
    color: #fafbf8;                        /* first word: white */
}

/* "PACKAGES" — dark/black, bold */
.service-packages-sec .heading-section .heading-title h2 strong {
    font-weight: 700 !important;
    color: var(--black-text);
}

/* Sub-title — flush left at page margin, same pattern as our-process */
.service-packages-subtitle {
    margin: 0;
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black-text);
    line-height: 1.2;
    padding: 0;
}

/* ==========================================================================
   Divider line
   Figma: full content width, 1px, dark (~#020f12), at y:334
   ========================================================================== */
.service-packages-divider {
    width: 100%;
    height: 1px;
    background-color: var(--secondary-bg);
    margin: 40px 0 80px;
}

/* ==========================================================================
   Service packages grid — 4 equal columns
   Same column positions as our-process (x: 155, 459, 763, 1067)
   ========================================================================== */
.service-packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* ==========================================================================
   Service card
   ========================================================================== */

/* Badge pill — cream background, monospace font */
.service-card__badge {
    display: inline-block;
    background-color: #fbfbf8;
    padding: 9px 16px;
    margin-bottom: 28px;
}

.service-card__badge span {
    font-size: 0.875rem; /* 14px — monospace runs slightly wider */
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--black-text);
    line-height: 1;
    white-space: nowrap;
}

/* Package name — large bold uppercase */
.service-card__name.h3 {
    margin: 0 0 28px;
    font-size: 1.5rem; /* 24px — matches figma */
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--black-text);
    line-height: 1.1;
}

/* Description — 16px body copy */
.service-card__description {
    margin: 0 0 28px;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    color: var(--black-text);
}

/* Deliverables — smaller 12px text */
.service-card__deliverables {
    margin: 0;
    font-size: 0.75rem; /* 12px */
    line-height: 1.65;
    color: var(--black-text);
}

/* ==========================================================================
   Responsive — Tablet (max 1199px)
   ========================================================================== */
@media screen and (max-width: 1199px) {
    .service-packages-sec {
        padding: 100px 0 80px;
    }
}

/* ==========================================================================
   Responsive — Small tablet (max 991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
    .service-packages-sec {
        padding: 80px 0 60px;
    }

    .service-packages-sec .heading-section .heading-number {
        flex: 0 0 130px;
    }

    .service-packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ==========================================================================
   Responsive — Mobile (max 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .service-packages-sec {
        padding: 60px 0 50px;
    }

    .service-packages-sec .heading-section {
        flex-direction: column;
        gap: 12px;
    }

    .service-packages-sec .heading-section .heading-number {
        flex: none;
    }

    .service-packages-divider {
        margin: 28px 0 48px;

    }

    .service-packages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-card__badge span {
        white-space: normal;
    }
}

/* service packages section css end */
