/* =============================================================
   RESUME SERVICES PAGE — resume-services.css
   Consistent with home.css + all-services.css design system.
   Primary color : #00274D
   Primary text  : #333333
   Accent bg     : #FCFDFF
   ============================================================= */

/* ── CSS Custom Properties (mirrors the site's variables) ── */
:root {
    --primary-color: #00274D;
    --primary-text-color: #333333;
    --shadow-card: 0px 0px 15px 0px #00274D1F;
    --radius-card: 10px;
    --section-px: 3.64%;
    --section-py: 70px 3.64% 35px 3.64%;
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--primary-text-color);
    background-color: #ffffff;
}

/* Reuse site-wide utility classes */
.section-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    color: var(--primary-color);
}

.title {
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
    color: var(--primary-text-color);
    margin-bottom: 0;
}

/* key-point rows – reused from all-services */
.key-point {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.key-point svg { flex-shrink: 0; margin-top: 2px; }
.key-point span {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--primary-text-color);
}
.key-point--no span { color: #6b6b6b; }

/* shared button styles */
.btn-solid, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
}
.btn-solid {
    background-color: var(--primary-color);
    color: #ffffff;
}
.btn-outline {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-card);
}
.btn-solid:hover { background-color: #003d7a; }
.btn-outline:hover { background-color: #f0f5ff; }

/* ── Alternating section backgrounds (odd = #FCFDFF) ── */
section:nth-child(odd)  { background-color: #FCFDFF; }
section:nth-child(even) { background-color: #ffffff; }


/* =============================================================
   1. HERO
============================================================= */
.rs-hero {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.rs-hero .title {
    max-width: 820px;
    font-size: 30px;
    line-height: 38px;
    text-align: center;
}

.rs-hero__sub {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: var(--primary-text-color);
    max-width: 680px;
    margin: 0;
}

.rs-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 6px;
}


/* =============================================================
   2. INTRO (split layout – mirrors manuscript-eng-tab)
============================================================= */
.rs-intro {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    align-items: center;
    gap: 40px;
}

.rs-intro__text {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rs-intro__text .title {
    text-align: left;
    max-width: 560px;
}

.rs-intro__text p {
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    color: var(--primary-text-color);
    margin: 0;
}

.rs-intro__img {
    width: 50%;
}

.rs-intro__img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    max-height: 400px;
}


/* =============================================================
   3. SERVICE CARDS (2-column grid – mirrors manuscript service-card)
============================================================= */
.rs-services {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rs-services__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px 0;
}

.rs-service-card {
    background-color: #ffffff;
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.rs-service-card__number {
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.rs-service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.rs-service-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-text-color);
    margin: 6px 0 0;
}

.rs-service-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--primary-text-color);
    margin: 0;
}

.rs-service-card ul {
    padding-left: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rs-service-card ul li {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--primary-text-color);
}

.rs-service-card__cta {
    margin-top: auto;
    padding-top: 14px;
}

.rs-service-card__cta button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 7px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.rs-service-card__cta button:hover { background-color: #003d7a; }


/* =============================================================
   4. PROCESS STEPS (5-column row – mirrors goals-cards)
============================================================= */
.rs-process {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.rs-process__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.rs-process__header .title {
    max-width: 640px;
    text-align: center;
}

.rs-process__steps {
    width: 100%;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rs-step {
    padding: 20px 16px;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: calc(20% - 16px);
    min-width: 170px;
    text-align: center;
    background-color: #ffffff;
}

.rs-step__icon {
    width: 60px;
    height: 60px;
    background-color: #EEF3F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rs-step h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--primary-text-color);
}

.rs-step span {
    font-size: 12px;
    font-weight: 400;
    color: #666666;
    line-height: 19px;
}


/* =============================================================
   5. WHY MANUSCRIPT ENGINEERING (split layout – mirrors goals-section)
============================================================= */
.rs-why {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    align-items: center;
    gap: 40px;
}

.rs-why__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rs-why__content .title {
    font-size: 26px;
    text-align: left;
    max-width: 540px;
}

.rs-why__content p {
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    color: var(--primary-text-color);
    margin: 0;
}

.rs-why__cards {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rs-why__row {
    display: flex;
    gap: 16px;
}

.rs-why__card {
    flex: 1;
    padding: 16px;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    background-color: #ffffff;
}

.rs-why__card svg { width: 46px; height: 46px; }

.rs-why__card h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.rs-why__card span {
    font-size: 12px;
    font-weight: 400;
    color: #666666;
    line-height: 18px;
}


/* =============================================================
   6. WHO IS / IS NOT FOR (two-column split)
============================================================= */
.rs-fit {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.rs-fit__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 30px;
}

.rs-fit__col:first-child { padding-left: 0; }
.rs-fit__col:last-child  { padding-right: 0; }

.rs-fit__points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rs-fit__divider {
    width: 1px;
    background-color: #E7E7E7;
    align-self: stretch;
    flex-shrink: 0;
}

.rs-fit__note {
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    line-height: 20px;
    font-style: italic;
    margin: 4px 0 0;
}


/* =============================================================
   7. FAQ (accordion)
============================================================= */
.rs-faq {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rs-faq__list {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #E7E7E7;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.rs-faq__item {
    border-bottom: 1px solid #E7E7E7;
    background-color: #ffffff;
}
.rs-faq__item:last-child { border-bottom: none; }

.rs-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-text-color);
    text-align: left;
}
.rs-faq__question:hover { background-color: #f7f9fc; }

.rs-faq__arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.rs-faq__item.open .rs-faq__arrow {
    transform: rotate(180deg);
}

.rs-faq__answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #555555;
}
.rs-faq__item.open .rs-faq__answer { display: block; }


/* =============================================================
   8. CTA / GET IN TOUCH
============================================================= */
.rs-cta {
    width: 100%;
    padding: var(--section-py);
    display: flex;
    justify-content: center;
}

.rs-cta__inner {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.rs-cta__inner .title {
    font-size: 26px;
    line-height: 34px;
    text-align: center;
}

.rs-cta__inner p {
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    color: var(--primary-text-color);
    margin: 0;
}

.rs-cta__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 6px;
}

.rs-cta__actions button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.rs-cta__actions button:hover { background-color: #003d7a; }

.rs-cta__actions a {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: underline;
}


/* =============================================================
   RESPONSIVE — 768px
============================================================= */
@media screen and (max-width: 768px) {

    .rs-hero { padding: 40px 4% 30px; }
    .rs-hero .title { font-size: 22px; line-height: 30px; }
    .rs-hero__sub { font-size: 14px; }

    .rs-intro {
        flex-direction: column;
        padding: 40px 4% 30px;
        gap: 24px;
    }
    .rs-intro__text,
    .rs-intro__img { width: 100%; }
    .rs-intro__img img { max-height: 260px; }
    .rs-intro__text .title { font-size: 22px; }

    .rs-services { padding: 40px 4% 30px; }
    .rs-services__grid { grid-template-columns: 1fr; }
    .rs-service-card h3 { font-size: 18px; }

    .rs-process { padding: 40px 4% 30px; }
    .rs-process__steps { flex-wrap: wrap; }
    .rs-step { width: calc(50% - 16px); }
    .rs-process__header .title { font-size: 22px; }

    .rs-why {
        flex-direction: column;
        padding: 40px 4% 30px;
        gap: 24px;
    }
    .rs-why__content,
    .rs-why__cards { width: 100%; }
    .rs-why__content .title { font-size: 22px; }

    .rs-fit {
        flex-direction: column;
        padding: 40px 4% 30px;
        gap: 30px;
    }
    .rs-fit__divider { width: 100%; height: 1px; align-self: auto; }
    .rs-fit__col { padding: 0; }

    .rs-faq { padding: 40px 4% 30px; }
    .rs-faq__list { max-width: 100%; }
    .rs-faq__question { font-size: 14px; }

    .rs-cta { padding: 40px 4% 30px; }
    .rs-cta__inner .title { font-size: 22px; }
}


/* =============================================================
   RESPONSIVE — 500px
============================================================= */
@media screen and (max-width: 500px) {
    .rs-step { width: 100%; }
    .rs-why__row { flex-direction: column; }
    .rs-hero__ctas { flex-direction: column; align-items: stretch; }
    .btn-solid, .btn-outline { width: 100%; }
    .rs-cta__actions { flex-direction: column; align-items: center; }
    .rs-cta__actions button { width: 100%; max-width: 280px; }
}