:root {
    --services-bg: #f4efe7;
    --services-surface: #fffefb;
    --services-ink: #1f2933;
    --services-muted: #5d6876;
    --services-accent: #0f8b8d;
    --services-accent-strong: #1b6a89;
    --services-line: rgba(26, 35, 52, 0.14);
    --services-shadow: 0 20px 44px rgba(25, 35, 51, 0.12);
    --services-radius-lg: 28px;
    --services-radius-md: 18px;
    --services-radius-sm: 12px;
}

.services-hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 55px 0;
    margin: 16px 16px 150px;
    border-radius: 16px;
}

.services-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-hero__shell {
    position: relative;
    z-index: 1;
}

.services-hero__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.services-hero__title {
    margin: 0;
    font-family: Manrope;
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
}

.services-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-tabs::-webkit-scrollbar {
    display: none;
}

.services-tab {
    flex-shrink: 0;
    border: 1px solid transparent;
    border-radius: 55px;
    border: 1px solid #D9EAFC;
    padding: 12px 18px;
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #001F48;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    height: 48px;
}

@media (hover: hover) {
    .services-tab:hover,
    .services-tab:focus-visible {
        color: #fff;
        background: linear-gradient(90.64deg, #0B1FA1 1.52%, #1E17E0 98.31%);
        border-color: linear-gradient(90.64deg, #0B1FA1 1.52%, #1E17E0 98.31%);
    }
}
.services-tab.is-active {
    color: #fff;
    background: linear-gradient(90.64deg, #0B1FA1 1.52%, #1E17E0 98.31%);
    border-color: linear-gradient(90.64deg, #0B1FA1 1.52%, #1E17E0 98.31%);
}

.services-region-panel {
    display: none;
}

.services-region-panel.is-active {
    display: block;
}

.services-content,
.services-pricing {
    margin-top: 24px;
}

.services-content__title,
.services-pricing__title {
    margin: 0 0 48px;
    font-family: Arimo;
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    letter-spacing: 0px;
    color: #001F48;
}

.services-content__description,
.services-pricing__description {
    margin: 0 0 24px;
    font-family: Arimo;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #001F48;
}

.services-content__description a,
.services-content__links a {
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #001F48;
}

.services-content__layout {
    margin-top: 28px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.services-cards {
    display: grid;
    gap: 16px;
}

.services-cards--vertical {
    grid-template-columns: 1fr;
    max-width: 423px;
    width: 100%;
}

.services-cards--horizontal {
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-cards--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-cards--pair .service-card {
    max-width: unset;
}

.services-content__layout--cards-only {
    display: block;
}

.service-card {
    position: relative;
    border: 1px solid #F2F8FF;
    backdrop-filter: blur(24px);
    background-color: #FFFFFF;
    min-height: 140px;
    padding: 24px;
    display: flex;
    border-radius: 16px;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    max-width: 423px;
    width: 100%;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    isolation: isolate;
    overflow: hidden;
    gap: 8px;
}

.service-card__subtitle {
    max-width: 229px;
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #001F48;
    margin: 0;
}

.service-card__title {
    margin: 0;
    font-family: Manrope;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #1E17E0;
}

.services-steps {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 25px;
    gap: 24px;
    border-radius: 16px;
    list-style: none;
    backdrop-filter: blur(24px);
    border: 1px solid #F2F8FF;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.services-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.services-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Manrope;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    color: #001F48;
    background-color: #F2F8FF;
}

.services-step__title {
    margin: 0 0 8px;
    font-family: Manrope;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: #001F48;
}

.services-step__text {
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    color: #001F48;
    margin: 0;
}

.services-pricing__card {
    margin-top: 28px;
}

.services-pricing__card + .services-pricing__card {
    margin-top: 20px;
}

.services-pricing__card-title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
}

.services-pricing__country-title {
    margin: 0 0 14px;
    font-family: Manrope;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #001F48;
}

.services-pricing__table-wrap {
    overflow-x: auto;
}

.services-pricing__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 24px 0;
    min-width: 760px;
}

.services-pricing__table th,
.services-pricing__table td {
    padding: 8px;
}

.services-pricing__table th {
    color: #001F48;
    font-family: Manrope;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
}

.services-pricing__table th:not(:first-child) {
    background-color: #F2F8FF;
    border-radius: 16px 16px 0 0;
}

.services-pricing__table tr:last-child td:not(:first-child) {
    border-radius: 0 0 16px 16px;
    border-bottom: none;
}

.services-pricing__table tr:last-child td:not(:first-child)::before {
    display: none;
}

.services-pricing__table tr:last-child td:first-child {
    border-bottom: 1px solid #D9EAFC;
    border-radius: 0 0 16px 16px;
}

.services-pricing__table th:first-child {
    border-left: 1px solid #D9EAFC;
    border-right: 1px solid #D9EAFC;
    border-top: 1px solid #D9EAFC;
    border-radius: 16px 16px 0 0;
}

.services-pricing__table th {
    padding: 32px 8px;
}

.services-pricing__table tr:last-child td {
    padding-bottom: 32px;
}

.services-pricing__col--data {
    text-align: center;
}

.services-pricing__table td {
    font-family: Manrope;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    width: 25%;
    color: #001F48;
    margin: 0 16px;
}

.services-pricing__table td:not(:first-child) {
    text-align: center;
    background-color: #F2F8FF;
    position: relative;
}

.services-pricing__table td:not(:first-child)::before {
    content: '';
    width: calc(100% - 32px);
    height: 1px;
    background-color: #D9EAFC;
    position: absolute;
    bottom: 0;
    right: 16px;
    left: 16px;
}

.services-pricing__table tbody tr td:first-child {
    font-family: Manrope;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: #001F48;
    border-left: 1px solid #D9EAFC;
    border-right: 1px solid #D9EAFC;
    border-bottom: none;
}

/* ─── Tabs bar "Send to" label ───────────────────────────────── */
.services-tabs-bar__shell {
    display: flex;
    align-items: center;
    gap: 20px;
}

.services-tabs-bar__label,
.services-origin-widget__label {
    font-family: Manrope;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: #001F48;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}

.services-tabs-bar__label {
    flex-shrink: 0;
}

.services-origin-widget__label {
    margin: 0 0 16px;
}

/* ─── Page layout (sidebar + tabs + panels) ─────────────────── */
.services-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 24px;
    padding-bottom: 40px;
}

.services-main-content {
    min-width: 0;
}

.services-tabs-bar {
    margin-bottom: 8px;
}

.services-origin-sidebar {
    position: sticky;
    top: 120px;
}

/* ─── Origin selector widget ────────────────────────────────── */
.services-origin-widget {
    background: #FFFFFF;
    border: 1px solid #D9EAFC;
    border-radius: 16px;
    padding: 20px;
}


.services-origin-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.services-origin-item {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: Manrope;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
    color: #001F48;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.services-origin-item[hidden] {
    display: none !important;
}

.services-origin-item:hover {
    background: #F2F8FF;
}

.services-origin-item.is-active {
    background: linear-gradient(90.64deg, #0B1FA1 1.52%, #1E17E0 98.31%);
    color: #FFFFFF;
    font-weight: 700;
}

.services-origin-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #D9EAFC;
    background: #F2F8FF;
    cursor: pointer;
    color: #001F48;
    transition: background 0.15s ease, opacity 0.15s ease;
    padding: 0;
}

.services-origin-nav__btn--prev {
    margin-bottom: 8px;
}

.services-origin-nav__btn--next {
    margin-top: 8px;
}

.services-origin-nav__btn:hover:not(:disabled) {
    background: #D9EAFC;
}

.services-origin-nav__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ─── Origin-based pricing card visibility ───────────────────── */
[data-origin-card="uk"] {
    display: none;
}

[data-origin-card="other"] {
    display: block;
}

.origin--uk [data-origin-card="uk"] {
    display: block;
}

.origin--uk [data-origin-card="other"] {
    display: none;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-layout {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-origin-sidebar {
        position: static;
    }

    .services-origin-widget {
        overflow: hidden;
    }

    .services-origin-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .services-origin-item {
        width: auto;
        padding: 8px 12px;
        font-size: 14px;
    }

    .services-tabs-bar__label,
    .services-origin-widget__label {
        font-size: 16px;
    }
}
