/* Новата визия на cscservicebg.com (21.11.2026): като онлайн магазина parts-csc.com.
   Цветовете са от логото: тъмно синьо за заглавия и край на страницата, синьото от логото за връзки,
   тюркоазът за основните бутони, с тъмен текст върху него. Шрифтът Montserrat е от нашия сървър. */
:root {
    --ink: #20305a;
    --brand: #4064ac;
    --brand-dark: #324f8c;
    --teal: #1dc5e1;
    --teal-dark: #11a0b9; /* мишка върху тюркоазен бутон; беше #17b0ca и почти не се виждаше (22.11.2026) */
    --teal-press: #0d8ea4; /* натиснат тюркоазен бутон */
    --bg: #f5f7fb;
    --tint: #eef2fa;
    --text: #2a3142;
    --muted: #667085;
    --line: #e4e8f1;
    --white: #ffffff;
    --ok: #157a47;
    --bad: #b42318;
    --r: 10px;
    --r-s: 8px;
    --shadow: 0 1px 2px rgba(32, 48, 90, .05), 0 2px 8px rgba(32, 48, 90, .04);
    --shadow-hover: 0 8px 24px rgba(32, 48, 90, .12);
}
*, *::before, *::after { box-sizing: border-box; }
/* Обичайните форми на буквите, както в магазина. */
html, button, input, select, textarea { font-feature-settings: "locl" 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Montserrat, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
a, button { transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-weight: 800; }
h2 { text-transform: uppercase; font-size: 24px; letter-spacing: .3px; margin-bottom: 22px; }
.wrap, .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); font-size: 13px; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
/* Рисунките на машините, в цветовете на логото (като в магазина). */
.ri-a { fill: var(--ink); }
.ri-b { fill: var(--teal); }
.ri-c { fill: var(--white); }
.ri-d { fill: #cdeef6; }
.ri-e { fill: var(--brand); }
.ri-s { fill: none; stroke: var(--white); stroke-width: 1.8; }
.ri-o { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.ri-bw { fill: var(--teal); stroke: var(--white); stroke-width: 2.5; }
.ri-w { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-s); }
.skip-link:focus { left: 8px; color: var(--white); }

/* Горна част */
.head-bar { background: var(--white); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 30; }
.head-row { padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; gap: 10px 22px; }
.logo { display: block; flex: 0 0 auto; margin-right: auto; }
.logo img { height: 56px; width: auto; display: block; } /* 48 → 56 (потребителят, 22.11.2026: малко се губеше) */
.head-link { color: var(--ink); font-weight: 600; font-size: 14px; min-height: 44px; text-decoration: none; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.head-link:hover { color: var(--brand); }
.head-link.phone { font-weight: 700; font-size: 15px; }
.head-link.login { color: var(--muted); font-size: 13px; }
.head-link.login:hover { color: var(--brand); }
.head-link.lang { justify-content: center; min-width: 44px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--r-s); font-size: 13px; font-weight: 700; }
.head-link.lang:hover { border-color: var(--brand); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--ink); cursor: pointer; }
.menu { background: var(--white); border-bottom: 1px solid var(--line); }
.menu-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 34px; }
.menu a { display: flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; font-size: 12.5px; text-transform: uppercase; white-space: nowrap; padding: 12px 2px; border-bottom: 2px solid transparent; text-decoration: none; }
.menu a:hover, .menu a.active { color: var(--brand); border-bottom-color: var(--teal); }
.menu .soon { font-size: 10px; font-weight: 700; letter-spacing: .3px; line-height: 1; color: var(--ink); background: var(--teal); border-radius: 999px; padding: 4px 7px; }
.menu .only-phone { display: none; }

/* Бутони */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border: 1.5px solid transparent; border-radius: var(--r-s); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; }
.btn-teal, .btn-primary { background: var(--teal); color: var(--ink); }
.btn-teal:hover, .btn-primary:hover { background: var(--teal-dark); color: var(--ink); }
.btn-teal:active, .btn-primary:active { background: var(--teal-press); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--brand-dark); color: var(--white); }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--ink); }
.btn-outline { background: var(--white); border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--white); }
.btn:disabled { opacity: .6; cursor: default; }

/* Ленти на страницата */
.band { padding: 44px 0; }
.band.white { background: var(--white); }
.band.top { padding-top: 24px; }

