/* ── ШРИФТЫ ──────────────────────────────────────────── */
@font-face {
    font-family:'Inter'; src:url('/assets/fonts/inter-400.woff2') format('woff2');
    font-weight:400; font-style:normal; font-display:swap;
}
@font-face {
    font-family:'Inter'; src:url('/assets/fonts/inter-600.woff2') format('woff2');
    font-weight:600; font-style:normal; font-display:swap;
}

/* ── ПЕРЕМЕННЫЕ ──────────────────────────────────────── */
:root {
    --primary:#E84444; --primary-dark:#C73333; --secondary:#1A1A2E;
    --accent:#F5A623; --bg:#fff; --bg-gray:#F8F9FA; --bg-dark:#1A1A2E;
    --text:#2D2D2D; --text-muted:#6B7280; --border:#E5E7EB; --success:#22C55E;
    --font:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
    --container:1200px; --r-sm:4px; --r-md:8px; --r-lg:12px;
    --sh-sm:0 1px 3px rgba(0,0,0,.10); --sh-md:0 4px 12px rgba(0,0,0,.10);
    --sh-lg:0 10px 30px rgba(0,0,0,.12);
}

/* ── RESET ───────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);font-size:16px;color:var(--text);
     line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
ol{list-style:none;margin:0;padding:0}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,textarea,select{font-family:inherit}

/* ── КОНТЕЙНЕР ───────────────────────────────────────── */
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

/* ── ТИПОГРАФИКА ─────────────────────────────────────── */
h1{font-size:40px;font-weight:600;line-height:1.2;color:var(--secondary)}
h2{font-size:30px;font-weight:600;line-height:1.3;color:var(--secondary);margin-bottom:24px}
h3{font-size:20px;font-weight:600;line-height:1.4}
h4{font-size:18px;font-weight:600}

/* ── КНОПКИ ──────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;
     gap:8px;padding:12px 24px;border-radius:var(--r-md);
     min-height:44px;font-size:15px;font-weight:600;transition:all .2s;
     text-align:center;white-space:nowrap}
.btn--primary{background:var(--primary);color:#fff}
.btn--primary:hover{background:var(--primary-dark);transform:translateY(-1px);
                    box-shadow:var(--sh-md)}
.btn--outline{border:2px solid var(--primary);color:var(--primary)}
.btn--outline:hover{background:var(--primary);color:#fff}
.btn--lg{padding:16px 32px;font-size:17px}
.btn--sm{padding:8px 16px;font-size:14px}
.btn--full{width:100%}

/* ── ШАПКА ───────────────────────────────────────────── */
.header{position:sticky;top:0;z-index:100;background:var(--bg);
        box-shadow:var(--sh-sm)}
