/* Қонаев tariff catalogue. All selectors intentionally scoped to mg-tariff-*.
   Does not change the landing hero, form, backend or shared site styles. */
.mg-tariff-open{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:46px;padding:10px 20px;border:1px solid rgba(255,255,255,.8);border-radius:999px;background:rgba(8,31,22,.32);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 6px 22px rgba(0,24,12,.12);font:800 14px/1.2 Manrope,'Noto Sans',Arial,sans-serif;letter-spacing:.005em;color:#fff;cursor:pointer;transition:background .17s ease,transform .17s ease,box-shadow .17s ease}
.mg-tariff-open:hover{background:rgba(15,139,62,.82);transform:translateY(-1px);box-shadow:0 12px 26px rgba(0,24,12,.2)}
.mg-tariff-open:focus-visible,.mg-tariff-dialog button:focus-visible{outline:3px solid #22bb62;outline-offset:3px}
.mg-tariff-open svg{height:18px;width:18px;flex:0 0 auto}
.mg-tariff-dialog[hidden]{display:none!important}
.mg-tariff-dialog{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:22px;overscroll-behavior:contain;font-family:Manrope,'Noto Sans',Arial,sans-serif;color:#15261c}
.mg-tariff-dialog__backdrop{position:absolute;inset:0;background:rgba(6,23,14,.72);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.mg-tariff-dialog__panel{position:relative;isolation:isolate;width:min(1050px,100%);max-height:min(90vh,920px);max-height:min(90dvh,920px);overflow:auto;overscroll-behavior:contain;border:1px solid rgba(232,247,236,.8);border-radius:28px;background:#f7faf8;box-shadow:0 26px 90px rgba(0,0,0,.3)}
.mg-tariff-dialog__head{position:sticky;top:0;z-index:4;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 30px 19px;border-bottom:1px solid #dfece3;background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}
.mg-tariff-dialog__eyebrow{display:block;color:#159448;font-size:11px;letter-spacing:.18em;font-weight:850;text-transform:uppercase;margin-bottom:5px}
.mg-tariff-dialog__head h2{margin:0;font-size:clamp(21px,2.5vw,29px);line-height:1.15;letter-spacing:-.035em;color:#132a1c;font-weight:850}
.mg-tariff-dialog__close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid #dce9df;border-radius:50%;background:#f1f7f2;color:#245037;cursor:pointer;font-size:25px;line-height:1}
.mg-tariff-dialog__close:hover{background:#e0f2e6}
.mg-tariff-dialog__body{padding:23px 30px 28px}
.mg-tariff-dialog__groups{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
.mg-tariff-dialog__seg{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid #dcebe0;border-radius:15px;background:#eaf3ed}
.mg-tariff-dialog__seg button{appearance:none;border:0;background:transparent;border-radius:11px;padding:10px 16px;min-height:38px;color:#43624f;font:750 13px/1.2 Manrope,'Noto Sans',Arial,sans-serif;cursor:pointer;transition:background .15s ease,color .15s ease}
.mg-tariff-dialog__seg button[aria-pressed=true]{background:#fff;color:#087c38;box-shadow:0 1px 6px rgba(17,74,39,.13)}
.mg-tariff-dialog__modes{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:thin}
.mg-tariff-dialog__modes button{appearance:none;white-space:nowrap;border:1px solid #d6e6da;border-radius:999px;background:#fff;color:#254f36;padding:11px 17px;min-height:42px;font:750 13px/1.2 Manrope,'Noto Sans',Arial,sans-serif;cursor:pointer}
.mg-tariff-dialog__modes button[aria-pressed=true]{background:#0b9c47;color:#fff;border-color:#0b9c47;box-shadow:0 5px 12px rgba(6,127,58,.15)}
.mg-tariff-dialog__subline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:5px 0 14px;min-height:40px}
.mg-tariff-dialog__hint{font-size:12px;line-height:1.5;color:#63796a}
.mg-tariff-dialog__sim[hidden]{display:none!important}
.mg-tariff-dialog__sim{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.mg-tariff-dialog__sim-label{font-size:12px;font-weight:800;color:#335a41}
.mg-tariff-dialog__sim .mg-tariff-dialog__seg button{min-height:33px;padding:7px 12px}
.mg-tariff-dialog__slider{position:relative}
.mg-tariff-dialog__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.mg-tariff-card{min-width:0;display:flex;flex-direction:column;padding:19px 17px 17px;border:1px solid #dceade;border-radius:21px;background:#fff;box-shadow:0 7px 19px rgba(8,54,27,.04)}
.mg-tariff-card:nth-child(2){border-color:#9ddcb3;box-shadow:0 8px 26px rgba(9,97,42,.08)}
.mg-tariff-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;min-height:23px}
.mg-tariff-card__category{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#e8f8ed;color:#13733a;font-size:10px;font-weight:850;letter-spacing:.02em}
.mg-tariff-card__title{margin:13px 0 6px;font-size:19px;line-height:1.17;color:#153a25;font-weight:850;letter-spacing:-.03em}
.mg-tariff-card__speed{display:flex;align-items:baseline;gap:6px;margin:0 0 14px;color:#74877a;font-size:13px;font-weight:700}
.mg-tariff-card__speed strong{color:#0d9b45;font-size:32px;line-height:1;letter-spacing:-.035em;font-weight:850}
.mg-tariff-card__features{display:grid;gap:9px;list-style:none;margin:0 0 18px;padding:0;font-size:12px;line-height:1.42;color:#425c4b}
.mg-tariff-card__features li{position:relative;padding-left:19px}
.mg-tariff-card__features li:before{content:'✓';position:absolute;left:0;top:0;color:#1bb456;font-weight:900}
.mg-tariff-card__bottom{margin-top:auto;padding-top:15px;border-top:1px solid #e9f0eb}
.mg-tariff-card__regular{display:block;min-height:18px;margin-bottom:1px;color:#819184;font-size:12px;text-decoration:line-through}
.mg-tariff-card__regular[hidden]{display:block;visibility:hidden;text-decoration:none}
.mg-tariff-card__price{display:block;white-space:nowrap;font-size:clamp(23px,2.3vw,29px);line-height:1.24;font-weight:850;color:#142a1c;letter-spacing:-.04em}
.mg-tariff-card__price small{font-size:12px;letter-spacing:0;font-weight:700;color:#718577}
.mg-tariff-card__period{display:block;min-height:30px;margin:3px 0 12px;color:#6a806f;font-size:11px;line-height:1.35}
.mg-tariff-card__cta{appearance:none;display:block;width:100%;min-height:43px;border:0;border-radius:12px;background:#13ad50;color:#fff;font:800 13px/1.2 Manrope,'Noto Sans',Arial,sans-serif;cursor:pointer}
.mg-tariff-card__cta:hover{background:#078a3c}
.mg-tariff-dialog__promo-note{display:none;margin:16px 0 0;color:#496d55;font-size:12px;line-height:1.5}
.mg-tariff-dialog__promo-note.is-visible{display:block}
.mg-tariff-dialog__footnote{margin:14px 0 0;color:#7c8f82;font-size:11px;line-height:1.5}
.mg-tariff-dialog__nav{display:none}
body.mg-tariff-locked{overflow:hidden}
@media(max-width:800px){
 .mg-tariff-dialog{padding:14px}
 .mg-tariff-dialog__panel{max-height:93dvh;border-radius:22px}
 .mg-tariff-dialog__head{padding:19px 20px 16px}
 .mg-tariff-dialog__body{padding:18px 20px 23px}
 .mg-tariff-dialog__groups{align-items:flex-start}
 .mg-tariff-dialog__cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:1px;padding-bottom:10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .mg-tariff-dialog__cards::-webkit-scrollbar{display:none}
 .mg-tariff-card{flex:0 0 min(77vw,320px);scroll-snap-align:start}
 .mg-tariff-dialog__nav{display:flex;justify-content:center;align-items:center;gap:10px;margin:6px auto 0}
 .mg-tariff-dialog__nav button{appearance:none;display:grid;place-items:center;height:33px;width:33px;border:1px solid #d4e5d8;border-radius:50%;background:white;color:#157c3f;font-size:20px;cursor:pointer}
 .mg-tariff-dialog__counter{font-size:12px;font-weight:800;color:#4c7759;min-width:37px;text-align:center;font-variant-numeric:tabular-nums}
}
@media(max-width:480px){
 .mg-tariff-open{min-height:43px;padding:9px 17px;font-size:13px}
 .mg-tariff-dialog{padding:8px}
 .mg-tariff-dialog__panel{max-height:96dvh;border-radius:19px}
 .mg-tariff-dialog__head{padding:16px 15px 13px}
 .mg-tariff-dialog__body{padding:15px 14px 20px}
 .mg-tariff-dialog__groups{gap:10px}
 .mg-tariff-dialog__seg button{font-size:12px;padding:9px 13px}
 .mg-tariff-dialog__modes button{font-size:12px;padding:10px 13px}
 .mg-tariff-dialog__subline{align-items:flex-start;flex-direction:column;gap:4px}
 .mg-tariff-card{flex-basis:min(78vw,305px)}
 .mg-tariff-card__price{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.mg-tariff-open{transition:none}.mg-tariff-dialog__cards{scroll-behavior:auto}}
