/* ===== FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Светлая тема ИСКРА (по макету), красный акцент */
  --bg:        #ffffff;
  --bg-2:      #f5f6f8;   /* светлые секции */
  --panel:     #ffffff;   /* карточки */
  --panel-2:   #f5f6f8;   /* вложенные блоки */
  --panel-3:   #eceef2;

  /* legacy-алиасы → светлые */
  --navy-900:  #ffffff;
  --navy-800:  #f5f6f8;
  --navy-700:  #eceef2;
  --navy-600:  #e3e6ec;
  --navy-500:  #2a2f3a;

  --accent:    #e8232b;   /* красный */
  --accent-2:  #c41a20;
  --accent-lt: #e8232b;
  --accent-glow: rgba(232,35,43,0.28);
  --accent-tint: #fdecec; /* светло-красная подложка иконок */

  --blue:     #e8232b;
  --blue-lt:  #e8232b;
  --blue-50:  #fdecec;
  --blue-glow:rgba(232,35,43,0.22);

  --gold:     #c8870d;
  --gold-lt:  #e0a020;
  --green:    #16a34a;
  --yellow:   #d99e16;
  --red:      #e8232b;

  --text-1:   #14161a;   /* основной текст */
  --text-2:   #5b626d;   /* вторичный */
  --text-3:   #98a0ab;   /* приглушённый */

  --border:   #e7e9ee;
  --border-2: #d8dce3;
  --card:     #ffffff;

  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 1px 2px rgba(20,22,26,0.04), 0 10px 30px -10px rgba(20,22,26,0.12);
  --shadow-lg:0 4px 8px rgba(20,22,26,0.05), 0 24px 56px -16px rgba(20,22,26,0.20);
  --tr:       0.2s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text-1);
  line-height: 1.65; min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* общий фон-текстура для всех блоков */
  background: #ffffff url('../images/bg.webp') no-repeat center top fixed;
  background-size: cover;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #ccd0d8; border-radius: 5px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.3rem,5.2vw,3.7rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem,3.2vw,2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.05rem,2vw,1.35rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }

.text-blue, .text-accent { color: var(--accent); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-2); }
.gradient-text { color: var(--text-1); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 24px; }
.section-sm { padding: 52px 24px; }
.page-wrap  { padding-top: 90px; min-height: 100vh; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.sec-tag {
  display: inline-block;
  background: var(--accent-tint);
  border: 1px solid #f6c9cb;
  color: var(--accent);
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { color: var(--text-2); max-width: 560px; margin: 0 auto; font-size: 1.04rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 90px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
/* Логотип-картинка */
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 68px; width: auto; }
/* запасной текстовый логотип (если картинка не нужна) */
.nav-logo-icon { display: none; }
.logo-text, .logo-name, .logo-tag { display: none; }

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  position: relative;
  padding: 8px 20px; font-size: 0.86rem; color: var(--text-1); font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase; transition: color var(--tr);
}
.nav-links a + a::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 16px; background: var(--accent); border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 9px; margin-right: -6px; }
.hamburger span { display: block; width: 23px; height: 2px; background: var(--text-1); border-radius: 2px; transition: all var(--tr); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none; position: fixed; top: 90px; left: 0; right: 0; z-index: 999;
  background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 14px 22px 18px; flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 14px; border-radius: var(--radius-sm); color: var(--text-1); font-size: 0.95rem; font-weight: 600; transition: all var(--tr); }
.mobile-nav a:hover { color: var(--accent); background: var(--panel-2); }
.mobile-nav hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 0.94rem; font-weight: 700;
  font-family: inherit; border: none; cursor: pointer;
  transition: all var(--tr); white-space: nowrap; letter-spacing: -0.01em;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 26px var(--accent-glow); }
/* Кнопка после отправки отклика: фирменный красный, кликабельная (повторный клик → toast-напоминание) */
.btn.is-applied, .btn.is-applied:hover { background: var(--accent-2); box-shadow: none; transform: none; cursor: default; }

/* Карточка контактов: иконка-бейдж + метка + номер в красной пилюле.
   Компактно + перенос пилюли на новую строку, чтобы длинный номер не вылезал из узкого сайдбара */
