/* ==========================================================================
   TARIFFS PAGE — DARK PREMIUM THEME
   ========================================================================== */

/* --- Custom Properties -------------------------------------------------- */
body.tariffs-page {
    --tariffs-bg: #08111f;
    --tariffs-panel: rgba(11, 18, 32, 0.74);
    --tariffs-panel-strong: rgba(15, 23, 40, 0.9);
    --tariffs-border: rgba(255, 255, 255, 0.10);
    --tariffs-border-hover: rgba(255, 255, 255, 0.22);
    --tariffs-text: #f6f7fb;
    --tariffs-muted: rgba(232, 238, 251, 0.78);
    --tariffs-soft: rgba(232, 238, 251, 0.52);
    --tariffs-shadow: 0 30px 80px rgba(4, 7, 14, 0.48);
    --tariffs-radius: 24px;
    --tariffs-radius-sm: 16px;
    margin: 0;
    padding: 0;
    color: var(--tariffs-text);
    background:
        radial-gradient(circle at 14% 18%, rgba(222, 97, 141, 0.22), transparent 32%),
        radial-gradient(circle at 88% 0%, rgba(88, 118, 255, 0.24), transparent 28%),
        linear-gradient(180deg, #0b1321 0%, #0d1728 42%, #08111f 100%);
    font-family: 'Roboto';
}

/* --- Decorative Background Blurs ---------------------------------------- */
body.tariffs-page::before,
body.tariffs-page::after {
    content: '';
    position: fixed;
    z-index: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.30;
}

body.tariffs-page::before {
    top: 80px;
    right: -100px;
    background: rgba(255, 126, 161, 0.30);
    animation: tfFloat 14s ease-in-out infinite alternate;
}

body.tariffs-page::after {
    bottom: 40px;
    left: -120px;
    background: rgba(94, 116, 255, 0.26);
    animation: tfFloat 18s ease-in-out infinite alternate-reverse;
}

@keyframes tfFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.08); }
}

/* --- Reveal Animation --------------------------------------------------- */
.tf-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tf-reveal:nth-child(2) { transition-delay: 0.08s; }
.tf-reveal:nth-child(3) { transition-delay: 0.16s; }
.tf-reveal:nth-child(4) { transition-delay: 0.22s; }
.tf-reveal:nth-child(5) { transition-delay: 0.28s; }

/* --- Layout Containers -------------------------------------------------- */
.tariffs-topbar,
.proxy-route-breadcrumbs,
.tariffs-shell {
    position: relative;
    z-index: 1;
}

.tariffs-topbar__inner,
.tariffs-shell,
.tariffs-page .proxy-route-breadcrumbs {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

/* --- Top Bar ------------------------------------------------------------ */
.tariffs-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 14, 26, 0.68);
}

.tariffs-topbar__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

.tariffs-topbar__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.tariffs-topbar__logo {
    height: 45px;
    width: auto;
    display: block;
}

.tariffs-topbar__logo-mark {
    transform-origin: 17px 17px;
}

.tariffs-topbar__logo-diamond {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    will-change: transform, opacity;
}

.tariffs-topbar__logo-diamond rect {
    stroke-width: 1.05px;
    paint-order: fill stroke;
    filter: drop-shadow(0 1px 1px rgba(3, 8, 18, 0.32)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.12));
}

.tariffs-topbar__logo-diamond--top rect {
    stroke: #2758b4;
}

.tariffs-topbar__logo-diamond--left rect {
    stroke: #bb6226;
}

.tariffs-topbar__logo-diamond--right rect {
    stroke: #ab364c;
}

.tariffs-topbar__logo-diamond--bottom rect {
    stroke: #19824e;
}

.tariffs-topbar__logo-diamond--top {
    animation-name: tariffsLogoDiamondTop;
}

.tariffs-topbar__logo-diamond--left {
    animation-name: tariffsLogoDiamondLeft;
}

.tariffs-topbar__logo-diamond--right {
    animation-name: tariffsLogoDiamondRight;
}

.tariffs-topbar__logo-diamond--bottom {
    animation-name: tariffsLogoDiamondBottom;
}

@keyframes tariffsLogoDiamondTop {
    0% {
        transform: translate(0, 9.35px);
        opacity: 0;
    }

    7.042% {
        transform: translate(0, -2.25px);
        opacity: 1;
    }

    13.5%,
    86.5% {
        transform: translate(0, -0.72px);
        opacity: 1;
    }

    92.958% {
        transform: translate(0, -2.25px);
        opacity: 1;
    }

    100% {
        transform: translate(0, 9.35px);
        opacity: 0;
    }
}

@keyframes tariffsLogoDiamondRight {
    0%,
    5.986% {
        transform: translate(-9.35px, 0);
        opacity: 0;
    }

    13.028% {
        transform: translate(2.25px, 0);
        opacity: 1;
    }

    19.5%,
    80.5% {
        transform: translate(0.72px, 0);
        opacity: 1;
    }

    86.972% {
        transform: translate(2.25px, 0);
        opacity: 1;
    }

    94.014%,
    100% {
        transform: translate(-9.35px, 0);
        opacity: 0;
    }
}

