/* =====================================
   ТАРИФЫ CITYLINE
===================================== */

.tariffs-section {
    padding: 60px 15px;
    background: #f7f8fb;
}

.tariffs-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.tariffs-section .section-title {
    text-align: center;
    margin-bottom: 45px;
}

.tariffs-section .section-title h2 {
    font-size: 52px;
    font-weight: 800;
    color: #081a36;
    margin: 0;
    line-height: 1.1;
}

.tariffs-section .section-title span {
    display: block;
    width: 80px;
    height: 5px;
    background: #1f6bff;
    border-radius: 50px;
    margin: 18px auto 0;
}

/* Сетка */

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Карточка */

.tariff-card {
    position: relative;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    min-height: 340px;
    border: 2px solid #eceff5;
    transition: .3s ease;
}

.tariff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

/* Верхняя цветная шапка */

.tariff-header {
    position: relative;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    padding: 20px 30px;
    overflow: hidden;
}

.tariff-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: -55px;
    width: 170px;
    height: 100%;
    background: #fff;
    transform: skewX(-22deg);
}

/* Контент */

.tariff-content {
    padding: 30px 35px 20px;
}

.speed {
    font-size: 78px;
    font-weight: 800;
    line-height: 1;
}

.unit {
    font-size: 24px;
    font-weight: 700;
    color: #30384c;
    margin-top: 6px;
}

/* Цена */

.tariff-price {
    position: absolute;
    left: 35px;
    right: 35px;
    bottom: 25px;

    border-top: 2px solid #edf0f5;
    padding-top: 18px;

    text-align: center;
    font-size: 20px;
    font-weight: 800;
}

/* Бейдж */

