/* ==========================================================================
   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;
}

/* --- 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: 12px;
    margin-top: 28px;
}

.tariffs-hero__pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    color: var(--tariffs-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tariffs-hero__pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    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);
}

.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__value {
    display: inline-block;
    margin: 14px auto 0;
    padding: 8px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(39,174,96,0.18), rgba(46,134,222,0.14));
    border: 1px solid rgba(39,174,96,0.25);
    color: #6ee7a0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* --- 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%);
}

/* --- 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(480px, calc(100% - 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);
    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: center;
    margin-bottom: 24px;
}

.tf-pay-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    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__icon svg {
    stroke: rgba(255, 255, 255, 0.88);
}

.tf-pay-header__title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tf-pay-header__duration {
    margin: 0;
    color: var(--tariffs-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.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__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: 6px;
    flex: 1;
}

.tariffs-service-card__title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.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;
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   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));
    }
}

@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__langs .tariffs-topbar__lang {
        width: 100%;
        justify-content: flex-start;
    }

    .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;
    }
}

@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__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: center;
        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 {
        font-size: 0.84rem;
    }

    .tariffs-hero__pill-icon {
        width: 32px;
        height: 32px;
    }

    .tf-pay-card {
        width: min(100% - 24px, 480px);
        padding: 24px 18px;
    }
}