@keyframes tariffsLogoDiamondBottom {
    0%,
    11.972% {
        transform: translate(0, -9.35px);
        opacity: 0;
    }

    19.014% {
        transform: translate(0, 2.25px);
        opacity: 1;
    }

    25.5%,
    74.5% {
        transform: translate(0, 0.72px);
        opacity: 1;
    }

    80.986% {
        transform: translate(0, 2.25px);
        opacity: 1;
    }

    88.028%,
    100% {
        transform: translate(0, -9.35px);
        opacity: 0;
    }
}

@keyframes tariffsLogoDiamondLeft {
    0%,
    17.958% {
        transform: translate(9.35px, 0);
        opacity: 0;
    }

    25% {
        transform: translate(-2.25px, 0);
        opacity: 1;
    }

    31.5%,
    68.5% {
        transform: translate(-0.72px, 0);
        opacity: 1;
    }

    75% {
        transform: translate(-2.25px, 0);
        opacity: 1;
    }

    82.042%,
    100% {
        transform: translate(9.35px, 0);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tariffs-topbar__logo-diamond {
        animation: none;
    }
}

.tariffs-topbar__nav-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.tariffs-topbar__right-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.tariffs-topbar__inline-caret {
    font-size: 0.66rem;
    line-height: 1;
    opacity: 0.82;
}

.tariffs-topbar__flag {
    width: 16px;
    height: 11px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    overflow: hidden;
    transform: scale(1.12);
    transform-origin: center;
    margin: 0 1px;
}

.tariffs-topbar__lang-code {
    display: inline;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

.tariffs-topbar .lang-dropdown,
.tariffs-topbar .nav-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tariffs-topbar .lang-dropdown-btn,
.tariffs-topbar .nav-tb-btn,
.tariffs-topbar .nav-hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 0;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #e8edf7;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.tariffs-topbar .lang-dropdown-btn,
.tariffs-topbar .nav-tb-btn {
    font-weight: 600;
}

.tariffs-topbar .nav-hamburger-btn {
    display: none;
    min-width: 0;
    padding: 4px 10px;
    font-size: 20px;
    line-height: 1;
}

.tariffs-topbar .lang-dropdown-btn:hover,
.tariffs-topbar .nav-tb-btn:hover,
.tariffs-topbar .nav-hamburger-btn:hover,
.tariffs-topbar .lang-dropdown-btn[aria-expanded="true"],
.tariffs-topbar .nav-tb-btn[aria-expanded="true"],
.tariffs-topbar .nav-hamburger-btn[aria-expanded="true"] {
    border-color: rgba(130, 177, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 8, 20, 0.24);
}

.tariffs-topbar .nav-tb-btn.is-active,
.tariffs-topbar .nav-tb-btn.is-active:hover,
.tariffs-topbar .lang-dropdown-btn[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(255, 126, 161, 0.18), rgba(130, 177, 255, 0.14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tariffs-topbar .lang-dropdown-menu,
.tariffs-topbar .nav-more-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(12, 19, 33, 0.98), rgba(7, 13, 24, 0.98));
    box-shadow: 0 14px 30px rgba(2, 8, 18, 0.36);
    overflow: hidden;
    z-index: 40;
}

/* The language list must stay above the hamburger panel when both are open. */
#tariffsLangDropdownMenu {
    z-index: 45;
}

.tariffs-topbar .lang-dropdown-menu.open,
.tariffs-topbar .nav-more-menu.open {
    display: block;
}

.tariffs-topbar .lang-dropdown-menu {
    left: auto;
    right: 0;
    transform: none;
    min-width: 180px;
}

.tariffs-topbar .lang-dropdown-item,
.tariffs-topbar .nav-more-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: rgba(232, 237, 247, 0.92);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.tariffs-topbar .lang-dropdown-item:last-child,
.tariffs-topbar .nav-more-item:last-child {
    border-bottom: none;
}

.tariffs-topbar .lang-dropdown-item:hover,
.tariffs-topbar .nav-more-item:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.tariffs-topbar .lang-dropdown-item.active,
.tariffs-topbar .nav-more-item.is-active,
.tariffs-topbar .nav-more-item.is-active:hover {
    background: rgba(130, 177, 255, 0.16);
    color: #ffffff;
    font-weight: 700;
}

.tariffs-topbar .lang-dropdown-item .flag {
    flex-shrink: 0;
}

.tariffs-topbar .nav-more-ip-btn {
    gap: 10px;
    font-weight: 600;
}

.tariffs-topbar .nav-more-ip-btn b {
    color: #ffffff;
    font-weight: 800;
}

.tariffs-topbar .nav-more-label {
    display: block;
    padding: 10px 16px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(199, 210, 224, 0.82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tariffs-topbar .nav-more-label:first-child {
    border-top: none;
}

.tariffs-nav-more-menu--proxies {
    min-width: 220px;
}

.tariffs-nav-more-menu--hamburger {
    left: auto;
    right: 0;
    transform: none;
    min-width: 220px;
}

.tariffs-topbar .nav-hamburger-group-btn,
.tariffs-topbar .nav-ham-proxy-sub-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8edf7;
    cursor: pointer;
    font-family: inherit;
}

.tariffs-topbar .nav-hamburger-group-btn {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
}

.tariffs-topbar .nav-ham-proxy-sub-btn {
    padding: 9px 22px;
    color: rgba(199, 210, 224, 0.88);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tariffs-topbar .nav-hamburger-group-btn:hover,
.tariffs-topbar .nav-ham-proxy-sub-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.tariffs-topbar .nav-hamburger-group-btn .caret,
.tariffs-topbar .nav-ham-proxy-sub-btn .caret {
    transition: transform 0.2s ease;
}

.tariffs-topbar .nav-hamburger-group-btn.is-open .caret,
.tariffs-topbar .nav-ham-proxy-sub-btn.is-open .caret {
    transform: rotate(180deg);
}

.tariffs-topbar .nav-hamburger-submenu,
.tariffs-topbar .nav-ham-proxy-submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 0.02);
    transition: max-height 0.28s ease, opacity 0.2s ease;
}

.tariffs-topbar .nav-hamburger-submenu.open,
.tariffs-topbar .nav-ham-proxy-submenu.open {
    opacity: 1;
}

.tariffs-topbar .nav-hamburger-submenu.open {
    max-height: 560px;
}

.tariffs-topbar .nav-ham-proxy-submenu.open {
    max-height: 380px;
}

.tariffs-topbar .nav-hamburger-submenu .nav-more-item {
    padding-left: 22px;
}

.tariffs-topbar .nav-ham-proxy-submenu .nav-more-item {
    padding-left: 30px;
}

/* --- Shared Pill / Button Transition ------------------------------------ */
.tariffs-button,
.tariffs-link-card,
.tariffs-service-card {
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

/* --- Breadcrumbs Override ----------------------------------------------- */
.tariffs-page .proxy-route-breadcrumbs {
    margin-top: 16px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
}

.tariffs-page .proxy-route-breadcrumbs__link,
.tariffs-page .proxy-route-breadcrumbs__current,
.tariffs-page .proxy-route-breadcrumbs__label,
.tariffs-page .proxy-route-breadcrumbs__sep,
.tariffs-page .proxy-route-breadcrumbs__icon {
    color: var(--tariffs-muted);
}

.tariffs-page .proxy-route-breadcrumbs__link:hover,
.tariffs-page .proxy-route-breadcrumbs__link:hover .proxy-route-breadcrumbs__label,
.tariffs-page .proxy-route-breadcrumbs__link:hover .proxy-route-breadcrumbs__icon {
    color: #fff;
}

/* --- Shell & Stage ------------------------------------------------------ */
.tariffs-shell {
    padding: 22px 0 84px;
}

.tariffs-stage {
    display: grid;
    gap: 32px;
}

/* --- Shared Card Base --------------------------------------------------- */
.tariffs-hero-card,
.tariffs-panel,
.tariff-card,
.tariffs-link-card,
.tariffs-service-card {
    border: 1px solid var(--tariffs-border);
    background: var(--tariffs-panel);
    box-shadow: var(--tariffs-shadow);
}

/* ==========================================================================
   HERO CARD
   ========================================================================== */
.tariffs-hero-card {
    position: relative;
    overflow: hidden;
    padding: 36px 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(18, 34, 66, 0.96), rgba(92, 28, 55, 0.90));
}

.tariffs-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    pointer-events: none;
}