/* Начало: горната част */
.hero { position: relative; z-index: 0; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding: 44px; border-radius: 16px; background: linear-gradient(120deg, #20305a 0%, #2d4580 55%, #4064ac 100%); color: var(--white); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 230px; height: 230px; border: 30px solid rgba(255, 255, 255, .08); border-radius: 50%; top: -150px; left: 40%; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .05); right: -110px; bottom: -190px; }
.hero-text { flex: 1 1 420px; min-width: 0; }
.kicker { margin: 0 0 10px; color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.hero h1 { color: var(--white); font-size: 36px; line-height: 1.18; margin-bottom: 14px; }
.hero .lead { margin: 0 0 24px; max-width: 540px; color: rgba(255, 255, 255, .92); font-size: 17px; }
.hero-media { flex: 1 1 340px; min-width: 0; position: relative; }
/* Двете снимки в банера се сменят една след друга (main.js). Без JavaScript се вижда първата. */
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; box-shadow: 0 10px 30px rgba(10, 20, 50, .35); background: #2d4580; }
.slides img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.slides img.active { opacity: 1; }
.hero-badge { z-index: 1; position: absolute; left: -14px; bottom: 18px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.35; padding: 12px 16px; border-radius: var(--r); box-shadow: var(--shadow-hover); }

/* Направленията */
.dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.dir { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
a.dir:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); color: var(--text); }
.ic-round { display: grid; place-items: center; flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; background: var(--tint); }
.ic-round svg { width: 56px; height: 56px; }
.dir .ic-round { margin-bottom: 6px; }
.dir h3 { font-size: 17px; line-height: 1.3; }
.dir p { margin: 0; color: var(--muted); font-size: 14px; }
.more { margin-top: auto; padding-top: 4px; color: var(--brand); font-size: 14px; font-weight: 700; }

/* Изтъкнатото направление: перални и съдомиялни */
.feature { position: relative; z-index: 0; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding: 36px 40px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.feature::after { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; border-radius: 50%; background: var(--tint); right: -90px; bottom: -180px; }
.feature-text { flex: 1 1 420px; min-width: 0; }
.feature-text h2 { margin-bottom: 10px; }
.feature-text p { margin: 0 0 14px; max-width: 620px; }
.tag { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--teal); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.art { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.circle { display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 10px 30px rgba(32, 48, 90, .16); }
.circle svg { width: 64%; height: 64%; }
.circle.c1 { width: 180px; height: 180px; }
.circle.c2 { width: 130px; height: 130px; align-self: flex-end; }
.circle.c3 { width: 100px; height: 100px; align-self: flex-start; }
.feature .circle { border: 1px solid var(--line); }
.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); }
.checks li::after { content: ""; position: absolute; left: 8.5px; top: 4px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Рекламите: наем, Bosch и магазинът */
.ads { display: grid; gap: 18px; }
.ads.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ad { position: relative; z-index: 0; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 36px 44px; border-radius: 16px; background: var(--teal); color: var(--ink); text-decoration: none; }
a.ad:hover { color: var(--ink); box-shadow: var(--shadow-hover); }
.ad::before { content: ""; position: absolute; z-index: -1; width: 230px; height: 230px; border: 30px solid rgba(255, 255, 255, .5); border-radius: 50%; top: -150px; left: 40%; }
.ad::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .28); right: -110px; bottom: -190px; }
.ad-dots { position: absolute; z-index: -1; width: 112px; height: 56px; top: 22px; right: 36%; background-image: radial-gradient(circle, rgba(255, 255, 255, .9) 1.6px, transparent 2px); background-size: 14px 14px; }
.ad-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ad-title { display: block; margin: 0; color: var(--ink); font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.ad-lead { display: block; margin: 0; max-width: 560px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.ad-for { display: block; margin: 0; font-size: 15px; font-weight: 600; }
.ad-btn { display: inline-block; margin-top: 6px; padding: 13px 24px; border-radius: var(--r-s); background: var(--ink); color: var(--white); font-size: 15px; font-weight: 700; text-decoration: none; }
a.ad:hover .ad-btn, .ad-btn:hover { background: var(--brand-dark); color: var(--white); }
.ad .art .circle { box-shadow: 0 10px 30px rgba(32, 48, 90, .18); }
.soon-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.ad.light { background: var(--white); border: 1px solid var(--line); }
.ad.light::before { border-color: var(--tint); }
.ad.light::after { background: var(--tint); }
.ad.light .ad-dots { background-image: radial-gradient(circle, rgba(64, 100, 172, .35) 1.6px, transparent 2px); }
.ad.compact { padding: 30px 32px; }
.ad.compact .ad-title { font-size: 26px; }
.ad.compact .ad-lead { font-size: 16px; }
.ad-logo { display: block; height: auto; }
.ad-logo.bosch { width: 140px; margin: -6px 0 2px -4px; }
.ad-logo.shop { width: 230px; margin-bottom: 4px; }
.ad.dark { background: linear-gradient(120deg, #20305a 0%, #2d4580 55%, #4064ac 100%); color: var(--white); }
.ad.dark::before { border-color: rgba(255, 255, 255, .08); }
.ad.dark::after { background: rgba(255, 255, 255, .05); }
.ad.dark .ad-dots { background-image: radial-gradient(circle, rgba(255, 255, 255, .35) 1.6px, transparent 2px); }
.ad.dark .ad-title { color: var(--white); }
.ad.dark .soon-badge { background: var(--teal); color: var(--ink); }
/* Тъмната реклама (вземане от адрес, 22.11.2026): текстът остава бял и при мишка отгоре, а бутонът е тюркоазен. */
a.ad.dark:hover { color: var(--white); }
.ad.dark .ad-btn { background: var(--teal); color: var(--ink); }
a.ad.dark:hover .ad-btn { background: var(--white); color: var(--ink); }

/* Марки */
/* Марките са по 6 на ред, а непълният последен ред стои в средата. */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brands .brand { flex: 0 0 calc((100% - 60px) / 6); }
.brand { display: flex; align-items: center; justify-content: center; overflow: hidden; height: 96px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.brand img { display: block; width: 130px; height: 60px; object-fit: contain; }
/* Тези лога са с много празно около себе си, затова се показват по-едри. */
.brand img.loose { transform: scale(1.5); }

/* Покана в края на страницата */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.band.white .cta { background: var(--bg); }
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; max-width: 600px; }

/* Вътрешни страници */
.page-header { padding: 30px 0 6px; }
.page-header h1 { margin-bottom: 8px; font-size: 30px; line-height: 1.25; letter-spacing: .3px; text-transform: uppercase; overflow-wrap: anywhere; }
.page-header p { margin: 0; max-width: 760px; color: var(--muted); font-size: 16px; }
.section { padding: 26px 0 56px; }
.section-alt { background: var(--white); }
.section-tight { padding-top: 0; }
.prose { max-width: 820px; }
.prose h2 { margin: 28px 0 10px; font-size: 20px; letter-spacing: 0; text-transform: none; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 5px; }
.blog-article { font-size: 16px; line-height: 1.7; }
.blog-article .cover { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; margin: 0 0 22px; border-radius: var(--r); }
/* „За нас“: текст и снимка един до друг, като се редуват отляво и отдясно. */
.zigs { display: flex; flex-direction: column; gap: 40px; }
.zig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.zig.rev .zig-photo { order: -1; }
.zig-text h2 { margin-bottom: 12px; font-size: 22px; }
.zig-text p { margin: 0; font-size: 16.5px; line-height: 1.7; }
.zig-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-hover); }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-cards p { margin: 0; line-height: 1.7; }
/* Снимките от нашия сервиз като решетка, ако потрябва другаде: малката води към голямата. */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--r); background: var(--tint); }
.gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.03); }
/* Голямата снимка се отваря върху страницата (main.js), като галерията в магазина: хикс, стрелки, Esc и плъзгане. */
html.lb-open { overflow: hidden; }
.lb { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; background: rgba(15, 23, 45, .86); }
.lb.on { display: flex; }
.lb-frame { position: relative; }
.lb-img { display: block; max-width: 85vw; max-height: 80vh; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: opacity .15s ease; }
.lb-img.fade { opacity: 0; }
.lb-close, .lb-nav { position: absolute; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: pointer; transition: background .15s ease, opacity .15s ease; }
.lb-close:hover, .lb-nav:hover { background: var(--teal); }
.lb-frame:not(.ready) .lb-close, .lb-frame:not(.ready) .lb-nav { opacity: 0; }
.lb-close { top: 0; right: 0; transform: translate(50%, -50%); }
.lb-close::before, .lb-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 3px; margin: -1.5px 0 0 -10px; border-radius: 2px; background: currentColor; }
.lb-close::before { transform: rotate(45deg); }
.lb-close::after { transform: rotate(-45deg); }
.lb-nav { top: 50%; }
.lb-nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; }
.lb-prev { left: 0; transform: translate(-50%, -50%); }
.lb-prev::before { transform: translate(-50%, -50%) translateX(3px) rotate(-135deg); }
.lb-next { right: 0; transform: translate(50%, -50%); }
.lb-next::before { transform: translate(-50%, -50%) translateX(-3px) rotate(45deg); }
.lb-count { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); color: var(--white); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Услуги */
.svc { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px 36px; margin-bottom: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); scroll-margin-top: 96px; }
.svc.main { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.svc .ic-round { width: 120px; height: 120px; }
.svc .ic-round svg { width: 78px; height: 78px; }
.svc-photo { flex: 0 1 320px; min-width: 0; }
.svc-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); }
.svc-logo { flex: 0 0 120px; display: grid; place-items: center; height: 120px; }
.svc-logo img { width: 120px; height: auto; }
.svc-side { display: flex; flex: 0 0 120px; flex-direction: column; align-items: center; gap: 16px; }
.svc-side img { display: block; width: 110px; height: auto; scroll-margin-top: 140px; }
.svc-text { flex: 1 1 420px; min-width: 0; }
.svc-text h2 { margin-bottom: 10px; font-size: 21px; letter-spacing: 0; text-transform: none; }
.svc-text p { margin: 0 0 12px; }
.svc-text ul { margin: 0 0 14px; padding-left: 20px; }
.svc-text li { margin-bottom: 4px; }
.svc-text .btns { margin-top: 6px; }