.contact-item { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.contact-item + .contact-item { border-top: 1px solid var(--border); }
.contact-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft, rgba(232,35,43,0.08)); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.contact-ic svg { width: 20px; height: 20px; }
.contact-body { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.contact-label { color: var(--text-3); font-size: 0.86rem; }
.contact-pill { border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; padding: 7px 13px; border-radius: 999px; white-space: nowrap; font-size: 0.86rem; transition: background 0.2s ease, color 0.2s ease; }
.contact-pill:hover { background: var(--accent); color: #fff; }
.btn-outline { background: #fff; color: var(--text-1); border: 1.5px solid var(--border-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold { background: linear-gradient(135deg, #eab308, #d99e16); color: #2a1e02; box-shadow: 0 6px 18px rgba(214,158,46,0.28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(214,158,46,0.42); }
.btn-ghost { background: #fff; color: var(--text-1); border: 1.5px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== STATUS BADGES ===== */
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 100px; padding: 4px 11px; font-size: 0.74rem; font-weight: 700; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; }
.badge-green  { background: #e7f6ed;  color: #15803d;  border: 1px solid #bce6cb; }
.badge-green .badge-dot  { background: var(--green); animation: pulse 1.8s infinite; }
.badge-yellow { background: #fbf2db;  color: #9a6f12; border: 1px solid #f0deb0; }
.badge-yellow .badge-dot { background: var(--yellow); }
.badge-blue   { background: #e7eefc;  color: #2456d6;border: 1px solid #c5d6f7; }
.badge-blue .badge-dot   { background: #2456d6; }
.badge-gray   { background: #eef0f4;color: var(--text-2); border: 1px solid #e0e3ea; }
.badge-gray .badge-dot   { background: var(--text-3); }
.badge-muted  { background: #f4f5f8; color: var(--text-3); border: 1px dashed #d8dce3; }
.badge-muted .badge-dot  { background: var(--text-3); opacity: .5; }
.badge-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge-upd { font-size: 0.72rem; white-space: nowrap; color: var(--text-3); }

.av-mono { display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2a2f3a, #14161a); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 24px 40px;
  background: transparent;
}
.hero-bg, .hero-grid { display: none; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,440px);
  gap: 48px; align-items: center;
}
.hero-text { padding: 48px 0; max-width: 760px; }

/* фото сварщика в hero — бледный watermark, как фоновая текстура */
.hero-photo-img {
  width: 130%; height: auto; max-width: none;
  margin-left: auto;
  mix-blend-mode: multiply;     /* белый фон фото растворяется в странице */
  opacity: 0.16;                /* почти прозрачно, как фон */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
}

/* демо-карточка сварщика в hero */
.hero-visual { position: relative; display: flex; justify-content: flex-end; overflow: visible; }
.hero-card {
  position: relative; width: 100%; max-width: 410px;
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 0 24px 24px; box-shadow: var(--shadow-lg); overflow: hidden;
}
/* акцентная шапка */
.hc-head {
  display: flex; align-items: center; gap: 14px;
  margin: 0 -24px 18px; padding: 24px;
  background: linear-gradient(135deg, #fff5f5 0%, #fdeeee 100%);
  border-bottom: 1px solid var(--border);
}
.hc-av {
  width: 58px; height: 58px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px var(--accent-glow);
}
.hc-id { flex: 1; min-width: 0; }
.hc-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.hc-spec { font-size: 0.8rem; color: var(--text-2); margin-top: 3px; }
.hc-verified {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(22,163,74,0.35);
}
.hc-status { margin-bottom: 16px; }
.hc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.hc-tag { font-size: 0.74rem; font-weight: 700; color: var(--accent); background: var(--accent-tint); border: 1px solid #f6c9cb; border-radius: 7px; padding: 4px 9px; }
.hc-tag-label { font-size: 0.78rem; font-weight: 600; color: var(--text-2); align-self: center; margin-right: 2px; }
.hc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 18px; }
.hc-stat { text-align: center; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 6px; }
.hc-num { font-size: 1.35rem; font-weight: 800; color: var(--text-1); line-height: 1; }
.hc-lbl { font-size: 0.68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 6px; font-weight: 600; }
.hc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hc-loc { font-size: 0.82rem; color: var(--text-2); display: flex; align-items: center; gap: 5px; }
.hc-loc svg { color: var(--accent); }
.hc-btn { background: var(--accent); color: #fff; font-size: 0.84rem; font-weight: 700; padding: 10px 18px; border-radius: 10px; white-space: nowrap; }
.hc-float {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; z-index: 3;
}
.hc-float.f2 { bottom: -16px; right: -14px; animation: float 3.8s ease-in-out infinite 1.2s; }
.hc-float .ic { color: var(--green); display: flex; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); border: 1px solid #f6c9cb;
  border-radius: 100px; padding: 7px 18px;
  font-size: 0.76rem; font-weight: 800; color: var(--accent);
  margin-bottom: 24px; letter-spacing: 0.6px; text-transform: uppercase;
}
.hero-pill::before, .hero-pill::after { content: '•'; color: var(--accent); }
.hero-pill-dot { display: none; }
.hero h1 { margin-bottom: 22px; }
.hero h1 span { color: var(--accent); display: block; }
.hero-desc { font-size: 1.06rem; color: var(--text-2); line-height: 1.7; margin-bottom: 30px; max-width: 480px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* счётчики под кнопками — аккуратная белая плашка с красными цифрами */
.hero-stats-inline {
  display: inline-flex; margin-top: 40px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); padding: 6px;
}
.hero-stats-inline > div { padding: 16px 32px; text-align: center; position: relative; }
.hero-stats-inline > div + div::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 40px; background: var(--border);
}
.hsi-num { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.hsi-lbl { font-size: 0.74rem; color: var(--text-2); margin-top: 7px; text-transform: uppercase; letter-spacing: 0.7px; font-weight: 700; }
@media(max-width:560px){
  .hero-stats-inline { display: flex; width: 100%; }
  .hero-stats-inline > div { flex: 1; padding: 14px 8px; }
}

.hero-visual { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.hero-visual img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* ===== AUDIENCE CARDS ===== */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px; transition: all var(--tr);
  box-shadow: var(--shadow); text-align: center;
}
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.aud-ic {
  width: 52px; height: 52px; border-radius: 13px; margin: 0 auto 18px;
  background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.aud-card h3 { margin-bottom: 8px; }
.aud-card p { color: var(--text-2); font-size: 0.89rem; line-height: 1.6; margin-bottom: 18px; }
.aud-link { color: var(--accent); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 7px; }
.aud-link:hover { gap: 10px; }
/* Аудитория на мобиле: горизонтальная карточка — круглая иконка слева, текст, шеврон «›» справа */
@media (max-width: 560px) {
  .aud-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "ic title chev"
      "ic desc  chev"
      "ic link  chev";
    column-gap: 16px; align-items: center;
    padding: 18px 16px; text-align: left;
  }
  .aud-ic { grid-area: ic; align-self: center; margin-bottom: 0; width: 56px; height: 56px; border-radius: 50%; }
  .aud-card h3 { grid-area: title; margin-bottom: 4px; }
  .aud-card p  { grid-area: desc; margin-bottom: 8px; }
  .aud-link    { grid-area: link; }
  .aud-card::after { content: '\203A'; grid-area: chev; align-self: center; color: var(--accent); font-size: 1.7rem; line-height: 1; padding-left: 4px; }
}

/* ===== STATS BAR ===== */
.stats-card {
  max-width: 1200px; margin: 0 auto; padding: 30px 36px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
}
.stat-cell { display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.stat-cell + .stat-cell { border-left: 1px solid var(--border); }
.stat-ic { width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.stat-val { font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat-lbl { font-size: 0.85rem; color: var(--text-2); margin-top: 5px; }

/* legacy hero-stats (не используется в новом макете) */
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .val { font-size: 1.7rem; font-weight: 800; }
.hero-stat .val em { color: var(--accent); font-style: normal; }
.hero-stat .lbl { font-size: 0.76rem; color: var(--text-3); text-transform: uppercase; }

/* ===== STATUS CARDS ===== */
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.status-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
  border-bottom: 3px solid var(--border); box-shadow: var(--shadow); transition: all var(--tr);
}
.status-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.status-card.s-green  { border-bottom-color: var(--green); }
.status-card.s-blue   { border-bottom-color: #2456d6; }
.status-card.s-yellow { border-bottom-color: var(--yellow); }
.status-card.s-red    { border-bottom-color: var(--accent); }
.status-card .badge { margin-bottom: 14px; }
.status-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.s-green  .status-ic { background: #e7f6ed; color: #15803d; }
.s-blue   .status-ic { background: #e7eefc; color: #2456d6; }
.s-yellow .status-ic { background: #fbf2db; color: #9a6f12; }
.s-red    .status-ic { background: var(--accent-tint); color: var(--accent); }
.status-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.98rem; margin-bottom: 8px; }
.status-card p { color: var(--text-2); font-size: 0.86rem; line-height: 1.55; }

/* ===== FEATURES / HOW (если используются) ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; transition: all var(--tr); box-shadow: var(--shadow); }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feat-icon { width: 52px; height: 52px; background: var(--accent-tint); border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 18px; }
.feat-card h3 { margin-bottom: 9px; font-size: 1.08rem; }
.feat-card p  { color: var(--text-2); font-size: 0.9rem; line-height: 1.7; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.how-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.how-num { width: 48px; height: 48px; background: var(--accent); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 800; color: #fff; margin: 0 auto 16px; }
.how-step h3 { margin-bottom: 8px; font-size: 1rem; }
.how-step p  { color: var(--text-2); font-size: 0.88rem; }

/* ===== CTA ===== */
.cta-wrap { background: linear-gradient(135deg, #1a1c22, #2a1014 60%, var(--accent-2) 135%); border-radius: 24px; padding: 60px 44px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-wrap h2 { margin-bottom: 14px; color: #fff; }
.cta-wrap p  { color: #f0d0cd; max-width: 480px; margin: 0 auto 32px; }
.cta-btns    { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===== FOOTER ===== */
footer { background: rgba(245,246,248,0.75); border-top: 1px solid var(--border); padding: 56px 24px 28px; color: var(--text-2); }
.foot-inner { max-width: 1200px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.foot-brand .nav-logo img { height: 58px; }
.foot-brand p { color: var(--text-2); font-size: 0.88rem; line-height: 1.7; margin-top: 16px; max-width: 250px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: all var(--tr); }
.foot-social a:hover { color: var(--accent); border-color: var(--accent); }
.foot-col h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-1); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 0.88rem; color: var(--text-2); margin-bottom: 11px; transition: color var(--tr); }
.foot-col a:hover { color: var(--accent); }
.foot-contacts { display: flex; flex-direction: column; gap: 12px; }
.foot-contacts .fc-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 600; color: var(--text-1); }
.foot-contacts .fc-item svg { color: var(--accent); flex-shrink: 0; }
.foot-col .foot-hours { display: block; font-size: 0.85rem; color: var(--text-3); margin-bottom: 11px; line-height: 1.45; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.foot-bottom p, .foot-bottom a { font-size: 0.82rem; color: var(--text-3); }
.foot-bottom a:hover { color: var(--accent); }

/* ===== AUTH ===== */
.auth-page { min-height: calc(100vh - 90px); display: flex; align-items: center; justify-content: center; padding: 48px 22px; background: var(--bg-2); }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 46px 44px; width: 100%; max-width: 468px; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo .nav-logo { justify-content: center; }
.auth-logo .nav-logo img { height: 64px; }
.auth-card h2 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--text-2); font-size: 0.92rem; margin-bottom: 30px; }
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 26px; }
.role-opt { padding: 16px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); text-align: center; cursor: pointer; transition: all var(--tr); background: #fff; }
.role-opt.active { border-color: var(--accent); background: var(--accent-tint); }
.role-opt:hover  { border-color: #f0b6b8; }
.role-opt .r-icon { margin-bottom: 6px; color: var(--accent); display: flex; justify-content: center; }
.role-opt .r-name { font-size: 0.88rem; font-weight: 700; }
.role-opt .r-sub  { font-size: 0.73rem; color: var(--text-3); margin-top: 2px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-1); margin-bottom: 7px; }
.form-control { width: 100%; padding: 12px 15px; background: #fff; border: 1.5px solid var(--border-2); border-radius: var(--radius-sm); color: var(--text-1); font-size: 0.94rem; font-family: inherit; outline: none; transition: all var(--tr); }
.form-control::placeholder { color: var(--text-3); }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,35,43,0.12); }
.is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(232,35,43,0.10); }
select.form-control { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%2398a0ab' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
select.form-control option { background: #fff; color: var(--text-1); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; align-items: flex-start; gap: 13px; font-size: 0.88rem; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.form-check input[type="checkbox"] { appearance: none; width: 18px; height: 18px; background: #fff; border: 1.5px solid var(--border-2); border-radius: 5px; cursor: pointer; flex-shrink: 0; margin-top: 1px; transition: all var(--tr); }
.form-check input:checked { background: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 10px; }

/* Переключатель согласия (тумблер) */
/* Карточки согласий (регистрация) — единый SaaS-стиль.
   Селектор с .form-group label.agree-row — чтобы побить глобальное `.form-group label { display:block }`
   (оно специфичнее обычного .agree-row и иначе ломает флекс). */
.form-group label.agree-row {
  display: flex;
  align-items: center;              /* текст по центру тумблера (выравнивание по вертикали) */
  gap: 16px;                        /* расстояние toggle ↔ текст */
  background: var(--bg-2);          /* светло-серый фон */
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;                    /* одинаковый внутренний отступ */
  margin: 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-1);
  transition: background var(--tr), border-color var(--tr);
}
.agree-row:hover { background: var(--panel-3); border-color: var(--border-2); }  /* лёгкое изменение фона */
.agree-row span { flex: 1; min-width: 0; }   /* текст занимает всю ширину справа от toggle */
.form-group.agree-group { margin-bottom: 16px; }   /* одинаковый вертикальный отступ между карточками */
.agree-switch { appearance: none; -webkit-appearance: none; position: relative; width: 46px; height: 26px; flex-shrink: 0; background: var(--border-2); border-radius: 100px; cursor: pointer; transition: background var(--tr); margin: 0; }
.agree-switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform var(--tr); }
.agree-switch:checked { background: var(--accent); }
.agree-switch:checked::before { transform: translateX(20px); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23e8232b' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; background-size: 11px; }
.agree-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.agree-link:hover { text-decoration: underline; }
.auth-foot { text-align: center; margin-top: 22px; font-size: 0.88rem; color: var(--text-2); }
.auth-foot a { color: var(--accent); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 30px; position: relative; transition: all var(--tr); box-shadow: var(--shadow); }
.plan-card:hover  { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan-card.popular { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,35,43,0.12), var(--shadow-lg); }
.plan-popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; border-radius: 100px; padding: 5px 20px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }
.plan-name  { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-3); margin-bottom: 10px; font-weight: 700; text-align: center; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin-bottom: 8px; }
.plan-price .amount { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text-1); line-height: 1; }
.plan-price .cur    { font-size: 1.25rem; font-weight: 600; color: var(--text-2); }
.plan-price .per    { font-size: 0.84rem; color: var(--text-3); margin-left: 1px; }
.plan-desc  { font-size: 0.86rem; color: var(--text-2); margin-bottom: 28px; line-height: 1.6; text-align: center; }
.plan-features { margin-bottom: 30px; }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.88rem; color: var(--text-2); padding: 9px 0; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border-bottom: none; }
.plan-features .chk  { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.plan-features .dash { color: var(--text-3); flex-shrink: 0; margin-top: 1px; }

/* ── Сравнительная таблица тарифов ── */
.cmp-wrap { max-width: 880px; margin: 0 auto; overflow: visible; padding: 4px 6px 10px; }
.cmp { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-2); vertical-align: middle; }
.cmp tr:last-child td { border-bottom: none; }

/* Шапка с названиями тарифов */
.cmp thead th { border-bottom: 1px solid var(--border-2); padding-bottom: 18px; padding-top: 6px; }
.cmp .plan-th { font-size: 1.02rem; font-weight: 600; color: var(--text-1); letter-spacing: -0.01em; }
.cmp .plan-th .star { color: var(--gold); margin-left: 3px; }

/* Левый столбец — признак с иконкой */
.cmp .feat { text-align: left; font-weight: 500; color: var(--text-2); line-height: 1.35; white-space: nowrap; }
.cmp .cmp-corner { text-align: left; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-3); }
.cmp thead th:not(.plan-th):not(.cmp-corner), .cmp tbody td:not(.feat) { width: 140px; }
.cmp .feat-ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-tint); color: var(--accent); margin-right: 11px; vertical-align: middle; flex-shrink: 0; }

/* Значения */
.cmp .yes { color: var(--accent); }
.cmp .no  { color: var(--text-3); }
.cmp .num { font-weight: 500; color: var(--text-1); font-size: 1.05rem; white-space: nowrap; }
.cmp .unit { font-weight: 600; font-size: 0.72rem; color: var(--text-3); }
.cmp .price { font-weight: 500; color: var(--text-1); font-size: 1.3rem; letter-spacing: -0.01em; }
.cmp .price.hot { color: var(--accent); }
.cmp .price small { font-weight: 600; font-size: 0.78rem; color: var(--text-3); }
.cmp .row-price td { padding-top: 22px; padding-bottom: 22px; }

/* Выделенная колонка «Полный» */
.cmp .hot { background: var(--accent-tint); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.cmp .hot-top { border-top: 2px solid var(--accent); border-top-left-radius: 16px; border-top-right-radius: 16px; }
/* Заголовок «Полный доступ» — сплошной красный с белым текстом */
.cmp .plan-th.hot { background: var(--accent); color: #fff; }
.cmp .plan-th.hot .star { color: #fff; }
.cmp .hot-bot { border-bottom: 2px solid var(--accent); border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
/* Перебиваем `tr:last-child td { border-bottom:none }`, иначе нижняя красная линия пропадает */
.cmp tr:last-child td.hot-bot { border-bottom: 2px solid var(--accent); }

/* Серые блоки для «Базовый» (2-я колонка) и «Стандарт» (3-я колонка) — как «Полный», но нейтральные */
.cmp td:nth-child(2), .cmp th:nth-child(2),
.cmp td:nth-child(3), .cmp th:nth-child(3) {
  background: #f6f7f9; border-left: 1.5px solid var(--border-2); border-right: 1.5px solid var(--border-2);
}
.cmp thead th:nth-child(2), .cmp thead th:nth-child(3) {
  background: #eceef2; border-top: 1.5px solid var(--border-2);
  border-top-left-radius: 14px; border-top-right-radius: 14px;
}
.cmp tr:last-child td:nth-child(2), .cmp tr:last-child td:nth-child(3) {
  border-bottom: 1.5px solid var(--border-2);
  border-bottom-left-radius: 14px; border-bottom-right-radius: 14px;
}

/* Кнопки выбора */
.cmp .row-cta td { padding-top: 20px; padding-bottom: 26px; }
.cmp .row-cta .btn { width: 100%; }

@media (max-width: 600px) {
  .cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp th, .cmp td { padding: 13px 12px; font-size: 0.88rem; }
  .cmp .feat-ic { width: 26px; height: 26px; margin-right: 7px; }
  .cmp .price { font-size: 1.1rem; }
}

.faq-section { max-width: 720px; margin: 60px auto 0; }
.faq-section h3 { text-align: center; margin-bottom: 28px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 0.93rem; transition: background var(--tr); }
.faq-q:hover { background: var(--panel-2); }
.faq-icon { color: var(--accent); transition: transform var(--tr); display: flex; flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-2); font-size: 0.88rem; line-height: 1.7; }
.faq-a.open { padding: 0 20px 18px; max-height: 260px; }

/* ===== PROFILE ===== */
.profile-hero { background: transparent; border-bottom: 1px solid var(--border); padding: 40px 24px 0; }
.profile-hero-inner { max-width: 1200px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 0.88rem; margin-bottom: 24px; transition: color var(--tr); }
.back-link:hover { color: var(--accent); }
.prof-top { display: flex; align-items: flex-end; gap: 24px; padding-bottom: 28px; }
.prof-avatar { width: 96px; height: 96px; border-radius: 22px; background: linear-gradient(135deg, #2a2f3a, #14161a); display: flex; align-items: center; justify-content: center; font-size: 2.1rem; font-weight: 800; color: #fff; flex-shrink: 0; box-shadow: var(--shadow); }
.prof-info { flex: 1; }
.prof-info h1 { font-size: 1.7rem; margin-bottom: 4px; }
.prof-spec { color: var(--text-2); font-size: 0.94rem; margin-bottom: 10px; }
.prof-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.prof-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.85rem; color: var(--text-2); }
.prof-tabs { display: flex; gap: 3px; margin-top: 22px; flex-wrap: wrap; }
.prof-tab { padding: 11px 18px; border-radius: 10px 10px 0 0; font-size: 0.88rem; font-weight: 600; color: var(--text-2); cursor: pointer; border: none; background: none; font-family: inherit; transition: all var(--tr); }
.prof-tab:hover  { color: var(--text-1); background: var(--panel-2); }
.prof-tab.active { color: var(--accent); background: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.profile-body { padding: 40px 24px; }
.prof-body-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.prof-section { margin-bottom: 28px; }
.prof-section-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-3); margin-bottom: 14px; padding-bottom: 9px; border-bottom: 1px solid var(--border); font-weight: 700; }
.prof-section p { color: var(--text-2); line-height: 1.8; font-size: 0.94rem; }
.cert-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; display: flex; gap: 13px; align-items: center; margin-bottom: 10px; }
.cert-ic { width: 42px; height: 42px; background: #fbf2db; border: 1px solid #f0deb0; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cert-info .cn { font-weight: 600; font-size: 0.9rem; }
.cert-info .cd { font-size: 0.76rem; color: var(--text-3); margin-top: 2px; }
.work-item { display: flex; gap: 15px; padding-bottom: 22px; position: relative; }
.work-item::after { content: ''; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--border); }
.work-item:last-child::after { display: none; }
.work-dot { width: 30px; height: 30px; flex-shrink: 0; background: var(--accent-tint); border: 1px solid #f6c9cb; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 0.7rem; margin-top: 2px; }
.wi-company { font-size: 0.84rem; color: var(--text-1); font-weight: 700; }
.wi-period  { font-size: 0.76rem; color: var(--text-3); margin-top: 2px; }
.wi-desc    { font-size: 0.86rem; color: var(--text-2); margin-top: 6px; line-height: 1.6; }
.sc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.sc-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-3); margin-bottom: 14px; font-weight: 700; }
.sc-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.sc-row:last-child { border-bottom: none; padding-bottom: 0; }
.sc-row .sl { color: var(--text-2); }
.sc-row .sv { font-weight: 600; }
.contact-locked { text-align: center; padding: 6px 0; }
.lock-icon { margin-bottom: 10px; color: var(--text-3); display: flex; justify-content: center; }
.contact-locked p { color: var(--text-2); font-size: 0.86rem; margin-bottom: 14px; line-height: 1.6; }
.review-item { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.rv-author { font-size: 0.88rem; font-weight: 600; }
.rv-date   { font-size: 0.75rem; color: var(--text-3); }
.rv-text   { font-size: 0.86rem; color: var(--text-2); line-height: 1.55; }
.stars { display: inline-flex; gap: 2px; color: #e9a93a; font-size: 0.84rem; }

.empty-state { padding: 30px 18px; text-align: center; color: var(--text-3); font-size: 0.92rem; background: var(--panel-2); border: 1px dashed var(--border-2); border-radius: var(--radius-sm); }

/* ===== ANIMATIONS ===== */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.82)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp .6s ease both; }
.d1{animation-delay:.1s} .d2{animation-delay:.2s} .d3{animation-delay:.3s} .d4{animation-delay:.4s}

/* ===== RESPONSIVE ===== */
@media(max-width:980px){
  .hero-inner{grid-template-columns:1fr}
  .hero-visual{display:none}
  .aud-grid{grid-template-columns:1fr}
  .stats-card{grid-template-columns:1fr;gap:18px}
  .stat-cell + .stat-cell{border-left:none;border-top:1px solid var(--border);padding-top:18px}
  .status-grid{grid-template-columns:1fr 1fr}
  .foot-top{grid-template-columns:1fr 1fr;gap:28px}
  .prof-body-inner{grid-template-columns:1fr}
  /* профиль сварщика (только .pbi-welder): переставляем блоки — Способ сварки → Контакты → Ключевые данные → О себе → НАКС */
  .pbi-welder{display:flex;flex-direction:column}
  .pbi-welder > div{display:contents}
  .pbi-welder #tab-info{display:contents}
  .pbi-welder > aside{display:contents}
  #prof-spec-section{order:1}
  #prof-contacts-card{order:2}
  #prof-keydata-card{order:3}
  #prof-about-section{order:4}
  #prof-naks-section{order:5}
  .pf-stats{order:6}
  #vw-fav-wrap{order:7}
  /* блоки на всю ширину (иначе из-за display:contents схлопываются по содержимому) */
  #prof-spec-section,#prof-contacts-card,#prof-keydata-card,#prof-about-section,#prof-naks-section,.pf-stats,#vw-fav-wrap,#tab-work,#tab-certs{width:100%;box-sizing:border-box;align-self:stretch}
}
@media(max-width:768px){
  .nav-links,.nav-actions{display:none}
  .hamburger{display:flex}
  .section{padding:54px 16px}
  .auth-card{padding:32px 22px}
  .form-row{grid-template-columns:1fr}
  .role-picker{grid-template-columns:1fr}
  .cta-wrap{padding:44px 24px}
  .foot-top{grid-template-columns:1fr;gap:26px}
  .foot-bottom{flex-direction:column;text-align:center}
  .prof-top{flex-direction:column;align-items:flex-start}
  .pricing-grid{grid-template-columns:1fr;max-width:400px;margin:0 auto}
}
@media(max-width:560px){
  .status-grid{grid-template-columns:1fr}
  .hero-cta{flex-direction:column}
  .hero-cta .btn{width:100%;justify-content:center}
}

/* ===== КОЛОКОЛЬЧИК УВЕДОМЛЕНИЙ (общий для всех страниц) ===== */
.notif-wrap { position: relative; display: inline-flex; align-items: center; }
.notif-btn { position: relative; background: none; border: none; cursor: pointer; padding: 6px; color: var(--text-2); display: inline-flex; align-items: center; }
.notif-btn:hover { color: var(--text-1); }
.notif-badge { position: absolute; top: -1px; right: -1px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--accent); color: #fff; font-size: .64rem; font-weight: 700; border-radius: 100px; align-items: center; justify-content: center; line-height: 1; display: none; }
.notif-badge.show { display: inline-flex; }
.notif-panel { position: absolute; top: calc(100% + 10px); right: 0; width: min(340px, calc(100vw - 24px)); max-height: 440px; overflow-y: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.14); z-index: 200; display: none; }
.notif-panel.open { display: block; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--card); }
.notif-head h4 { margin: 0; font-size: .9rem; color: var(--text-1); }
.notif-head button { background: none; border: none; color: var(--blue); font-size: .76rem; cursor: pointer; }
.notif-head button:hover { text-decoration: underline; }
.notif-item { display: block; padding: 12px 14px; border-bottom: 1px solid var(--border); cursor: pointer; text-decoration: none; color: inherit; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--panel-2); }
.notif-item.unread { background: rgba(37,99,235,.06); }
.notif-item .ni-top { display: flex; align-items: center; gap: 8px; }
.notif-item .ni-dot { width: 8px; height: 8px; border-radius: 100px; background: var(--accent); flex-shrink: 0; }
.notif-item.read .ni-dot { visibility: hidden; }
.notif-item .ni-title { font-size: .85rem; font-weight: 600; color: var(--text-1); }
.notif-item .ni-body { font-size: .8rem; color: var(--text-2); margin-top: 3px; line-height: 1.4; padding-left: 16px; }
.notif-item .ni-time { font-size: .7rem; color: var(--text-3); margin-top: 4px; padding-left: 16px; }
.notif-empty { padding: 28px 14px; text-align: center; color: var(--text-3); font-size: .82rem; }

/* ===== COOKIE-БАННЕР ===== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  padding: 16px 20px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-1);
  animation: cookie-in .3s ease;
}
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-banner.cookie-hide { opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s ease, transform .25s ease; }
.cookie-banner .cookie-text { flex: 1; min-width: 0; }
.cookie-banner .cookie-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.cookie-banner .cookie-link:hover { text-decoration: underline; }
.cookie-banner .cookie-accept { flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; padding: 16px; }
  .cookie-banner .cookie-accept { width: 100%; }
}

/* ===== Мобильные доработки (адаптив) ===== */
@media (max-width: 768px) {
  /* Залогинен (есть колокольчик) или шапка кабинета — на мобиле оставляем видимым колокольчик, текст-ссылки прячем (они в бургер-меню) */
  .nav-actions[data-self-managed],
  .nav-actions[data-bell] { display: flex; gap: 8px; align-items: center; }
  .nav-actions[data-self-managed] > a,
  .nav-actions[data-bell] > a { display: none; }
}
@media (max-width: 480px) {
  /* Карточки согласий — компактнее на узком экране */
  .agree-row { padding: 16px; gap: 12px; }
  /* Табы роли при регистрации/входе — не распирают ряд (умещаем «Работодатель» даже на 320px) */
  .role-tab { padding: 8px 3px; font-size: .72rem; letter-spacing: -.02em; }
}
@media (max-width: 560px) {
  /* Состав бригады (рег. + кабинет): 3 колонки с иконками не влезают → 2 колонки */
  .cnt-grid { grid-template-columns: 1fr 1fr !important; }
  /* Hero-заголовок: clamp упирается в крупный min — уменьшаем на телефоне */
  .hero h1 { font-size: 1.95rem; }
  .hero-text { padding: 24px 0; }
  /* FAQ-секция: лишний верхний отступ на мобиле */
  .faq-section { margin-top: 32px; }
  /* Контакты сварщика: пилюля переносится, если длинная */
  .contact-body { flex-wrap: wrap; }
}

/* ===== Автозаполнение компании по ИНН (DaData) — выпадающий список ===== */
.inn-suggest { display: none; position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--card); border: 1px solid var(--border-2); border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 50; max-height: 280px; overflow-y: auto; }
.inn-suggest .inn-item { padding: 10px 13px; cursor: pointer; border-bottom: 1px solid var(--border); }
.inn-suggest .inn-item:last-child { border-bottom: none; }
.inn-suggest .inn-item:hover { background: var(--panel-2); }
.inn-suggest .inn-name { font-size: 0.9rem; font-weight: 600; color: var(--text-1); }
.inn-suggest .inn-sub { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }
.inn-suggest .inn-empty { padding: 12px 13px; font-size: 0.85rem; color: var(--text-3); text-align: center; }
.inn-suggest .inn-liquidated { color: var(--accent); font-weight: 600; }