.tariffs-hero-card::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent);
    pointer-events: none;
    animation: tfPulse 6s ease-in-out infinite;
}

@keyframes tfPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.08); }
}

.tariffs-hero__intro {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.tariffs-hero__eyebrow--left {
    justify-content: flex-start;
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
}

/* --- Hero Decorative SVGs ----------------------------------------------- */
.tariffs-hero__deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.tariffs-hero__svg {
    position: absolute;
    opacity: 0.5;
}

.tariffs-hero__svg--circles {
    top: -60px;
    right: -80px;
    width: 380px;
    height: 380px;
    animation: tfSpinSlow 60s linear infinite;
}

.tariffs-hero__svg--grid {
    bottom: -30px;
    left: -40px;
    width: 220px;
    height: 220px;
    opacity: 0.3;
}

@keyframes tfSpinSlow {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Hero Highlights (pills) -------------------------------------------- */
.tariffs-hero__highlights {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 28px;
    padding: 10px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at top center, rgba(130, 177, 255, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(5, 11, 23, 0.86), rgba(14, 24, 42, 0.8));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 58px rgba(4, 7, 14, 0.34);
}

.tariffs-hero__pill {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    background: transparent;
    color: var(--tariffs-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.tariffs-hero__pill::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.tariffs-hero__pill:first-child::before {
    display: none;
}

.tariffs-hero__pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 126, 161, 0.22), rgba(88, 118, 255, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tariffs-hero__pill-icon svg {
    stroke: rgba(255, 255, 255, 0.88);
}

/* --- Hero Actions (centered) -------------------------------------------- */
.tariffs-hero__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

/* --- Eyebrow / Badge ---------------------------------------------------- */
.tariffs-hero__eyebrow,
.tariff-card__badge,
.tariff-card__popular,
.tariffs-section__eyebrow,
.tariffs-panel__eyebrow,
.tariffs-spotlight__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tariffs-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.tariffs-hero__icon svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
}

/* --- Headings ----------------------------------------------------------- */
.tariffs-hero-card h1,
.tariffs-section__head h2,
.tariffs-panel h2,
.tariff-card__head h3 {
    margin: 0;
    color: #fff;
    line-height: 1.08;
}

.tariffs-hero-card h1 {
    width: min(100%, 860px);
    max-width: 860px;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    letter-spacing: -0.03em;
}

/* --- Body Text ---------------------------------------------------------- */
.tariffs-hero__lead,
.tariffs-section__lead,
.tariffs-panel p {
    color: var(--tariffs-muted);
    line-height: 1.7;
}

.tariffs-hero__lead {
    width: min(100%, 760px);
    max-width: 760px;
    margin: 16px auto 0;
    font-size: 1.04rem;
}

.tariffs-hero__snapshot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    width: min(100%, 880px);
    margin: 22px auto 0;
    padding: 20px 22px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at top left, rgba(94, 240, 196, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(5, 12, 25, 0.62), rgba(255, 255, 255, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 48px rgba(4, 7, 14, 0.32);
}

.tariffs-hero__snapshot-total {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: min(280px, 100%);
    text-align: left;
}

.tariffs-hero__snapshot-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tariffs-hero__snapshot-number {
    color: #fff;
    font-size: clamp(2.3rem, 6vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.tariffs-hero__snapshot-caption {
    color: #9ae9c7;
    font-size: 1rem;
    font-weight: 700;
}

.tariffs-hero__snapshot-breakdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tariffs-hero__snapshot-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    min-width: 96px;
    padding: 11px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.74);
    text-align: left;
}

.tariffs-hero__snapshot-chip b {
    color: #fff;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
}

.tariffs-hero__snapshot-chip span {
    color: #82b1ff;
    font-size: 1rem;
    font-weight: 700;
}

/* --- Check Lists -------------------------------------------------------- */
.tariff-card__list,
.tariffs-panel__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tariff-card__list li,
.tariffs-panel__list li {
    position: relative;
    padding-left: 20px;
    color: var(--tariffs-muted);
    line-height: 1.6;
    font-size: 0.94rem;
}

.tariff-card__list li::before,
.tariffs-panel__list li::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff, #f1d7e2);
    transform: translateY(-50%);
}

.tariffs-hero__pill-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tariffs-hero__pill-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.tariffs-hero__pill-text {
    color: rgba(223, 231, 242, 0.72);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* --- Tariff card actions ------------------------------------------------ */
.tariff-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Buttons ------------------------------------------------------------ */
.tariffs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.tariffs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(5, 9, 18, 0.36);
}

.tariffs-button--primary {
    background: linear-gradient(135deg, #ffffff, #f2d7e1);
    color: #172540;
    box-shadow: 0 12px 30px rgba(8, 14, 27, 0.22);
}

.tariffs-button--primary:hover {
    background: linear-gradient(135deg, #ffffff, #fce4ec);
}

.tariffs-button--secondary,
.tariffs-button--ghost {
    color: rgba(255, 255, 255, 0.92);
}

.tariffs-button--secondary {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.16);
}

.tariffs-button--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
}

.tariffs-button--secondary:hover,
.tariffs-button--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
}

/* --- Glow Button -------------------------------------------------------- */
.tariffs-button--glow {
    position: relative;
    min-height: 52px;
    padding: 0 28px;
    font-size: 1rem;
    background: linear-gradient(135deg, #ffffff, #f2d7e1);
    color: #172540;
    box-shadow: 0 0 24px rgba(255, 126, 161, 0.30), 0 12px 30px rgba(8, 14, 27, 0.22);
    overflow: hidden;
}

.tariffs-button--glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.60) 50%, transparent 100%);
    animation: tfShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes tfShimmer {
    0%   { left: -100%; }
    50%  { left: 140%; }
    100% { left: 140%; }
}

.tariffs-button--glow:hover {
    box-shadow: 0 0 32px rgba(255, 126, 161, 0.45), 0 16px 36px rgba(5, 9, 18, 0.36);
    background: linear-gradient(135deg, #ffffff, #fce4ec);
}

/* ==========================================================================
   PAYMENT MODAL
   ========================================================================== */
.tf-pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 7, 14, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.tf-pay-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.tf-pay-card {
    position: relative;
    width: min(640px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 32px 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(18, 28, 52, 0.96), rgba(12, 18, 34, 0.98));
    box-shadow: 0 28px 70px rgba(4, 7, 14, 0.6), 0 0 80px rgba(88, 118, 255, 0.12);
    overflow: hidden auto;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.tf-pay-overlay.is-open .tf-pay-card {
    transform: translateY(0) scale(1);
}

.tf-pay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tf-pay-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.tf-pay-header {
    text-align: left;
    margin-bottom: 24px;
}

.tf-pay-header__row {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.tf-pay-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(88, 118, 255, 0.22), rgba(255, 126, 161, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.tf-pay-header__spacer {
    width: 64px;
    height: 64px;
}

.tf-pay-header__icon svg {
    stroke: rgba(255, 255, 255, 0.88);
}

.tf-pay-header__title {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tf-pay-header__duration {
    margin: 0;
    text-align: center;
    color: var(--tariffs-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.tf-pay-terms {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
}

.tf-pay-terms__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tf-pay-terms__title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.tf-pay-terms__link {
    color: #82b1ff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.tf-pay-terms__link:hover {
    color: #a8ccff;
}

.tf-pay-terms__box {
    margin-top: 14px;
    max-height: 220px;
    overflow: auto;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 9, 18, 0.42);
    scrollbar-color: rgba(130, 177, 255, 0.5) rgba(255, 255, 255, 0.04);
}

.tf-pay-terms__box::-webkit-scrollbar {
    width: 8px;
}

.tf-pay-terms__box::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(130, 177, 255, 0.44);
}

.tf-pay-terms__box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.tf-pay-terms__box :where(h1, h2, h3, h4) {
    margin: 0 0 10px;
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.35;
}

.tf-pay-terms__box :where(p, li) {
    color: rgba(223, 231, 242, 0.76);
    font-size: 0.84rem;
    line-height: 1.58;
}

.tf-pay-terms__box :where(ul, ol) {
    margin: 0 0 12px 18px;
    padding: 0;
}

.tf-pay-terms__box :where(a) {
    color: #82b1ff;
}

.tf-pay-terms__box .anclink-list {
    margin: 0 0 12px 18px;
    padding: 0;
}

.tf-pay-terms__box .anclink-list li {
    margin: 0 0 6px;
}

.tf-pay-terms__box .anclink-list li:last-child {
    margin-bottom: 0;
}

.tf-pay-terms__box .anclink-list li a,
.tf-pay-terms__box a.anclink {
    color: #82b1ff;
    text-decoration: underline;
    text-decoration-thickness: 1.2px;
    text-underline-offset: 0.12em;
}

.tf-pay-terms__box .anclink-list li a:hover,
.tf-pay-terms__box a.anclink:hover {
    color: #a8ccff;
}

.tf-pay-terms__status {
    margin: 0;
    color: rgba(223, 231, 242, 0.7);
    font-size: 0.84rem;
}

.tf-pay-terms__status.is-error {
    color: #ffb4c4;
}

.tf-pay-terms__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    color: var(--tariffs-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.tf-pay-terms__check input {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #82b1ff;
}

.tf-pay-options {
    display: grid;
    gap: 12px;
}

.tf-pay-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: var(--tariffs-text);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.tf-pay-option:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 32px rgba(4, 7, 14, 0.36);
}

.tf-pay-option:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    box-shadow: none;
}

.tf-pay-option:disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.tf-pay-option__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-pay-option__icon--own {
    background: linear-gradient(135deg, rgba(88, 118, 255, 0.22), rgba(94, 240, 196, 0.18));
}

.tf-pay-option__icon--digi {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.22), rgba(255, 126, 161, 0.18));
}

.tf-pay-option__icon svg {
    stroke: rgba(255, 255, 255, 0.82);
}

.tf-pay-option__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.tf-pay-option__title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff;
}

.tf-pay-option__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tf-pay-badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--tariffs-soft);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.tf-pay-option__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.tf-pay-option__arrow svg {
    stroke: rgba(255, 255, 255, 0.7);
}

.tf-pay-option:hover .tf-pay-option__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.tariffs-services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.tariffs-service-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 18px;
    border-radius: var(--tariffs-radius);
    text-decoration: none;
    color: var(--tariffs-text);
    position: relative;
    overflow: hidden;
}

