/* ===================== SERVICE PAGES (Astrology / Numerology dropdown) ===================== */
/* Mirrors the same conventions already used on the Contact page (.contact-hero,
   .contact-faq) and the homepage Life Problems section (.life-problem-card,
   badge/eyebrow pattern) — same tokens, same shapes, so these pages read as
   part of the same site rather than a new design language. */

.service-wrap {
    padding: 8px 0 40px;
}

/* ---------- Hero ---------- */
.service-hero {
    text-align: center;
    max-width: 680px;
    margin: 8px auto 40px;
}
.service-hero__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(229, 118, 97, 0.12);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.service-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin: 0 0 8px;
}
.service-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: var(--ink);
}
.service-hero__sub {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0;
}

/* ---------- Highlights strip ---------- */
.service-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.service-highlight-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 18px;
    text-align: left;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.service-highlight-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(34, 29, 27, 0.07);
}
.service-highlight-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(229, 118, 97, 0.12);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 12px;
}
.service-highlight-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
    line-height: 1.4;
}

/* ---------- Main layout: content + sidebar ---------- */
.service-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    align-items: start;
}

.service-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 30px 28px;
    margin-bottom: 22px;
}
.service-block h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 14px;
    color: var(--ink);
}
.service-block p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink-soft);
    margin: 0 0 14px;
}
.service-block p:last-child {
    margin-bottom: 0;
}

/* ---------- Numbered process steps ---------- */
.service-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.service-step {
    display: flex;
    gap: 18px;
}
.service-step__no {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--line);
    flex-shrink: 0;
    width: 44px;
}
.service-step__body h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}
.service-step__body p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}

/* ---------- Sidebar ---------- */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.service-cta-card {
    background: linear-gradient(
        150deg,
        rgba(229, 118, 97, 0.1),
        rgba(198, 154, 61, 0.08)
    );
    border: 1px solid rgba(229, 118, 97, 0.25);
    border-radius: 10px;
    padding: 24px 22px;
    text-align: center;
}
.service-cta-card i.service-cta-card__icon {
    font-size: 26px;
    color: var(--brand-primary);
    margin-bottom: 12px;
    display: block;
}
.service-cta-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
}
.service-cta-card p {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 18px;
    line-height: 1.6;
}
.service-cta-card .btn-cta {
    width: 100%;
    margin-bottom: 10px;
}
.service-cta-card .btn-cta:last-child {
    margin-bottom: 0;
}
.service-cta-card .btn-cta--outline {
    background: transparent;
    border: 1.5px solid var(--ink);
    color: var(--ink);
}
.service-cta-card .btn-cta--outline:hover {
    background: var(--ink);
    color: #fff;
}

.service-info-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px;
}
.service-info-block h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--ink);
}
.service-info-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-info-block ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.service-info-block ul li i {
    color: #1c8a53;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---------- Related services ---------- */
.service-related {
    margin-top: 8px;
}
.service-related h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ink);
}
.service-related__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.service-related__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--surface-alt);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.service-related__list a:hover {
    background: var(--brand-primary);
    color: #fff;
}
.service-related__list a i {
    font-size: 11px;
}

/* ---------- FAQ (same shape as Contact page FAQ) ---------- */
.service-faq {
    margin-top: 12px;
}
.service-faq h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--ink);
}
.service-faq__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.service-faq details[open] {
    border-color: var(--brand-primary);
}
.service-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}
.service-faq summary::-webkit-details-marker {
    display: none;
}
.service-faq summary i {
    font-size: 11px;
    color: var(--ink-soft);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.service-faq details[open] summary i {
    transform: rotate(180deg);
    color: var(--brand-primary);
}
.service-faq details p {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-soft);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .service-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-layout {
        grid-template-columns: 1fr;
    }
    .service-hero__title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    #main-content {
        margin: 20px auto;
        padding: 0 16px;
    }
    .service-hero {
        margin-bottom: 28px;
    }
    .service-hero__title {
        font-size: 27px;
    }
    .service-hero__sub {
        font-size: 13.5px;
    }
    .service-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 28px;
    }
    .service-highlight-card {
        padding: 16px 14px;
    }
    .service-block {
        padding: 22px 18px;
    }
    .service-block h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .service-highlights {
        grid-template-columns: 1fr;
    }
    .service-hero__title {
        font-size: 23px;
    }
    .service-hero__icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
    .service-step__no {
        font-size: 22px;
        width: 34px;
    }
}