.badge {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 5;

    padding: 8px 16px;

    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

/* =====================================
   START
===================================== */

.start {
    border-color: #2d6cff;
}

.start .tariff-header {
    background: linear-gradient(135deg,#2d6cff,#245cff);
}

.start .speed,
.start .tariff-price {
    color: #2d6cff;
}

/* =====================================
   DRIVE
===================================== */

.drive {
    border-color: #19bce8;
}

.drive .tariff-header {
    background: linear-gradient(135deg,#19c6ef,#16addf);
}

.drive .speed,
.drive .tariff-price {
    color: #19bce8;
}

/* =====================================
   ULTRA
===================================== */

.ultra {
    border-color: #9946ff;
}

.ultra .tariff-header {
    background: linear-gradient(135deg,#a248ff,#842df4);
}

.ultra .speed,
.ultra .tariff-price {
    color: #9946ff;
}

/* =====================================
   FLASH
===================================== */

.flash {
    border-color: #ff7218;
}

.flash .tariff-header {
    background: linear-gradient(135deg,#ff7b1d,#ff6515);
}

.flash .speed,
.flash .tariff-price {
    color: #ff7218;
}

/* =====================================
   PRIME
===================================== */

.prime {
    border-color: #13c84c;
}

.prime .tariff-header {
    background: linear-gradient(135deg,#16ca4d,#0fb745);
}

.prime .speed,
.prime .tariff-price {
    color: #13c84c;
}

.prime .badge {
    background: #13c84c;
}

/* =====================================
   BOOST
===================================== */

.boost {
    border-color: #f7be00;
}

.boost .tariff-header {
    background: linear-gradient(135deg,#ffc600,#f5b300);
}

.boost .speed,
.boost .tariff-price {
    color: #e9a700;
}

.boost .badge {
    background: #f7be00;
}

/* =====================================
   ПЛАНШЕТЫ
===================================== */

@media (max-width: 992px) {

    .tariffs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tariff-card {
        min-height: 320px;
    }

    .speed {
        font-size: 68px;
    }

    .tariffs-section .section-title h2 {
        font-size: 42px;
    }
}

/* =====================================
   МОБИЛЬНЫЕ
===================================== */

@media (max-width: 768px) {

    .tariffs-section {
        padding: 50px 15px;
    }

    .tariffs-section .section-title {
        margin-bottom: 30px;
    }

    .tariffs-section .section-title h2 {
        font-size: 34px;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tariff-card {
        min-height: 250px;
        border-radius: 22px;
    }

    .tariff-header {
        font-size: 22px;
        padding: 16px 24px;
    }

    .tariff-content {
        padding: 20px 24px;
    }

    .speed {
        font-size: 58px;
    }

    .unit {
        font-size: 20px;
    }

    .tariff-price {
        left: 24px;
        right: 24px;
        bottom: 18px;
        font-size: 18px;
        padding-top: 15px;
    }

    .badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* =====================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
===================================== */

@media (max-width: 480px) {

    .tariffs-section .section-title h2 {
        font-size: 28px;
    }

    .speed {
        font-size: 52px;
    }

    .unit {
        font-size: 18px;
    }

    .tariff-price {
        font-size: 16px;
    }

    .tariff-header {
        font-size: 20px;
    }
}
/* ===================================
   CITY LINE HERO
=================================== */

.hero-internet{
    position:relative;
    overflow:hidden;

    margin:40px 0;

    border-radius:30px;

    background:
    linear-gradient(
        135deg,
        #0057ff 0%,
        #008cff 50%,
        #00c8ff 100%
    );

    color:#fff;
}

.hero-content{
    max-width:1400px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:60px;

    padding:70px 80px;
}

/* Левая часть */

.hero-left{
    flex:1;
    max-width:650px;
}

.hero-badge{
    display:inline-block;

    padding:10px 18px;

    background:rgba(255,255,255,.15);

    border-radius:50px;

    font-size:14px;
    font-weight:700;

    margin-bottom:20px;
}

.hero-left h1{
    font-size:84px;
    line-height:1;

    font-weight:800;

    margin:0 0 20px;
}

.hero-left h1 span{
    color:#ffe16b;
}

.hero-left p{
    font-size:22px;
    line-height:1.6;

    opacity:.95;

    margin-bottom:30px;
}

/* Преимущества */

.hero-features{
    display:flex;
    flex-wrap:wrap;

    gap:12px;

    margin-bottom:35px;
}

.feature{
    padding:12px 18px;

    background:rgba(255,255,255,.12);

    border-radius:50px;

    font-size:15px;
    font-weight:600;
}

/* Кнопки */

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 32px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;
}

.btn-primary{
    background:#ff6b6b;
    color:#fff;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    background:#fff;
    color:#0057ff;
}

/* Правая часть */

.hero-right{
    width:420px;
    height:420px;

    position:relative;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.speed-circle{
    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.2);
}

.speed-circle::before{
    content:"";

    position:absolute;

    inset:40px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.15);
}

.speed-circle::after{
    content:"";

    position:absolute;

    inset:80px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.12);
}

.speed-number{
    position:relative;

    font-size:120px;
    font-weight:900;
    line-height:1;

    color:#fff;
}

.speed-text{
    position:relative;

    font-size:34px;
    font-weight:700;
}

/* Планшет */

@media(max-width:992px){

    .hero-content{
        flex-direction:column;
        text-align:center;

        padding:60px 40px;
    }

    .hero-features{
        justify-content:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-left h1{
        font-size:72px;
    }

    .hero-right{
        width:320px;
        height:320px;
    }

    .speed-circle{
        width:320px;
        height:320px;
    }

    .speed-number{
        font-size:90px;
    }
}

/* Телефон */

@media(max-width:768px){

    .hero-content{
        padding:40px 25px;
    }

    .hero-left h1{
        font-size:52px;
    }

    .hero-left p{
        font-size:18px;
    }

    .hero-right{
        width:240px;
        height:240px;
    }

    .speed-circle{
        width:240px;
        height:240px;
    }

    .speed-number{
        font-size:70px;
    }

    .speed-text{
        font-size:24px;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
    }
}
.router-promo{
    background:#fff;
    border-radius:32px;
    margin:40px 0;
    overflow:hidden;

    box-shadow:
    0 10px 40px rgba(15,23,42,.05);
}

.router-promo__content{

    max-width:1400px;
    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:60px 80px;
    gap:40px;
}

/* Левая колонка */

.router-promo__text{

    width:50%;
    max-width:540px;

    padding-left:20px;
}

.promo-tag{

    display:inline-flex;
    align-items:center;

    height:42px;

    padding:0 20px;

    border-radius:999px;

    background:#fff4d9;

    color:#ff9d00;

    font-size:14px;
    font-weight:700;

    margin-bottom:28px;
}

.router-promo h2{

    margin:0;

    color:#081a36;

    font-size:64px;
    line-height:1.05;
    font-weight:800;

    letter-spacing:-1px;
}

.router-promo p{

    margin-top:28px;
    margin-bottom:35px;

    color:#64748b;

    font-size:24px;
    line-height:1.7;

    max-width:520px;
}

.promo-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:58px;
    padding:0 34px;

    border-radius:999px;

    background:#2563ff;
    color:#fff;

    text-decoration:none;

    font-weight:700;
    font-size:16px;

    transition:.3s;
}

.promo-btn:hover{

    background:#174ef0;
    transform:translateY(-2px);
}

/* Правая часть */

.router-promo__image{

    width:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;
}

.router-glow{

    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(0,174,255,.25) 0%,
        rgba(0,174,255,0) 70%
    );
}

.router-promo__image img{

    position:relative;
    z-index:2;

    max-width:430px;
    width:100%;
}

/* Планшет */

@media(max-width:992px){

    .router-promo__content{

        padding:50px 40px;
        gap:30px;
    }

    .router-promo h2{
        font-size:48px;
    }

    .router-promo p{
        font-size:20px;
    }
}

/* Телефон */

@media(max-width:768px){

    .router-promo__content{

        flex-direction:column;
        text-align:center;

        padding:35px 25px;
    }

    .router-promo__text,
    .router-promo__image{

        width:100%;
        max-width:none;
        padding-left:0;
    }

    .router-promo h2{
        font-size:38px;
    }

    .router-promo p{
        font-size:18px;
        max-width:none;
    }

    .router-promo__image img{
        max-width:280px;
    }

    .promo-btn{
        width:100%;
    }
}
/* =========================================
   CITY LINE NEWS
========================================= */

.cityline-news{
    padding:80px 0;
}

.cityline-news .container{
    max-width:1280px;
    margin:0 auto;
    padding:0 20px;
}

/* Сетка */

.news-layout{
    display:grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap:80px;
    align-items:start;
}

/* Заголовки */

.section-header{
    margin-bottom:35px;
}

.section-header h2{
    margin:0;

    font-size:48px;
    font-weight:800;
    line-height:1.1;

    color:#081a36;
}

/* Новости */

.news-item{

    display:flex;
    align-items:flex-start;

    gap:20px;

    padding:20px 0;

    border-bottom:1px solid #edf2f7;
}

.news-item:last-child{
    border-bottom:none;
}

.news-icon{

    width:56px;
    height:56px;

    min-width:56px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;

    background:linear-gradient(
        135deg,
        #4f8cff,
        #3a6dff
    );

    box-shadow:
        0 10px 20px rgba(58,109,255,.15);
}

.news-content h4{

    margin:0 0 8px;

    font-size:22px;
    font-weight:700;

    color:#081a36;
}

.news-content p{

    margin:0;

    font-size:16px;
    line-height:1.7;

    color:#64748b;
}

/* Архив тарифов */

.archive-column{
    max-width:380px;
}

.archive-card{

    display:flex;
    align-items:center;
    justify-content:space-between;

    text-decoration:none;

    height:72px;

    padding:0 24px;

    margin-bottom:14px;

    background:#fff;

    border:1px solid #dbeafe;

    border-radius:18px;

    color:#081a36;

    font-size:18px;
    font-weight:700;

    transition:.25s ease;
}

.archive-card:hover{

    transform:translateX(5px);

    border-color:#2563ff;

    box-shadow:
        0 12px 25px rgba(37,99,255,.08);
}

.archive-card span:last-child{

    color:#2563ff;

    font-size:20px;
}

/* Планшеты */

@media (max-width:992px){

    .news-layout{

        grid-template-columns:1fr;

        gap:50px;
    }

    .archive-column{
        max-width:100%;
    }

    .section-header h2{
        font-size:40px;
    }
}

/* Телефоны */

@media (max-width:768px){

    .cityline-news{
        padding:60px 0;
    }

    .section-header h2{
        font-size:34px;
    }

    .news-item{
        gap:15px;
    }

    .news-icon{
        width:48px;
        height:48px;
        min-width:48px;
        font-size:20px;
    }

    .news-content h4{
        font-size:18px;
    }

    .news-content p{
        font-size:14px;
    }

    .archive-card{
        height:64px;
        font-size:16px;
    }
}