.tariffs-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--svc-accent, #fff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tariffs-service-card:hover::before {
    opacity: 1;
}

.tariffs-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--tariffs-border-hover);
    box-shadow: 0 24px 48px rgba(4, 7, 14, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tariffs-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.tariffs-service-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--svc-accent, #fff);
    fill: none;
}

.tariffs-service-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tariffs-service-card__title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.tariffs-service-card__meta {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: rgba(223, 231, 242, 0.72);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
}

.tariffs-service-card__meta-value {
    color: var(--svc-accent, #fff);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.tariffs-service-card__desc {
    font-size: 0.82rem;
    color: var(--tariffs-soft);
    line-height: 1.55;
}

.tariffs-service-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    align-self: flex-end;
}

.tariffs-service-card__arrow svg {
    stroke: var(--svc-accent, #fff);
}

.tariffs-service-card:hover .tariffs-service-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.tariffs-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.tariffs-section__head h2 {
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}

.tariffs-section__lead {
    max-width: 460px;
    margin: 0;
    font-size: 0.94rem;
}

/* ==========================================================================
   TARIFF PLAN CARDS
   ========================================================================== */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tariff-card {
    --tariff-accent-rgb: 96, 165, 250;
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: var(--tariffs-radius);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-6px);
    border-color: var(--tariffs-border-hover);
    box-shadow: 0 32px 64px rgba(4, 7, 14, 0.5);
}