/* Наем */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.item { padding: 22px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-align: center; }
.item .ic-round { width: 104px; height: 104px; margin: 0 auto 14px; }
.item .ic-round svg { width: 68px; height: 68px; }
.item h3 { margin: 0 0 6px; font-size: 16px; }
.item p { margin: 0; color: var(--muted); font-size: 14px; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.why li { position: relative; padding: 16px 16px 16px 52px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 700; }
.why li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--teal); }
.why li::after { content: ""; position: absolute; left: 24.5px; top: 50%; width: 5px; height: 10px; margin-top: -7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* За нас */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0 30px; }
.stat { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-align: center; }
.stat-num { color: var(--ink); font-size: 32px; font-weight: 800; line-height: 1.2; }
.stat-label { color: var(--muted); font-size: 14px; }

/* Контакти */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px; align-items: start; }
.panelbox { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.panelbox h2 { margin-bottom: 16px; font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.cinfo { display: flex; flex-direction: column; gap: 18px; }
.cinfo-item { display: flex; align-items: flex-start; gap: 12px; }
.cinfo-item .ic { margin-top: 2px; color: var(--brand); }
.cinfo-item strong { display: block; color: var(--ink); }
.cinfo-item a { font-weight: 600; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select { display: block; width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--text); font: inherit; font-size: 15px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(64, 100, 172, .15); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field .err { margin-top: 4px; color: var(--bad); font-size: 13px; font-weight: 600; }
.field .err:empty { display: none; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
/* Отметката „Вземете уреда от моя адрес“ (22.11.2026) */
.field.check[hidden] { display: none; }
.field.check .check-label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--tint); color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.field.check input[type="checkbox"] { display: block; flex: 0 0 auto; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--brand); }
#zayavka { scroll-margin-top: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.form-status { font-size: 14px; font-weight: 600; }
.form-status.success { color: var(--ok); }
.form-status.error { color: var(--bad); }

/* Блог */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); text-decoration: none; }
.blog-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); color: var(--text); }
.blog-pic { display: grid; place-items: center; height: 170px; overflow: hidden; background: var(--tint); border-bottom: 1px solid var(--line); }
.blog-pic svg { width: 96px; height: 96px; }
.blog-pic img { display: block; width: 100%; height: 170px; object-fit: cover; }
.blog-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.blog-date { color: var(--muted); font-size: 12.5px; }
.blog-body strong { color: var(--ink); font-size: 16px; line-height: 1.35; }
.blog-desc { color: var(--muted); font-size: 14px; }
.blog-more-shop { margin-top: 26px; }

