/* ============ v3 design pass — рекомендации Светланы 2026-06-16 ============ */
/* Глобальные визуальные правки, язык-независимо. Грузится ПОСЛЕ инлайн <style>, потому переопределяет. */

:root {
    --accent: #F2700F;
    --accent-2: #E0530A;
    --accent-light: #FFB45C;
    --grad-accent: linear-gradient(135deg, #FF9A3D 0%, #E8590C 100%);
}

/* ---- крупнее лого в шапке (партнёрские в «работают» оставляем как были) ---- */
.brand { font-size: 23px; }
.plumb-mark { width: 38px; height: 38px; }

/* ---- чистый плотный оранжевый на кнопках, читаемый белый текст ---- */
.btn-primary, .cta-mini, nav.top .cta-mini {
    background: #E0530A !important;
    color: #fff !important; font-weight: 700;
    box-shadow: 0 6px 16px rgba(224,83,10,0.30);
}
.btn-primary:hover, .cta-mini:hover, nav.top .cta-mini:hover { background: #C9490A !important; color: #fff !important; }

/* ---- над-заголовки (eyebrow) читаемые, без оранжевого glow ---- */
.section-eyebrow { color: #C2480A; font-weight: 800; box-shadow: none; }
.hero .eyebrow {
    color: #FFCB8E; font-weight: 800;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); box-shadow: none;
}

/* ---- Единый логотип: Bob+Tech нейтральные, AI — оранжевый градиент со свечением ---- */
.brand .bw-go, .brand .bw-plumb { color: var(--navy); }
.bw-ai {
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
footer .brand-foot .bw-go,
footer .brand-foot .bw-plumb { color: #fff; }
footer .brand-foot .bw-ai {
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.plumb-mark { background: linear-gradient(160deg, #1B2D75, #0E1B52); box-shadow: 0 6px 16px rgba(232,93,4,0.32); }

/* ---- Hero: ярче и со свечением ---- */
.hero h1 .accent { color: #FF7A1A; text-shadow: none; }
.hero .eyebrow { box-shadow: 0 0 30px rgba(255,122,24,0.30); }
.hero .lede { max-width: 600px; }

/* ---- iOS-стиль: единый сегментный переключатель языка ---- */
.lang-switch {
    background: rgba(20,33,88,0.06);
    border: 1px solid rgba(20,33,88,0.08);
    border-radius: 100px;
    padding: 3px; gap: 2px;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lang-switch a {
    padding: 5px 12px; border-radius: 100px; line-height: 1;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.lang-switch a.active {
    background: #fff; color: var(--navy);
    box-shadow: 0 2px 6px rgba(20,33,88,0.18);
}
.lang-switch a:hover:not(.active) { color: var(--accent); background: transparent; }

/* ---- Кнопка в шапке: в одну строку ---- */
.cta-mini, nav.top .cta-mini { white-space: nowrap; }

/* ---- Тариф на сплошном оранжевом ---- */
.pricing-card {
    background: linear-gradient(160deg, #EE6E12 0%, #D24E08 100%) !important;
    border: none !important;
    box-shadow: 0 22px 54px rgba(210,78,8,0.32) !important;
    color: #fff;
}
.pricing-card .tier { color: #fff; font-weight: 800; font-size: 13px; opacity: 1; }
.pricing-card .price { color: #fff; }
.pricing-card .price .small { color: rgba(255,255,255,0.92); }
.pricing-card .price .placeholder { color: rgba(255,255,255,0.9); font-weight: 600; }
.pricing-card .guarantee { background: rgba(255,255,255,0.95); border: none; color: #C2480A; font-weight: 700; }
/* фичи — на белой плашке с тёмным текстом: читаемо + акцент */
.pricing-card ul.feats {
    background: #fff; border-radius: 14px; padding: 16px 18px; margin: 22px 0;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.pricing-card ul.feats li { border-bottom-color: var(--gray-line); color: var(--gray-text); }
.pricing-card ul.feats li::before { color: var(--accent-2); font-weight: 800; }
.pricing-card .btn-primary {
    background: #fff !important; color: #C2480A !important; font-weight: 800;
    box-shadow: 0 6px 18px rgba(0,0,0,0.20) !important;
}
.pricing-card .btn-primary:hover { background: #fff !important; color: #A23C05 !important; transform: translateY(-2px); filter: none; }

/* ---- Свечение и контраст в тёмной секции Кипр/Лимасол ---- */
#pilot .section-eyebrow {
    background: rgba(255,180,92,0.14);
    color: var(--accent-light);
    box-shadow: 0 0 24px rgba(255,122,24,0.18);
}
#pilot .pilot-blocks .stat .num {
    color: var(--accent-light);
    text-shadow: 0 0 26px rgba(255,180,92,0.40);
}
#pilot .pilot-blocks .stat { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }
#pilot .partners-line { color: rgba(255,255,255,0.82); }

/* ---- Карточки: подсветка по наведению ---- */
.role-card:hover, .step:hover, .client-card:hover, .problem-card:hover {
    box-shadow: 0 18px 44px rgba(14,27,82,0.16), 0 0 0 1px rgba(255,122,24,0.28);
}

/* ---- Куки-баннер ---- */
#cookie-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
    max-width: 680px; margin: 0 auto;
    background: rgba(14,27,82,0.96); color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px; padding: 16px 18px;
    display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font-size: 14px; line-height: 1.45;
}
#cookie-bar p { margin: 0; flex: 1 1 280px; color: rgba(255,255,255,0.85); }
#cookie-bar a { color: var(--accent-light); text-decoration: underline; }
#cookie-bar .btn { padding: 10px 22px; font-size: 14px; white-space: nowrap; }
#cookie-bar[hidden] { display: none; }

/* ============ v3 pass-2: motif + motion + interactions ============ */

/* reveal (stagger delays via v3.js) */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.in { opacity: 1; transform: none; }
}

/* blueprint grid on dark sections */
.hero, #pilot, footer { position: relative; }
#pilot, footer { overflow: hidden; }
#pilot::before, footer::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 32%, transparent 82%);
    mask-image: radial-gradient(ellipse at 50% 38%, #000 32%, transparent 82%);
}
.hero .container, #pilot .container, footer .container { position: relative; z-index: 1; }

/* (скан-луч убран по фидбэку Светланы 2026-06-17 — мешал за текстом) */

/* (навигатор-отвес убран по фидбэку Светланы 2026-06-17) */

/* language dropdown */
.lang-switch.lang-dd { background: transparent; border: none; padding: 0; position: relative; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lang-dd-btn {
    font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--navy); background: rgba(20,33,88,0.06); border: 1px solid rgba(20,33,88,0.10);
    border-radius: 100px; padding: 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; line-height: 1;
}
.lang-dd-btn:hover { color: var(--accent); border-color: rgba(255,122,24,0.4); }
.lang-dd-caret { font-size: 9px; transition: transform .18s ease; }
.lang-dd.open .lang-dd-caret { transform: rotate(180deg); }
.lang-dd-menu {
    position: absolute; top: calc(100% + 8px); right: 0; background: #fff;
    border: 1px solid rgba(20,33,88,0.10); border-radius: 12px;
    box-shadow: 0 14px 34px rgba(20,33,88,0.18); padding: 6px; display: none; flex-direction: column; min-width: 90px; z-index: 60;
}
.lang-dd.open .lang-dd-menu { display: flex; }
.lang-dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--gray-soft); background: transparent; }
.lang-dd-menu a.active { color: var(--navy); background: var(--bg-light); font-weight: 800; }
.lang-dd-menu a:hover { background: var(--bg-warm); color: var(--accent); }

/* cookie bar — compact one-liner (override pass-1) */
#cookie-bar {
    left: 16px; right: auto; bottom: 16px; max-width: 320px; margin: 0; z-index: 9999;
    padding: 10px 12px; gap: 10px; font-size: 12px; border-radius: 12px; line-height: 1.35;
}
#cookie-bar p { flex: 1 1 auto; }
#cookie-bar .btn { padding: 7px 14px; font-size: 12px; border-radius: 8px; }
/* на мобайле — над кнопкой «Спросить Боба», чтобы согласие можно было нажать */
@media (max-width: 600px) { #cookie-bar { left: 12px; right: 12px; max-width: none; bottom: 92px; } }

/* ---- 5 направлений: карточки с иконками ---- */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 900px) { .dir-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dir-grid { grid-template-columns: 1fr; } }
.dir-card {
    position: relative; overflow: hidden; background: var(--white);
    border: 1px solid var(--gray-line); border-radius: 16px; padding: 24px 22px;
    box-shadow: 0 2px 10px rgba(14,27,82,0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dir-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(14,27,82,0.16), 0 0 0 1px rgba(255,122,24,0.28); }
.dir-num {
    position: absolute; top: 4px; right: 16px; font-family: 'Manrope', sans-serif;
    font-weight: 800; font-size: 76px; line-height: 1; color: var(--navy); opacity: 0.06; pointer-events: none;
}
.dir-ico {
    display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
    border-radius: 11px; background: var(--bg-warm); float: left; margin: 2px 12px 0 0;
    box-shadow: inset 0 0 0 1px rgba(242,112,15,0.20);
}
.dir-ico svg { width: 22px; height: 22px; stroke: var(--accent-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dir-card h4 { font-size: 17px; color: var(--navy); font-weight: 800; letter-spacing: -0.2px; min-height: 40px; display: flex; align-items: center; }
.dir-card p { font-size: 13.5px; color: var(--gray-soft); line-height: 1.5; clear: both; padding-top: 10px; }
.dir-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; align-items: stretch; }
@media (max-width: 820px) { .dir-foot { grid-template-columns: 1fr; } }
.dir-plus {
    padding: 18px 20px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,122,24,0.10), rgba(255,122,24,0.03));
    border: 1px solid rgba(255,122,24,0.25); font-size: 14px; color: var(--navy); line-height: 1.5;
}
.dir-plus strong { color: var(--accent-2); }
.dir-foot .stack-img { margin: 0; }
/* «Под капотом» — схема из спец-карточек */
.stack-img { background: var(--bg-light); padding: 26px; }
.stack-img h4 { color: var(--accent-2); font-weight: 800; margin-bottom: 18px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }
.spec {
    background: #fff; border: 1px solid var(--gray-line); border-radius: 12px;
    padding: 13px 15px; display: flex; flex-direction: column; gap: 5px;
    box-shadow: 0 2px 8px rgba(14,27,82,0.04);
}
.spec-k { font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent-2); font-weight: 800; }
.spec-v { font-size: 13.5px; color: var(--navy); font-weight: 600; line-height: 1.4; }

/* иконки в карточках секции «Проблема» */
.problem-card { position: relative; }
.pc-ico {
    display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
    border-radius: 11px; background: var(--bg-warm); float: left; margin: 0 12px 0 0;
    box-shadow: inset 0 0 0 1px rgba(242,112,15,0.18);
}
.pc-ico svg { width: 21px; height: 21px; stroke: var(--accent-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { min-height: 40px; display: flex; align-items: center; margin-bottom: 4px; }
.problem-card p { clear: both; padding-top: 8px; }

/* шапка на мобайле: поджать, чтобы «Оставить заявку» влезала */
@media (max-width: 720px) {
    nav.top .links { gap: 10px; }
    nav.top .cta-mini { padding: 8px 13px; font-size: 12px; }
    .brand { font-size: 20px; }
    .lang-dd-btn { padding: 6px 9px; }
}

/* чекбокс согласия в форме */
.wf-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 13px; color: var(--gray-soft); line-height: 1.45; cursor: pointer; }
.wf-consent input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--accent-2); }
.wf-consent a { color: var(--accent-2); text-decoration: underline; }

/* подвал: 2 колонки ссылок на мобайле */
@media (max-width: 720px) {
    footer .container { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
    footer .container > div:first-child { grid-column: 1 / -1; }
    footer .legal { grid-column: 1 / -1; }
}

/* ---- карта Кипра фоном в секции #pilot ---- */
#pilot {
    background:
        url(/assets/cyprus.svg) no-repeat,
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    background-position: right -20px top 36px, center;
    background-size: 480px auto, cover;
}
@media (max-width: 720px) {
    #pilot { background-size: 300px auto, cover; background-position: right -50px top 24px, center; }
}

/* hero: чистый тёмно-синий, без оранжевого свечения-пятна и стеклянного наложения */
.hero { background: linear-gradient(160deg, #0C1538 0%, #14225E 60%, #0E1B52 100%) !important; }
.hero-illustration { z-index: 1; }

/* лого партнёров «С нами работают» — визуально равнозначные карточки */
.hero-trust .trust-logos { gap: 12px; flex-wrap: wrap; }
.hero-trust .trust-logos img {
    width: 156px; height: 66px; object-fit: contain; padding: 12px 18px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18); opacity: 1; filter: none;
}
@media (max-width: 480px) {
    .hero-trust .trust-logos img { width: calc(33.33% - 8px); height: 58px; padding: 9px 10px; }
}

/* кнопки на обложке — одинаковой ширины */
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .ctas .btn { flex: 1 1 200px; justify-content: center; max-width: 300px; }
@media (max-width: 560px) { .hero .ctas .btn { max-width: none; flex-basis: 100%; } }

/* аватар Боба на обложке — чистая рамка без оранжевого свечения, на мобайле поднят выше */
.hero-illustration img {
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 44px rgba(0,0,0,0.42) !important;
    object-fit: cover;
}
@media (max-width: 1100px) {
    .hero .container { display: flex; flex-direction: column; align-items: stretch; }
    .hero .eyebrow { order: 1; }
    .hero h1 { order: 2; }
    .hero .lede { order: 3; }
    .hero-illustration { order: 4; position: static; transform: none; margin: 8px auto 22px; width: 100%; max-width: 360px; opacity: 1; }
    .hero .ctas { order: 5; }
    .hero-trust { order: 6; margin-top: 22px; }
}
@media (max-width: 540px) {
    .hero-illustration { max-width: 300px; }
}

/* v4: факт вместо сетки метрик в секции #pilot */
#pilot .pilot-fact {
    margin: 18px 0 26px;
    padding: 16px 20px;
    border-left: 3px solid #FF7A1A;
    background: rgba(255,255,255,0.05);
    border-radius: 0 10px 10px 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: #dfe6f5;
    max-width: 760px;
}
#pilot .pilot-fact b { color: #fff; }
