/* Service banner: content grows naturally with the fields entered in the CMS. */
.service-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(70, 104, 153, .24), transparent 55%),
        linear-gradient(115deg, #071a38 0%, #102e58 68%, #173a63 100%);
    border-bottom: 3px solid #d4a017;
}

.service-hero::before,
.service-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 660px;
    height: 660px;
    border-radius: 50%;
    border: 1px solid rgba(228, 193, 115, .12);
    right: -210px;
    top: -260px;
}

.service-hero::after {
    width: 820px;
    height: 820px;
    right: -290px;
    top: -340px;
}

.service-hero-container {
    padding-top: 26px;
    padding-bottom: clamp(40px, 5vw, 76px);
}

.service-hero-breadcrumb {
    margin-bottom: clamp(30px, 4vw, 56px);
    font-size: .75rem;
    line-height: 1.7;
    color: #d3dceb;
}

.service-hero-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-hero-breadcrumb li {
    overflow-wrap: anywhere;
    min-width: 0;
}

.service-hero-breadcrumb li + li::before {
    content: '/';
    color: #8c9fba;
    padding-right: 10px;
}

.service-hero-breadcrumb a {
    color: #b7c7de;
    text-underline-offset: 4px;
}

.service-hero-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.service-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.service-hero-layout--full {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}

.service-hero-copy,
.service-hero-aside {
    min-width: 0;
}

.service-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #efd394;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .13em;
    line-height: 1.8;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    margin-bottom: 18px;
}

.service-hero-rule {
    width: 28px;
    height: 2px;
    flex-shrink: 0;
    background: #d4a017;
}

.service-hero-category-divider {
    margin: 0 6px;
    color: #8193ad;
}

.service-hero-title {
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.22;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
    text-wrap: balance;
    margin: 0 0 22px;
}

.service-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.service-hero-badge,
.service-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: .75rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.service-hero-badge {
    color: #f6db9c;
    border: 1px solid rgba(228, 193, 115, .32);
    background: rgba(228, 193, 115, .08);
}

.service-hero-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.service-hero-tag {
    color: #dae4f3;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
}

.service-hero-description {
    max-width: 620px;
    color: #c7d5e8;
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
    white-space: pre-line;
    margin: 0;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.service-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 9px;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.6;
    transition: background-color .2s ease, border-color .2s ease;
}

.service-hero-button--primary {
    color: #15263d;
    border: 1px solid #e8c470;
    background: #e8c470;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.service-hero-button--primary:hover {
    color: #15263d;
    border-color: #f4d898;
    background: #f4d898;
}

.service-hero-button--secondary {
    color: #e6edf7;
    border: 1px solid #647a99;
    background: transparent;
}

.service-hero-button--secondary:hover {
    color: #fff;
    border-color: #b8c6da;
    background: rgba(255, 255, 255, .06);
}

.service-hero a:focus-visible {
    outline: 3px solid #f6db9c;
    outline-offset: 5px;
}

.service-hero-aside {
    display: grid;
    gap: 16px;
}

.service-hero-image-wrap {
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.service-hero-image {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: contain;
    border-radius: 8px;
}

.service-hero-summary {
    color: #122c50;
    background: #fff;
    border: 1px solid #e0e7ee;
    border-radius: 18px;
    padding: clamp(22px, 2.5vw, 32px);
    box-shadow: 0 24px 60px rgba(0, 10, 30, .2);
}

.service-hero-summary-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #e6ebf2;
    padding-bottom: 22px;
    margin-bottom: 6px;
}

.service-hero-summary-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #f6f0e4;
    color: #937022;
    border-radius: 12px;
    font-size: 1.2rem;
}

.service-hero-summary-kicker {
    color: #68758a;
    font-size: .625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin: 0 0 5px;
}

.service-hero-summary h2 {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

.service-hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
}

.service-hero-fact {
    padding: 20px 0 4px;
    min-width: 0;
}

.service-hero-fact--wide,
.service-hero-fact:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.service-hero-fact dt {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #647187;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.7;
}

.service-hero-fact dt i {
    color: #8b7442;
    flex-shrink: 0;
}

.service-hero-fact dd {
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    font-weight: 600;
    line-height: 1.5;
    color: #102d55;
    overflow-wrap: anywhere;
    margin: 7px 0 0;
}

@media (max-width: 991.98px) {
    .service-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .service-hero-copy {
        max-width: 740px;
    }

    .service-hero-image {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .service-hero-container {
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-hero-title {
        font-size: clamp(1.85rem, 7.5vw, 2.5rem);
        letter-spacing: -.025em;
    }

    .service-hero-description {
        font-size: .9rem;
    }

    .service-hero-actions {
        flex-direction: column;
    }

    .service-hero-button {
        width: 100%;
    }

    .service-hero-summary {
        padding: 22px;
        border-radius: 14px;
    }

    .service-hero-facts {
        gap: 0 18px;
    }
}

@media (max-width: 359.98px) {
    .service-hero-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-hero-button {
        transition: none;
    }
}