/* Край на страницата */
.site-foot { padding: 44px 0 28px; background: var(--ink); color: var(--white); font-size: 14px; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { color: var(--teal); text-decoration: underline; }
.foot-row { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.foot-col { flex: 1 1 210px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.foot-title { margin-bottom: 4px; font-size: 15px; font-weight: 700; }
.foot-sub { margin-top: 10px; color: rgba(255, 255, 255, .66); font-size: 12.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.foot-shop { display: block; align-self: flex-start; padding: 10px 14px; background: var(--white); border-radius: var(--r-s); }
.foot-shop img { display: block; width: 200px; max-width: 100%; height: auto; }
.site-foot .foot-btn { align-self: flex-start; margin-top: 6px; padding: 10px 18px; border-radius: var(--r-s); background: var(--teal); color: var(--ink); font-weight: 700; text-decoration: none; }
.site-foot .foot-btn:hover { background: var(--teal-dark); color: var(--ink); }
.site-foot .foot-btn:active { background: var(--teal-press); color: var(--ink); }
.foot-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .78); font-size: 13px; }
.site-foot .foot-copy a { color: rgba(255, 255, 255, .88); }

@media (max-width: 960px) {
    .head-link.login span { display: none; }
    .brands .brand { flex-basis: calc((100% - 36px) / 4); }
    .menu-row { gap: 0 22px; }
}
@media (max-width: 860px) {
    .hero { padding: 30px 24px; }
    .hero h1 { font-size: 28px; }
    .hero-badge { left: 12px; }
    .ads.two { grid-template-columns: minmax(0, 1fr); }
    .ad { flex-direction: column; align-items: stretch; gap: 22px; padding: 28px 22px 24px; }
    .ad.compact { padding: 26px 22px; }
    .ad-title { font-size: 28px; }
    .ad-lead { font-size: 16px; }
    .ad::before { width: 170px; height: 170px; border-width: 22px; top: -115px; left: auto; right: -50px; }
    .ad::after { width: 280px; height: 280px; right: -90px; bottom: -150px; }
    .ad-dots { display: none; }
    .art { justify-content: center; gap: 10px; }
    .circle.c1 { width: 132px; height: 132px; }
    .circle.c2 { width: 98px; height: 98px; }
    .circle.c3 { width: 78px; height: 78px; }
    .feature { padding: 26px 22px; }
    .feature .art { width: 100%; }
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .zig { grid-template-columns: minmax(0, 1fr); }
    .zig .zig-photo { order: -1; }
    .info-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .wrap, .container { padding-left: 16px; padding-right: 16px; }
    .head-bar { position: static; }
    .head-row { gap: 8px 10px; }
    .logo img { height: 40px; } /* на телефон остава както е; уголемено е само на компютър (22.11.2026) */
    .head-link.phone span { display: none; }
    .head-link.phone { justify-content: center; min-width: 44px; border: 1.5px solid var(--line); border-radius: var(--r-s); }
    .head-link.login, .head-link.lang { display: none; }
    .menu-btn { display: flex; }
    html:not(.js) .menu-btn { display: none; }
    html:not(.js) .head-link.login, html:not(.js) .head-link.lang { display: flex; }
    .js .menu { display: none; }
    .js .menu.open { display: block; }
    .menu-row { flex-direction: column; justify-content: flex-start; gap: 0; }
    .menu a { padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
    .menu a:last-child { border-bottom: 0; }
    .menu a.active { border-bottom-color: var(--line); }
    .menu .only-phone { display: flex; }
    h2 { font-size: 20px; }
    .band { padding: 28px 0; }
    .band.top { padding-top: 16px; }
    .hero { padding: 24px 18px; border-radius: 14px; }
    .hero h1 { font-size: 24px; }
    .hero .lead { font-size: 15.5px; margin-bottom: 18px; }
    .hero-badge { bottom: 10px; left: 10px; padding: 9px 12px; font-size: 13px; }
    .btns .btn { flex: 1 1 100%; }
    .dirs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .dir { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 14px; }
    .dir .ic-round { grid-row: 1 / span 3; width: 64px; height: 64px; margin: 0; }
    .dir .ic-round svg { width: 44px; height: 44px; }
    .dir h3 { font-size: 16px; }
    .dir .more { padding-top: 0; }
    .feature-text h2 { font-size: 20px; }
    .ad-title { font-size: 24px; }
    .ad.compact .ad-title { font-size: 22px; }
    .ad-logo.shop { width: 200px; }
    .brands { gap: 8px; }
    .brands .brand { flex-basis: calc((100% - 16px) / 3); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .lb-img { max-width: calc(100vw - 48px); max-height: 74vh; }
    .lb-close, .lb-nav { width: 40px; height: 40px; }
    .brand { height: 70px; padding: 8px; }
    .brand img { width: 100%; height: 48px; }
    .cta { padding: 22px 18px; }
    .page-header { padding-top: 22px; }
    .page-header h1 { font-size: 22px; }
    .section { padding-bottom: 40px; }
    .svc { padding: 20px 16px; gap: 16px; }
    .svc .ic-round { width: 88px; height: 88px; }
    .svc .ic-round svg { width: 58px; height: 58px; }
    .svc-side { flex-basis: 100%; flex-direction: row; gap: 24px; }
    .svc-photo { flex-basis: 100%; }
    .items { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .item { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 14px; text-align: left; }
    .item .ic-round { grid-row: 1 / span 2; width: 72px; height: 72px; margin: 0; }
    .item .ic-round svg { width: 48px; height: 48px; }
    .item h3 { margin: 0; align-self: end; }
    .item p { align-self: start; }
    .stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .fields { grid-template-columns: minmax(0, 1fr); }
    .panelbox { padding: 18px 16px; }
    .blog-article { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
