/* Тарифы. Отдельный CSS, чтобы исходные стили остальных блоков оставались без изменений. */
.tariffs{padding-top:24px;padding-bottom:23px;border-top:1px solid #e8ecf1;border-bottom:1px solid #e8ecf1}
.tariffs__heading{align-items:end}
.tariffs__heading h2{max-width:700px}
.tariffs__heading p{margin-bottom:12px;text-align:right}
.tariffs__common{display:flex;flex-wrap:wrap;column-gap:19px;row-gap:10px;list-style:none;margin:5px 0 16px;padding:10px 15px;background:#fff9e4;border:1px solid #ffedaa;border-radius:10px}
.tariffs__common li{position:relative;padding-left:24px;font-size:12px;line-height:1.3;flex:1 1 210px}
.tariffs__common li::before{content:'✓';position:absolute;left:0;top:0;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--yellow);font-weight:bold;font-size:11px}
.tariffs__cards{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:stretch}
.tariff-card{min-width:0;border-radius:11px;border:1px solid #e7e8ed;background:#fff;box-shadow:0 3px 14px #e5eaf28c;padding:17px 13px 15px;border-top:4px solid var(--yellow);display:flex;flex-direction:column}
.tariff-card:nth-child(5){border-top-color:var(--red)}
.tariff-card h3{font-size:18px;line-height:1.15;color:var(--ink);margin:0 0 8px}
.tariff-card__price{margin:0 0 14px;display:flex;flex-direction:column;gap:0;padding-bottom:11px;border-bottom:1px solid #edf0f4}
.tariff-card__price strong{font-size:clamp(19px,2vw,25px);letter-spacing:-.6px;white-space:nowrap;color:#d70f20;font-weight:850;font-variant-numeric:tabular-nums}
.tariff-card__price span{color:#637287;font-size:12px}
.tariff-card__highlights{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.tariff-card__highlights li{position:relative;font-size:12.2px;line-height:1.36;color:#324358;padding-left:18px}
.tariff-card__highlights li::before{content:'✓';color:#dd101d;font-weight:900;position:absolute;left:0;top:0}
.tariff-card__highlights li:last-child{margin-top:auto;color:#14385c;font-weight:700}
.tariff-card__details{display:none}
.tariffs__comparison{margin-top:21px}
.tariffs__comparison h3{font-size:19px;margin:0 0 9px}
.tariffs__table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #e2e7ef;border-radius:11px;box-shadow:0 1px 8px #e5eaf188}
.tariffs__table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1040px;text-align:center;font-size:12px;line-height:1.4}
.tariffs__table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tariffs__table th,.tariffs__table td{padding:11px 9px;border-right:1px solid #e3e8ee;border-bottom:1px solid #edf0f4;vertical-align:middle;overflow-wrap:anywhere}
.tariffs__table tr>*:last-child{border-right:0}
.tariffs__table tbody tr:last-child>*{border-bottom:0}
.tariffs__table thead th{background:#fff4cc;color:#152136;font-weight:800;font-size:14px}
.tariffs__table thead th:first-child{text-align:left;background:#fff7e0;width:290px}
.tariffs__table thead th small{display:block;color:#a52228;font-size:11px;font-weight:700;padding-top:4px;white-space:nowrap}
.tariffs__table tbody th{text-align:left;font-size:12px;font-weight:600;color:#263c54;position:sticky;left:0;background:#fff;z-index:1}
.tariffs__table tbody tr:nth-child(even) td,.tariffs__table tbody tr:nth-child(even) th{background:#f8fafc}
.tariffs__table td{font-size:11.8px;color:#33465d}
.tariffs__yes{font-size:19px;font-weight:900;color:var(--green)}
.tariffs__no{font-size:18px;color:#8993a0}
.tariffs__scroll-tip{display:none;color:#66778d;font-size:11px;margin:0 0 6px}
.tariffs__note{margin:11px 0 0;color:#66758a;font-size:11px;line-height:1.45}
.tariffs__note a{text-decoration:underline;text-underline-offset:2px;color:#ba1520}
@media(max-width:1150px){.tariffs__cards{grid-template-columns:repeat(3,minmax(0,1fr))}.tariffs__scroll-tip{display:block}.tariff-card__price strong{font-size:24px}}
@media(max-width:820px){.tariffs__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tariffs__heading{display:block}.tariffs__heading p{text-align:left;margin:0 0 10px}.tariffs__common{gap:10px}.tariffs__common li{flex-basis:235px}}
@media(max-width:700px){.tariffs{padding-top:18px;padding-bottom:14px}.tariffs__cards{grid-template-columns:1fr;gap:10px}.tariff-card{padding:14px 17px 13px;border-top-width:4px}.tariff-card__price{margin-bottom:8px;padding-bottom:8px}.tariff-card__price strong{font-size:26px}.tariff-card__highlights{gap:6px}.tariff-card__highlights li{font-size:12.7px}.tariff-card__details{display:block;margin-top:12px;border-top:1px solid #e5ebf2}.tariff-card__details summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font-weight:700;color:#a7202c;list-style:none;justify-content:space-between;gap:8px}.tariff-card__details summary::-webkit-details-marker{display:none}.tariff-card__details summary::after{content:'+';font-size:23px;font-weight:400}.tariff-card__details[open] summary::after{content:'−'}.tariff-card__details dl{margin:0}.tariffs__feature{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr);gap:11px;padding:9px 0;border-top:1px solid #edf1f5;font-size:12px;line-height:1.32}.tariffs__feature dt{color:#516178}.tariffs__feature dd{font-weight:700;color:#25394c;text-align:right;margin:0;overflow-wrap:anywhere}.tariffs__common{display:grid;gap:8px;padding:11px 13px}.tariffs__common li{font-size:12.5px}.tariffs__comparison{display:none}.tariffs__note{margin:14px 1px 0}}
