/* ==========================================================================
   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;
    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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* --- Decorative Background Blurs ---------------------------------------- */
body.tariffs-page::before,
body.tariffs-page::after {
    content: '';
    position: fixed;
    z-index: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(40px);
    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);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.tariffs-topbar__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    position: relative;
    padding: 14px 0;
}

.tariffs-topbar__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.tariffs-topbar__logo {
    height: 41px;
    width: auto;
    display: block;
}

.tariffs-topbar__mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.tariffs-topbar__mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    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;
}

.tariffs-topbar__mobile-toggle:hover,
.tariffs-topbar__mobile-toggle[aria-expanded="true"] {
    transform: translateY(-1px);
    border-color: var(--tariffs-border-hover);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(5, 9, 18, 0.30);
}

.tariffs-topbar__mobile-toggle svg {
    flex-shrink: 0;
}

.tariffs-topbar__nav,
.tariffs-topbar__langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tariffs-topbar__nav {
    justify-content: center;
}

.tariffs-topbar__langs {
    justify-content: flex-end;
}

.tariffs-topbar__flag {
    width: 18px;
    height: 12px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.tariffs-topbar__lang {
    gap: 8px;
}

.tariffs-topbar__lang-code {
    display: inline;
}

.tariffs-topbar__lang-native {
    display: none;
}

/* --- Shared Pill / Button Transition ------------------------------------ */
.tariffs-topbar__link,
.tariffs-topbar__lang,
.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;
}

/* --- Nav / Lang Pills --------------------------------------------------- */
.tariffs-topbar__link,
.tariffs-topbar__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: var(--tariffs-muted);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.tariffs-topbar__link:hover,
.tariffs-topbar__lang:hover {
    transform: translateY(-1px);
    border-color: var(--tariffs-border-hover);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(5, 9, 18, 0.30);
}

.tariffs-topbar__link.is-current,
.tariffs-topbar__lang.is-current {
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.tariffs-topbar__menu-group {
    position: relative;
}

.tariffs-topbar__dropdown-toggle,
.tariffs-topbar__dropdown-link {
    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, color 0.24s ease;
}

.tariffs-topbar__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: var(--tariffs-muted);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.tariffs-topbar__dropdown-toggle:hover,
.tariffs-topbar__dropdown-toggle[aria-expanded="true"] {
    transform: translateY(-1px);
    border-color: var(--tariffs-border-hover);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(5, 9, 18, 0.30);
    color: #fff;
}

.tariffs-topbar__dropdown-toggle.is-current {
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.tariffs-topbar__dropdown-caret {
    flex-shrink: 0;
    transition: transform 0.24s ease;
}

.tariffs-topbar__dropdown-toggle[aria-expanded="true"] .tariffs-topbar__dropdown-caret {
    transform: rotate(180deg);
}

.tariffs-topbar__dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 260px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(8, 14, 26, 0.96);
    box-shadow: 0 20px 44px rgba(5, 9, 18, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: grid;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    z-index: 35;
}

.tariffs-topbar__dropdown-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.tariffs-topbar__menu-group--proxies .tariffs-topbar__dropdown-panel {
    left: 50%;
    min-width: 480px;
    transform: translate(-50%, 8px);
}

.tariffs-topbar__menu-group--proxies .tariffs-topbar__dropdown-panel.is-open {
    transform: translate(-50%, 0);
}

.tariffs-topbar__dropdown-panel--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tariffs-topbar__dropdown-section {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.tariffs-topbar__dropdown-label {
    padding: 0 10px 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tariffs-topbar__dropdown-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
}

.tariffs-topbar__dropdown-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(5, 9, 18, 0.24);
}

.tariffs-topbar__dropdown-link.is-current {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.tariffs-topbar__dropdown-title {
    display: block;
    width: 100%;
    color: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.tariffs-topbar__dropdown-meta {
    display: block;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.74rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* --- 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);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================================
   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);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    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 {
    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::after {
    content: '';
    position: absolute;
    inset: auto -12% -38% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    opacity: 0.14;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tariff-card:hover::after {
    opacity: 0.22;
}

.tariff-card--scarlet::after { background: #e11d48; }
.tariff-card--emerald::after { background: #10b981; }
.tariff-card--amber::after   { background: #f59e0b; }
.tariff-card--azure::after   { background: #60a5fa; }

/* --- 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--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__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);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    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: 14px;
        align-items: center;
    }

    .tariffs-topbar__mobile-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .tariffs-topbar__nav,
    .tariffs-topbar__langs {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        min-width: min(320px, calc(100vw - 40px));
        padding: 12px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        background: rgba(8, 14, 26, 0.96);
        box-shadow: 0 20px 44px rgba(5, 9, 18, 0.38);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 8px;
        z-index: 25;
    }

    .tariffs-topbar__nav {
        left: 0;
        align-items: stretch;
    }

    .tariffs-topbar__langs {
        right: 0;
        align-items: stretch;
    }

    .tariffs-topbar__nav.is-open,
    .tariffs-topbar__langs.is-open {
        display: flex;
    }

    .tariffs-topbar__nav .tariffs-topbar__link,
    .tariffs-topbar__nav .tariffs-topbar__dropdown-toggle,
    .tariffs-topbar__langs .tariffs-topbar__lang {
        width: 100%;
        justify-content: flex-start;
    }

    .tariffs-topbar__nav {
        gap: 10px;
    }

    .tariffs-topbar__menu-group {
        width: 100%;
    }

    .tariffs-topbar__dropdown-toggle {
        justify-content: space-between;
    }

    .tariffs-topbar__dropdown-panel,
    .tariffs-topbar__menu-group--proxies .tariffs-topbar__dropdown-panel {
        position: static;
        left: auto;
        min-width: 0;
        width: 100%;
        margin-top: 8px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
    }

    .tariffs-topbar__dropdown-panel.is-open,
    .tariffs-topbar__menu-group--proxies .tariffs-topbar__dropdown-panel.is-open {
        display: grid;
        transform: none;
    }

    .tariffs-topbar__dropdown-panel--wide {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tariffs-topbar__lang-code {
        display: none;
    }

    .tariffs-topbar__lang-native {
        display: inline;
    }

    .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: 640px) {
    .tariffs-topbar__inner,
    .tariffs-shell,
    .tariffs-page .proxy-route-breadcrumbs {
        width: min(100% - 20px, 1200px);
    }

    .tariffs-topbar__logo {
        height: 38px;
    }

    .tariffs-topbar__mobile-actions {
        gap: 6px;
    }

    .tariffs-topbar__mobile-toggle {
        padding: 0 12px;
        font-size: 0.84rem;
    }

    .tariffs-topbar__nav,
    .tariffs-topbar__langs {
        min-width: 0;
        width: calc(100vw - 40px);
    }

    .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;
    }
}
