/* Service pages */
.service {
    padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 7vw, 112px);
    background-color: var(--light);
}

.service__heading {
    margin-bottom: 48px;
}

.service__title {
    margin-top: 0;
    font-size: clamp(32px, 4.5vw, 72px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.service__eyebrow {
    color: #1738a6;
    font-size: 11px;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.service__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: clamp(56px, 7vw, 112px);
}

.service__hero-copy,
.service__hero-visual {
    min-width: 0;
    border-radius: 32px;
}

.service__hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 4vw, 72px);
    background-color: var(--light-bg);
}

.service__hero-copy .service__title {
    max-width: 850px;
    margin-top: 22px;
}

.service__hero-lead {
    max-width: 620px;
    margin-top: 28px;
    color: #414751;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.55;
}

.service__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.service__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border: 1px solid var(--accent);
    border-radius: 10px;
    background-color: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service__button:hover {
    border-color: #102baf;
    background-color: #102baf;
    color: #fff;
}

.service__button--secondary {
    border-color: #c9ceda;
    background-color: #fff;
    color: var(--dark);
}

.service__button--secondary:hover {
    border-color: var(--dark);
    background-color: var(--dark);
    color: #fff;
}

.service__button:focus-visible,
.service__table-wrap:focus-visible {
    outline: 3px solid #1738a6;
    outline-offset: 4px;
}

.service__hero-visual {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background-color: #dce2ed;
}

.service__hero-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.service__hero-caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    max-width: min(320px, calc(100% - 48px));
    padding: 20px 24px;
    border-radius: 20px;
    background-color: #fff;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.service__intro {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px 48px;
    padding: 40px;
    border: 0;
    border-radius: 32px;
    background-color: var(--light-bg);
}

.service__intro-lead {
    max-width: 650px;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
}

.service__intro-text {
    max-width: 650px;
    color: #414751;
    font-size: 16px;
}

.service__steps,
.service__planning,
.service__feature,
.service__assurance {
    margin-bottom: clamp(56px, 6vw, 96px);
}

.service__section-heading {
    margin-bottom: 36px;
}

.service__section-title {
    margin-top: 16px;
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.service__steps-grid {
    gap: 20px;
}

.service__step,
.service__planning-copy,
.service__criteria,
.service__assurance-card,
.service__pricing {
    border: 0;
    border-radius: 32px;
    background-color: var(--light-bg);
}

.service__step {
    min-height: 260px;
    padding: 32px;
}

.service__step-number {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 14px;
    background-color: #dfe6ff;
    color: #1738a6;
    font-size: 14px;
    font-weight: 700;
}

.service__step-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}

.service__step-text,
.service__planning-text,
.service__assurance-text {
    color: #414751;
    font-size: 15px;
    line-height: 1.6;
}

.service__planning {
    align-items: stretch;
}

.service__planning-copy,
.service__criteria,
.service__assurance-card,
.service__pricing {
    padding: 40px;
}

.service__criterion {
    background-color: var(--light);
    color: var(--dark);
    font-size: 15px;
}

.service__feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.service__feature-image {
    min-width: 0;
    min-height: 440px;
    overflow: hidden;
    border-radius: 32px;
    background-color: #dce2ed;
}

.service__feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.service__feature-copy {
    min-width: 0;
    padding: clamp(28px, 4vw, 64px);
    border-radius: 32px;
    background-color: var(--light-bg);
}

.service__feature-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.service__feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background-color: #fff;
    color: var(--dark);
    font-size: 15px;
    line-height: 1.5;
}

.service__feature-list li::before {
    content: '';
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background-color: var(--accent);
}

.service__assurance-card--accent {
    background-color: var(--accent);
}

.service__assurance-card--accent .service__eyebrow,
.service__assurance-card--accent .service__assurance-text {
    color: #fff;
}

.service__assurance-title {
    font-size: 24px;
    font-weight: 500;
}

.service__table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border-color: #dce0e8;
    background-color: var(--light);
    -webkit-overflow-scrolling: touch;
}

.service__table th,
.service__table td {
    border-color: #dce0e8;
}

.service__table thead th {
    background-color: #1738a6;
}

.service__table tbody tr:nth-child(odd) {
    background-color: #f7f8fa;
}

.service__table tbody tr.service__table-group th {
    background-color: #e6ebff;
    color: #1738a6;
    white-space: normal;
}

.service__closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: clamp(56px, 6vw, 96px);
    padding: clamp(28px, 4vw, 64px);
    border-radius: 32px;
    background-color: #102baf;
    color: #fff;
}

.service__closing > div {
    min-width: 0;
    max-width: 850px;
}

.service__closing .service__eyebrow {
    color: #fff;
}

.service__closing-title {
    margin-top: 16px;
    color: #fff;
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.service__closing-text {
    max-width: 640px;
    margin-top: 18px;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.service__closing .service__button {
    flex-shrink: 0;
    border-color: #fff;
    background-color: #fff;
    color: #102baf;
}

.service__closing .service__button:hover {
    border-color: #e6ebff;
    background-color: #e6ebff;
    color: #102baf;
}

.service__closing .service__button:focus-visible {
    outline-color: #fff;
}

@media (max-width: 1024px) {
    .service__hero-visual,
    .service__hero-image {
        min-height: 400px;
    }

    .service__feature-image,
    .service__feature-image img {
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .service__hero,
    .service__feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .service__hero-visual,
    .service__hero-image,
    .service__feature-image,
    .service__feature-image img {
        min-height: 0;
    }

    .service__hero-image,
    .service__feature-image img {
        aspect-ratio: 16 / 10;
    }

    .service__intro {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 28px;
    }

    .service__intro-lead {
        font-size: 22px;
    }

    .service__planning-copy,
    .service__criteria,
    .service__assurance-card,
    .service__pricing {
        padding: 28px;
    }

    .service__closing {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .service__heading {
        margin-bottom: 28px;
    }

    .service__hero,
    .service__feature {
        gap: 12px;
    }

    .service__hero-copy,
    .service__hero-visual,
    .service__feature-image,
    .service__feature-copy,
    .service__closing,
    .service__intro,
    .service__step,
    .service__planning-copy,
    .service__criteria,
    .service__assurance-card,
    .service__pricing {
        border-radius: 20px;
    }

    .service__hero-copy,
    .service__feature-copy,
    .service__closing,
    .service__intro,
    .service__step,
    .service__planning-copy,
    .service__criteria,
    .service__assurance-card,
    .service__pricing {
        padding: 24px 20px;
    }

    .service__hero-actions,
    .service__hero-actions .service__button,
    .service__closing .service__button {
        width: 100%;
    }

    .service__hero-caption {
        position: static;
        max-width: none;
        padding: 16px 20px;
        border-radius: 0;
        font-size: 14px;
    }

    .service__intro-lead {
        font-size: 18px;
    }

    .service__section-heading {
        margin-bottom: 24px;
    }

    .service__step {
        min-height: 0;
    }

    .service__step-number {
        margin-bottom: 20px;
    }

    .service__step-title {
        margin-top: 0;
        font-size: 19px;
    }
}

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