.header__top{background:var(--secondary);padding:8px 0;color:#fff;font-size:14px}
.header__top-inner{display:flex;align-items:center;gap:24px}
.header__schedule{color:rgba(255,255,255,.7);margin-left:auto}
.header__phone{color:#fff;font-weight:600;font-size:15px}
.header__phone:hover{color:var(--accent)}
.city-trigger{display:flex;align-items:center;gap:6px;color:#fff;font-size:14px}
.city-trigger:hover{color:var(--accent)}

.header__main-inner{display:flex;align-items:center;gap:24px;padding:14px 0}
.header__logo{flex-shrink:0}
.nav__list{display:flex;gap:4px;align-items:center}
.nav__link{display:block;padding:8px 12px;font-size:15px;font-weight:500;
           border-radius:var(--r-sm);transition:color .15s,background .15s}
.nav__link:hover{color:var(--primary);background:var(--bg-gray)}
.nav__mobile-head{display:none}
.nav__city{display:none}
.nav__close{
    width:34px;height:34px;border-radius:10px;
    border:1px solid var(--border);background:#fff;color:var(--secondary);
    font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;
}
.nav__close:hover{border-color:var(--primary);color:var(--primary)}
.nav__item--has-drop{position:relative}
.nav__drop{display:none;position:absolute;top:100%;left:-20px;background:#fff;
           box-shadow:var(--sh-lg);border-radius:var(--r-lg);min-width:560px;
           padding:20px;z-index:200}
.nav__item--has-drop:hover .nav__drop{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.header__actions{margin-left:auto;display:flex;align-items:center;gap:12px}
.header__btn-phone{font-weight:600;color:var(--secondary);font-size:15px;display:none}

.hamburger{display:none;flex-direction:column;gap:5px;padding:6px;width:36px}
.hamburger span{display:block;height:2px;background:var(--secondary);
                border-radius:2px;transition:all .3s}
.hamburger.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.is-active span:nth-child(2){opacity:0}
.hamburger.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-open{overflow:hidden}

/* ── HERO ────────────────────────────────────────────── */
.hero{background:linear-gradient(135deg,var(--secondary) 0%,#2D2D5E 100%);
      color:#fff;padding:64px 0}
.hero__inner{display:grid;grid-template-columns:1fr 420px;gap:48px;align-items:center}
.hero__title{font-size:48px;color:#fff;margin-bottom:16px}
.hero__subtitle{font-size:18px;color:rgba(255,255,255,.8);margin-bottom:32px}
.hero__form{background:#fff;border-radius:var(--r-lg);padding:24px;box-shadow:var(--sh-lg)}
.hero__form-title{font-size:18px;font-weight:600;color:var(--secondary);
                  margin-bottom:16px;text-align:center}

/* ── ДОВЕРИЕ ─────────────────────────────────────────── */
.trust{padding:48px 0;background:var(--bg-gray)}
.trust__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.trust__item{text-align:center}
.trust__num{font-size:36px;font-weight:700;color:var(--primary);display:block}
.trust__label{font-size:14px;color:var(--text-muted)}

/* ── КАРТОЧКИ УСЛУГ ──────────────────────────────────── */
.services-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.service-card{border:1px solid var(--border);border-radius:var(--r-lg);
              padding:20px;transition:all .2s;background:#fff}
.service-card:hover{border-color:var(--primary);box-shadow:var(--sh-md);
                    transform:translateY(-2px)}
.service-card__icon{width:48px;height:48px;margin-bottom:12px}
.service-card__title{font-size:15px;font-weight:600;margin-bottom:8px;color:var(--secondary)}
.service-card__desc{font-size:13px;color:var(--text-muted);margin-bottom:12px}
.service-card__footer{display:flex;justify-content:space-between;align-items:center}
.service-card__price{font-weight:600;color:var(--primary);font-size:14px}

/* ── МАСТЕРА ─────────────────────────────────────────── */
.masters-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.master-card{display:flex;gap:16px;padding:20px;
             border:1px solid var(--border);border-radius:var(--r-lg);background:#fff}
.master-card__photo img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.master-card__avatar{
    width:72px;height:72px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-weight:700;font-size:22px;letter-spacing:.4px;
    color:#fff;background:linear-gradient(135deg,#8f1f2d,#b13c4b);
    box-shadow:var(--sh-md);
}
.master-card__name a{font-weight:600;font-size:16px;color:var(--secondary)}
.master-card__name a:hover{color:var(--primary)}
.master-card__spec{font-size:13px;color:var(--text-muted);margin:4px 0 8px}
.star{width:16px;height:16px;fill:#d1d5db}
.star--filled{fill:var(--accent)}

/* ── ОТЗЫВЫ ──────────────────────────────────────────── */
.review-card{padding:20px;border:1px solid var(--border);
             border-radius:var(--r-lg);background:#fff}
.review-card__header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.review-card__avatar{width:44px;height:44px;border-radius:50%;
                     background:var(--bg-gray);display:flex;align-items:center;
                     justify-content:center;font-weight:600;color:var(--secondary);flex-shrink:0}
.review-card__name{font-weight:600;font-size:15px}
.review-card__date{font-size:13px;color:var(--text-muted)}
.review-card__work{font-size:13px;color:var(--text-muted);padding:8px 12px;
                   background:var(--bg-gray);border-radius:var(--r-sm);margin-top:12px}
.reviews-slider{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(320px,1fr);
              gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
.reviews-slider .review-card{scroll-snap-align:start}

/* ── FAQ ─────────────────────────────────────────────── */
.faq__item{border-bottom:1px solid var(--border)}
.faq__question{display:flex;justify-content:space-between;align-items:center;
               padding:18px 0;cursor:pointer;font-weight:600;font-size:16px}
.faq__question:hover{color:var(--primary)}
.faq__question::after{content:'+';font-size:22px;font-weight:400;color:var(--primary);
                      flex-shrink:0;margin-left:16px;transition:transform .2s}
.faq__item.is-open .faq__question::after{transform:rotate(45deg)}
.faq__answer{max-height:0;overflow:hidden;transition:max-height .3s ease;
             font-size:15px;color:var(--text-muted)}
.faq__item.is-open .faq__answer{max-height:500px;padding-bottom:16px}

/* ── ТАБЛИЦА ЦЕН ─────────────────────────────────────── */
.price-table{width:100%;border-collapse:collapse;font-size:15px}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.price-table th{text-align:left;padding:12px 16px;background:var(--secondary);
                color:#fff;font-weight:600}
.price-table td{padding:12px 16px;border-bottom:1px solid var(--border)}
.price-table tr:hover td{background:var(--bg-gray)}
.price-table__price{font-weight:600;color:var(--primary);white-space:nowrap}
.price-table tr:last-child td{border-bottom:none}
.text-muted{color:var(--text-muted)}
.category-page__intro{margin-bottom:2rem;max-width:820px}
.price-table--category td:first-child{min-width:200px}
.price-table__muted{color:var(--text-muted);font-size:14px}
.price-table__service-link{color:var(--secondary);font-weight:600;text-decoration:none}
.price-table__service-link:hover{text-decoration:underline}

/* ── ФОРМА ───────────────────────────────────────────── */
.form-call{display:flex;flex-direction:column;gap:12px}
.field{display:flex;flex-direction:column;gap:6px}
.field__label{font-size:13px;font-weight:600;color:var(--secondary)}
.field__input{padding:12px 16px;border:1.5px solid var(--border);
              border-radius:var(--r-md);font-size:15px;transition:border-color .2s}
.field__input:focus{outline:none;border-color:var(--primary)}
.field__input.is-error{border-color:#EF4444}
.field__error{font-size:12px;color:#EF4444;min-height:16px}
.form-call__agree{font-size:12px;color:var(--text-muted);text-align:center}
.form-call__agree a{color:var(--primary);text-decoration:underline}

/* ── БЕЙДЖИ ──────────────────────────────────────────── */
.badge{display:inline-block;padding:4px 12px;border-radius:20px;
       font-size:13px;font-weight:600}
.badge--green{background:#DCFCE7;color:#166534}
.badge--blue{background:#DBEAFE;color:#1E40AF}
.badge--orange{background:#FEF3C7;color:#92400E}

/* ── СТРАНИЦА УСЛУГИ ─────────────────────────────────── */
.service-hero{background:var(--bg-gray);padding:32px 0;
              border-bottom:1px solid var(--border)}
.service-hero__meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.service-layout{display:grid;grid-template-columns:1fr 340px;gap:40px;
                margin:40px 0;align-items:start}
.service-section{margin-bottom:48px}
.service-section h2{font-size:24px;margin-bottom:20px}
.works-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.work-item{border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;background:#fff;box-shadow:var(--sh-sm)}
.work-item img{width:100%;height:220px;object-fit:cover}
.work-card{border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;
         background:#fff;box-shadow:var(--sh-sm);min-height:180px;display:flex;
         align-items:center;justify-content:center;color:var(--text-muted);font-size:14px}
.work-card img{width:100%;height:100%;object-fit:cover}
.work-card--placeholder{background:linear-gradient(135deg,#f8f9fa,#eef1f4)}
.appliance-brand-logo{margin-bottom:12px;display:flex;align-items:center}
.sidebar__sticky{position:sticky;top:90px}
.sidebar__form{background:#fff;border:1px solid var(--border);
               border-radius:var(--r-lg);padding:24px;margin-bottom:16px}
.sidebar__form-title{font-weight:700;font-size:16px;margin-bottom:16px;
                     text-align:center;color:var(--secondary)}
.sidebar__info{padding:16px;background:var(--bg-gray);
               border-radius:var(--r-lg);margin-bottom:16px}
.sidebar__info-row{padding:8px 0;font-size:14px;
                   border-bottom:1px solid var(--border)}
.sidebar__info-row:last-child{border-bottom:none}

/* ── КАК МЫ РАБОТАЕМ ────────────────────────────────── */
.how-it-works{padding:64px 0;background:var(--bg-gray)}
.how-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;position:relative}
.how-steps::before{content:'';position:absolute;top:32px;left:10%;
                   width:80%;height:2px;background:var(--border);z-index:0}
.how-step{text-align:center;position:relative;z-index:1}
.how-step__num{width:64px;height:64px;border-radius:50%;background:var(--primary);
               color:#fff;font-size:24px;font-weight:700;
               display:flex;align-items:center;justify-content:center;
               margin:0 auto 16px;box-shadow:var(--sh-md)}
.how-step__icon-svg{width:26px;height:26px;display:block}
.how-step__title{font-weight:600;margin-bottom:8px}
.how-step__desc{font-size:14px;color:var(--text-muted)}

/* ── ХЛЕБНЫЕ КРОШКИ ──────────────────────────────────── */
.breadcrumbs{padding:12px 0}
.breadcrumbs__list{display:flex;flex-wrap:wrap;gap:4px;
                   font-size:13px;color:var(--text-muted)}
.breadcrumbs__link{color:var(--primary)}
.breadcrumbs__link:hover{text-decoration:underline}
.breadcrumbs__item + .breadcrumbs__item::before{content:'›';margin-right:4px}

/* ── СЕКЦИЯ CTA ──────────────────────────────────────── */
.cta-section{background:var(--secondary);color:#fff;padding:64px 0;text-align:center}
.cta-section h2{color:#fff;margin-bottom:12px}
.cta-section p{color:rgba(255,255,255,.7);margin-bottom:32px;font-size:18px}

/* ── ПОДВАЛ ──────────────────────────────────────────── */
.footer__brand-logo img{filter:brightness(0) invert(1)}
.modal--wide{max-width:640px}
.footer{background:var(--bg-dark);color:rgba(255,255,255,.8);padding:64px 0 32px}
.footer__top{display:grid;grid-template-columns:260px 1fr;gap:64px;margin-bottom:48px}
.footer__tagline{font-size:14px;margin:12px 0;opacity:.7}
.footer__phone{font-size:20px;font-weight:600;color:#fff;display:block;margin-bottom:8px}
.footer__nav{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.footer__nav-title{font-weight:600;color:#fff;margin-bottom:12px}
.footer__nav ul li + li{margin-top:8px}
.footer__nav a{font-size:14px;opacity:.7;transition:opacity .15s}
.footer__nav a:hover{opacity:1}
.footer__cities{border-top:1px solid rgba(255,255,255,.1);
                padding-top:32px;margin-bottom:32px}
.footer__cities-title{font-size:14px;font-weight:600;color:#fff;margin-bottom:12px}
.footer__cities-list{display:flex;flex-wrap:wrap;gap:8px}
.footer__city-link{font-size:13px;opacity:.6;transition:opacity .15s}
.footer__city-link:hover{opacity:1}
.footer__city-link.is-current{opacity:1;color:var(--accent)}
.footer__bottom{display:flex;justify-content:space-between;align-items:center;
                border-top:1px solid rgba(255,255,255,.1);
                padding-top:24px;font-size:13px}
.footer__legal{display:flex;gap:16px}
.footer__legal a{opacity:.6}
.footer__legal a:hover{opacity:1}

/* ── МОБИЛЬНАЯ CTA ───────────────────────────────────── */
.mobile-cta{display:none;position:fixed;bottom:0;left:0;right:0;z-index:99;
            background:#fff;padding:12px 16px;
            box-shadow:0 -4px 20px rgba(0,0,0,.12);
            border-top:1px solid var(--border);gap:12px}
.mobile-cta__phone{flex:1}
.mobile-cta__order{flex:2}

/* ── МОДАЛЬНОЕ ОКНО ──────────────────────────────────── */
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);
               z-index:999;align-items:center;justify-content:center;padding:16px}
.modal-overlay.is-open{display:flex}
.modal{background:#fff;border-radius:var(--r-lg);padding:32px;
       max-width:440px;width:100%;position:relative}
.modal__close{position:absolute;top:16px;right:16px;font-size:24px;
              color:var(--text-muted);line-height:1}
.modal__close:hover{color:var(--text)}
.modal__title{font-size:22px;font-weight:600;margin-bottom:20px}
/* ── СИМПТОМЫ ТЕХНИКИ ────────────────────────────────── */
.symptoms-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}
.symptom-card{display:flex;flex-direction:column;align-items:center;gap:8px;
              padding:16px 12px;border:1px solid var(--border);
              border-radius:var(--r-lg);text-align:center;font-size:13px;
              transition:all .2s;background:#fff}
.symptom-card:hover{border-color:var(--primary);color:var(--primary);
                    box-shadow:var(--sh-sm);transform:translateY(-1px)}
.symptom-card__icon{width:32px;height:32px;color:var(--primary)}
.megamenu{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.megamenu__link{display:block;padding:8px 4px;font-size:14px;border-radius:var(--r-sm)}
.megamenu__link:hover{background:var(--bg-gray);color:var(--primary)}
.icon{width:1em;height:1em;vertical-align:-0.125em}
.icon--sm{width:0.85em;height:0.85em}

/* ── VISUAL UPGRADE 2.0 (modern dark-red) ───────────── */
:root{
    --primary:#D22345;
    --primary-dark:#A71632;
    --secondary:#121422;
    --accent:#8D1A2C;
    --bg:#F4F5F9;
    --bg-gray:#ECEFF5;
    --border:#DCE1EC;
    --text:#1F2433;
    --text-muted:#656D80;
    --r-md:12px;
    --r-lg:18px;
    --sh-sm:0 2px 10px rgba(17,24,39,.06), 0 1px 2px rgba(17,24,39,.05);
    --sh-md:0 10px 26px rgba(17,24,39,.12), 0 4px 10px rgba(17,24,39,.06);
    --sh-lg:0 22px 52px rgba(17,24,39,.18), 0 8px 20px rgba(17,24,39,.10);
}
body{
    background:
      radial-gradient(920px 420px at 108% -8%, rgba(210,35,69,.14), transparent 62%),
      radial-gradient(840px 420px at -12% 4%, rgba(141,26,44,.15), transparent 60%),
      var(--bg);
    color:var(--text);
}
h1,h2,h3,h4{letter-spacing:-0.02em}

.header{
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(10px) saturate(120%);
    border-bottom:1px solid rgba(220,225,236,.9);
    box-shadow:0 8px 24px rgba(17,24,39,.08);
}
.header__top{
    background:linear-gradient(90deg,#1A1D31 0%, #2A0F17 100%);
    border-bottom:1px solid rgba(255,255,255,.08);
}
.header__main-inner{min-height:68px}
.nav__link{
    border-radius:10px;
    transition:all .24s ease;
}
.nav__link:hover{
    color:#fff;
    background:linear-gradient(135deg,var(--primary) 0%, var(--accent) 100%);
    box-shadow:0 8px 18px rgba(210,35,69,.28);
}
.nav__drop{
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--sh-lg);
}
.megamenu__link{
    border-radius:10px;
    transition:all .2s ease;
}
.megamenu__link:hover{
    background:#F8EAF0;
    color:var(--primary);
}

.hero{
    position:relative;
    overflow:hidden;
    background:
      radial-gradient(540px 320px at 84% 6%, rgba(141,26,44,.24), transparent 72%),
      radial-gradient(620px 360px at 8% 18%, rgba(210,35,69,.20), transparent 74%),
      linear-gradient(135deg,#0F1120 0%, #20111A 50%, #31101E 100%);
}
.hero::before{
    content:"";
    position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 28%);
    pointer-events:none;
}
.hero__title{
    text-shadow:0 6px 24px rgba(0,0,0,.35);
    max-width:780px;
}
.hero__form{
    border-radius:18px;
    border:1px solid rgba(255,255,255,.52);
    box-shadow:0 22px 50px rgba(6,8,18,.38);
}

.btn{
    border-radius:12px;
    font-weight:700;
    letter-spacing:.01em;
    transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active{transform:translateY(0)}
.btn--primary{
    background:linear-gradient(135deg,var(--primary) 0%, var(--accent) 100%);
    box-shadow:0 10px 22px rgba(210,35,69,.30);
}
.btn--primary:hover{
    background:linear-gradient(135deg,var(--primary-dark) 0%, var(--primary) 72%);
    transform:translateY(-2px);
    box-shadow:0 14px 26px rgba(167,22,50,.36);
}
.btn--outline{
    background:#fff;
    border:1.5px solid var(--border);
    color:var(--secondary);
}
.btn--outline:hover{
    border-color:var(--primary);
    color:var(--primary);
    background:#FFF1F4;
}

.service-card,
.master-card,
.review-card,
.sidebar__form,
.sidebar__info,
.work-item,
.work-card{
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--sh-sm);
    background:#fff;
}
.service-card,
.master-card,
.review-card{transition:all .24s ease}
.service-card:hover,
.master-card:hover,
.review-card:hover{
    transform:translateY(-4px);
    border-color:#D0D8E6;
    box-shadow:var(--sh-md);
}
.service-card{
    position:relative;
    overflow:hidden;
}
.service-card::before{
    content:"";
    position:absolute;inset:0 0 auto 0;height:3px;
    background:linear-gradient(90deg,var(--primary),var(--accent));
    opacity:.9;
}
.service-card__title{
    font-size:15px;
    line-height:1.35;
    margin-top:2px;
}
.service-card__price{
    color:var(--primary);
    font-weight:700;
}
.master-card__photo img{
    border:2px solid #F2D8DF;
}
.review-card__avatar{
    background:#ECEFF5;
    color:var(--primary);
}

.field__label{
    color:#4D5467;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.field__input{
    background:#fff;
    border:1.5px solid var(--border);
    border-radius:12px;
    min-height:46px;
}
.field__input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(210,35,69,.14);
}

.price-table{
    border:1px solid var(--border);
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    box-shadow:var(--sh-sm);
}
.price-table th{
    background:linear-gradient(135deg,#15172A 0%, #2A1020 100%);
    color:rgba(255,255,255,.9);
}
.price-table td{border-bottom:1px solid #E9EDF5}
.price-table tr:hover td{background:#FAFBFE}
.price-table__price{color:var(--primary)}
.price-table__service-link{
    color:#30364A;
    font-weight:700;
}
.price-table__service-link:hover{color:var(--primary)}

.faq__item{border-bottom:1px solid #E4E9F2}
.faq__question{
    font-size:15px;
    font-weight:700;
    transition:color .2s ease;
}
.faq__question:hover{color:var(--primary)}
.faq__question::after{
    width:30px;height:30px;
    border-radius:999px;
    background:#EEF2F8;
    color:var(--primary);
    display:flex;align-items:center;justify-content:center;
    font-size:18px;line-height:1;
}

.how-it-works{
    border-radius:20px;
    margin:18px 0 26px;
    box-shadow:var(--sh-sm);
    overflow:hidden;
}
.how-step__num{
    background:linear-gradient(135deg,var(--primary),var(--accent));
    box-shadow:0 10px 20px rgba(210,35,69,.28);
}

.cta-section{
    border-radius:20px;
    margin:22px 0;
    box-shadow:var(--sh-lg);
    overflow:hidden;
    background:
      radial-gradient(420px 200px at 85% 20%, rgba(141,26,44,.24), transparent 75%),
      linear-gradient(135deg,#131526 0%, #2A0E18 100%);
}
.cta-section h2{text-shadow:0 4px 14px rgba(0,0,0,.35)}

.breadcrumbs{
    padding-top:16px;
}
.breadcrumbs__link{
    color:#0B6A6A;
    font-weight:500;
}
.breadcrumbs__link:hover{color:var(--primary)}

.footer{
    background:linear-gradient(180deg,#121427 0%, #0A0F1F 100%);
}
.footer__nav a,.footer__legal a,.footer__city-link{transition:all .2s ease}
.footer__nav a:hover,.footer__legal a:hover,.footer__city-link:hover{
    color:#fff; opacity:1;
}
.text-muted{color:var(--text-muted)}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
    outline:3px solid rgba(141,26,44,.35);
    outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
    *,*::before,*::after{animation:none !important;transition:none !important}
}

/* ── PAGE CONSISTENCY LAYER ─────────────────────────── */
.page-shell{padding:48px 0}
.page-lead{
    color:var(--text-muted);
    margin:0 0 28px;
    max-width:860px;
    font-size:16px;
    line-height:1.7;
}
.page-panel{
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--sh-sm);
    padding:22px;
}
.page-grid-2{
    display:grid;
    gap:24px;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    align-items:start;
}
/* SEO-тексты: единый «премиальный» блок как на странице «О нас» */
.seo-text{
    position:relative;
    font-size:15px;
    line-height:1.7;
    color:var(--text);
    background:
        linear-gradient(135deg, rgba(232,68,68,.06) 0%, transparent 42%),
        linear-gradient(180deg, #FAFBFC 0%, #fff 20%);
    border:1px solid var(--border);
    border-left:4px solid var(--primary);
    border-radius:18px;
    box-shadow:var(--sh-sm);
    padding:26px 28px 28px;
    max-width:min(920px,100%);
    margin-left:auto;
    margin-right:auto;
}
.service-section--seo .seo-text{
    max-width:none;
    margin-left:0;
    margin-right:0;
}
.seo-text.category-page__intro{
    max-width:820px;
    margin-left:0;
    margin-right:auto;
}
.seo-text + .seo-text{margin-top:20px}
.seo-text > *:first-child{margin-top:0}
.seo-text > *:last-child{margin-bottom:0}
.seo-text p{margin:0 0 1rem}
.seo-text p:last-child{margin-bottom:0}
.seo-text h2{
    font-size:22px;
    font-weight:600;
    line-height:1.3;
    color:var(--secondary);
    margin:28px 0 14px;
    padding-bottom:10px;
    border-bottom:2px solid rgba(232,68,68,.22);
}
.seo-text h2:first-child{
    margin-top:0;
    padding-top:0;
}
.seo-text h3{
    font-size:18px;
    font-weight:600;
    line-height:1.35;
    color:var(--secondary);
    margin:22px 0 10px;
}
.seo-text h3:first-child{margin-top:0}
.seo-text h4{
    font-size:16px;
    font-weight:600;
    color:var(--secondary);
    margin:18px 0 8px;
}
.seo-text ul,.seo-text ol{
    margin:12px 0 18px;
    padding-left:24px;
    list-style-position:outside;
}
.seo-text ul{list-style:disc}
.seo-text ol{list-style:decimal}
.seo-text li{margin:0 0 8px}
.seo-text li::marker{color:var(--primary)}
.seo-text a{
    color:#0B6A6A;
    font-weight:500;
    text-decoration:underline;
    text-underline-offset:2px;
    transition:color .15s ease;
}
.seo-text a:hover{color:var(--primary)}
.seo-text strong,.seo-text b{color:var(--secondary);font-weight:600}
.seo-text blockquote{
    margin:20px 0;
    padding:18px 20px 18px 24px;
    border-left:4px solid var(--primary);
    background:linear-gradient(90deg, rgba(232,68,68,.07), transparent 90%);
    border-radius:0 14px 14px 0;
    font-size:16px;
    line-height:1.55;
    color:var(--secondary);
    font-style:italic;
}
.seo-text img{
    max-width:100%;
    height:auto;
    border-radius:12px;
    margin:16px 0;
    box-shadow:var(--sh-sm);
}
.seo-text table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
    margin:16px 0;
    border-radius:12px;
    overflow:hidden;
    border:1px solid var(--border);
}
.seo-text th,.seo-text td{
    padding:10px 14px;
    border-bottom:1px solid var(--border);
    text-align:left;
}
.seo-text th{
    background:var(--secondary);
    color:#fff;
    font-weight:600;
}
.seo-text tr:last-child td{border-bottom:none}
.seo-text tr:hover td{background:var(--bg-gray)}
/* Юридические страницы: внешняя карточка + внутренняя типографика legal-prose */
.legal-prose.seo-text{
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding:28px 32px 32px;
}
.legal-prose.seo-text h2{
    font-size:22px;
    margin:32px 0 14px;
    padding-top:8px;
    border-bottom:none;
    border-top:1px solid var(--border);
}
.legal-prose.seo-text h2:first-of-type{
    margin-top:0;
    padding-top:0;
    border-top:none;
}
/* Статьи блога: чуть шире интерлиньяж */
.seo-text.article-body{
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding:28px 30px 30px;
}
.seo-text.article-body h2{font-size:24px}
@media (max-width:767px){
    .seo-text{padding:20px 18px 22px;border-radius:16px}
    .legal-prose.seo-text{padding:22px 18px 24px}
    .seo-text.article-body{padding:22px 18px 24px}
    .seo-text h2{font-size:20px}
}

/* ── Страница «О компании» (about-rich) ─────────────── */
.about-page-wrap__h1{
    font-size:40px;
    font-weight:600;
    line-height:1.2;
    color:var(--secondary);
    margin:0 0 8px;
}
.about-page{padding:0 0 56px}
.about-hero{
    border-radius:20px;
    overflow:hidden;
    background:
      radial-gradient(520px 240px at 12% 20%, rgba(232,68,68,.22), transparent 70%),
      linear-gradient(135deg,#131526 0%,#1e2140 48%,#2a1530 100%);
    color:#fff;
    margin:20px 0 28px;
    box-shadow:var(--sh-lg);
}
.about-hero__inner{padding:36px 28px 40px}
@media (min-width:900px){
    .about-hero__inner{padding:48px 44px 52px;max-width:820px}
}
.about-hero__eyebrow{
    font-size:13px;
    font-weight:600;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:rgba(255,255,255,.55);
    margin-bottom:12px;
}
.about-hero__title{
    font-size:clamp(26px,4vw,40px);
    font-weight:700;
    line-height:1.15;
    margin:0 0 16px;
    color:#fff;
}
.about-hero__lead{
    font-size:17px;
    line-height:1.65;
    color:rgba(255,255,255,.88);
    margin:0;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-bottom:32px;
}
@media (min-width:768px){
    .about-stats{grid-template-columns:repeat(4,1fr);gap:18px}
}
.about-stat{
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:18px 16px;
    text-align:center;
    box-shadow:var(--sh-sm);
    transition:border-color .2s,transform .2s;
}
.about-stat:hover{border-color:rgba(232,68,68,.35);transform:translateY(-2px)}
.about-stat__num{
    font-size:22px;
    font-weight:700;
    color:var(--primary);
    line-height:1.2;
}
.about-stat__label{font-size:13px;color:var(--text-muted);margin-top:6px}

.about-section{margin:28px 0}
.about-section__h{
    font-size:22px;
    font-weight:600;
    color:var(--secondary);
    margin:0 0 16px;
    padding-bottom:10px;
    border-bottom:2px solid rgba(232,68,68,.25);
}
.about-section--muted{
    background:var(--bg-gray);
    border-radius:18px;
    padding:26px 22px;
    border:1px solid var(--border);
}
.about-section__grid{
    display:grid;
    gap:20px;
}
@media (min-width:800px){
    .about-section__grid{grid-template-columns:1fr 1fr}
}
.about-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:20px;
    box-shadow:var(--sh-sm);
}
.about-card__h{font-size:17px;margin:0 0 10px;color:var(--secondary)}
.about-card p{margin:0;font-size:15px;line-height:1.65;color:var(--text)}
.about-card a{color:#0B6A6A;font-weight:500}
.about-card a:hover{color:var(--primary)}

.about-pullquote{
    margin:32px 0;
    padding:24px 24px 24px 28px;
    border-left:4px solid var(--primary);
    background:linear-gradient(90deg,rgba(232,68,68,.08),transparent);
    border-radius:0 14px 14px 0;
    font-size:18px;
    font-weight:500;
    line-height:1.55;
    color:var(--secondary);
    font-style:italic;
}

.about-timeline{margin:28px 0}
.about-timeline__list{
    counter-reset:step;
    list-style:none;
    margin:0;
    padding:0;
}
.about-timeline__list li{
    position:relative;
    padding:16px 16px 16px 52px;
    margin-bottom:12px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    box-shadow:var(--sh-sm);
    line-height:1.6;
}
.about-timeline__list li::before{
    counter-increment:step;
    content:counter(step);
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--primary),var(--accent));
    color:#fff;
    font-size:14px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}
.about-timeline__list a{color:#0B6A6A;font-weight:600}
.about-timeline__list a:hover{color:var(--primary)}

.about-cta{
    margin:40px 0 0;
    padding:32px 24px;
    text-align:center;
    border-radius:20px;
    background:
      radial-gradient(380px 180px at 80% 10%, rgba(232,68,68,.2), transparent 65%),
      linear-gradient(135deg,#1A1A2E 0%,#252845 100%);
    color:#fff;
    box-shadow:var(--sh-lg);
}
.about-cta__h{font-size:24px;margin:0 0 10px;color:#fff}
.about-cta__text{
    margin:0 0 22px;
    color:rgba(255,255,255,.85);
    font-size:16px;
    max-width:520px;
    margin-left:auto;
    margin-right:auto;
}
.about-cta .btn--primary{background:var(--primary)}
.about-cta .btn--primary:hover{background:var(--primary-dark)}

.about-section p,.about-section--muted p{
    margin:0 0 14px;
    font-size:15px;
    line-height:1.7;
    color:var(--text);
}
.about-section p:last-child{margin-bottom:0}
.about-section a,.about-section--muted a{color:#0B6A6A;font-weight:500}
.about-section a:hover,.about-section--muted a:hover{color:var(--primary)}

/* ── Юридические тексты ───────────────────────────── */
.legal-page--docs{max-width:920px}
.legal-page--docs > h1{margin-bottom:20px}
.legal-prose{font-size:15px;line-height:1.7;color:var(--text)}
.legal-prose--wide{max-width:none}
.legal-prose h2{
    font-size:22px;
    margin:32px 0 14px;
    padding-top:8px;
    color:var(--secondary);
    border-top:1px solid var(--border);
}
.legal-prose h2:first-of-type{border-top:none;padding-top:0}
.legal-prose h3{font-size:17px;margin:22px 0 10px;color:var(--secondary)}
.legal-prose p{margin:0 0 12px}
.legal-prose ul{margin:10px 0 16px;padding-left:22px;list-style:disc}
.legal-prose ol{margin:10px 0 16px;padding-left:24px;list-style:decimal}
.legal-prose li{margin-bottom:8px}
.legal-prose a{color:#0B6A6A;font-weight:500}
.legal-prose a:hover{color:var(--primary)}
.legal-prose strong{color:var(--secondary)}
.legal-prose__meta{
    font-size:14px;
    color:var(--text-muted);
    margin-bottom:20px !important;
    padding:14px 16px;
    background:var(--bg-gray);
    border-radius:12px;
    border:1px solid var(--border);
}
.legal-prose__placeholders em{color:var(--text-muted);font-style:normal}

/* ── Cookie-баннер ────────────────────────────────── */
.cookie-consent{
    position:fixed;
    z-index:9998;
    left:0;
    right:0;
    bottom:0;
    padding:16px;
    display:flex;
    justify-content:center;
    pointer-events:none;
}
.cookie-consent[hidden]{display:none !important}
.cookie-consent__panel{
    pointer-events:auto;
    max-width:720px;
    width:100%;
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:0 -4px 28px rgba(0,0,0,.12),var(--sh-lg);
    padding:18px 20px;
    display:flex;
    flex-direction:column;
    gap:16px;
}
@media (min-width:720px){
    .cookie-consent__panel{
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        gap:20px;
        max-width:960px;
        padding:20px 24px;
    }
}
.cookie-consent__title{
    font-weight:700;
    font-size:16px;
    color:var(--secondary);
    margin:0 0 6px;
}
.cookie-consent__desc{
    margin:0;
    font-size:14px;
    line-height:1.55;
    color:var(--text-muted);
}
.cookie-consent__desc a{color:#0B6A6A;text-decoration:underline}
.cookie-consent__desc a:hover{color:var(--primary)}
.cookie-consent__actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    flex-shrink:0;
}
.contacts-address{font-size:15px;line-height:1.55;margin:0}

/* Блог */
.page-blog .blog-hero{margin-bottom:28px}
.blog-hero__title{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:700;margin:0 0 10px;color:var(--secondary)}
.blog-hero__lead{margin:0}
.blog-rubrics{margin:0 0 28px}
.blog-rubrics__row{
    display:flex;flex-wrap:wrap;gap:10px;align-items:center;
}
.blog-rubric-chip{
    display:inline-flex;align-items:center;gap:8px;
    padding:8px 14px;border-radius:999px;
    font-size:14px;font-weight:500;
    border:1px solid var(--border);background:#fff;
    color:var(--text);text-decoration:none;
    transition:box-shadow .2s,border-color .2s,background .2s;
}
.blog-rubric-chip:hover{border-color:var(--primary);box-shadow:var(--sh-sm)}
.blog-rubric-chip.is-active{
    background:linear-gradient(135deg,rgba(141,26,44,.1),#fff);
    border-color:var(--primary);
    color:var(--secondary);
}
.blog-rubric-chip__n{
    display:inline-block;min-width:1.4em;text-align:center;
    font-size:12px;font-weight:600;color:var(--primary);
    background:rgba(141,26,44,.1);border-radius:8px;padding:2px 6px
}
.blog-rubric-desc{color:var(--text-muted);max-width:860px;margin:-8px 0 24px;line-height:1.65}
.blog-cat{margin-bottom:36px}
.blog-cat__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.blog-cat__title{font-size:1.25rem;font-weight:700;margin:0;color:var(--secondary)}
.blog-cat__all{font-size:14px;font-weight:600;color:#0B6A6A;text-decoration:none}
.blog-cat__all:hover{color:var(--primary);text-decoration:underline}
.blog-grid{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;
}
.blog-card{
    height:100%;border:1px solid var(--border);border-radius:16px;
    background:#fff;box-shadow:var(--sh-sm);
    transition:box-shadow .2s,border-color .2s,transform .2s;
}
.blog-card:hover{
    border-color:var(--primary);
    box-shadow:var(--sh-md);
    transform:translateY(-2px);
}
.blog-card__link{
    display:flex;flex-direction:column;height:100%;
    padding:20px 20px 18px;text-decoration:none;color:inherit;
}
.blog-card__kicker{
    display:flex;justify-content:space-between;align-items:center;
    margin-bottom:10px;gap:8px
}
.blog-card__rubric{
    font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;
    color:var(--primary);
}
.blog-card__date{font-size:12px;color:var(--text-muted)}
.blog-card__title{
    font-size:17px;font-weight:600;line-height:1.35;margin:0 0 10px;
    color:var(--secondary);
}
.blog-card__excerpt{
    flex:1;font-size:14px;line-height:1.55;color:var(--text-muted);margin:0 0 14px
}
.blog-card__more{
    display:inline-flex;align-items:center;gap:6px;
    font-size:14px;font-weight:600;color:#0B6A6A;margin-top:auto
}
.blog-card__arrow{transition:transform .2s}
.blog-card__link:hover .blog-card__arrow{transform:translateX(3px)}
.blog-empty{margin:1rem 0;color:var(--text-muted)}

/* Статья */
.blog-article{max-width:min(800px,100%);padding-left:0;padding-right:0}
.blog-article__head{margin-bottom:20px}
.blog-article__crumb{margin:0 0 10px}
.blog-article__crumb-link{
    font-size:14px;font-weight:600;color:#0B6A6A;text-decoration:none
}
.blog-article__crumb-link:hover{color:var(--primary);text-decoration:underline}
.blog-article__title{font-size:clamp(1.4rem,2.2vw,1.9rem);font-weight:700;margin:0 0 12px;color:var(--secondary);line-height:1.25}
.blog-article__meta{margin:0 0 12px}
.blog-article__time{color:var(--text-muted);font-size:15px}
.blog-article__lead{
    font-size:1.1rem;line-height:1.65;margin:0;color:var(--text);
}
.blog-article__body{margin-top:8px}
.article-body--blog{
    font-size:16px;line-height:1.75;color:var(--text);
    padding:28px 26px 32px;
}
.article-body--blog > *:first-child{margin-top:0}
.article-body--blog > *:last-child{margin-bottom:0}
.article-body--blog p{margin:0 0 1.1em}
.article-body--blog h2{
    font-size:1.35rem;font-weight:700;margin:1.5em 0 .65em;
    color:var(--secondary);line-height:1.3;
}
.article-body--blog h2:first-child{margin-top:0}
.article-body--blog h3{font-size:1.15rem;font-weight:600;margin:1.25em 0 .5em;color:var(--secondary)}
.article-body--blog ul,.article-body--blog ol{margin:0 0 1.1em;padding-left:1.35em}
.article-body--blog li{margin:.35em 0}
.article-body--blog a{
    color:#0B6A6A;text-decoration:underline;text-underline-offset:2px
}
.article-body--blog a:hover{color:var(--primary)}
.article-body--blog blockquote{
    margin:1.1em 0;padding:12px 16px;border-left:4px solid var(--primary);
    background:#FAFBFC;border-radius:0 12px 12px 0;color:var(--text-muted);
    font-size:15px;
}
@media (max-width:640px){
    .article-body--blog{padding:20px 16px 24px;font-size:15px}
    .blog-cat__head{align-items:flex-start}
}


/* --- Sidebar related services --- */
.sidebar__related{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--r-lg);
    padding:16px 18px;
    box-shadow:var(--sh-sm);
}
.sidebar__related-title{
    margin:0 0 12px;
    font-weight:700;
    font-size:16px;
    color:var(--secondary);
}
.sidebar__related ul{
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.sidebar__related li{margin:0}
.sidebar__related a{
    display:block;
    padding:10px 12px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#f8fafc;
    color:var(--secondary);
    font-size:14px;
    line-height:1.35;
    text-decoration:none;
    transition:all .2s ease;
}
.sidebar__related a:hover{
    border-color:var(--primary);
    background:#fff;
    color:var(--primary);
    transform:translateX(2px);
}
.sidebar__related a:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:2px;
}

/* ── B2B PAGE ─────────────────────────────────────── */
.b2b-hero .hero__subtitle{max-width:860px}
.b2b-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.b2b-trust{padding:28px 0 10px}
.b2b-trust__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.b2b-card{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:16px;box-shadow:var(--sh-sm)}
.b2b-card h3{font-size:17px;color:var(--secondary);margin-bottom:8px}
.b2b-card p{font-size:14px;color:var(--text-muted);line-height:1.5}
.b2b-content .seo-text{max-width:920px}
.b2b-content .seo-text h2{margin-top:22px}
.b2b-content .seo-text h3{margin-top:14px;margin-bottom:8px}
.b2b-content .seo-text ul{list-style:disc;padding-left:22px;margin-bottom:14px}
.b2b-content .seo-text li{margin:6px 0}
.b2b-cta{margin-top:10px}
@media (max-width: 1100px){
  .b2b-trust__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 768px){
  .b2b-hero__actions{flex-direction:column}
  .b2b-hero__actions .btn{width:100%}
  .b2b-trust__grid{grid-template-columns:1fr}
}

/* --- B2B visual polish (override) --- */
.b2b-hero .hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px 12px;
  margin:20px 0 12px;
}

.b2b-hero .hero__badges .badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  line-height:1.15;
  letter-spacing:.1px;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.b2b-hero .hero__badges .badge--green{
  background:linear-gradient(180deg,#dff8e7 0%,#c5f1d7 100%);
  color:#0f6b36;
}
.b2b-hero .hero__badges .badge--blue{
  background:linear-gradient(180deg,#e6efff 0%,#d8e7ff 100%);
  color:#234fa9;
}
.b2b-hero .hero__badges .badge--orange{
  background:linear-gradient(180deg,#fff4d8 0%,#ffebbe 100%);
  color:#9a5712;
}

/* Карточки "Что получает бизнес" */
.b2b-trust__grid{
  gap:16px;
}
.b2b-card{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  border:1px solid #e7eaf6;
  background:linear-gradient(180deg,#ffffff 0%,#f8faff 100%);
  padding:20px 18px;
  box-shadow:0 8px 24px rgba(19,31,64,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.b2b-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background:linear-gradient(90deg,#e84444 0%,#f28a4b 100%);
}
.b2b-card:hover{
  transform:translateY(-3px);
  border-color:#d7def4;
  box-shadow:0 14px 34px rgba(19,31,64,.14);
}
.b2b-card h3{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  font-size:18px;
}
.b2b-card h3::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  flex:0 0 10px;
  background:linear-gradient(180deg,#ff5e5e 0%,#d63535 100%);
  box-shadow:0 0 0 4px rgba(232,68,68,.14);
}
.b2b-card p{
  font-size:14px;
  line-height:1.6;
  color:#5b6478;
  margin:0;
}

@media (max-width: 768px){
  .b2b-hero .hero__badges{
    gap:10px;
    margin:16px 0 10px;
  }
  .b2b-hero .hero__badges .badge{
    font-size:13px;
    min-height:32px;
    padding:7px 12px;
  }
}

/* --- B2B hero form: glass card --- */
.b2b-hero .hero__form{
  background:linear-gradient(180deg,rgba(255,255,255,.98) 0%, rgba(246,248,255,.96) 100%);
  border:1px solid rgba(255,255,255,.45);
  border-radius:16px;
  box-shadow:
    0 18px 40px rgba(13,16,40,.28),
    inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  padding:22px 22px 18px;
}

.b2b-hero .hero__form-title{
  margin-bottom:14px;
  font-size:19px;
  letter-spacing:.2px;
}

.b2b-hero .hero__form .field__label{
  color:#2b3350;
  font-weight:600;
}

.b2b-hero .hero__form .field__input{
  background:#fff;
  border:1.5px solid #d9def0;
  border-radius:10px;
}
.b2b-hero .hero__form .field__input:focus{
  border-color:#e84444;
  box-shadow:0 0 0 4px rgba(232,68,68,.12);
}

.b2b-hero .hero__form .btn--primary{
  width:100%;
  min-height:46px;
  border-radius:11px;
  font-size:16px;
  box-shadow:0 10px 24px rgba(232,68,68,.32);
}

.b2b-hero .hero__form .form-call__agree{
  margin-top:2px;
  font-size:12px;
  color:#6d7590;
}

/* subtle glow behind form */
.b2b-hero .hero__inner{
  position:relative;
}
.b2b-hero .hero__inner::after{
  content:"";
  position:absolute;
  right:70px;
  top:46px;
  width:340px;
  height:340px;
  pointer-events:none;
  border-radius:50%;
  background:radial-gradient(circle, rgba(232,68,68,.18) 0%, rgba(232,68,68,0) 68%);
  filter:blur(2px);
}

@media (max-width: 980px){
  .b2b-hero .hero__inner::after{display:none;}
}

/* --- B2B CTA premium polish --- */
.b2b-cta{
  position:relative;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(1200px 420px at 10% -20%, rgba(255,102,102,.20) 0%, rgba(255,102,102,0) 52%),
    radial-gradient(900px 340px at 90% 0%, rgba(82,110,255,.18) 0%, rgba(82,110,255,0) 48%),
    linear-gradient(135deg, #1b1730 0%, #24153a 45%, #2d153a 100%);
  color:#fff;
  padding:56px 0;
  margin-top:22px;
}

.b2b-cta .container{
  max-width:980px;
  text-align:center;
  position:relative;
  z-index:2;
}

.b2b-cta h2{
  color:#fff;
  font-size:34px;
  line-height:1.25;
  margin-bottom:14px;
}

.b2b-cta p{
  color:rgba(255,255,255,.86);
  font-size:18px;
  max-width:780px;
  margin:0 auto 24px;
}

.b2b-cta .btn--primary{
  min-width:300px;
  min-height:52px;
  border-radius:12px;
  font-size:17px;
  box-shadow:
    0 12px 30px rgba(232,68,68,.42),
    0 3px 8px rgba(0,0,0,.25);
}

.b2b-cta::before,
.b2b-cta::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(2px);
}

.b2b-cta::before{
  width:280px;
  height:280px;
  right:-80px;
  top:-60px;
  background:radial-gradient(circle, rgba(255,120,120,.35) 0%, rgba(255,120,120,0) 68%);
}

.b2b-cta::after{
  width:240px;
  height:240px;
  left:-70px;
  bottom:-70px;
  background:radial-gradient(circle, rgba(120,145,255,.30) 0%, rgba(120,145,255,0) 70%);
}

@media (max-width: 768px){
  .b2b-cta{padding:44px 0}
  .b2b-cta h2{font-size:28px}
  .b2b-cta p{font-size:16px;margin-bottom:18px}
  .b2b-cta .btn--primary{
    width:100%;
    min-width:0;
    font-size:16px;
    min-height:48px;
  }
}

/* --- B2B cards icons + soft motion --- */
.b2b-card h3{
  position:relative;
  padding-left:42px;
  margin-bottom:10px;
}

.b2b-card h3::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:8px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg,#ff6262 0%,#e84444 100%);
  box-shadow:
    0 6px 14px rgba(232,68,68,.28),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.b2b-card:nth-child(2) h3::before{
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg,#5f8dff 0%,#3f6ee8 100%);
  box-shadow:0 6px 14px rgba(63,110,232,.28), inset 0 1px 0 rgba(255,255,255,.45);
}
.b2b-card:nth-child(3) h3::before{
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg,#33c69a 0%,#1faa7f 100%);
  box-shadow:0 6px 14px rgba(31,170,127,.28), inset 0 1px 0 rgba(255,255,255,.45);
}
.b2b-card:nth-child(4) h3::before{
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg,#f6a14b 0%,#e47f21 100%);
  box-shadow:0 6px 14px rgba(228,127,33,.28), inset 0 1px 0 rgba(255,255,255,.45);
}

.b2b-card{
  will-change:transform,box-shadow;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.b2b-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 38px rgba(19,31,64,.16);
}

@media (prefers-reduced-motion: reduce){
  .b2b-card{transition:none}
  .b2b-card:hover{transform:none}
}

/* --- Brand logo: 3D MASTER PROFI --- */
.header__logo--brand{display:inline-flex;align-items:center;gap:10px}
.header__logo-mark{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(204,31,31,.45))}
.footer__brand-logo .header__logo-mark{width:36px;height:36px;filter:drop-shadow(0 3px 8px rgba(204,31,31,.35))}
.header__logo-text{
  display:inline-block;font-weight:900;letter-spacing:.7px;line-height:1;font-size:23px;text-transform:uppercase;
  background:linear-gradient(180deg,#ffd5d5 0%,#ff8f8f 28%,#ff4f4f 52%,#d91f1f 78%,#9c0f0f 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:0 1px 0 rgba(255,255,255,.6),0 2px 0 rgba(150,0,0,.32),0 3px 6px rgba(0,0,0,.28);
  transform:translateY(1px)
}
.header__logo:hover .header__logo-text{filter:brightness(1.04)}
@media (max-width:900px){.header__logo-text{font-size:19px;letter-spacing:.5px}.header__logo-mark{width:38px;height:38px}}
@media (max-width:520px){.header__logo-text{font-size:16px;letter-spacing:.35px}.header__logo-mark{width:34px;height:34px}}

/* --- Brand text brighter override --- */
.header__logo-text{
  background: linear-gradient(180deg,#fff0f0 0%, #ffd2d2 24%, #ff8f8f 46%, #ff3a3a 64%, #e01515 82%, #a60a0a 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color: transparent !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.85),
    0 2px 0 rgba(170,0,0,.45),
    0 4px 10px rgba(0,0,0,.34),
    0 0 12px rgba(255,80,80,.28) !important;
  font-weight: 900 !important;
}
.header__logo:hover .header__logo-text{
  filter: brightness(1.12) saturate(1.08) !important;
}

/* --- Brand text: red gradient override --- */
.header__logo-text{
  background: linear-gradient(
    90deg,
    #7f0b0b 0%,
    #b20f0f 18%,
    #d21b1b 36%,
    #f03a3a 52%,
    #d21b1b 68%,
    #a40f0f 84%,
    #7f0b0b 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.30),
    0 2px 0 rgba(120,10,10,.40),
    0 6px 12px rgba(0,0,0,.32) !important;
  letter-spacing: .8px !important;
  font-weight: 900 !important;
}

/* мягкий "перелив" при ховере */
.header__logo:hover .header__logo-text{
  filter: saturate(1.2) brightness(1.08) !important;
}

/* чтобы на очень светлой шапке не терялся */
.header__logo--brand{
  border-radius: 10px;
  padding: 2px 4px;
}

.masters-section-title {
  margin: 12px 0 10px;
  font-size: 24px;
}

.masters-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.master-catalog-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.master-catalog-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
}

.master-catalog-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.master-catalog-card__top h3 {
  margin: 0;
  font-size: 20px;
}

.master-catalog-card__spec {
  margin: 4px 0 6px;
  color: #6b7280;
}

.master-catalog-card__meta {
  margin: 0 0 8px;
  color: #374151;
}

.master-catalog-card__phone {
  margin: 0 0 10px;
  font-weight: 600;
}

.master-catalog-card__rating {
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.master-catalog-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .master-catalog-card {
    grid-template-columns: 1fr;
  }
  .master-catalog-card__avatar {
    width: 72px;
    height: 72px;
  }
}

.masters-catalog-page h1 {
  margin-bottom: 14px;
}

.masters-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
  align-items: center;
}

.masters-filters .field__input {
  height: 44px;
  border-radius: 10px;
}

.masters-filters__check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
}

.masters-filters__submit {
  min-height: 44px;
}

.masters-section-title {
  margin: 14px 0 10px;
  font-size: 24px;
}

.masters-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.masters-empty {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  color: #6b7280;
}

.master-catalog-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
}

.master-catalog-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.master-catalog-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.master-catalog-card__top h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.master-catalog-card__top h3 a {
  color: #111827;
  text-decoration: none;
}

.master-catalog-card__top h3 a:hover {
  color: #b80f3b;
}

.master-catalog-card__rating {
  white-space: nowrap;
  font-weight: 700;
  color: #111827;
}

.master-catalog-card__spec {
  margin: 6px 0;
  color: #4b5563;
  font-size: 15px;
}

.master-catalog-card__meta {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 14px;
}

.master-catalog-card__phone {
  margin: 0 0 10px;
  font-weight: 600;
}

.master-catalog-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .masters-filters {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 820px) {
  .masters-filters {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .master-catalog-card {
    grid-template-columns: 1fr;
  }

  .master-catalog-card__avatar {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 520px) {
  .masters-filters {
    grid-template-columns: 1fr;
  }

  .masters-section-title {
    font-size: 20px;
  }

  .master-catalog-card__top h3 {
    font-size: 18px;
  }
}

.masters-page { padding: 32px 0; }
.masters-page__title { margin-bottom: 16px; }

.masters-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
  align-items: start;
}

.masters-sidebar {
  position: sticky;
  top: 12px;
}

.masters-filter-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}
.masters-filter-card h2 { margin: 0 0 4px; font-size: 20px; }
.masters-filter-card label { font-size: 13px; color: #6b7280; }
.masters-filter-card .field__input { height: 42px; border-radius: 10px; }

.masters-filter-card__check {
  margin-top: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}
.masters-filter-card__submit { margin-top: 8px; min-height: 42px; }

.masters-content__section-title {
  margin: 2px 0 10px;
  font-size: 24px;
}

.master-list { display: grid; gap: 12px; margin-bottom: 18px; }

.master-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}

.master-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

.master-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.master-card__top h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.master-card__top h3 a {
  color: #111827;
  text-decoration: none;
}
.master-card__top h3 a:hover { color: #b80f3b; }

.master-card__rating { font-weight: 700; white-space: nowrap; }
.master-card__subtitle { margin: 6px 0; color: #4b5563; }
.master-card__meta { margin: 0 0 8px; color: #6b7280; font-size: 14px; }
.master-card__phone { margin: 0 0 10px; font-weight: 600; }

.master-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.master-empty {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  color: #6b7280;
}

@media (max-width: 1100px) {
  .masters-layout { grid-template-columns: 1fr; }
  .masters-sidebar { position: static; }
}

@media (max-width: 700px) {
  .master-card { grid-template-columns: 1fr; }
  .master-card__avatar { width: 72px; height: 72px; }
  .masters-content__section-title { font-size: 20px; }
}

.master-login-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.master-login-modal.is-open {
  display: block;
}
.master-login-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
}
.master-login-modal__dialog {
  position: relative;
  width: min(520px, calc(100% - 24px));
  margin: 80px auto 0;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.master-login-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.master-login-modal__form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.lk-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 10px;
}
.lk-quick-card {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}
.lk-quick-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.lk-quick-card p {
  margin: 0;
  color: #6b7280;
}
.lk-quick-card:hover {
  border-color: #d0d5dd;
  box-shadow: 0 2px 8px rgba(16,24,40,.08);
}

.lk-wrap { padding: 40px 0; max-width: 980px; }
.lk-subtitle { color:#6b7280; margin:0 0 14px; }

.lk-msg {
  padding:10px 12px; border-radius:8px; margin:14px 0;
  border:1px solid transparent;
}
.lk-msg--ok { border-color:#b7e4c7; background:#e9f8ef; color:#1f6f43; }
.lk-msg--err { border-color:#f5c2c7; background:#fff0f1; color:#9f2430; }

.lk-quick-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
  margin-bottom:14px;
}
.lk-quick-card {
  display:block;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  padding:14px;
  text-decoration:none;
  color:inherit;
}
.lk-quick-card h3 { margin:0 0 6px; font-size:18px; }
.lk-quick-card p { margin:0; color:#6b7280; font-size:14px; }
.lk-quick-card:hover { box-shadow:0 2px 8px rgba(16,24,40,.08); border-color:#d0d5dd; }

.lk-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:12px 0 16px;
}

.lk-summary-card {
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  padding:16px;
}
.lk-summary-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
}
.lk-summary-grid span {
  display:block;
  color:#6b7280;
  font-size:13px;
  margin-bottom:4px;
}
.lk-summary-grid strong {
  font-size:15px;
  color:#111827;
}

.lk-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.lk-city-chip {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
}

.lk-save-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.lk-acc {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.lk-acc > summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
}
.lk-acc__body {
  padding: 0 14px 12px;
}
.lk-offer-row {
  display: grid;
  grid-template-columns: 24px 1fr 170px 110px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
}
.lk-offer-row__name {
  font-weight: 600;
  color: #111827;
}

@media (max-width: 900px) {
  .lk-offer-row {
    grid-template-columns: 24px 1fr;
  }
}

/* Customer auth page */
.auth-customer-page__title{margin:0 0 16px}
.auth-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}
.auth-card{
  background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:18px;box-shadow:var(--sh-sm)
}
.auth-card--soft{background:#fbfcff}
.auth-card__title{margin:0 0 10px;font-size:22px}
.auth-card__text{margin:0 0 14px;color:var(--text-muted);line-height:1.5}
.auth-card__hint{margin:10px 0 0;color:var(--text-muted);font-size:13px}
.auth-form .field__label{display:block;margin:8px 0 6px}
.auth-form .field__input{margin:0 0 10px}
.auth-alert{
  margin:0 0 12px;padding:12px;border-radius:10px;border:1px solid transparent
}
.auth-alert--error{border-color:#ffa39e;background:#fff1f0;color:#8a1f1f}

/* Order form layout fix on master profile */
#order-form .service-card{padding:18px}
#order-form form{
  display:grid !important;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) !important;
  gap:12px !important;
  align-items:end !important;
}
#order-form form .field__label{
  display:block !important;
  margin:0 0 6px !important;
  font-size:12px;
  letter-spacing:.2px;
}
#order-form form .field__input{
  width:100% !important;
  max-width:100% !important;
  min-height:44px;
}
#order-form #order-description{
  grid-column:1 / -1;
  min-height:110px;
}
#order-form form > div{
  grid-column:1 / -1;
}
