/* NovLine05 — public site UI aligned with Admin / CRM */
:root{
  --site-red:#ed0000;
  --site-red-dark:#d90000;
  --site-red-soft:#fff1f1;
  --site-text:#15171a;
  --site-muted:#858b95;
  --site-bg:#f4f5f7;
  --site-card:#fff;
  --site-border:#e5e7eb;
  --site-dark:#17181b;
  --site-shadow:0 8px 28px rgba(17,24,39,.045);
  --site-radius:18px;
}

body.site-body{background:var(--site-bg);color:var(--site-text);font-family:Inter,Arial,sans-serif;line-height:1.5}
body.site-body .container{width:min(1240px,calc(100% - clamp(28px,4vw,56px)))}
body.site-body .site-main{min-height:55vh}

/* Header */
.site-header{height:82px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--site-border);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 4px 18px rgba(17,24,39,.025)}
.site-nav-shell{gap:18px}
.site-brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.site-brand-logo{display:grid;place-items:center;width:126px;height:46px;padding:7px 10px;border:1px solid #eceef1;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(17,24,39,.035)}
.site-brand-logo img{width:105px!important;max-height:37px;object-fit:contain}
.site-brand-copy{display:none;line-height:1.05}
.site-brand-copy strong{display:block;font-size:12px;letter-spacing:.7px}
.site-brand-copy small{display:block;margin-top:4px;color:#9a9fa7;font-size:10px}
.site-desktop-nav{margin-left:auto!important;display:flex!important;align-items:center;gap:4px!important;padding:5px;border:1px solid #eceef1;border-radius:14px;background:#f8f9fa}
.site-desktop-nav a{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 10px;border-radius:10px;color:#626873;font-size:12px!important;font-weight:800!important;transition:.15s ease;white-space:nowrap}
.site-desktop-nav a:hover{color:#22262b;background:#fff;box-shadow:0 3px 10px rgba(17,24,39,.04)}
.site-desktop-nav a.is-active{background:var(--site-dark);color:#fff;box-shadow:0 5px 14px rgba(17,24,39,.12)}
.site-nav-icon{width:15px;height:15px;flex:0 0 auto}
.site-header-cta{gap:9px;min-height:44px;padding:10px 15px;border-radius:12px;box-shadow:0 8px 18px rgba(237,0,0,.15);font-size:12px}
.site-header-cta:hover{background:var(--site-red-dark);transform:translateY(-1px)}
.site-btn-icon{width:15px;height:15px}
.site-menu-button{width:44px;height:44px;border:1px solid #e3e6e9!important;border-radius:12px!important;background:#f8f9fa!important;color:#25282d;place-items:center;padding:0!important}
.site-menu-icon{width:21px;height:21px}

/* Shared text / buttons */
body.site-body .eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--site-red);font-size:11px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;margin-bottom:12px}
body.site-body .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--site-red);box-shadow:0 0 0 5px rgba(237,0,0,.08)}
body.site-body .eyebrow.light{color:var(--site-red)}
body.site-body .eyebrow.light:before{background:var(--site-red)}
body.site-body .btn{min-height:46px;padding:11px 17px;border-radius:12px;font-size:13px;font-weight:850;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease}
body.site-body .btn:hover{transform:translateY(-1px)}
body.site-body .btn-red{background:var(--site-red);color:#fff;box-shadow:0 8px 18px rgba(237,0,0,.14)}
body.site-body .btn-red:hover{background:var(--site-red-dark);box-shadow:0 10px 22px rgba(237,0,0,.18)}
body.site-body .btn-dark{background:var(--site-dark);color:#fff;box-shadow:0 7px 16px rgba(17,24,39,.11)}
body.site-body .btn-dark:hover{background:#08090a}
body.site-body .btn-light{background:#fff;color:#22262b;border:1px solid #e0e3e7;box-shadow:0 4px 12px rgba(17,24,39,.035)}
body.site-body .btn-light:hover{background:#f9fafb;border-color:#d6dae0}
body.site-body .text-link{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border:1px solid #e2e5e9;border-radius:10px;background:#fff;color:#d90000;font-size:12px;font-weight:850;transition:.15s ease}
body.site-body .text-link:hover{background:#fff7f7;border-color:#f3cece;transform:translateY(-1px)}

/* Home hero */
body.site-body .hero{background:transparent;color:var(--site-text);padding:28px 0 10px;overflow:visible}
body.site-body .hero-grid{position:relative;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:32px;align-items:stretch;background:#fff;border:1px solid var(--site-border);border-radius:24px;padding:44px;box-shadow:0 10px 30px rgba(17,24,39,.045);overflow:hidden}
body.site-body .hero-grid:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--site-red)}
body.site-body .hero-grid>div:first-child{display:flex;flex-direction:column;justify-content:center;min-width:0}
body.site-body .hero h1{max-width:760px;color:#111318;font-size:clamp(42px,5.5vw,72px);line-height:1;letter-spacing:-3.2px;margin:0 0 20px}
body.site-body .hero h1 em{color:var(--site-red)}
body.site-body .hero p{max-width:680px;margin:0;color:#747a84;font-size:18px;line-height:1.65}
body.site-body .hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
body.site-body .hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px;color:#626873;font-size:12px}
body.site-body .hero-meta span{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;border:1px solid #e7e9ed;border-radius:9px;background:#f8f9fa;font-weight:750}
body.site-body .hero-logo{position:relative;display:flex;align-items:center;justify-content:center;min-height:360px;border-radius:20px;background:linear-gradient(155deg,#121316,#24262b);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)}
body.site-body .hero-logo:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid rgba(237,0,0,.25);box-shadow:0 0 0 54px rgba(237,0,0,.035),0 0 0 108px rgba(255,255,255,.025);right:-32px;top:-58px}
body.site-body .hero-logo:after{content:"СЕТЬ NOVLINE05";position:absolute;left:20px;bottom:18px;color:#818792;font-size:10px;font-weight:900;letter-spacing:1.3px}
body.site-body .hero-logo img{position:relative;z-index:1;width:min(82%,390px);height:auto;padding:18px;border-radius:18px;background:#fff;filter:none;box-shadow:0 20px 45px rgba(0,0,0,.22)}

/* Sections */
body.site-body .section{padding:54px 0}
body.site-body .section-head{align-items:flex-end;margin-bottom:24px;gap:18px}
body.site-body .section h2,body.site-body .cta-box h2,body.site-body .red-section h2{color:#17191d;font-size:38px;line-height:1.08;letter-spacing:-1.1px}

/* Tariffs */
body.site-body .tariff-grid{gap:14px}
body.site-body .tariff-card{position:relative;background:#fff;border:1px solid var(--site-border);border-radius:18px;padding:24px;box-shadow:0 7px 22px rgba(17,24,39,.035);overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
body.site-body .tariff-card:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#cfd4da}
body.site-body .tariff-card:hover{transform:translateY(-3px);border-color:#d9dde3;box-shadow:0 13px 32px rgba(17,24,39,.07)}
body.site-body .tariff-card.featured{border:1px solid #f0caca;box-shadow:0 8px 24px rgba(237,0,0,.055)}
body.site-body .tariff-card.featured:after{background:var(--site-red)}
body.site-body .badge{right:16px;top:16px;background:var(--site-red-soft);color:#c90000;border:1px solid #ffdede;border-radius:999px;padding:6px 10px;font-size:10px;letter-spacing:.2px}
body.site-body .tariff-card h3{color:#1b1e22;font-size:18px;margin:0 0 16px;padding-right:82px}
body.site-body .speed{color:#17191d;font-size:39px;font-weight:900;letter-spacing:-1.5px;line-height:1}
body.site-body .speed small,body.site-body .price small{color:#8d939c;font-size:11px;font-weight:700;letter-spacing:0}
body.site-body .price{margin:12px 0 8px;color:#30343a;font-size:24px;font-weight:900}
body.site-body .tariff-card p{color:#838892;min-height:44px;font-size:13px}
body.site-body .tariff-card ul{min-height:75px;color:#5f656e;font-size:13px}
body.site-body .tariff-card li{margin:9px 0}
body.site-body .tariff-card .btn{width:100%;margin-top:10px}

/* Benefits */
body.site-body .red-section{background:transparent;color:var(--site-text);padding:10px 0 54px}
body.site-body .red-section>.container{position:relative;background:#fff;border:1px solid var(--site-border);border-radius:22px;padding:30px;box-shadow:var(--site-shadow);overflow:hidden}
body.site-body .red-section>.container:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--site-red)}
body.site-body .red-section .section-head{margin-bottom:20px}
body.site-body .feature-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
body.site-body .feature{position:relative;border:1px solid #e8eaee;border-radius:15px;padding:18px;background:#fafbfc;min-height:145px;transition:.15s ease}
body.site-body .feature:hover{background:#fff;border-color:#dfe2e6;box-shadow:0 7px 18px rgba(17,24,39,.035);transform:translateY(-1px)}
body.site-body .feature b{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:var(--site-red-soft);color:var(--site-red);font-size:10px;margin-bottom:18px}
body.site-body .feature h3{color:#1e2126;font-size:15px;margin:0 0 7px}
body.site-body .feature p{margin:0;color:#858b95;font-size:12px;line-height:1.55}

/* FAQ */
body.site-body .faq-list{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.site-body .faq-list details{background:#fff;border:1px solid var(--site-border);border-radius:15px;padding:0 16px;box-shadow:0 5px 16px rgba(17,24,39,.022)}
body.site-body .faq-list summary{padding:17px 4px;color:#2d3137;font-size:13px}
body.site-body .faq-list summary:after{color:var(--site-red);font-size:19px}
body.site-body .faq-list p{padding:0 4px 17px;color:#777d86;font-size:13px}

/* CTA */
body.site-body .section.cta{padding-top:4px;padding-bottom:54px}
body.site-body .cta-box{position:relative;background:linear-gradient(145deg,#17181b,#25272c);border:0;border-radius:22px;padding:34px 36px;color:#fff;box-shadow:0 12px 34px rgba(17,24,39,.11);overflow:hidden}
body.site-body .cta-box:after{content:"";position:absolute;right:-70px;top:-130px;width:300px;height:300px;border-radius:50%;border:45px solid rgba(237,0,0,.11)}
body.site-body .cta-box>div,body.site-body .cta-box>.btn{position:relative;z-index:1}
body.site-body .cta-box h2{color:#fff;font-size:32px}
body.site-body .cta-box p{margin:9px 0 0;color:#aeb3bc;font-size:13px}
body.site-body .cta-box .eyebrow{color:#ff7373}
body.site-body .cta-box .eyebrow:before{background:#ff4343;box-shadow:0 0 0 5px rgba(255,67,67,.1)}

/* Inner-page hero */
body.site-body .page-hero{background:transparent;color:var(--site-text);padding:28px 0 0}
body.site-body .page-hero>.container{position:relative;background:#fff;border:1px solid var(--site-border);border-radius:20px;padding:27px 30px;box-shadow:var(--site-shadow);overflow:hidden}
body.site-body .page-hero>.container:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--site-red)}
body.site-body .page-hero h1{color:#111318;font-size:36px;line-height:1.08;letter-spacing:-.8px;margin:0 0 8px}
body.site-body .page-hero p{margin:0;color:#838892;font-size:14px}
body.site-body .page-hero .eyebrow{margin-bottom:8px}

/* Forms */
body.site-body .narrow{max-width:780px}
body.site-body .form-card{background:#fff;border:1px solid var(--site-border);border-radius:18px;padding:25px;box-shadow:var(--site-shadow)}
body.site-body .form-card label{margin-bottom:14px;color:#34383f;font-size:13px;font-weight:800}
body.site-body .form-card input,body.site-body .form-card select,body.site-body .form-card textarea{width:100%;min-height:48px;margin-top:7px;padding:12px 13px;border:1px solid #d9dde3;border-radius:11px;background:#fff;color:#24272c;font:inherit;outline:0;transition:border-color .15s ease,box-shadow .15s ease}
body.site-body .form-card textarea{min-height:108px;resize:vertical}
body.site-body .form-card input:focus,body.site-body .form-card select:focus,body.site-body .form-card textarea:focus{border-color:#f1a7a7;box-shadow:0 0 0 4px rgba(237,0,0,.055)}
body.site-body .form-card .btn{width:100%;margin-top:3px}
body.site-body .success{position:relative;background:#fff;border:1px solid #d9ecdf;border-radius:18px;padding:28px;box-shadow:var(--site-shadow);overflow:hidden}
body.site-body .success:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#22a35a}
body.site-body .success h2{margin-top:0;font-size:24px}
body.site-body .success p{color:#6d737c}

/* Contacts */
body.site-body .contact-grid{grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);gap:18px;align-items:stretch}
body.site-body .contact-grid>div:first-child{background:#fff;border:1px solid var(--site-border);border-radius:18px;padding:24px;box-shadow:var(--site-shadow)}
body.site-body .contact-grid h2{font-size:20px;margin:0 0 12px}
body.site-body .contact-item{padding:15px 0;border-bottom:1px solid #edf0f2}
body.site-body .contact-item:last-child{border-bottom:0}
body.site-body .contact-item span{color:#949aa3;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.35px;margin-bottom:4px}
body.site-body .contact-item a{color:#d90000;font-size:14px;font-weight:850}
body.site-body .contact-item b{color:#30343a;font-size:13px}
body.site-body .map-wrap{border:1px solid var(--site-border);border-radius:18px;background:#fff;min-height:450px;box-shadow:var(--site-shadow);padding:7px}
body.site-body .map-wrap iframe,body.site-body .map-placeholder{border-radius:13px}

/* Payment card */
body.site-body .pay-card{max-width:650px}
body.site-body .pay-brand{padding:13px;border:1px solid #e9ebee;border-radius:14px;background:#f9fafb;margin-bottom:22px}
body.site-body .pay-brand img{width:62px;height:62px;border-radius:12px;border:1px solid #eceef1;background:#fff}
body.site-body .pay-brand strong{font-size:18px;color:#1c1f23}
body.site-body .pay-brand span{font-size:12px;color:#8b9199}
body.site-body .account-info{background:#f8f9fa;border:1px solid #e8eaed;border-radius:12px;padding:15px}
body.site-body .account-info b{color:#17191d;font-size:27px}
body.site-body .pay-message{border:1px solid transparent;border-radius:11px}
body.site-body .pay-error{border-color:#ffdada;background:#fff5f5;color:#a20f0f}
body.site-body .pay-ok{border-color:#d8efdf;background:#f3fbf5;color:#22643a}

/* Speedtest */
body.site-body .speedtest-hero{padding:28px 0 0}
body.site-body .speedtest-section{padding-top:18px}
body.site-body .speedtest-card{background:#fff;color:var(--site-text);border:1px solid var(--site-border);border-radius:20px;padding:26px;box-shadow:var(--site-shadow)}
body.site-body .speedtest-head{margin-bottom:16px}
body.site-body .speedtest-head h2{color:#1b1e22;font-size:24px}
body.site-body .speedtest-head p{color:#858b95;font-size:13px}
body.site-body .speedtest-gauge-ring{background:conic-gradient(var(--site-red) 0deg,var(--site-red) 35deg,#eceef1 35deg,#eceef1 360deg);box-shadow:0 10px 28px rgba(17,24,39,.05)}
body.site-body .speedtest-gauge-ring:before{background:#fff;box-shadow:inset 0 0 0 1px #eef0f2}
body.site-body .speedtest-gauge-inner strong{color:#17191d}
body.site-body .speedtest-gauge-inner span{color:#7e848d}
body.site-body .speedtest-gauge-inner small{color:#9aa0a8}
body.site-body .speed-metric{background:#f8f9fa;border:1px solid #e7e9ed;border-radius:15px;padding:19px;min-height:118px}
body.site-body .speed-metric span{color:#7e848d;font-size:12px;font-weight:750}
body.site-body .speed-metric strong{color:#17191d;font-size:29px}
body.site-body .speed-metric small{color:#a0a5ad}
body.site-body .speedtest-progress{background:#eceef1}
body.site-body .speedtest-status{color:#7e848d}
body.site-body .speedtest-note{margin-top:16px;padding:15px 17px;border:1px solid #e7e9ed;border-radius:14px;background:#f8f9fa;color:#7d838c;font-size:12px}
body.site-body .speedtest-note strong{color:#30343a;font-size:13px}

/* Footer */
body.site-body .site-footer{background:#111214;color:#8f959e;padding:46px 0 18px;border-top:1px solid #202226}
body.site-body .site-footer .footer-grid{grid-template-columns:1.7fr 1fr 1fr;gap:50px}
body.site-body .site-footer-logo-box{display:inline-grid;place-items:center;background:#fff;border-radius:13px;padding:7px 10px;border:1px solid #2d2f34}
body.site-body .site-footer .footer-logo{display:block;width:118px}
body.site-body .site-footer p{max-width:320px;margin:15px 0;color:#777d86;font-size:13px}
body.site-body .site-footer b{color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:14px}
body.site-body .site-footer a,body.site-body .site-footer span{font-size:13px}
body.site-body .site-footer a:hover{color:#fff}
body.site-body .site-footer-status{display:inline-flex!important;align-items:center;gap:7px;width:max-content;padding:7px 9px;border-radius:9px;background:#1a1c1f;color:#aeb4bc!important;font-size:11px!important}
body.site-body .site-footer-status i{width:7px;height:7px;border-radius:50%;background:#31b765;box-shadow:0 0 0 4px rgba(49,183,101,.08)}
body.site-body .copyright{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #25272b;margin-top:34px;padding-top:18px;color:#626873;font-size:11px}

/* Mobile drawer / bottom nav */
.site-mobile-drawer{border-left:1px solid #e8eaee}
.site-mobile-brand{display:flex;align-items:center;gap:10px;min-width:0}
.site-mobile-brand>img{width:104px!important;height:auto}
.site-mobile-brand>span{display:none}
.site-mobile-brand strong{display:block;color:#1d2025;font-size:11px;letter-spacing:.5px}
.site-mobile-brand small{display:block;color:#969ca5;font-size:9px;margin-top:3px}
.site-mobile-drawer .drawer-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e3e6e9;border-radius:11px;background:#f8f9fa;color:#30343a;cursor:pointer}
.site-mobile-drawer .mobile-drawer-nav a{display:flex;align-items:center;gap:12px;border:1px solid transparent;color:#4d535c}
.site-mobile-drawer .mobile-drawer-nav a:hover{background:#f8f9fa;border-color:#eceef1}
.site-mobile-drawer .mobile-drawer-nav a.is-active{background:#17181b;color:#fff;border-color:#17181b}
.site-drawer-icon{width:19px;height:19px;flex:0 0 auto}
.site-mobile-drawer .mobile-drawer-support{background:#17181b;border-radius:16px;padding:16px}
.site-mobile-drawer .mobile-drawer-support>a{display:flex;align-items:center;gap:8px;margin:5px 0;color:#fff}
.site-mobile-drawer .mobile-drawer-support small{display:block;color:#777d86;font-size:10px}
.site-support-icon{width:15px;height:15px}
.site-bottom-icon{width:21px;height:21px}

/* Responsive desktop / laptop scale */
@media(max-width:1390px){
  body.site-body .container{width:min(1180px,calc(100% - 36px))}
  .site-header{height:76px}
  .site-brand-logo{width:120px;height:44px}
  .site-brand-logo img{width:101px!important}
  .site-nav-shell{gap:13px}
  .site-desktop-nav a{padding:7px 8px;font-size:11px!important}
  .site-header-cta{padding:9px 13px}
  body.site-body .hero{padding-top:22px}
  body.site-body .hero-grid{grid-template-columns:minmax(0,1fr) minmax(310px,.72fr);gap:26px;padding:36px}
  body.site-body .hero h1{font-size:clamp(42px,4.7vw,62px);letter-spacing:-2.7px}
  body.site-body .hero p{font-size:16px}
  body.site-body .hero-logo{min-height:320px}
  body.site-body .section{padding:50px 0}
  body.site-body .red-section{padding-bottom:50px}
}

@media(max-width:1180px){
  body.site-body .container{width:min(1080px,calc(100% - 32px))}
  .site-desktop-nav a{padding:8px 9px}
  .site-desktop-nav a span{display:none}
  .site-desktop-nav .site-nav-icon{width:18px;height:18px}
  body.site-body .hero-grid{grid-template-columns:minmax(0,1fr) 320px;gap:22px;padding:32px}
  body.site-body .hero h1{font-size:clamp(40px,5vw,56px);letter-spacing:-2.4px}
  body.site-body .hero-logo{min-height:290px}
  body.site-body .hero-logo img{width:min(82%,310px)}
  body.site-body .section h2,body.site-body .cta-box h2,body.site-body .red-section h2{font-size:34px}
}

@media(max-width:960px) and (min-width:851px){
  body.site-body .container{width:calc(100% - 28px)}
  .site-header-cta span{display:none}
  .site-header-cta{width:44px;padding:0}
  .site-nav-shell{gap:10px}
  body.site-body .hero-grid{grid-template-columns:1fr;gap:18px;padding:30px}
  body.site-body .hero h1{max-width:760px;font-size:52px}
  body.site-body .hero-logo{min-height:220px}
  body.site-body .hero-logo img{width:min(52%,330px)}
  body.site-body .tariff-grid{gap:10px}
  body.site-body .tariff-card{padding:20px}
  body.site-body .tariff-card h3{font-size:16px}
  body.site-body .speed{font-size:35px}
  body.site-body .price{font-size:22px}
  body.site-body .red-section>.container{padding:26px}
  body.site-body .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.site-body .faq-list{grid-template-columns:1fr 1fr}
}

@media(min-width:851px) and (max-height:800px){
  .site-header{height:72px}
  body.site-body .hero{padding-top:18px}
  body.site-body .hero-grid{padding-top:30px;padding-bottom:30px}
  body.site-body .hero-logo{min-height:280px}
  body.site-body .hero-actions{margin-top:22px}
  body.site-body .hero-meta{margin-top:18px}
  body.site-body .section{padding:42px 0}
  body.site-body .red-section{padding-bottom:46px}
}

@media(max-width:850px){
  body.site-body{padding-bottom:76px}
  body.site-body .container{width:calc(100% - 24px)}
  .site-header{height:68px}
  .site-nav-shell{height:68px!important;padding:0!important;flex-wrap:nowrap!important}
  .site-brand-logo{width:118px;height:42px;padding:5px 9px}
  .site-brand-logo img{width:101px!important}
  .site-desktop-nav,.site-header-cta{display:none!important}
  .site-menu-button{display:grid!important;margin-left:auto!important}
  body.site-body .hero{padding:14px 0 0}
  body.site-body .hero-grid{grid-template-columns:1fr;gap:20px;padding:26px 22px;border-radius:18px}
  body.site-body .hero h1{font-size:clamp(38px,11vw,54px);letter-spacing:-2.1px}
  body.site-body .hero p{font-size:15px;line-height:1.6}
  body.site-body .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}
  body.site-body .hero-actions .btn:first-child{grid-column:1/-1}
  body.site-body .hero-logo{display:flex;min-height:230px;border-radius:16px}
  body.site-body .hero-logo img{width:min(78%,330px);padding:12px;border-radius:14px}
  body.site-body .hero-logo:before{width:210px;height:210px;right:-45px;top:-55px}
  body.site-body .section{padding:42px 0}
  body.site-body .section-head{display:flex;align-items:flex-end}
  body.site-body .section h2,body.site-body .red-section h2{font-size:30px}
  body.site-body .tariff-grid{grid-template-columns:1fr}
  body.site-body .tariff-card{padding:21px}
  body.site-body .red-section{padding:6px 0 42px}
  body.site-body .red-section>.container{padding:24px 20px;border-radius:18px}
  body.site-body .feature-grid{grid-template-columns:1fr 1fr;gap:9px}
  body.site-body .feature{min-height:135px}
  body.site-body .faq-list{grid-template-columns:1fr}
  body.site-body .cta-box{display:flex;align-items:center;padding:26px 24px;border-radius:18px}
  body.site-body .cta-box .btn{margin-top:0}
  body.site-body .page-hero{padding:14px 0 0}
  body.site-body .page-hero>.container{padding:22px 22px;border-radius:17px}
  body.site-body .page-hero h1{font-size:31px}
  body.site-body .contact-grid{grid-template-columns:1fr}
  body.site-body .form-card{padding:20px;border-radius:16px}
  body.site-body .site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:30px}
  body.site-body .site-footer-brand{grid-column:1/-1}
  body.site-body .mobile-bottom-nav{grid-template-columns:repeat(auto-fit,minmax(0,1fr));height:70px;border-color:#e1e4e8;box-shadow:0 -7px 24px rgba(17,24,39,.08)}
  body.site-body .mobile-bottom-nav a,body.site-body .mobile-bottom-nav button{color:#747a84}
  body.site-body .mobile-bottom-nav a.active,body.site-body .mobile-bottom-nav button:active{color:#d90000;background:#fff4f4}
}

@media(max-width:560px){
  body.site-body .container{width:calc(100% - 20px)}
  body.site-body .hero-grid{padding:23px 18px}
  body.site-body .hero h1{font-size:40px;letter-spacing:-1.7px}
  body.site-body .hero-actions{grid-template-columns:1fr}
  body.site-body .hero-actions .btn:first-child{grid-column:auto}
  body.site-body .hero-meta{gap:6px}
  body.site-body .hero-meta span{font-size:10px;min-height:29px;padding:5px 8px}
  body.site-body .hero-logo{min-height:190px}
  body.site-body .hero-logo:after{left:14px;bottom:12px;font-size:8px}
  body.site-body .section{padding:34px 0}
  body.site-body .section-head{display:block;margin-bottom:18px}
  body.site-body .section-head .text-link{margin-top:14px}
  body.site-body .section h2,body.site-body .red-section h2{font-size:28px}
  body.site-body .feature-grid{grid-template-columns:1fr}
  body.site-body .feature{min-height:0}
  body.site-body .cta-box{display:block;padding:24px 20px}
  body.site-body .cta-box .btn{width:100%;margin-top:20px}
  body.site-body .page-hero h1{font-size:28px}
  body.site-body .page-hero p{font-size:13px}
  body.site-body .speedtest-card{padding:18px;border-radius:16px}
  body.site-body .speedtest-dashboard{margin:18px 0 24px}
  body.site-body .speedtest-metrics{grid-template-columns:1fr 1fr}
  body.site-body .speed-metric{min-height:100px;padding:14px}
  body.site-body .speed-metric strong{font-size:24px}
  body.site-body .site-footer{padding-top:38px}
  body.site-body .site-footer .footer-grid{grid-template-columns:1fr;gap:28px}
  body.site-body .site-footer-brand{grid-column:auto}
  body.site-body .copyright{align-items:flex-start;gap:7px;flex-direction:column}
}

/* =========================================================
   V3 — Hero network dashboard
   Replaces the large static logo with a compact provider card.
   ========================================================= */
body.site-body .hero-network-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:360px;
  padding:17px;
  border-radius:20px;
  background:linear-gradient(155deg,#151619 0%,#1d1f23 58%,#24262b 100%);
  border:1px solid #2a2c31;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 15px 34px rgba(17,24,39,.11);
  overflow:hidden;
  isolation:isolate;
}
body.site-body .hero-network-card:before{
  content:"";
  position:absolute;
  width:310px;
  height:310px;
  right:-135px;
  top:-150px;
  border-radius:50%;
  border:44px solid rgba(237,0,0,.075);
  box-shadow:0 0 0 55px rgba(255,255,255,.018);
  z-index:-1;
}
body.site-body .hero-network-card:after{
  content:"";
  position:absolute;
  left:-90px;
  bottom:-130px;
  width:250px;
  height:250px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(237,0,0,.08) 0,rgba(237,0,0,0) 67%);
  z-index:-1;
}
body.site-body .hero-network-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:28px;
}
body.site-body .hero-network-name,
body.site-body .hero-network-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
body.site-body .hero-network-name{
  color:#f3f4f6;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.15px;
}
body.site-body .hero-network-name i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--site-red);
  box-shadow:0 0 0 5px rgba(237,0,0,.10);
}
body.site-body .hero-network-status{
  min-height:27px;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:9px;
  background:rgba(255,255,255,.035);
  color:#aeb4bd;
  font-size:9px;
  font-weight:750;
}
body.site-body .hero-network-status i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#35bd6d;
  box-shadow:0 0 0 4px rgba(53,189,109,.10);
}
body.site-body .hero-network-stage{
  position:relative;
  flex:1 1 auto;
  display:grid;
  place-items:center;
  min-height:155px;
  margin:7px 0 10px;
}
body.site-body .hero-network-logo{
  position:relative;
  z-index:4;
  display:grid;
  place-items:center;
  width:min(66%,235px);
  min-height:100px;
  padding:15px 20px;
  border:1px solid rgba(255,255,255,.85);
  border-radius:18px;
  background:#fff;
  box-shadow:0 22px 55px rgba(0,0,0,.28);
}
body.site-body .hero-network-logo:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-8px;
  width:42%;
  height:10px;
  transform:translateX(-50%);
  border-radius:50%;
  background:rgba(0,0,0,.22);
  filter:blur(8px);
  z-index:-1;
}
body.site-body .hero-network-logo img{
  display:block;
  width:100%!important;
  max-width:190px;
  height:auto;
  object-fit:contain;
}
body.site-body .hero-wave{
  position:absolute;
  left:50%;
  top:50%;
  border:1px solid rgba(237,0,0,.18);
  border-radius:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
}
body.site-body .hero-wave.wave-1{width:180px;height:180px}
body.site-body .hero-wave.wave-2{width:245px;height:245px;border-color:rgba(237,0,0,.10)}
body.site-body .hero-wave.wave-3{width:310px;height:310px;border-color:rgba(255,255,255,.035)}
body.site-body .hero-connection-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:65px;
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:rgba(255,255,255,.045);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
body.site-body .hero-connection-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.site-body .hero-connection-main span{
  color:#858c96;
  font-size:9px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.45px;
}
body.site-body .hero-connection-main strong{
  color:#fff;
  font-size:17px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.site-body .hero-online-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
  min-height:28px;
  padding:5px 8px;
  border-radius:9px;
  background:rgba(53,189,109,.085);
  border:1px solid rgba(53,189,109,.15);
  color:#7ee0a4;
  font-size:8px;
  font-weight:900;
  letter-spacing:.6px;
}
body.site-body .hero-online-badge i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#35bd6d;
}
body.site-body .hero-network-features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}
body.site-body .hero-network-features>div{
  min-width:0;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}
body.site-body .hero-network-features span{
  display:block;
  margin-bottom:2px;
  color:#737983;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.45px;
}
body.site-body .hero-network-features strong{
  display:block;
  color:#d7dbe0;
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Large desktop: keep the visual balanced instead of stretching forever. */
@media(min-width:1540px){
  body.site-body .hero-grid{grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr)}
  body.site-body .hero-network-card{min-height:370px}
}

/* Laptop / standard desktop */
@media(max-width:1390px){
  body.site-body .hero-network-card{min-height:320px;padding:15px}
  body.site-body .hero-network-stage{min-height:125px;margin:5px 0 8px}
  body.site-body .hero-network-logo{width:min(64%,210px);min-height:88px;padding:13px 18px}
  body.site-body .hero-network-logo img{max-width:172px}
  body.site-body .hero-wave.wave-1{width:155px;height:155px}
  body.site-body .hero-wave.wave-2{width:210px;height:210px}
  body.site-body .hero-wave.wave-3{width:265px;height:265px}
  body.site-body .hero-connection-panel{min-height:59px;padding:10px 12px}
  body.site-body .hero-connection-main strong{font-size:15px}
  body.site-body .hero-network-features>div{padding:8px 10px}
}

@media(max-width:1180px){
  body.site-body .hero-network-card{min-height:292px;padding:14px}
  body.site-body .hero-network-head{min-height:25px}
  body.site-body .hero-network-status{padding:4px 7px}
  body.site-body .hero-network-stage{min-height:112px}
  body.site-body .hero-network-logo{width:min(68%,190px);min-height:80px;padding:11px 16px}
  body.site-body .hero-network-logo img{max-width:154px}
  body.site-body .hero-wave.wave-1{width:140px;height:140px}
  body.site-body .hero-wave.wave-2{width:190px;height:190px}
  body.site-body .hero-wave.wave-3{width:235px;height:235px}
  body.site-body .hero-network-features strong{font-size:10px}
}

/* Narrow desktop / landscape tablet: keep the dashboard, but flatten it. */
@media(max-width:960px) and (min-width:851px){
  body.site-body .hero-network-card{
    min-height:224px;
    display:grid;
    grid-template-columns:minmax(180px,.72fr) minmax(0,1.28fr);
    grid-template-rows:auto 1fr auto;
    column-gap:14px;
    padding:15px;
  }
  body.site-body .hero-network-head{grid-column:1/-1}
  body.site-body .hero-network-stage{grid-column:1;grid-row:2/4;min-height:160px;margin:3px 0}
  body.site-body .hero-network-logo{width:min(72%,190px)}
  body.site-body .hero-connection-panel{grid-column:2;grid-row:2;align-self:end}
  body.site-body .hero-network-features{grid-column:2;grid-row:3;align-self:start}
}

/* Mobile: simplified visual, still recognizable and compact. */
@media(max-width:850px){
  body.site-body .hero-network-card{min-height:0;padding:14px;border-radius:16px}
  body.site-body .hero-network-stage{min-height:142px;margin:4px 0 8px}
  body.site-body .hero-network-logo{width:min(58%,210px);min-height:78px;padding:11px 15px;border-radius:15px}
  body.site-body .hero-network-logo img{max-width:165px}
  body.site-body .hero-wave.wave-1{width:135px;height:135px}
  body.site-body .hero-wave.wave-2{width:185px;height:185px}
  body.site-body .hero-wave.wave-3{width:230px;height:230px}
  body.site-body .hero-connection-panel{min-height:57px}
  body.site-body .hero-network-features{margin-top:7px}
}

@media(max-width:560px){
  body.site-body .hero-network-card{padding:12px}
  body.site-body .hero-network-name{font-size:9px}
  body.site-body .hero-network-status span{display:none}
  body.site-body .hero-network-status{width:28px;height:28px;justify-content:center;padding:0}
  body.site-body .hero-network-stage{min-height:112px;margin:2px 0 7px}
  body.site-body .hero-network-logo{width:min(62%,175px);min-height:64px;padding:9px 13px;border-radius:13px}
  body.site-body .hero-network-logo img{max-width:140px}
  body.site-body .hero-wave.wave-1{width:110px;height:110px}
  body.site-body .hero-wave.wave-2{width:150px;height:150px}
  body.site-body .hero-wave.wave-3{width:190px;height:190px}
  body.site-body .hero-connection-panel{min-height:52px;padding:9px 10px}
  body.site-body .hero-connection-main span{font-size:8px}
  body.site-body .hero-connection-main strong{font-size:13px}
  body.site-body .hero-online-badge{font-size:7px;padding:4px 6px;min-height:25px}
  body.site-body .hero-network-features{display:none}
}

@media(max-width:390px){
  body.site-body .hero-network-stage{min-height:96px}
  body.site-body .hero-network-logo{width:min(64%,160px);min-height:58px}
  body.site-body .hero-network-logo img{max-width:126px}
  body.site-body .hero-wave.wave-3{display:none}
  body.site-body .hero-connection-main strong{font-size:12px}
}

/* =========================================================
   V4 — Desktop balance & compact hero polish
   Small visual refinements after real laptop preview.
   ========================================================= */
@media(min-width:961px){
  body.site-body .hero{padding:24px 0 0}
  body.site-body .hero-grid{
    grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr);
    gap:38px;
    padding:40px 42px;
  }
  body.site-body .hero h1{font-size:clamp(44px,5vw,68px)}
  body.site-body .hero-meta{margin-top:18px}
  body.site-body .hero + .section{padding-top:36px}

  body.site-body .hero-network-card{
    width:100%;
    max-width:420px;
    min-height:338px;
    justify-self:end;
    align-self:center;
    padding:16px;
    background:linear-gradient(155deg,#1a1c20 0%,#202226 58%,#282a2f 100%);
    border-color:#303238;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 11px 26px rgba(17,24,39,.085);
  }
  body.site-body .hero-network-card:before{
    width:285px;
    height:285px;
    right:-132px;
    top:-145px;
    border-width:38px;
    border-color:rgba(237,0,0,.055);
    box-shadow:0 0 0 50px rgba(255,255,255,.012);
  }
  body.site-body .hero-network-card:after{opacity:.62}
  body.site-body .hero-network-stage{min-height:142px;margin:4px 0 8px}
  body.site-body .hero-network-logo{
    width:min(72%,238px);
    min-height:88px;
    padding:10px 14px;
    border-radius:16px;
    box-shadow:0 17px 40px rgba(0,0,0,.22);
  }
  body.site-body .hero-network-logo img{max-width:208px}
  body.site-body .hero-wave.wave-1{border-color:rgba(237,0,0,.14)}
  body.site-body .hero-wave.wave-2{border-color:rgba(237,0,0,.07)}
  body.site-body .hero-wave.wave-3{border-color:rgba(255,255,255,.025)}
  body.site-body .hero-connection-panel{min-height:61px;padding:10px 12px}
  body.site-body .hero-network-features>div{padding:8px 10px}
}

@media(min-width:1540px){
  body.site-body .hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr)}
  body.site-body .hero-network-card{max-width:430px;min-height:345px}
}

@media(max-width:1390px) and (min-width:961px){
  body.site-body .hero{padding-top:19px}
  body.site-body .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(300px,.64fr);
    gap:30px;
    padding:32px 34px;
  }
  body.site-body .hero h1{
    max-width:690px;
    font-size:clamp(42px,4.25vw,56px);
    line-height:1.015;
    letter-spacing:-2.35px;
    margin-bottom:17px;
  }
  body.site-body .hero p{font-size:15.5px;line-height:1.58}
  body.site-body .hero-actions{margin-top:23px}
  body.site-body .hero-meta{margin-top:15px}
  body.site-body .hero + .section{padding-top:31px}

  body.site-body .hero-network-card{max-width:380px;min-height:298px;padding:14px}
  body.site-body .hero-network-stage{min-height:112px;margin:3px 0 7px}
  body.site-body .hero-network-logo{width:min(70%,205px);min-height:76px;padding:8px 12px;border-radius:14px}
  body.site-body .hero-network-logo img{max-width:184px}
  body.site-body .hero-wave.wave-1{width:138px;height:138px}
  body.site-body .hero-wave.wave-2{width:188px;height:188px}
  body.site-body .hero-wave.wave-3{width:232px;height:232px}
  body.site-body .hero-connection-panel{min-height:55px;padding:9px 11px}
  body.site-body .hero-connection-main strong{font-size:14px}
  body.site-body .hero-network-features{margin-top:7px}
  body.site-body .hero-network-features>div{padding:7px 9px}
}

@media(max-width:1180px) and (min-width:961px){
  body.site-body .hero-grid{grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding:30px}
  body.site-body .hero h1{font-size:clamp(40px,4.6vw,50px);letter-spacing:-2px}
  body.site-body .hero-network-card{max-width:300px;min-height:282px;padding:13px}
  body.site-body .hero-network-logo{width:min(72%,184px);min-height:70px}
  body.site-body .hero-network-logo img{max-width:163px}
}

/* Keep the existing tablet/mobile layouts full-width. */
@media(max-width:960px){
  body.site-body .hero-network-card{width:100%;max-width:none;justify-self:stretch;align-self:stretch}
  body.site-body .hero + .section{padding-top:34px}
}

/* Short laptop screens need extra vertical economy. */
@media(min-width:851px) and (max-height:800px){
  body.site-body .hero-grid{padding-top:27px;padding-bottom:27px}
  body.site-body .hero h1{font-size:clamp(40px,4.15vw,54px);margin-bottom:15px}
  body.site-body .hero p{line-height:1.5}
  body.site-body .hero-actions{margin-top:19px}
  body.site-body .hero-meta{margin-top:13px}
  body.site-body .hero + .section{padding-top:27px}
  body.site-body .hero-network-card{min-height:276px}
}

@media(max-width:560px){
  body.site-body .hero + .section{padding-top:29px}
  body.site-body .hero-meta{margin-top:15px}
}

/* =========================================================
   V5 — inner public pages
   Tariffs / Connect / Contacts / Payment / Speedtest
   ========================================================= */
body.site-body .page-hero-rich{padding-top:22px}
body.site-body .page-hero-rich>.container{padding:0;background:transparent;border:0;box-shadow:none;overflow:visible}
body.site-body .page-hero-rich>.container:before{display:none}
body.site-body .page-hero-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr);gap:16px;align-items:stretch}
body.site-body .page-hero-copy{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:245px;padding:34px 36px 34px 42px;background:#fff;border:1px solid var(--site-border);border-radius:20px;box-shadow:var(--site-shadow);overflow:hidden}
body.site-body .page-hero-copy:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--site-red)}
body.site-body .page-hero-copy h1{max-width:820px;margin:0 0 12px;font-size:44px;line-height:1.02;letter-spacing:-1.8px}
body.site-body .page-hero-copy p{max-width:760px;font-size:15px;line-height:1.65}
body.site-body .page-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
body.site-body .page-hero-actions .btn{gap:8px}
body.site-body .page-hero-panel{display:flex;flex-direction:column;justify-content:space-between;min-height:245px;padding:24px;background:linear-gradient(150deg,#17181b,#25272c);border:1px solid #2d3035;border-radius:20px;color:#fff;box-shadow:0 10px 28px rgba(17,24,39,.08);overflow:hidden;position:relative}
body.site-body .page-hero-panel:before{content:"";position:absolute;right:-58px;top:-72px;width:220px;height:220px;border:1px solid rgba(237,0,0,.2);border-radius:50%;box-shadow:0 0 0 46px rgba(237,0,0,.028),0 0 0 92px rgba(255,255,255,.018)}
body.site-body .page-hero-panel>*{position:relative;z-index:1}
body.site-body .page-hero-panel-title{display:flex;align-items:center;gap:12px}
body.site-body .page-hero-panel-title small,body.site-body .page-hero-panel>div>small,body.site-body .page-hero-panel>small{display:block;color:#8f96a1;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.65px}
body.site-body .page-hero-panel-title strong,body.site-body .page-hero-panel>div>strong{display:block;margin-top:3px;font-size:17px}
body.site-body .page-icon-box{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:11px;background:var(--site-red-soft);color:var(--site-red);border:1px solid #ffe0e0}
body.site-body .page-icon-box-dark{background:#24262b;color:#fff;border-color:#34373d}
body.site-body .page-icon{width:19px;height:19px}
body.site-body .page-note-icon{width:14px;height:14px;flex:0 0 auto}
body.site-body .hero-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 10px}
body.site-body .hero-mini-stats>div{padding:13px;border:1px solid #34373d;border-radius:13px;background:rgba(255,255,255,.035)}
body.site-body .hero-mini-stats span{display:block;color:#878e98;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.55px}
body.site-body .hero-mini-stats b{display:block;margin-top:4px;font-size:17px;line-height:1.1}
body.site-body .hero-mini-stats b small{font-size:10px;color:#8f96a1}
body.site-body .hero-panel-note{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:8px 10px;border:1px solid #34373d;border-radius:10px;background:rgba(255,255,255,.035);color:#c4c9d0;font-size:10px;font-weight:750}

body.site-body .subpage-section{padding:30px 0 48px}
body.site-body .subpage-bottom-section{padding:0 0 52px}
body.site-body .subpage-section-head{align-items:flex-end;margin-bottom:20px}
body.site-body .subpage-section-head>div{min-width:0}
body.site-body .subpage-section-head h2{font-size:34px}
body.site-body .subpage-section-head>p{max-width:430px;margin:0;color:#838892;font-size:12px;line-height:1.55;text-align:right}

/* Tariffs page */
body.site-body .tariff-grid-full .tariff-card{min-height:100%;display:flex;flex-direction:column}
body.site-body .tariff-grid-full .tariff-card ul{flex:1}
body.site-body .tariff-card-top{display:flex;align-items:center;gap:10px;margin-bottom:16px}
body.site-body .tariff-card-top .tariff-card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f6f7f8;color:#626873;border:1px solid #e7e9ec}
body.site-body .tariff-card.featured .tariff-card-icon{background:var(--site-red-soft);color:var(--site-red);border-color:#ffdcdc}
body.site-body .tariff-card-top .page-icon{width:16px;height:16px}
body.site-body .tariff-card-top h3{margin:0;padding:0;font-size:17px}
body.site-body .tariff-check{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:7px;border-radius:6px;background:#f2f4f6;color:#333;font-size:10px;font-weight:900;vertical-align:-2px}
body.site-body .featured .tariff-check{background:var(--site-red-soft);color:var(--site-red)}
body.site-body .tariff-grid-full .tariff-card .btn{gap:8px}
body.site-body .subpage-info-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px;background:#fff;border:1px solid var(--site-border);border-radius:18px;box-shadow:var(--site-shadow)}
body.site-body .subpage-info-strip>div{display:flex;align-items:center;gap:11px;padding:12px;border-right:1px solid #eceef1}
body.site-body .subpage-info-strip>div:last-child{border-right:0}
body.site-body .subpage-info-strip p,body.site-body .aside-benefits p,body.site-body .contact-action p,body.site-body .contact-details-box p,body.site-body .payment-security p{margin:0;min-width:0}
body.site-body .subpage-info-strip strong,body.site-body .aside-benefits strong,body.site-body .contact-action strong,body.site-body .contact-details-box strong,body.site-body .payment-security strong{display:block;color:#25292e;font-size:12px}
body.site-body .subpage-info-strip small,body.site-body .aside-benefits small,body.site-body .contact-action small,body.site-body .contact-details-box small,body.site-body .payment-security small{display:block;margin-top:3px;color:#9298a1;font-size:10px;line-height:1.4}

/* Connect */
body.site-body .connect-hero-panel{justify-content:center;gap:8px}
body.site-body .connect-step{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #33363c;border-radius:12px;background:rgba(255,255,255,.035)}
body.site-body .connect-step b{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#2c2f34;color:#ff6666;font-size:9px}
body.site-body .connect-step span{display:block}
body.site-body .connect-step strong{display:block;font-size:11px}
body.site-body .connect-step small{display:block;margin-top:2px;color:#858c96;font-size:9px}
body.site-body .connect-layout,body.site-body .payment-layout,body.site-body .speed-page-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:18px;align-items:start}
body.site-body .connect-aside,body.site-body .payment-aside,body.site-body .speedtest-aside{position:sticky;top:98px;padding:25px;background:#fff;border:1px solid var(--site-border);border-radius:18px;box-shadow:var(--site-shadow)}
body.site-body .connect-aside h2,body.site-body .payment-aside h2,body.site-body .speedtest-aside h2{margin:0 0 10px;font-size:25px;line-height:1.12;letter-spacing:-.5px}
body.site-body .connect-aside>p{margin:0;color:#7f858e;font-size:12px;line-height:1.6}
body.site-body .aside-benefits{display:grid;gap:9px;margin-top:20px}
body.site-body .aside-benefits>div{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #eaecf0;border-radius:13px;background:#fafbfc}
body.site-body .aside-benefits .page-icon-box{width:36px;height:36px;border-radius:10px}
body.site-body .aside-benefits .page-icon{width:17px;height:17px}
body.site-body .selected-tariff-box{margin-top:16px;padding:15px;border:1px solid #ffdada;border-radius:13px;background:#fff7f7}
body.site-body .selected-tariff-box small{display:block;color:#b35a5a;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.45px}
body.site-body .selected-tariff-box strong{display:block;margin-top:5px;color:#1c1f23;font-size:15px}
body.site-body .selected-tariff-box span{display:block;margin-top:3px;color:#777e87;font-size:11px}
body.site-body .connect-form-card{padding:27px}
body.site-body .form-card-head{display:flex;align-items:center;gap:12px;margin-bottom:21px;padding-bottom:18px;border-bottom:1px solid #eceef1}
body.site-body .form-card-head .eyebrow{margin:0 0 3px}
body.site-body .form-card-head h2{margin:0;font-size:23px;line-height:1.1}
body.site-body .form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.site-body .form-alert{margin-bottom:15px;padding:11px 12px;border:1px solid #ffdada;border-radius:10px;background:#fff5f5;color:#a20f0f;font-size:12px}
body.site-body .form-footnote{margin:10px 0 0;text-align:center;color:#999fa7;font-size:10px}
body.site-body .success-card{min-height:390px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:36px}
body.site-body .success-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:18px;border-radius:15px;background:#eefaf2;color:#22a35a;border:1px solid #d9efdf}
body.site-body .success-icon .page-icon{width:26px;height:26px}
body.site-body .success-card .eyebrow{color:#249155}
body.site-body .success-card .eyebrow:before{background:#22a35a;box-shadow:0 0 0 5px rgba(34,163,90,.08)}
body.site-body .success-card h2{font-size:30px;margin-bottom:9px}
body.site-body .success-actions{display:flex;gap:9px;margin-top:12px}

/* Contacts */
body.site-body .contact-hero-panel{justify-content:center;align-items:flex-start}
body.site-body .contact-hero-panel>small{margin-top:14px}
body.site-body .contact-hero-phone{display:block;margin-top:3px;color:#fff;font-size:22px;font-weight:900;letter-spacing:-.4px}
body.site-body .contact-hero-time{display:flex;align-items:center;gap:6px;margin-top:13px;color:#9da3ac;font-size:10px}
body.site-body .contact-page-grid{display:grid;grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr);gap:18px;align-items:stretch}
body.site-body .contact-side-card,body.site-body .map-card{background:#fff;border:1px solid var(--site-border);border-radius:18px;box-shadow:var(--site-shadow)}
body.site-body .contact-side-card{padding:24px}
body.site-body .contact-side-card h2,body.site-body .map-card h2{margin:0;font-size:25px;line-height:1.12}
body.site-body .contact-action-list{display:grid;gap:8px;margin-top:19px}
body.site-body .contact-action{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid #e9ebee;border-radius:13px;background:#fafbfc;transition:.15s ease}
body.site-body .contact-action:hover{background:#fff;border-color:#dfe2e6;transform:translateY(-1px);box-shadow:0 6px 15px rgba(17,24,39,.035)}
body.site-body .contact-action p{flex:1}
body.site-body .contact-action .page-icon-box{width:36px;height:36px}
body.site-body .contact-action .page-icon{width:17px;height:17px}
body.site-body .contact-arrow{width:16px;height:16px;color:#a5aab1}
body.site-body .contact-details-box{display:grid;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #eceef1}
body.site-body .contact-details-box>div{display:flex;align-items:flex-start;gap:10px}
body.site-body .contact-details-box .page-icon-box{width:34px;height:34px}
body.site-body .contact-details-box .page-icon{width:16px;height:16px}
body.site-body .map-card{padding:7px;overflow:hidden}
body.site-body .map-card-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:18px 18px 14px}
body.site-body .map-card-head>span{max-width:300px;color:#8a9099;font-size:10px;text-align:right}
body.site-body .map-card .map-wrap{min-height:0;padding:0;border:0;border-radius:14px;box-shadow:none;overflow:hidden}
body.site-body .map-card .map-wrap iframe{display:block;width:100%;height:430px;border-radius:14px}
body.site-body .empty-state{color:#8b9199;font-size:12px}

/* Payment */
body.site-body .payment-hero-panel{justify-content:center;gap:12px}
body.site-body .payment-hero-panel>div:nth-child(2){margin-top:2px}
body.site-body .payment-hero-panel>div:nth-child(2) strong{font-size:16px}
body.site-body .payment-steps{display:grid;gap:8px;margin-top:19px}
body.site-body .payment-steps>div{display:flex;gap:10px;padding:12px;border:1px solid #e9ebee;border-radius:13px;background:#fafbfc}
body.site-body .payment-steps b{display:grid;place-items:center;flex:0 0 auto;width:31px;height:31px;border-radius:9px;background:var(--site-red-soft);color:var(--site-red);font-size:9px}
body.site-body .payment-steps p{margin:0}
body.site-body .payment-steps strong{display:block;font-size:11px}
body.site-body .payment-steps small{display:block;margin-top:3px;color:#9298a1;font-size:9px;line-height:1.4}
body.site-body .payment-security{display:flex;align-items:center;gap:10px;margin-top:15px;padding-top:15px;border-top:1px solid #eceef1}
body.site-body .payment-security .page-icon-box{width:36px;height:36px}
body.site-body .payment-form-card{max-width:none;padding:27px}
body.site-body .payment-form-card .account-info{margin:-2px 0 14px;padding:16px;border-radius:12px}
body.site-body .payment-form-card .account-info span,body.site-body .payment-form-card .account-info small{display:block;color:#858b95;font-size:10px}
body.site-body .payment-form-card .account-info b{display:block;margin:3px 0;font-size:27px}
body.site-body .payment-form-card .pay-message{padding:11px 12px;margin-bottom:15px;font-size:12px}
body.site-body .payment-form-card .pay-note{margin:10px 0 0;text-align:center;color:#8f959e;font-size:10px}
body.site-body .payment-form-card .pay-note a{color:var(--site-red);font-weight:850}
body.site-body .payment-form-card #payBtn{gap:8px}
body.site-body .payment-form-card #payBtn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}

/* Speedtest page */
body.site-body .speed-hero-panel{justify-content:center;gap:12px}
body.site-body .speedtest-section{padding-top:30px}
body.site-body .speedtest-aside .aside-benefits{margin-top:18px}
body.site-body .speedtest-card{padding:27px}
body.site-body .speedtest-head{padding-bottom:17px;margin-bottom:20px;border-bottom:1px solid #eceef1}
body.site-body .speedtest-head h2{margin:0 0 5px;font-size:23px}
body.site-body .speedtest-head .eyebrow{margin-bottom:5px}
body.site-body .speedtest-head p{margin:0}
body.site-body .speedtest-dashboard{grid-template-columns:minmax(220px,300px) 1fr;gap:24px;margin:8px 0 24px}
body.site-body .speedtest-gauge-ring{width:250px;height:250px}
body.site-body .speedtest-gauge-ring:before{inset:14px}
body.site-body .speedtest-gauge-inner strong{font-size:46px}
body.site-body .speedtest-metrics{gap:9px}
body.site-body .speed-metric{min-height:105px;padding:15px;border-radius:13px}
body.site-body .speed-metric strong{font-size:25px}
body.site-body .speedtest-start{width:100%;min-height:49px}
body.site-body .speedtest-progress{height:6px;margin:13px 0 8px;border-radius:99px;overflow:hidden}
body.site-body .speedtest-status{text-align:center;font-size:10px}
body.site-body .speedtest-note{display:flex;gap:8px;align-items:flex-start}
body.site-body .speedtest-note strong{flex:0 0 auto}
body.site-body .speedtest-note span{line-height:1.5}

@media(max-width:1180px){
  body.site-body .page-hero-layout{grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr)}
  body.site-body .page-hero-copy{min-height:225px;padding:30px 32px 30px 37px}
  body.site-body .page-hero-copy h1{font-size:39px}
  body.site-body .page-hero-panel{min-height:225px;padding:20px}
  body.site-body .connect-layout,body.site-body .payment-layout,body.site-body .speed-page-layout{grid-template-columns:300px minmax(0,1fr)}
  body.site-body .contact-page-grid{grid-template-columns:310px minmax(0,1fr)}
  body.site-body .speedtest-dashboard{grid-template-columns:230px 1fr}
  body.site-body .speedtest-gauge-ring{width:220px;height:220px}
}

@media(max-width:960px){
  body.site-body .page-hero-layout{grid-template-columns:1fr}
  body.site-body .page-hero-copy{min-height:0}
  body.site-body .page-hero-panel{min-height:0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
  body.site-body .tariff-hero-panel{grid-template-columns:1fr}
  body.site-body .tariff-hero-panel .hero-mini-stats{margin:4px 0}
  body.site-body .connect-hero-panel{grid-template-columns:repeat(3,1fr)}
  body.site-body .connect-step{height:100%}
  body.site-body .payment-hero-panel .hero-panel-note,body.site-body .speed-hero-panel .hero-panel-note{grid-column:1/-1}
  body.site-body .connect-layout,body.site-body .payment-layout,body.site-body .speed-page-layout,body.site-body .contact-page-grid{grid-template-columns:1fr}
  body.site-body .connect-aside,body.site-body .payment-aside,body.site-body .speedtest-aside{position:static}
  body.site-body .aside-benefits{grid-template-columns:repeat(3,1fr)}
  body.site-body .contact-action-list{grid-template-columns:repeat(3,1fr)}
  body.site-body .contact-action{align-items:flex-start;flex-direction:column}
  body.site-body .contact-action .contact-arrow{display:none}
  body.site-body .contact-details-box{grid-template-columns:1fr 1fr}
  body.site-body .payment-steps{grid-template-columns:repeat(3,1fr)}
  body.site-body .payment-steps>div{display:block}
  body.site-body .payment-steps b{margin-bottom:8px}
  body.site-body .speedtest-dashboard{grid-template-columns:240px 1fr}
}

@media(max-width:850px){
  body.site-body .page-hero-rich{padding-top:14px}
  body.site-body .page-hero-copy{padding:24px 22px 24px 27px;border-radius:17px}
  body.site-body .page-hero-copy h1{font-size:33px;letter-spacing:-1px}
  body.site-body .page-hero-panel{padding:18px;border-radius:17px}
  body.site-body .subpage-section{padding:24px 0 38px}
  body.site-body .subpage-bottom-section{padding-bottom:42px}
  body.site-body .subpage-section-head{display:block}
  body.site-body .subpage-section-head>p{max-width:620px;margin-top:8px;text-align:left}
  body.site-body .subpage-info-strip{grid-template-columns:1fr}
  body.site-body .subpage-info-strip>div{border-right:0;border-bottom:1px solid #eceef1}
  body.site-body .subpage-info-strip>div:last-child{border-bottom:0}
  body.site-body .connect-hero-panel{grid-template-columns:1fr}
  body.site-body .aside-benefits{grid-template-columns:1fr}
  body.site-body .contact-action-list{grid-template-columns:1fr}
  body.site-body .contact-action{align-items:center;flex-direction:row}
  body.site-body .contact-action .contact-arrow{display:block}
  body.site-body .payment-steps{grid-template-columns:1fr}
  body.site-body .payment-steps>div{display:flex}
  body.site-body .payment-steps b{margin-bottom:0}
  body.site-body .map-card-head{align-items:flex-start;flex-direction:column}
  body.site-body .map-card-head>span{text-align:left}
  body.site-body .map-card .map-wrap iframe{height:380px}
  body.site-body .speedtest-dashboard{grid-template-columns:1fr}
  body.site-body .speedtest-gauge-ring{width:235px;height:235px}
}

@media(max-width:560px){
  body.site-body .page-hero-copy{padding:22px 18px 22px 23px}
  body.site-body .page-hero-copy h1{font-size:30px}
  body.site-body .page-hero-copy p{font-size:13px}
  body.site-body .page-hero-actions{display:grid;grid-template-columns:1fr}
  body.site-body .page-hero-actions .btn{width:100%}
  body.site-body .page-hero-panel{display:flex;min-height:0;padding:16px}
  body.site-body .hero-mini-stats{width:100%}
  body.site-body .subpage-section-head h2{font-size:28px}
  body.site-body .form-grid-2{grid-template-columns:1fr;gap:0}
  body.site-body .connect-aside,body.site-body .payment-aside,body.site-body .speedtest-aside,body.site-body .contact-side-card{padding:20px}
  body.site-body .connect-form-card,body.site-body .payment-form-card,body.site-body .speedtest-card{padding:20px}
  body.site-body .success-card{min-height:330px;padding:26px}
  body.site-body .success-actions{display:grid;width:100%;grid-template-columns:1fr}
  body.site-body .success-actions .btn{width:100%}
  body.site-body .contact-details-box{grid-template-columns:1fr}
  body.site-body .contact-hero-phone{font-size:19px}
  body.site-body .map-card .map-wrap iframe{height:330px}
  body.site-body .speedtest-metrics{grid-template-columns:1fr 1fr}
  body.site-body .speedtest-note{display:block}
  body.site-body .speedtest-note strong{display:block;margin-bottom:5px}
}


/* =========================================================
   V6 — Compact mobile footer
   Keep desktop unchanged; simplify the end of the page on phones.
   ========================================================= */
@media(max-width:560px){
  body.site-body .cta{padding-top:18px;padding-bottom:20px}
  body.site-body .cta .cta-box{
    padding:22px 20px;
    border-radius:18px;
    gap:15px;
  }
  body.site-body .cta .cta-box .eyebrow{margin-bottom:9px}
  body.site-body .cta .cta-box h2{font-size:28px;line-height:1.08;letter-spacing:-.8px}
  body.site-body .cta .cta-box p{margin:8px 0 0;font-size:12px;line-height:1.45}
  body.site-body .cta .cta-box .btn{min-height:48px;margin-top:15px}

  body.site-body .site-footer{
    padding:22px 0 16px;
    border-top:0;
    background:#111214;
  }
  body.site-body .site-footer .footer-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
  }
  body.site-body .site-footer-brand{
    display:grid;
    grid-template-columns:auto 1fr;
    grid-template-areas:
      "logo status"
      "desc desc";
    align-items:center;
    gap:10px 12px;
  }
  body.site-body .site-footer-logo-box{
    grid-area:logo;
    padding:5px 8px;
    border-radius:10px;
  }
  body.site-body .site-footer .footer-logo{width:92px}
  body.site-body .site-footer-status{
    grid-area:status;
    justify-self:end;
    padding:7px 9px;
    font-size:10px!important;
    white-space:nowrap;
  }
  body.site-body .site-footer p{
    grid-area:desc;
    max-width:none;
    margin:0;
    color:#737982;
    font-size:11px;
    line-height:1.45;
  }
  body.site-body .site-footer-links{display:none}
  body.site-body .site-footer-contacts{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:5px 14px;
    padding-top:13px;
    border-top:1px solid #25272b;
  }
  body.site-body .site-footer-contacts b{
    grid-column:1/-1;
    margin:0 0 2px;
    font-size:10px;
  }
  body.site-body .site-footer-contacts a{
    margin:0!important;
    color:#f1f2f4;
    font-size:13px!important;
    font-weight:800;
  }
  body.site-body .site-footer-contacts span{
    margin:0!important;
    color:#777d86;
    font-size:10px!important;
  }
  body.site-body .site-footer-contacts span:first-of-type{
    grid-column:2;
    grid-row:2;
    text-align:right;
  }
  body.site-body .site-footer-contacts span:last-of-type{
    grid-column:1/-1;
  }
  body.site-body .copyright{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:14px;
    padding-top:12px;
    font-size:9px;
  }
  body.site-body .copyright span{font-size:9px!important}
}

@media(max-width:390px){
  body.site-body .site-footer-brand{grid-template-columns:1fr}
  body.site-body .site-footer-logo-box{grid-area:auto;justify-self:start}
  body.site-body .site-footer-status{grid-area:auto;justify-self:start}
  body.site-body .site-footer p{grid-area:auto}
  body.site-body .site-footer-contacts{grid-template-columns:1fr}
  body.site-body .site-footer-contacts span:first-of-type{grid-column:auto;grid-row:auto;text-align:left}
  body.site-body .site-footer-contacts span:last-of-type{grid-column:auto}
}

/* =========================================================
   V7 — Mobile hero polish
   Compact app-like header + shorter first screen.
   Desktop/tablet layouts remain unchanged.
   ========================================================= */
@media(max-width:560px){
  /* Header: less empty space, same tap targets. */
  .site-header{height:60px}
  .site-nav-shell{height:60px!important}
  .site-brand-logo{
    width:108px;
    height:38px;
    padding:4px 8px;
    border-radius:11px;
  }
  .site-brand-logo img{width:92px!important;max-height:31px}
  .site-menu-button{width:40px;height:40px;border-radius:11px!important}
  .site-menu-icon{width:20px;height:20px}

  /* Hero: keep the strong visual hierarchy, but show more content above the fold. */
  body.site-body .hero{padding-top:10px}
  body.site-body .hero-grid{
    gap:14px;
    padding:19px 16px 16px;
    border-radius:17px;
  }
  body.site-body .hero-grid:before{width:4px}
  body.site-body .hero .eyebrow{
    margin-bottom:9px;
    font-size:9px;
    letter-spacing:.65px;
  }
  body.site-body .hero h1{
    margin-bottom:14px;
    font-size:clamp(34px,9.8vw,39px);
    line-height:1.01;
    letter-spacing:-1.55px;
  }
  body.site-body .hero p{
    font-size:13.5px;
    line-height:1.5;
  }

  /* One main action + two compact secondary actions. */
  body.site-body .hero-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:7px;
    margin-top:17px;
  }
  body.site-body .hero-actions .btn{
    width:100%;
    min-height:44px;
    padding:9px 10px;
    font-size:12px;
    white-space:nowrap;
  }
  body.site-body .hero-actions .btn:first-child{
    grid-column:1/-1;
    min-height:47px;
    font-size:13px;
  }

  body.site-body .hero-meta{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    margin-top:12px;
  }
  body.site-body .hero-meta span{
    justify-content:center;
    min-width:0;
    min-height:27px;
    padding:4px 5px;
    font-size:9px;
    text-align:center;
    white-space:nowrap;
  }

  /* Network card: horizontal mobile composition instead of a tall desktop card. */
  body.site-body .hero-network-card{
    display:grid;
    grid-template-columns:minmax(105px,.82fr) minmax(0,1.18fr);
    grid-template-rows:auto 1fr;
    column-gap:9px;
    row-gap:7px;
    min-height:0;
    padding:11px;
    border-radius:15px;
  }
  body.site-body .hero-network-card:before{
    width:210px;
    height:210px;
    right:-125px;
    top:-125px;
    border-width:30px;
  }
  body.site-body .hero-network-card:after{display:none}
  body.site-body .hero-network-head{
    grid-column:1/-1;
    min-height:23px;
  }
  body.site-body .hero-network-name{font-size:8.5px;letter-spacing:.95px}
  body.site-body .hero-network-name i{width:6px;height:6px;box-shadow:0 0 0 4px rgba(237,0,0,.10)}
  body.site-body .hero-network-status{display:none}
  body.site-body .hero-network-stage{
    grid-column:1;
    grid-row:2;
    align-self:stretch;
    min-height:72px;
    margin:0;
  }
  body.site-body .hero-network-logo{
    width:min(100%,132px);
    min-height:56px;
    padding:7px 9px;
    border-radius:11px;
    box-shadow:0 12px 28px rgba(0,0,0,.22);
  }
  body.site-body .hero-network-logo img{max-width:112px}
  body.site-body .hero-wave.wave-1{width:90px;height:90px}
  body.site-body .hero-wave.wave-2{width:120px;height:120px}
  body.site-body .hero-wave.wave-3{display:none}
  body.site-body .hero-connection-panel{
    grid-column:2;
    grid-row:2;
    align-self:stretch;
    min-height:72px;
    padding:9px 10px;
    border-radius:11px;
  }
  body.site-body .hero-connection-main{gap:2px}
  body.site-body .hero-connection-main span{font-size:7px;letter-spacing:.35px}
  body.site-body .hero-connection-main strong{
    font-size:13px;
    white-space:normal;
    line-height:1.08;
  }
  body.site-body .hero-online-badge{
    min-height:24px;
    padding:4px 6px;
    font-size:6.5px;
    letter-spacing:.4px;
  }
  body.site-body .hero-network-features{display:none}

  /* Bring tariffs into view sooner. */
  body.site-body .hero + .section{padding-top:24px}
}

@media(max-width:390px){
  body.site-body .hero-grid{padding:17px 14px 14px}
  body.site-body .hero h1{font-size:33px;letter-spacing:-1.35px}
  body.site-body .hero p{font-size:13px}
  body.site-body .hero-actions .btn{font-size:11px;padding-left:7px;padding-right:7px}
  body.site-body .hero-actions .btn:first-child{font-size:12px}
  body.site-body .hero-meta span{font-size:8.5px;padding-left:3px;padding-right:3px}
  body.site-body .hero-network-card{grid-template-columns:minmax(96px,.78fr) minmax(0,1.22fr);column-gap:7px;padding:10px}
  body.site-body .hero-network-logo{width:min(100%,118px);min-height:52px;padding:6px 8px}
  body.site-body .hero-network-logo img{max-width:101px}
  body.site-body .hero-network-stage,body.site-body .hero-connection-panel{min-height:66px}
  body.site-body .hero-connection-main strong{font-size:12px}
  body.site-body .hero-online-badge{padding:4px 5px}
}

/* =========================================================
   V8 — Mobile app download badges + contact e-mail
   ========================================================= */
body.site-body .app-download-section{padding-top:0}
body.site-body .app-download-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
  padding:30px 34px;
  background:#fff;
  border:1px solid var(--site-border);
  border-radius:20px;
  box-shadow:var(--site-shadow);
  overflow:hidden;
}
body.site-body .app-download-card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:var(--site-red);
}
body.site-body .app-download-card:after{
  content:"";
  position:absolute;
  right:-95px;
  top:-135px;
  width:300px;
  height:300px;
  border:1px solid rgba(237,0,0,.08);
  border-radius:50%;
  box-shadow:0 0 0 48px rgba(237,0,0,.022),0 0 0 96px rgba(17,24,39,.015);
  pointer-events:none;
}
body.site-body .app-download-copy,body.site-body .store-badges{position:relative;z-index:1}
body.site-body .app-download-copy h2{margin:0;font-size:31px;line-height:1.08;letter-spacing:-.85px;color:#17191d}
body.site-body .app-download-copy p{max-width:690px;margin:10px 0 0;color:#838892;font-size:13px;line-height:1.6}
body.site-body .app-download-copy .eyebrow{margin-bottom:9px}
body.site-body .store-badges{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;justify-content:flex-end}
body.site-body .store-badge{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:174px;
  min-height:58px;
  padding:9px 14px;
  border-radius:13px;
  background:#111214;
  border:1px solid #2a2c30;
  color:#fff;
  box-shadow:0 8px 18px rgba(17,24,39,.08);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
body.site-body .store-badge:hover{transform:translateY(-1px);background:#1a1b1e;box-shadow:0 12px 25px rgba(17,24,39,.12)}
body.site-body .store-badge-icon{display:flex;align-items:center;justify-content:center;flex:0 0 29px;width:29px;height:34px}
body.site-body .store-badge-icon svg{display:block;width:27px;height:27px;fill:currentColor}
body.site-body .store-badge-icon.play-icon svg{width:29px;height:29px}
body.site-body .store-badge span:last-child{display:flex;flex-direction:column;line-height:1;min-width:0}
body.site-body .store-badge small{margin:0 0 4px;color:#d2d4d8;font-size:8px;font-weight:650;letter-spacing:.1px}
body.site-body .store-badge strong{color:#fff;font-size:17px;font-weight:850;letter-spacing:-.35px;white-space:nowrap}

body.site-body .contact-app-section{padding-top:0}
body.site-body .app-download-card.is-compact{grid-template-columns:minmax(0,1fr) auto;padding:24px 27px}
body.site-body .app-download-card.is-compact .app-download-copy h2{font-size:25px}
body.site-body .app-download-card.is-compact .app-download-copy p{font-size:12px;max-width:600px}
body.site-body .app-download-card.is-compact .store-badge{min-width:162px;min-height:54px;padding:8px 12px}
body.site-body .app-download-card.is-compact .store-badge strong{font-size:15px}

@media(max-width:1180px){
  body.site-body .app-download-card{grid-template-columns:1fr;gap:20px}
  body.site-body .store-badges{justify-content:flex-start}
  body.site-body .app-download-card.is-compact{grid-template-columns:1fr;gap:17px}
}

@media(max-width:560px){
  body.site-body .app-download-section,body.site-body .contact-app-section{padding-top:0}
  body.site-body .app-download-card,body.site-body .app-download-card.is-compact{
    display:block;
    padding:21px 18px 20px 23px;
    border-radius:17px;
  }
  body.site-body .app-download-card:before{width:4px}
  body.site-body .app-download-card:after{right:-145px;top:-165px}
  body.site-body .app-download-copy h2,body.site-body .app-download-card.is-compact .app-download-copy h2{
    font-size:26px;
    line-height:1.06;
    letter-spacing:-.7px;
  }
  body.site-body .app-download-copy p,body.site-body .app-download-card.is-compact .app-download-copy p{
    margin-top:8px;
    font-size:12px;
    line-height:1.5;
  }
  body.site-body .store-badges{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    margin-top:17px;
  }
  body.site-body .store-badge,body.site-body .app-download-card.is-compact .store-badge{
    min-width:0;
    min-height:51px;
    padding:7px 9px;
    gap:7px;
    border-radius:11px;
  }
  body.site-body .store-badge-icon{flex-basis:24px;width:24px;height:29px}
  body.site-body .store-badge-icon svg,body.site-body .store-badge-icon.play-icon svg{width:23px;height:23px}
  body.site-body .store-badge small{font-size:6.5px;margin-bottom:3px}
  body.site-body .store-badge strong,body.site-body .app-download-card.is-compact .store-badge strong{font-size:12px;letter-spacing:-.2px}
  body.site-body .contact-action[href^="mailto:"] strong{font-size:11.5px;word-break:break-word}
}

@media(max-width:390px){
  body.site-body .store-badges{grid-template-columns:1fr}
  body.site-body .store-badge,body.site-body .app-download-card.is-compact .store-badge{min-height:52px;padding:8px 12px}
  body.site-body .store-badge strong,body.site-body .app-download-card.is-compact .store-badge strong{font-size:14px}
  body.site-body .store-badge small{font-size:7px}
}

/* =========================================================
   V37 — iOS/Android keyboard-safe public site forms
   Prevent Safari input zoom and switch payment page into a
   compact app-like mode while the software keyboard is open.
   ========================================================= */
@media(max-width:850px){
  /* iOS Safari zooms focused form controls whose font is <16px. */
  body.site-body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body.site-body textarea,
  body.site-body select{
    font-size:16px!important;
  }

  body.site-keyboard-open{
    padding-bottom:max(8px,env(safe-area-inset-bottom))!important;
  }

  body.site-keyboard-open .mobile-bottom-nav,
  body.site-keyboard-open .site-footer{
    display:none!important;
  }

  /* Payment page: remove non-essential content while typing. */
  body.site-keyboard-open.site-page-pay .page-hero,
  body.site-keyboard-open.site-page-pay .payment-aside{
    display:none!important;
  }

  body.site-keyboard-open.site-page-pay .subpage-section{
    padding:8px 0 max(10px,env(safe-area-inset-bottom))!important;
  }

  body.site-keyboard-open.site-page-pay .payment-layout{
    display:block!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card{
    max-width:none!important;
    padding:14px 16px 16px!important;
    border-radius:16px!important;
    box-shadow:none!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card .form-card-head{
    margin-bottom:12px!important;
    padding-bottom:10px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card .form-card-head .page-icon-box{
    width:38px!important;
    height:38px!important;
    border-radius:11px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card .form-card-head .eyebrow{
    display:none!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card .form-card-head h2{
    font-size:19px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card label{
    margin-bottom:10px!important;
    font-size:12px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card input{
    min-height:50px!important;
    margin-top:5px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card .account-info{
    margin:0 0 10px!important;
    padding:11px 13px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card .account-info b{
    font-size:22px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card #payBtn{
    min-height:50px!important;
    margin-top:2px!important;
  }

  body.site-keyboard-open.site-page-pay .payment-form-card .pay-note{
    display:none!important;
  }
}

/* v42: payment from authenticated client cabinet */
.cabinet-pay-account{display:flex;align-items:center;gap:14px;padding:15px 16px;border:1px solid #e1e5ea;border-radius:16px;background:#f7f8fa;margin-bottom:16px;min-width:0}
.cabinet-pay-account-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#fff1f0;color:#df2d23;flex:0 0 auto}
.cabinet-pay-account-icon svg{width:22px;height:22px}
.cabinet-pay-account>div{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.cabinet-pay-account small{font-size:12px;color:#8b939f;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.cabinet-pay-account strong{font-size:20px;color:#17191d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cabinet-pay-locked{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#eaf8ef;color:#21834c;font-size:12px;font-weight:800;white-space:nowrap}
.cabinet-pay-locked svg{width:15px;height:15px}
@media(max-width:560px){.cabinet-pay-account{align-items:flex-start}.cabinet-pay-locked{font-size:0;padding:9px}.cabinet-pay-locked svg{width:17px;height:17px}}