.tariff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    pointer-events: none;
}

.tariff-card--scarlet::before { background: linear-gradient(90deg, #e11d48, transparent); }
.tariff-card--emerald::before { background: linear-gradient(90deg, #10b981, transparent); }
.tariff-card--amber::before   { background: linear-gradient(90deg, #f59e0b, transparent); }
.tariff-card--azure::before   { background: linear-gradient(90deg, #60a5fa, transparent); }

.tariff-card--scarlet { --tariff-accent-rgb: 242, 83, 32; }
.tariff-card--emerald { --tariff-accent-rgb: 0, 176, 155; }
.tariff-card--amber   { --tariff-accent-rgb: 242, 153, 74; }
.tariff-card--azure   { --tariff-accent-rgb: 28, 146, 210; }

.tariff-card::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -56px;
    height: 116px;
    border-radius: 999px;
    background: radial-gradient(
        ellipse at center top,
        rgba(var(--tariff-accent-rgb), 0.26) 0%,
        rgba(var(--tariff-accent-rgb), 0.14) 36%,
        rgba(var(--tariff-accent-rgb), 0.05) 62%,
        rgba(var(--tariff-accent-rgb), 0) 100%
    );
    opacity: 0.46;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tariff-card:hover::after {
    opacity: 0.58;
    transform: translateY(-3px);
}

/* --- Featured Card ------------------------------------------------------ */
.tariff-card--featured {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 30px 70px rgba(16, 185, 129, 0.12), var(--tariffs-shadow);
}

.tariff-card__popular {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
    padding: 5px 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.72rem;
    border: none;
}

.tariff-card__badge {
    margin-bottom: 14px;
}

.tariff-card__head {
    position: relative;
    z-index: 1;
}

.tariff-card__head h3 {
    font-size: 1.4rem;
}

.tariff-card__price {
    margin: 14px 0 4px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
}

.tariff-card__price-rub,
.tariff-card__per-day {
    margin: 0;
    color: var(--tariffs-soft);
    font-size: 0.88rem;
}

.tariff-card__per-day {
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.tariff-card__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.tariff-card__actions {
    position: relative;
    z-index: 1;
    margin-top: 22px;
}

.tariff-card__letter {
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    pointer-events: none;
    font-size: clamp(5.8rem, 9vw, 8.2rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.08em;
    opacity: 0.16;
    transform: rotate(-10deg);
    transition: opacity 0.3s ease, filter 0.3s ease, text-shadow 0.3s ease;
}

.tariff-card__letter-bottom {
    position: absolute;
    right: 18px;
    bottom: -0.75em;
    z-index: 0;
    pointer-events: none;
    font-size: clamp(7.1rem, 10vw, 9.6rem);
    line-height: 0.84;
    font-weight: 900;
    letter-spacing: -0.08em;
    opacity: 0.14;
    transform: rotate(0deg);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.tariff-card--scarlet .tariff-card__letter { color: #f25320; }
.tariff-card--emerald .tariff-card__letter { color: #00b09b; }
.tariff-card--amber .tariff-card__letter { color: #f2994a; }
.tariff-card--azure .tariff-card__letter { color: #1c92d2; }

.tariff-card--scarlet .tariff-card__letter-bottom { color: #f25320; }
.tariff-card--emerald .tariff-card__letter-bottom { color: #00b09b; }
.tariff-card--amber .tariff-card__letter-bottom { color: #f2994a; }
.tariff-card--azure .tariff-card__letter-bottom { color: #1c92d2; }

.tariff-card__letter.is-flashing {
    animation: tariffGoodLetterFlash 1.2s ease-out 1;
}

@keyframes tariffGoodLetterFlash {
    0% {
        opacity: 0.16;
        filter: brightness(1);
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    38% {
        opacity: 0.92;
        filter: brightness(1.3);
        text-shadow: 0 0 18px rgba(255, 255, 255, 0.75), 0 0 34px rgba(255, 255, 255, 0.4);
    }
    100% {
        opacity: 0.16;
        filter: brightness(1);
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ==========================================================================
   DETAIL PANELS
   ========================================================================== */
.tariffs-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tariffs-panel {
    position: relative;
    overflow: hidden;
    padding: 28px 24px;
    border-radius: var(--tariffs-radius);
}

.tariffs-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tariffs-panel__icon svg {
    stroke: rgba(255, 255, 255, 0.82);
}

.tariffs-panel__eyebrow,
.tariffs-section__eyebrow,
.tariffs-spotlight__label {
    margin-bottom: 12px;
}

.tariffs-panel h2 {
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.tariffs-panel p {
    margin: 0 0 12px;
    color: var(--tariffs-muted);
    line-height: 1.7;
    font-size: 0.94rem;
}

.tariffs-panel__list {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.tariffs-faq-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.tariffs-faq-list dt {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.tariffs-faq-list dd {
    margin: -4px 0 0;
    color: var(--tariffs-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.tariffs-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tariffs-how-step {
    padding: 28px 22px;
    border-radius: var(--tariffs-radius);
    border: 1px solid var(--tariffs-border);
    background: var(--tariffs-panel);
    position: relative;
}

.tariffs-how-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.tariffs-how-step h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.tariffs-how-step p {
    margin: 0;
    color: var(--tariffs-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ==========================================================================
   LINK CARDS
   ========================================================================== */
.tariffs-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tariffs-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 80px;
    padding: 18px 20px;
    border-radius: 20px;
    color: var(--tariffs-text);
    text-decoration: none;
    box-sizing: border-box;
}

.tariffs-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--tariffs-border-hover);
    box-shadow: 0 20px 40px rgba(5, 9, 18, 0.36);
}

.tariffs-link-card__title {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.4;
}

.tariffs-link-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.24s ease, background-color 0.24s ease;
}

.tariffs-link-card__icon svg {
    stroke: rgba(255, 255, 255, 0.8);
}

.tariffs-link-card:hover .tariffs-link-card__icon {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   PAGE LOADER DARK OVERRIDES
   ========================================================================== */
.tariffs-page .site-loader-overlay {
    background:
        radial-gradient(circle at top left, rgba(222, 97, 141, 0.18), transparent 38%),
        radial-gradient(circle at bottom right, rgba(88, 118, 255, 0.22), transparent 42%),
        linear-gradient(180deg, #0b1321 0%, #0d1728 45%, #08111f 100%);
}

.tariffs-page .site-loader-card {
    background: rgba(15, 23, 40, 0.82);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(4, 7, 14, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tariffs-page .site-loader-card::before {
    background: radial-gradient(circle, rgba(222, 97, 141, 0.18), transparent 68%);
}

.tariffs-page .site-loader-card::after {
    background: radial-gradient(circle, rgba(88, 118, 255, 0.16), transparent 70%);
}

.tariffs-page .site-loader-brand {
    color: #e0e6f0;
}

.tariffs-page .site-loader-brand span:nth-child(1) { color: #ff7ea1; }
.tariffs-page .site-loader-brand span:nth-child(2) { color: #5ef0c4; }
.tariffs-page .site-loader-brand span:nth-child(3) { color: #ffb86c; }
.tariffs-page .site-loader-brand span:nth-child(4) { color: #82b1ff; }

.tariffs-page .site-loader-copy {
    color: rgba(224, 230, 240, 0.68);
}

.tariffs-page .site-loader-bar {
    background: rgba(255, 255, 255, 0.08);
}

.tariffs-page .site-loader-bar span {
    background: linear-gradient(90deg, #ff7ea1 0%, #ffb86c 35%, #82b1ff 100%);
    box-shadow: 0 0 18px rgba(130, 177, 255, 0.28);
}

.tariffs-page .site-loader-ring {
    border-color: rgba(255, 255, 255, 0.06);
}

.tariffs-page .site-loader-ring::before {
    border-top-color: #82b1ff;
    border-right-color: rgba(130, 177, 255, 0.3);
}

.tariffs-page .site-loader-ring::after {
    border-bottom-color: #ff7ea1;
    border-left-color: rgba(255, 126, 161, 0.35);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1120px) {
    .tariffs-grid,
    .tariffs-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tariffs-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tariffs-hero__highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tariffs-hero__pill {
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.04);
    }

    .tariffs-hero__pill::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .tariffs-topbar__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
    }

    .tariffs-topbar__nav-row {
        display: none;
    }

    .tariffs-topbar__right-row {
        gap: 6px;
    }

    .tariffs-topbar .nav-hamburger-btn {
        display: inline-flex;
        align-items: center;
    }

    .tariffs-topbar .lang-dropdown-btn,
    .tariffs-topbar .nav-hamburger-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .tariffs-topbar .lang-dropdown-menu,
    .tariffs-topbar .nav-more-menu {
        top: calc(100% + 8px);
    }

    .tariffs-topbar .lang-dropdown-menu {
        min-width: 0;
        width: min(180px, calc(100vw - 18px));
    }

    .tariffs-nav-more-menu--hamburger {
        min-width: 0;
        width: min(220px, calc(100vw - 18px));
    }

    .tariffs-topbar .lang-dropdown-item,
    .tariffs-topbar .nav-more-item {
        white-space: normal;
    }

    .tariffs-section__head,
    .tariffs-detail-grid {
        grid-template-columns: 1fr;
    }

    .tariffs-section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tariffs-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tariffs-how-grid {
        grid-template-columns: 1fr;
    }

    .tariffs-hero__snapshot {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .tariffs-topbar__inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    #tariffsHamburgerMenu {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        max-width: calc(100vw - 20px);
    }
}

@media (max-width: 640px) {
    .tariffs-shell,
    .tariffs-page .proxy-route-breadcrumbs {
        width: min(100% - 20px, 1200px);
    }

    .tariffs-topbar__inner {
        width: 100%;
        max-width: none;
    }

    .tariffs-topbar__logo {
        height: 40px;
    }

    .tariffs-topbar__right-row {
        gap: 6px;
    }

    .tariffs-topbar .lang-dropdown-btn,
    .tariffs-topbar .nav-hamburger-btn {
        padding: 5px 9px;
        font-size: 20px;
    }

    .tariffs-topbar .lang-dropdown-menu {
        width: min(176px, calc(100vw - 16px));
    }

    .tariffs-nav-more-menu--hamburger {
        width: min(214px, calc(100vw - 16px));
    }

    .tariffs-page .proxy-route-breadcrumbs {
        margin-top: 12px;
        padding: 10px 12px;
    }

    .tariffs-hero-card {
        padding: 24px 18px;
        border-radius: var(--tariffs-radius);
    }

    .tariffs-hero-card h1 {
        font-size: 1.8rem;
    }

    .tariff-card,
    .tariffs-panel,
    .tariffs-link-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tariffs-hero__highlights,
    .tariffs-grid,
    .tariffs-detail-grid,
    .tariffs-links,
    .tariffs-services-grid {
        grid-template-columns: 1fr;
    }

    .tariffs-hero__actions {
        flex-direction: column;
    }

    .tariffs-hero__snapshot {
        width: 100%;
        padding: 18px 16px;
        border-radius: 22px;
    }

    .tariffs-hero__snapshot-total {
        min-width: 0;
        width: 100%;
    }

    .tariffs-hero__snapshot-breakdown {
        justify-content: flex-start;
    }

    .tariffs-hero__snapshot-chip {
        min-width: 84px;
    }

    .tariffs-hero__actions .tariffs-button,
    .tariff-card__actions {
        width: 100%;
    }

    .tariffs-button {
        width: 100%;
    }

    .tariffs-link-card {
        min-height: 68px;
    }

    .tariffs-section__head h2 {
        font-size: 1.4rem;
    }

    .tariffs-service-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .tariffs-service-card__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .tariffs-service-card__icon svg {
        width: 20px;
        height: 20px;
    }

    .tariffs-service-card__arrow {
        opacity: 1;
        transform: none;
        align-self: center;
    }

    .tariffs-hero__pill {
        padding: 16px;
        font-size: 0.84rem;
    }

    .tariffs-hero__pill-icon {
        width: 32px;
        height: 32px;
    }

    .tariffs-service-card__meta-value {
        font-size: 0.84rem;
    }

    .tf-pay-card {
        width: min(100% - 24px, 640px);
        padding: 24px 18px;
    }

    .tf-pay-terms {
        padding: 16px;
    }

    .tf-pay-header__row {
        grid-template-columns: 56px 1fr 56px;
        gap: 10px;
    }

    .tf-pay-header__icon,
    .tf-pay-header__spacer {
        width: 56px;
        height: 56px;
    }

    .tf-pay-terms__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tf-pay-terms__box {
        max-height: 180px;
        padding: 12px 14px;
    }
}

/* ==========================================================================
   SHARED SITE FOOTER (mirrors .site-footer in css/site.css so the footer
   looks identical on the dark tariffs page).
   ========================================================================== */
.site-footer {
    margin-top: 30px;
    padding: 40px 0 24px;
    background-color: #f3f5f8;
    border-top: 1px solid #e5e8ed;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}
.site-footer__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}
.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 32px;
    margin-bottom: 28px;
}
.site-footer__col {
    flex: 1 1 160px;
    min-width: 150px;
}
.site-footer__col--about {
    flex: 1.4 1 220px;
}
.site-footer__title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.site-footer__about-text {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}
.site-footer__email {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
}
.site-footer__email:hover {
    color: #2563eb;
}
.site-footer__email-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}
.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer__list li {
    margin-bottom: 9px;
}
.site-footer__list a {
    color: #4b5563;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease;
}
.site-footer__list a:hover,
.site-footer__list a:focus {
    color: #2563eb;
    text-decoration: underline;
}
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e5e8ed;
}
.site-footer__copyright {
    font-size: 12.5px;
    color: #6b7280;
}
.site-footer__badges {
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-footer__badge {
    display: inline-flex;
    line-height: 0;
}
.site-footer__badge img {
    display: block;
    height: 31px;
    width: auto;
    border: 0;
}
@media (max-width: 640px) {
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer__container {
        padding: 0 20px;
    }
}
