/* ==========================================================
   Hero Banner (single service page + archive page)
   ========================================================== */
.svc-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    background-color: #14265c;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 24px 40px;
    box-sizing: border-box;
}
.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 26, 64, 0.82) 0%, rgba(15, 26, 64, 0.55) 100%);
}
.svc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}
.svc-hero-title {
    font-family: 'Mulish', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
}
.svc-hero-breadcrumb {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cfd8f4;
}
.svc-hero-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}
.svc-hero-breadcrumb a:hover { text-decoration: underline; }
.svc-hero-breadcrumb span { color: #9db1e8; }
.svc-hero-breadcrumb svg { width: 13px; height: 13px; stroke: #9db1e8; min-width: 13px; }

@media (max-width: 600px) {
    .svc-hero { min-height: 220px; padding: 40px 16px 30px; }
    .svc-hero-title { font-size: 26px; }
}

/* ==========================================================
   WWH Dynamic Services — Single Service Page Styles
   ========================================================== */

.svc-wrap {
    font-family: 'Mulish', sans-serif;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
    padding: 70px 24px 90px;
    width: 100%;
}
.svc-wrap *, .svc-wrap *::before, .svc-wrap *::after { box-sizing: border-box; }

.svc-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.55fr 0.9fr;
    gap: 56px;
    align-items: start;
}

/* ===== LEFT COLUMN ===== */
.svc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e3ebfd;
    color: #304792;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.svc-title { font-size: 32px; font-weight: 800; color: #14265c; margin: 0 0 16px; }

.svc-rule { width: 60px; height: 4px; background: #304792; border-radius: 4px; margin: 0 0 26px; }

.svc-text { font-size: 15.5px; line-height: 1.85; color: #5a6478; margin: 0 0 20px; }

.svc-media { margin: 30px 0 40px; border-radius: 18px; overflow: hidden; }
.svc-media img { width: 100%; height: 320px; object-fit: cover; display: block; }

.svc-sub { font-size: 21px; font-weight: 800; color: #14265c; margin: 0 0 22px; }

.svc-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    margin-bottom: 40px;
}
.svc-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f7f9fd;
    border-radius: 14px;
    padding: 18px;
}
.svc-feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #304792;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-feature-icon svg { width: 17px; height: 17px; }
.svc-feature p { margin: 0; font-size: 14px; font-weight: 700; color: #2b3350; line-height: 1.5; }

.svc-emergency {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fdeeee;
    border: 1.5px solid #f3cccc;
    border-radius: 16px;
    padding: 22px 26px;
    flex-wrap: wrap;
}
.svc-emergency-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: #d9534f;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-emergency-icon svg { width: 23px; height: 23px; }
.svc-emergency-text { flex: 1; min-width: 200px; }
.svc-emergency-text h4 { margin: 0 0 4px; font-size: 16.5px; font-weight: 800; color: #7a2626; }
.svc-emergency-text p { margin: 0; font-size: 13.5px; color: #8c4a4a; }
.svc-emergency-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d9534f;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    white-space: nowrap;
}
.svc-emergency-call:hover { background: #c0413d; }
.svc-emergency-call svg { width: 16px; height: 16px; }

/* ===== RIGHT SIDEBAR ===== */
.svc-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 26px; }

.svc-side-box {
    background: #ffffff;
    border: 1px solid #eef1fa;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(20, 38, 92, 0.05);
}
.svc-side-box h3 { font-size: 19px; font-weight: 800; color: #14265c; margin: 0 0 8px; }
.svc-side-rule { width: 44px; height: 3px; background: #304792; border-radius: 3px; margin: 0 0 18px; }

.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 10px;
    background: #f7f9fd;
    color: #304792 !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.2s ease, padding-left 0.2s ease;
}
.svc-list a:hover { background: #e3ebfd; padding-left: 20px; }
.svc-list a svg { width: 14px; height: 14px; min-width: 14px; }
.svc-list a.is-active { background: #304792; color: #ffffff !important; }

/* Promo card */
.svc-promo {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(160deg, #14265c 0%, #304792 100%);
}
.svc-promo-content { position: relative; z-index: 2; padding: 26px; color: #ffffff; }
.svc-promo-content h4 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.svc-promo-content p { font-size: 13.5px; line-height: 1.65; color: #d7deef; margin: 0 0 18px; }
.svc-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #304792 !important;
    font-weight: 800;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 9px;
    text-decoration: none !important;
}
.svc-promo-btn svg { width: 14px; height: 14px; }

/* Responsive */
@media (max-width: 940px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-side { position: static; }
    .svc-title { font-size: 27px; }
}
@media (max-width: 560px) {
    .svc-wrap { padding: 50px 16px 70px; }
    .svc-features { grid-template-columns: 1fr; }
    .svc-media img { height: 220px; }
    .svc-emergency { flex-direction: column; align-items: flex-start; }
    .svc-emergency-call { width: 100%; justify-content: center; }
}

/* ==========================================================
   Shared Service Cards (used on homepage shortcode + archive)
   ========================================================== */
.svc-home-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 38, 92, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 38, 92, 0.13);
}
.svc-home-card-media {
    position: relative;
    height: 190px;
    background: #304792;
}
.svc-home-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-home-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #304792 0%, #1c2c5e 100%);
}
.svc-home-card-placeholder svg { width: 42px; height: 42px; opacity: 0.85; }
.svc-home-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.92);
    color: #304792;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 5px 12px;
    border-radius: 999px;
}
.svc-home-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-home-card-body h3 {
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #14265c;
    margin: 0 0 10px;
    line-height: 1.35;
}
.svc-home-card-body p {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #6b7383;
    margin: 0 0 18px;
    flex: 1;
}
.svc-home-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Mulish', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #304792 !important;
    text-decoration: none !important;
    align-self: flex-start;
}
.svc-home-card-link svg { width: 15px; height: 15px; stroke: #304792; transition: transform 0.2s ease; }
.svc-home-card-link:hover svg { transform: translateX(3px); }

/* ==========================================================
   Homepage Section — [wwh_services_home]
   ========================================================== */
.svc-home-wrap {
    font-family: 'Mulish', sans-serif;
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 4px;
}
.svc-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 44px;
}
.svc-home-cta { text-align: center; }
.svc-home-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #304792;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15.5px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}
.svc-home-cta-btn:hover { background: #24356e; }
.svc-home-cta-btn svg { width: 16px; height: 16px; stroke: #ffffff; }

@media (max-width: 900px) {
    .svc-home-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .svc-home-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Services Archive / Listing Page
   ========================================================== */
.svc-arch-wrap {
    font-family: 'Mulish', sans-serif;
    background: #f4f7fd;
    padding: 70px 24px 90px;
}
.svc-arch-inner { max-width: 1180px; margin: 0 auto; }

.svc-arch-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.svc-arch-badge {
    display: inline-flex;
    background: #e3ebfd;
    color: #304792;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.svc-arch-heading { font-size: 34px; font-weight: 800; color: #14265c; margin: 0 0 14px; }
.svc-arch-text { font-size: 15.5px; line-height: 1.75; color: #667089; margin: 0; }

.svc-arch-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}
.svc-filter-pill {
    display: inline-block;
    background: #ffffff;
    color: #304792 !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none !important;
    border: 1.5px solid #e2e7f5;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.svc-filter-pill:hover { border-color: #304792; }
.svc-filter-pill.is-active {
    background: #304792;
    color: #ffffff !important;
    border-color: #304792;
}

.svc-arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 50px;
}

.svc-arch-empty {
    text-align: center;
    font-size: 15px;
    color: #6b7383;
    padding: 40px 0;
}

/* Pagination */
.svc-arch-pagination { display: flex; justify-content: center; }
.svc-arch-pagination ul.page-numbers {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.svc-arch-pagination .page-numbers li { display: flex; }
.svc-arch-pagination .page-numbers a,
.svc-arch-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    background: #ffffff;
    color: #304792;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 1.5px solid #e2e7f5;
}
.svc-arch-pagination .page-numbers a:hover { border-color: #304792; }
.svc-arch-pagination .page-numbers .current {
    background: #304792;
    color: #ffffff;
    border-color: #304792;
}
.svc-arch-pagination .page-numbers.dots {
    background: transparent;
    border: none;
}

@media (max-width: 900px) {
    .svc-arch-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .svc-arch-wrap { padding: 50px 16px 70px; }
    .svc-arch-heading { font-size: 26px; }
    .svc-arch-grid { grid-template-columns: 1fr; }
}
