/* =========================================================
   SIRCA — Официальный дилер в РФ
   Стили основаны на бренд-буке Sirca (Pantone 654 C, Poppins)
   ========================================================= */

/* ---- 1. CSS variables & tokens ---- */
:root {
  /* Brand palette — из brandbook_Sirca */
  --sirca-navy: #0E3E61;       /* Pantone 654 C */
  --sirca-navy-900: #072337;   /* Темнее — для заливок */
  --sirca-blue: #1B8FD3;       /* Акцентный градиент */
  --sirca-blue-400: #5BB3E3;   /* Светлее */
  --sirca-light: #E8F1F7;      /* Светлая подложка */
  --sirca-red: #D72D2D;        /* Flame/акцент */
  --sirca-red-600: #B31F1F;

  /* Neutrals */
  --ink: #0F1825;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-300: #CBD5E1;
  --line: #E2E8F0;
  --paper: #FAFBFD;
  --surface: #FFFFFF;

  /* Brand gradient — повторяет обложку брендбука */
  --brand-gradient: radial-gradient(ellipse 80% 60% at 80% 70%, #3FA8DB 0%, #1B6EAE 35%, #0E3E61 75%, #072337 100%);
  --brand-gradient-linear: linear-gradient(135deg, #0E3E61 0%, #1B6EAE 50%, #3FA8DB 100%);

  /* Typography scale */
  --font-display: 'Poppins', 'Helvetica Neue', sans-serif;
  --font-body:    'Poppins', 'Helvetica Neue', sans-serif;

  /* Spacing rhythm */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container: 1280px;
  --container-narrow: 1120px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows — техничные, не "мыльные" */
  --shadow-sm: 0 1px 2px rgba(14,62,97,.06), 0 1px 3px rgba(14,62,97,.04);
  --shadow-md: 0 4px 12px rgba(14,62,97,.08), 0 2px 4px rgba(14,62,97,.04);
  --shadow-lg: 0 16px 40px rgba(14,62,97,.12), 0 4px 12px rgba(14,62,97,.06);
  --shadow-brand: 0 12px 36px rgba(27,143,211,.25);

  /* Motion */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- 2. Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

body.is-scroll-locked { overflow: hidden; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---- 3. Layout helpers ---- */
.wrap  { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.wrap--narrow { max-width: var(--container-narrow); }
.grid  { display: grid; gap: var(--s-5); }

/* ---- 4. Typographic helpers ---- */
.h1 { font-size: clamp(2.25rem, 4.8vw, 4rem); font-weight: 800; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sirca-blue);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--sirca-blue); display: block;
}
.eyebrow--on-dark { color: var(--sirca-blue-400); }
.eyebrow--on-dark::before { background: var(--sirca-blue-400); }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-700); max-width: 62ch; }

/* ---- 4b. Section headings (on light + on dark) ---- */
.section__title {
  margin: 14px 0 10px;
  color: var(--sirca-navy);
}
.section__title--on-dark { color: #fff; }
.section__lead {
  margin: 0 auto;
}
.section__lead--narrow {
  margin: 18px 0 8px;
}

/* Icon helpers */
.icon--invert { filter: brightness(0) invert(1); }

/* Section prose variants on dark backgrounds */
.section__prose--on-dark {
  color: #B3C4D2;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 4px;
}
.section__prose--on-b2b {
  color: #D8E6F0;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 8px;
}

/* Hero compact visual variant */
.hero__visual--compact {
  max-width: 500px;
  margin-left: auto;
}

/* Hero trust small label */
.hero__trust-small {
  color: var(--ink-500);
  font-weight: 500;
}

/* Modal inner text */
.modal__title {
  color: var(--sirca-navy);
  margin: 6px 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}
.modal__text {
  color: var(--ink-700);
  font-size: 0.9375rem;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Footer typography */
.footer__h4 { margin-top: 8px; }
.footer__note {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #B3C4D2;
  margin-bottom: 16px;
}
.footer__contact a[href^="tel:"],
.footer__contact a[href^="mailto:"] { color: #fff; }
.footer__about b { color: #fff; }

/* ---- 5. Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.01em;
  border-radius: 10px;
  transition: transform .25s var(--ease-smooth), box-shadow .25s var(--ease-smooth), background .25s;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--sirca-red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(215,45,45,.3);
}
.btn--primary:hover { background: var(--sirca-red-600); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(215,45,45,.4); }
.btn--secondary {
  background: var(--sirca-navy);
  color: #fff;
}
.btn--secondary:hover { background: var(--sirca-navy-900); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--sirca-navy);
  border: 2px solid var(--sirca-navy);
}
.btn--outline:hover { background: var(--sirca-navy); color: #fff; }
.btn--ghost-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); }
.btn--large { padding: 20px 36px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--success,
.btn--success:hover { background: #16A34A; box-shadow: 0 6px 20px rgba(22,163,74,.3); }
.btn--error,
.btn--error:hover   { background: #B31F1F; box-shadow: 0 6px 20px rgba(179,31,31,.3); }

/* ---- 6. Sections ---- */
.section { padding: clamp(56px, 8vw, 120px) 0; position: relative; }
.section--dark { background: var(--sirca-navy-900); color: #E6EEF5; }
.section--light { background: var(--paper); }
.section--white { background: #fff; }
.section--alt { background: var(--sirca-light); }

/* ---- 7. Header ---- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease-smooth);
}
.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(14,62,97,.08);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-6);
  padding: 14px 0;
}
.header__brand { display: flex; align-items: center; gap: 14px; }
.header__logo  { height: 40px; width: auto; }
.header__descriptor {
  font-size: 11px; line-height: 1.3; font-weight: 500; color: var(--ink-500);
  max-width: 160px; border-left: 2px solid var(--sirca-blue); padding-left: 10px;
}
.header__descriptor b { color: var(--sirca-navy); font-weight: 600; }

.nav { display: flex; gap: var(--s-6); align-items: center; justify-content: center; }
.nav__link {
  font-size: 0.875rem; font-weight: 500; color: var(--ink-700);
  transition: color .2s;
  position: relative;
  padding: 8px 0;
}
.nav__link:hover { color: var(--sirca-navy); }
.nav__link::after {
  content: ""; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 2px; background: var(--sirca-blue); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-smooth);
}
.nav__link:hover::after { transform: scaleX(1); }

.header__cta { display: flex; gap: 16px; align-items: center; }
.header__phone {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1;
}
.header__phone-num {
  font-weight: 700; font-size: 1.0625rem; color: var(--sirca-navy);
  letter-spacing: 0.01em;
}
.header__phone-label {
  font-size: 10px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 4px;
}
.header__messengers { display: flex; gap: 8px; align-items: center; }
.header__messengers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s var(--ease-smooth), filter .2s;
  line-height: 0;
}
.header__messengers a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(14,62,97,.25));
}
.header__messengers img {
  width: 32px;
  height: 32px;
  display: block;
}

.header__burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--sirca-light);
  border-radius: var(--radius-md);
  flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
}
.header__burger span {
  width: 20px; height: 2px; background: var(--sirca-navy); border-radius: 1px;
  transition: transform .3s, opacity .3s;
}
.header__phone-mobile {
  display: none;
  width: 44px; height: 44px;
  background: var(--sirca-red);
  color: #fff;
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 4px 12px rgba(215,45,45,.3);
  transition: background .2s, transform .2s;
}
.header__phone-mobile:hover { background: var(--sirca-red-600); transform: translateY(-2px); }
.header__phone-mobile svg { width: 18px; height: 18px; }
.header__mobile-actions { display: none; gap: 10px; align-items: center; }

/* ---- 8. Hero ---- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
  background: var(--brand-gradient);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  /* Брендовый паттерн — тонкие радиальные линии в духе Sirca */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(27,143,211,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(63,168,219,.12) 0%, transparent 45%);
  opacity: 1;
}
.hero::before::after {
  content: "";
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 10% 50%, rgba(14,62,97,.85) 0%, rgba(14,62,97,.4) 60%, transparent 90%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8);
  align-items: center;
}
.hero__title {
  margin: var(--s-4) 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__title-main {
  display: block;
  font-size: clamp(1.875rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero__title-main em {
  color: var(--sirca-blue-400);
  font-style: normal;
}
.hero__title-sub {
  display: block;
  font-size: clamp(1.0625rem, 1.9vw, 1.5rem);
  font-weight: 500;
  color: #CFDFEB;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.hero__sub {
  font-size: 1.125rem; line-height: 1.6; color: #CFDFEB;
  max-width: 54ch;
  margin-bottom: var(--s-6);
}
.hero__bullets {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-bottom: var(--s-7);
}
.hero__bullet {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  font-size: 0.8125rem; font-weight: 500; color: #D8E6F0;
  backdrop-filter: blur(4px);
}
.hero__bullet::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sirca-blue-400);
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual {
  position: relative;
  display: grid; place-items: center;
}
.hero__visual img {
  width: 100%; max-width: 620px;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.45));
  animation: hero-float 8s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero__badges {
  position: absolute; z-index: 2;
}
.hero__badge--italy {
  top: 8%; left: -4%;
  background: #fff; color: var(--sirca-navy);
  padding: 10px 16px 10px 12px;
  border-radius: 12px 12px 12px 28px;
  box-shadow: var(--shadow-lg);
  display: flex; gap: 10px; align-items: center;
  font-size: 0.8125rem; font-weight: 600;
}
.hero__badge--italy .flag {
  width: 32px; height: 22px; border-radius: 3px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.hero__badge--italy .flag div:nth-child(1){background:#008C45}
.hero__badge--italy .flag div:nth-child(2){background:#F4F5F0}
.hero__badge--italy .flag div:nth-child(3){background:#CD212A}
.hero__badge--dealer {
  bottom: 10%; right: -2%;
  background: var(--sirca-navy);
  color: #fff; border: 1.5px solid rgba(255,255,255,.2);
  padding: 14px 18px;
  border-radius: 12px 12px 12px 32px;
  box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: center;
}
.hero__badge--dealer strong { display: block; font-size: 0.9375rem; font-weight: 700; }
.hero__badge--dealer span  { display: block; font-size: 0.75rem; color: var(--sirca-blue-400); letter-spacing: 0.06em; text-transform: uppercase; }
.hero__badge--dealer .seal {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sirca-red);
  display: grid; place-items: center; font-size: 10px; font-weight: 800; text-align: center; line-height: 1.1;
}

/* ---- 9. Trust bar (между hero и брендом) ---- */
.trustbar {
  background: #fff;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
  align-items: center;
}
.trustbar__item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-700);
}
.trustbar__icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--sirca-light);
  display: grid; place-items: center;
  color: var(--sirca-navy); font-weight: 700;
  flex-shrink: 0;
}
.trustbar__item b { color: var(--sirca-navy); display: block; font-weight: 700; }

/* ---- 10. Brand-sell block (Почему Sirca?) ---- */
.brandsell {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8);
  align-items: center;
}
.brandsell__visual {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 80px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.brandsell__visual img { width: 100%; height: 100%; object-fit: cover; }
.brandsell__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,62,97,.55) 100%);
}
.brandsell__stamp {
  position: absolute;
  right: -20px; bottom: 32px;
  background: #fff; padding: 18px 24px;
  border-radius: 12px 12px 12px 28px;
  box-shadow: var(--shadow-lg);
  display: flex; gap: 14px; align-items: center;
}
.brandsell__stamp .flag-ita {
  width: 44px; height: 30px; border-radius: 3px;
  background: linear-gradient(to right, #008C45 0 33.33%, #F4F5F0 33.33% 66.66%, #CD212A 66.66% 100%);
  flex-shrink: 0;
}
.brandsell__stamp-text { line-height: 1.3; }
.brandsell__stamp-text b { font-size: 0.9375rem; color: var(--sirca-navy); display: block; }
.brandsell__stamp-text span { font-size: 0.75rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; }

.brandsell__cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
  margin-top: var(--s-6);
}

/* Маркер бренда с флагом рядом с заголовком (меняется между Sirca/Fincolor) */
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.brand-flag {
  display: inline-block; width: 30px; height: 22px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  vertical-align: middle;
  font-style: normal;
}
.brand-flag--ita {
  background: linear-gradient(to right, #008C45 0 33.33%, #F4F5F0 33.33% 66.66%, #CD212A 66.66% 100%);
}
.brand-flag--fin {
  background:
    linear-gradient(#fff, #fff),
    linear-gradient(#003580, #003580);
  background-size: 100% 100%;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}
.brand-flag--fin::before {
  content: "";
  position: absolute;
  background: #003580;
  top: 0; bottom: 0; left: 30%; width: 18%;
}
.brand-flag--fin::after {
  content: "";
  position: absolute;
  background: #003580;
  left: 0; right: 0; top: 40%; height: 20%;
}
.feature-card {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-lg);
  transition: transform .3s var(--ease-smooth), box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sirca-blue-400);
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--brand-gradient-linear);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 16px;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__title { font-size: 1rem; font-weight: 700; color: var(--sirca-navy); margin-bottom: 8px; }
.feature-card__text  { font-size: 0.875rem; color: var(--ink-700); line-height: 1.5; }

/* ---- 11. Catalog (tabs + cards) ---- */
.catalog__head { text-align: center; max-width: 720px; margin: 0 auto var(--s-7); }
.catalog__tabs {
  display: flex; gap: 4px;
  background: var(--sirca-light); padding: 6px;
  border-radius: 12px;
  margin: 0 auto var(--s-7); width: fit-content;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.catalog__tabs::-webkit-scrollbar { display: none; }
.catalog__tab {
  padding: 12px 22px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--ink-700);
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.catalog__tab:hover { color: var(--sirca-navy); }
.catalog__tab.is-active {
  background: var(--sirca-navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(14,62,97,.25);
}
.catalog__panel { display: none; }
.catalog__panel.is-active { display: block; animation: fadeIn .4s var(--ease-smooth); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease-smooth), box-shadow .3s, border-color .3s;
  position: relative;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sirca-blue-400);
}
.product__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--sirca-red); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 1;
}
.product__tag--blue { background: var(--sirca-blue); }
.product__img {
  aspect-ratio: 1/1;
  background: linear-gradient(180deg, #fff 0%, var(--sirca-light) 100%);
  display: grid; place-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.product__img::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(27,143,211,.12) 0%, transparent 60%);
}
.product__img img {
  max-height: 100%; max-width: 100%;
  object-fit: contain;
  transition: transform .4s var(--ease-smooth);
  position: relative; z-index: 1;
}
.product:hover .product__img img { transform: scale(1.08); }
.product__body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; flex: 1;
}
.product__cat {
  font-size: 0.6875rem; font-weight: 600; color: var(--sirca-blue);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.product__name {
  font-size: 0.9375rem; font-weight: 700; color: var(--sirca-navy);
  line-height: 1.3; margin-bottom: 12px;
  min-height: 2.6em;
}
.product__specs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.product__spec {
  font-size: 0.75rem; color: var(--ink-700);
  background: var(--sirca-light);
  padding: 4px 10px; border-radius: 100px;
  font-weight: 500;
}
.product__spec b { color: var(--sirca-navy); font-weight: 700; }
.product__colors {
  display: flex; gap: 4px; margin-bottom: 14px;
}
.product__color {
  width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}
.product__bottom { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.product__price {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.product__price-from { font-size: 0.75rem; color: var(--ink-500); }
.product__price-val  { font-size: 1.125rem; font-weight: 800; color: var(--sirca-navy); }
.product__price-opt  { font-size: 0.75rem; color: var(--sirca-red); font-weight: 600; }
.product__actions { display: flex; flex-direction: column; gap: 8px; }
.product__actions .btn { width: 100%; padding: 11px 12px; font-size: 0.8125rem; border-radius: 8px; text-align: center; line-height: 1.2; }
.product__actions .btn--outline { border-width: 1.5px; padding: 10px 11px; }

/* ---- 12. Tinting (колеровка) ---- */
.tinting {
  background: var(--sirca-navy-900);
  color: #E6EEF5;
  position: relative;
  overflow: hidden;
}
.tinting::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(27,143,211,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(63,168,219,.12) 0%, transparent 55%);
  z-index: 0;
}
/* Декоративная подложка-фото справа-снизу (нижний план) */
.tinting::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -80px;
  width: 560px; height: 420px;
  background: url('../assets/img/tinting-visual.svg') no-repeat right bottom;
  background-size: contain;
  opacity: .18;
  pointer-events: none;
  z-index: 0;
  filter: saturate(.6);
}
@media (max-width: 1100px) {
  .tinting::after { width: 420px; height: 320px; opacity: .12; right: -40px; bottom: -40px; }
}
.tinting__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8);
  align-items: start;
}
/* Старые классы tinting__visual/__visual-caption/__visual-dot оставлены
   для совместимости (не используются на новой главной). */
.tinting__visual {
  margin: 0 0 var(--s-6);
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14,62,97,0.6) 0%, rgba(7,35,55,0.8) 100%),
    #072337;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 48px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
  aspect-ratio: 16 / 10;
  isolation: isolate;
}
.tinting__visual img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.tinting__visual-caption {
  position: absolute;
  left: 16px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-size: 0.75rem; font-weight: 500;
  color: rgba(230,238,245,0.9);
  background: rgba(7,35,55,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.tinting__visual-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sirca-blue-400);
  box-shadow: 0 0 8px var(--sirca-blue-400);
  animation: tintingPulse 2.2s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes tintingPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
.tinting__list { display: grid; gap: 16px; margin-top: var(--s-6); }
.tinting__item {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  transition: background .2s ease, border-color .2s ease;
}
.tinting__item:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(91,179,227,.3);
}
.tinting__item-num {
  font-size: 1.5rem; font-weight: 800; color: var(--sirca-blue-400);
  font-family: var(--font-display);
}
.tinting__item b { color: #fff; display: block; margin-bottom: 4px; font-size: 1rem; }
.tinting__item span { font-size: 0.875rem; color: #B3C4D2; }

/* Form capture on dark */
/* Form CARD — контейнер-карточка для формы (tinting-секция) */
.capture-form {
  background: #fff; color: var(--ink);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.capture-form__label {
  font-size: 0.75rem; font-weight: 700; color: var(--sirca-red);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.capture-form h3 { font-size: 1.5rem; color: var(--sirca-navy); margin-bottom: 10px; line-height: 1.2; }
.capture-form p  { font-size: 0.9375rem; color: var(--ink-700); margin-bottom: 20px; }

/* Form FIELDS — стили полей, переиспользуются в формах с карточкой И без (модалка) */
.capture-form input,
.capture-form textarea,
.capture-form select,
.form-fields input,
.form-fields textarea,
.form-fields select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  margin-bottom: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.capture-form textarea,
.form-fields textarea {
  resize: vertical;
  min-height: 80px;
}
.capture-form input:focus,
.capture-form textarea:focus,
.capture-form select:focus,
.form-fields input:focus,
.form-fields textarea:focus,
.form-fields select:focus {
  outline: none; border-color: var(--sirca-blue);
  box-shadow: 0 0 0 3px rgba(27,143,211,.15);
}

/* Honeypot (скрытый антибот-инпут) */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.capture-form__note {
  font-size: 0.6875rem; color: var(--ink-500); margin-top: 12px; line-height: 1.4;
}
.capture-form__note a { color: var(--sirca-blue); text-decoration: underline; }

/* ---- 13. Why us ---- */
.whyus__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
  margin-top: var(--s-7);
}
.whyus__card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 28px;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.whyus__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.whyus__card-num {
  position: absolute; top: 16px; right: 20px;
  font-size: 3rem; font-weight: 800;
  color: var(--sirca-light);
  line-height: 1;
  font-family: var(--font-display);
}
.whyus__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--brand-gradient-linear);
  display: grid; place-items: center;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.whyus__icon svg { width: 28px; height: 28px; color: #fff; }
.whyus__card h3 { font-size: 1.0625rem; color: var(--sirca-navy); margin-bottom: 10px; }
.whyus__card p  { font-size: 0.9375rem; color: var(--ink-700); line-height: 1.5; }

/* ---- 14. B2B ---- */
.b2b {
  position: relative; overflow: hidden;
  background: var(--brand-gradient);
  color: #fff;
}
.b2b::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 50%, rgba(27,143,211,.22) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 85% 90%, rgba(63,168,219,.16) 0%, transparent 60%);
}
.b2b__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-8); align-items: center;
}
.b2b__bullets { display: grid; gap: 14px; margin-top: var(--s-5); margin-bottom: var(--s-6); }
.b2b__bullet {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,.06);
  border-left: 3px solid var(--sirca-blue-400);
  border-radius: 0 8px 8px 0;
}
.b2b__bullet svg { width: 20px; height: 20px; color: var(--sirca-blue-400); margin-top: 2px; }
.b2b__bullet p { font-size: 0.9375rem; color: #E6EEF5; line-height: 1.5; }
.b2b__bullet b { color: #fff; font-weight: 700; }

/* ---- 15. FAQ ---- */
.faq__list {
  max-width: 900px; margin: var(--s-7) auto 0;
  display: grid; gap: 10px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 20px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: var(--sirca-blue-400); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none;
  padding: 22px 24px;
  font-weight: 600; font-size: 1.0625rem; color: var(--sirca-navy);
  cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 24px; height: 24px;
  background: var(--sirca-light); color: var(--sirca-navy);
  border-radius: 6px;
  display: grid; place-items: center;
  transition: transform .3s, background .3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230E3E61' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.faq__item[open] summary::after {
  background-color: var(--sirca-navy);
  transform: rotate(45deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M6 1v10M1 6h10' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq__answer {
  padding: 0 24px 24px;
  color: var(--ink-700); font-size: 0.9375rem; line-height: 1.65;
}
.faq__answer strong { color: var(--sirca-navy); }
.faq__answer ol { margin: 10px 0 0 20px; padding: 0; list-style: decimal; }
.faq__answer ol li { margin-bottom: 4px; padding-left: 4px; }

/* ---- 16. Footer ---- */
.footer {
  background: var(--sirca-navy-900);
  color: #B3C4D2;
  padding: clamp(48px, 6vw, 80px) 0 0;
  position: relative; overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: var(--brand-gradient);
  border-radius: 0 0 0 100%;
  opacity: .25;
  pointer-events: none;
}
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: var(--s-7);
  padding-bottom: var(--s-7);
}
.footer__logo img { height: 40px; margin-bottom: 18px; }
.footer__about {
  font-size: 0.875rem; line-height: 1.6; color: #B3C4D2;
  margin-bottom: 20px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.footer__social a:hover { background: var(--sirca-blue); transform: translateY(-2px); }
.footer__social img { width: 16px; filter: brightness(0) invert(1); }

.footer h4 {
  font-size: 0.875rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.875rem; color: #B3C4D2;
  transition: color .2s;
}
.footer ul a:hover { color: var(--sirca-blue-400); }

.footer__contact { font-size: 0.875rem; line-height: 1.6; }
.footer__contact-item {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  margin-bottom: 14px; align-items: start;
}
.footer__contact-item svg { width: 18px; color: var(--sirca-blue-400); margin-top: 2px; }
.footer__contact-item b { color: #fff; font-weight: 600; display: block; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  font-size: 0.75rem; color: #8497A6;
  flex-wrap: wrap;
}
.footer__legal { max-width: 760px; line-height: 1.5; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay-item {
  font-size: 10px; font-weight: 700; color: #fff;
  padding: 4px 10px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px; letter-spacing: 0.04em;
}

/* ---- 17. Mobile bottom CTA ---- */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(14,62,97,.08);
  padding: 10px 16px env(safe-area-inset-bottom);
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mobile-bar .btn { padding: 14px 10px; font-size: 0.8125rem; }

/* ---- 18. Modal ---- */
.modal {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14,62,97,.75);
  backdrop-filter: blur(6px);
  padding: 20px;
  align-items: center; justify-content: center;
  animation: fadeIn .25s;
}
.modal.is-open { display: flex; }
.modal__box {
  background: #fff;
  width: 100%; max-width: 460px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius-lg);
  position: relative;
  animation: modalUp .35s var(--ease-bounce);
}
@keyframes modalUp { from { transform: translateY(20px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--sirca-light);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s;
}
.modal__close img {
  width: 12px; height: 12px;
  /* SVG залит белым — инвертируем в тёмно-синий, чтобы был виден на светлом фоне */
  filter: brightness(0) saturate(100%) invert(22%) sepia(29%) saturate(1793%) hue-rotate(174deg) brightness(93%) contrast(95%);
  transition: filter .2s;
}
.modal__close:hover { background: var(--sirca-blue); }
.modal__close:hover img { filter: brightness(0) invert(1); }

/* ---- 18.5 Mobile menu (burger open) ---- */
.nav.is-mobile-open {
  display: flex;
  position: fixed; top: 0; right: 0;
  width: min(340px, 100vw); height: 100vh;
  background: #fff;
  padding: 80px 32px 32px;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
  justify-content: flex-start;
  box-shadow: -10px 0 40px rgba(14,62,97,.15);
  z-index: 60;
  animation: slideInRight .3s var(--ease-smooth);
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: none; }
}
.nav.is-mobile-open .nav__link {
  padding: 14px 0;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--line);
}
.header__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- 18.6 Consent checkbox (в формах) ---- */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
  margin: 4px 0 14px;
  user-select: none;
}
.consent input[type="checkbox"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.consent__mark {
  width: 18px; height: 18px;
  border: 1.5px solid var(--ink-300);
  border-radius: 4px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.consent:hover .consent__mark { border-color: var(--sirca-blue); }
.consent input:focus-visible + .consent__mark {
  box-shadow: 0 0 0 3px rgba(27,143,211,.2);
  border-color: var(--sirca-blue);
}
.consent input:checked + .consent__mark {
  background: var(--sirca-navy);
  border-color: var(--sirca-navy);
}
.consent input:checked + .consent__mark::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent__text {
  font-size: 0.75rem;
  color: var(--ink-500);
  line-height: 1.45;
}
.consent__text a {
  color: var(--sirca-blue);
  text-decoration: underline;
}
.consent__text a:hover { color: var(--sirca-navy); }
.consent.is-invalid .consent__mark {
  border-color: var(--sirca-red);
  box-shadow: 0 0 0 3px rgba(215,45,45,.15);
  animation: consentShake .4s var(--ease-smooth);
}
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* ---- 18.7 Cookie banner ---- */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 70;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  animation: cookieUp .45s var(--ease-bounce);
  transition: transform .35s var(--ease-smooth), opacity .35s;
}
.cookie-bar.is-hiding {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.cookie-bar__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--sirca-light);
  color: var(--sirca-navy);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cookie-bar__icon svg { width: 22px; height: 22px; }
.cookie-bar__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-700);
}
.cookie-bar__text b { color: var(--sirca-navy); font-weight: 700; }
.cookie-bar__text a {
  color: var(--sirca-blue);
  text-decoration: underline;
}
.cookie-bar__text a:hover { color: var(--sirca-navy); }
.cookie-bar__btn {
  padding: 12px 22px;
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes cookieUp {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---- 18.8 Legal pages (privacy / terms) ---- */
.legal {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px);
  background: var(--paper);
}
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
/* На legal-страницах выравниваем по ширине .legal-doc (900px, по центру) */
.legal .breadcrumbs {
  max-width: 900px;
  margin-inline: auto;
  width: 100%;
}
.breadcrumbs a {
  color: var(--sirca-blue);
  transition: color .2s;
}
.breadcrumbs a:hover { color: var(--sirca-navy); }
.breadcrumbs span { color: var(--ink-700); }
.breadcrumbs::-webkit-scrollbar { display: none; }

.legal-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 56px);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin-inline: auto;
}
.legal-doc h1 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  color: var(--sirca-navy);
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.legal-doc__meta {
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.legal-doc h2 {
  font-size: 1.1875rem;
  color: var(--sirca-navy);
  margin: 32px 0 12px;
  font-weight: 700;
  line-height: 1.3;
}
.legal-doc h3 {
  font-size: 1rem;
  color: var(--sirca-navy);
  margin: 20px 0 8px;
  font-weight: 600;
}
.legal-doc p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 14px;
}
.legal-doc ul, .legal-doc ol {
  margin: 8px 0 16px;
  padding-left: 22px;
}
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 6px;
  padding-left: 4px;
}
.legal-doc a {
  color: var(--sirca-blue);
  text-decoration: underline;
}
.legal-doc a:hover { color: var(--sirca-navy); }
.legal-doc strong { color: var(--sirca-navy); font-weight: 700; }
.legal-doc__callout {
  background: var(--sirca-light);
  border-left: 3px solid var(--sirca-blue);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}
.legal-doc__callout p { margin: 0; }
.legal-doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 12px 20px;
  background: var(--sirca-light);
  color: var(--sirca-navy);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background .2s, transform .2s;
}
.legal-doc__back:hover { background: var(--sirca-navy); color: #fff; transform: translateX(-2px); }

/* ---- 18.9 Modal calc fields (shown only when type=calc) ---- */
.modal__calc-fields[hidden] { display: none; }
.modal__calc-fields {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--sirca-light);
  border-radius: 8px;
  border-left: 3px solid var(--sirca-blue);
}
.modal__calc-fields input,
.modal__calc-fields select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  margin: 0;
  transition: border-color .2s, box-shadow .2s;
}
.modal__calc-fields input:focus,
.modal__calc-fields select:focus {
  outline: none; border-color: var(--sirca-blue);
  box-shadow: 0 0 0 3px rgba(27,143,211,.15);
}
.modal__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E3E61' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ---- 19. Responsive ---- */
@media (max-width: 1100px) {
  .header__descriptor { display: none; }
  .nav { gap: var(--s-5); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .whyus__grid   { grid-template-columns: repeat(2, 1fr); }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header__inner { grid-template-columns: auto 1fr auto; gap: 14px; }
  .nav { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }
  .header__mobile-actions { display: flex; }
  .header__phone-mobile { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero__badges { display: none; }
  .hero__title-sub { max-width: 100%; }
  .brandsell { grid-template-columns: 1fr; }
  .brandsell__visual { max-height: 500px; }
  .brandsell__cards { grid-template-columns: 1fr 1fr; }
  .tinting__grid { grid-template-columns: 1fr; }
  .b2b__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-bar { display: grid; }
  body { padding-bottom: 80px; }
  /* cookie bar над mobile-bar */
  .cookie-bar { bottom: 84px; }
  .cookie-bar__inner { grid-template-columns: auto 1fr; gap: 12px; }
  .cookie-bar__btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 600px) {
  .trustbar__grid { grid-template-columns: 1fr 1fr; }
  .whyus__grid  { grid-template-columns: 1fr; }
  .brandsell__cards { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { width: 100%; }
  .product__name { min-height: 0; }
  .hero__title { gap: 0.35em; }
  .hero__title-main { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  .hero__title-sub  { font-size: clamp(0.9375rem, 4vw, 1.125rem); }
  .cookie-bar {
    left: 10px; right: 10px; bottom: 80px;
    padding: 14px 16px;
  }
  .cookie-bar__inner { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  .cookie-bar__icon { display: none; }
  .cookie-bar__text { font-size: 0.78125rem; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---- 20. Utility ---- */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.text-center { text-align: center; }
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__visual img { animation: none; }
}

/* Scrollbar — легкий брендовый */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sirca-light); }
::-webkit-scrollbar-thumb { background: var(--sirca-navy); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--sirca-blue); }

/* ---- 25. Product card clickable targets (фото и название) ---- */
.product__img,
.product__name {
  cursor: pointer;
}
/* На лого-иллюстрации банки — едва заметный hover (скейл уже есть на .product:hover, тут усиливаем по прямому hover) */
.product__img:hover img { transform: scale(1.06); }
/* Название: подчёркивание тем же цветом на hover — цвет НЕ меняется */
.product__name {
  position: relative;
  transition: color .2s;
}
.product__name::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--sirca-navy);
  transition: width .25s var(--ease-smooth);
}
.product__name:hover::after { width: 100%; }
/* Фокус с клавиатуры */
.product__img:focus-visible,
.product__name:focus-visible {
  outline: 2px solid var(--sirca-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- 26. Product modal (широкая, адаптивная) ---- */
.modal--wide .modal__box {
  max-width: 860px;
  padding: 0;
  overflow: hidden;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}
.modal--wide .modal__close {
  z-index: 3;
}

.pm {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.pm__media {
  background: linear-gradient(180deg, #fff 0%, var(--sirca-light) 100%);
  padding: 28px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pm__media::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(27,143,211,.10) 0%, transparent 60%);
  pointer-events: none;
}
.pm__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  min-height: 22px;
}
.pm__tag {
  background: var(--sirca-red); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}
.pm__tag--blue { background: var(--sirca-blue); }
.pm__tag[hidden] { display: none !important; }
.pm__cat {
  font-size: 0.6875rem; font-weight: 600; color: var(--sirca-blue);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.pm__img {
  flex: 1;
  display: grid; place-items: center;
  padding: 8px;
  min-height: 200px;
  position: relative; z-index: 1;
}
.pm__img img {
  max-height: 280px;
  max-width: 100%;
  object-fit: contain;
}
.pm__colors {
  display: flex; gap: 6px;
  margin-top: 18px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
.pm__color {
  width: 22px; height: 22px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}
.pm__content {
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 0;
}
.pm__title {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--sirca-navy);
  margin: 0 0 10px;
  line-height: 1.3;
  padding-right: 40px; /* под кнопку закрытия */
}
.pm__desc {
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.55;
  margin: 0 0 18px;
}
.pm__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.pm__spec {
  font-size: 0.8125rem;
  color: var(--ink-700);
  background: var(--sirca-light);
  padding: 5px 11px;
  border-radius: 100px;
  font-weight: 500;
}
.pm__spec b { color: var(--sirca-navy); font-weight: 700; }
.pm__price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0 16px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pm__price-from { font-size: 0.8125rem; color: var(--ink-500); }
.pm__price { font-size: 1.25rem; font-weight: 800; color: var(--sirca-navy); }
.pm__price-opt { font-size: 0.8125rem; color: var(--sirca-red); font-weight: 600; }
.pm__form-label {
  font-size: 0.6875rem; font-weight: 600;
  color: var(--sirca-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.pm__form .form-fields { margin: 0; }
.pm__form input,
.pm__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
  background: #fff;
}
.pm__form input:focus,
.pm__form textarea:focus {
  outline: none;
  border-color: var(--sirca-blue);
  box-shadow: 0 0 0 3px rgba(27,143,211,.12);
}
.pm__form textarea { resize: vertical; min-height: 64px; }

/* Продукт-модалка: адаптив */
@media (max-width: 820px) {
  .modal--wide .modal__box {
    max-width: 560px;
  }
  .pm {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .pm__media {
    padding: 20px 20px 16px;
    min-height: 0;
  }
  .pm__img {
    min-height: 160px;
  }
  .pm__img img {
    max-height: 180px;
  }
  .pm__content {
    padding: 22px 20px 20px;
  }
}
@media (max-width: 520px) {
  .modal--wide { padding: 8px; }
  .modal--wide .modal__box {
    max-height: calc(100vh - 16px);
  }
  .pm__title { padding-right: 46px; }
  .pm__img img { max-height: 150px; }
}

/* ---- 27.5 Home contacts (компактная секция на главной) ---- */
.home-contacts {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: stretch;
}
.home-contacts__info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.home-contacts__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}
.home-contacts__cta .btn {
  flex: 1 1 auto;
  min-width: 180px;
  justify-content: center;
}
.home-contacts__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 380px;
  display: flex;
}
.home-contacts__map iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .home-contacts { grid-template-columns: 1fr; gap: var(--s-5); }
  .home-contacts__map { min-height: 280px; }
  .home-contacts__map iframe { min-height: 280px; }
}
@media (max-width: 520px) {
  .home-contacts__cta { flex-direction: column; }
  .home-contacts__cta .btn { width: 100%; }
}

/* ---- 27. Contacts page ---- */
.contacts-hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, var(--sirca-light) 0%, var(--paper) 100%);
}
.contacts-hero__inner {
  max-width: 760px;
}
.contacts-hero h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  color: var(--sirca-navy);
  margin: 14px 0 14px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.contacts-hero__lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 620px;
}

.contacts-section {
  padding: clamp(40px, 5vw, 64px) 0;
}
.contacts-section--alt { background: var(--paper); }
.contacts-section__head {
  margin-bottom: clamp(24px, 3vw, 36px);
}
.contacts-section__head h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  color: var(--sirca-navy);
  margin: 8px 0 8px;
  line-height: 1.2;
}
.contacts-section__head p {
  font-size: 0.9375rem;
  color: var(--ink-700);
  max-width: 640px;
  line-height: 1.55;
}

/* --- Managers grid --- */
.managers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.manager {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 28px);
  transition: transform .3s var(--ease-smooth), box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.manager:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sirca-blue-400);
}
.manager__top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.manager__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-gradient-linear);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: grid; place-items: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.manager__info {
  min-width: 0;
}
.manager__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sirca-navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.manager__role {
  font-size: 0.75rem;
  color: var(--sirca-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.manager__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.manager__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: color .2s;
  min-width: 0;
}
.manager__link:hover { color: var(--sirca-blue); }
.manager__link svg {
  width: 18px; height: 18px;
  color: var(--sirca-navy);
  flex-shrink: 0;
}
.manager__link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.manager__messengers {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.manager__messenger {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .2s var(--ease-smooth), filter .2s;
  line-height: 0;
}
.manager__messenger:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(14,62,97,.25));
}
.manager__messenger img {
  width: 40px; height: 40px;
  display: block;
  border-radius: 50%;
}

/* --- Office split: график + фото --- */
.office-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: stretch;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-list__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.info-list__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--sirca-light);
  color: var(--sirca-navy);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-list__icon svg { width: 22px; height: 22px; }
.info-list__title {
  font-size: 0.75rem;
  color: var(--sirca-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}
.info-list__text {
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
}
.info-list__text a { color: inherit; transition: color .2s; }
.info-list__text a:hover { color: var(--sirca-blue); }
.info-list__text small {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-top: 2px;
}

.office-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: var(--brand-gradient);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #fff;
}
.office-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.office-photo__caption {
  position: relative;
  z-index: 1;
}
.office-photo__caption b {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.office-photo__caption span {
  font-size: 0.875rem;
  opacity: .85;
}

/* --- Map block --- */
.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.map-block__frame {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}
.map-block__cta {
  position: absolute;
  right: 20px; bottom: 20px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sirca-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
}
.map-block__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--sirca-blue);
}

/* --- Contact form section --- */
.contact-form-wrap {
  background: var(--sirca-navy);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  color: #E6EEF5;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 100%, rgba(27,143,211,.30) 0%, transparent 60%);
  pointer-events: none;
}
.contact-form-wrap__info { position: relative; z-index: 1; }
.contact-form-wrap__info h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #fff;
  margin: 10px 0 14px;
  line-height: 1.15;
}
.contact-form-wrap__info p {
  font-size: 0.9375rem;
  color: #B9CBD9;
  line-height: 1.55;
  margin-bottom: 24px;
}
.contact-form-wrap__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form-wrap__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #D4DFEA;
}
.contact-form-wrap__feature svg {
  width: 18px; height: 18px;
  color: var(--sirca-blue-400);
  flex-shrink: 0;
}
.contact-form-wrap__form {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  color: var(--ink);
}
.contact-form-wrap__form h3 {
  font-size: 1.125rem;
  color: var(--sirca-navy);
  margin: 0 0 8px;
}
.contact-form-wrap__form p {
  font-size: 0.875rem;
  color: var(--ink-700);
  margin: 0 0 20px;
}

/* --- Contacts adaptive --- */
@media (max-width: 980px) {
  .managers-grid { grid-template-columns: repeat(2, 1fr); }
  .office-split { grid-template-columns: 1fr; gap: var(--s-5); }
  .office-photo { min-height: 260px; }
  .contact-form-wrap {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}
@media (max-width: 620px) {
  .managers-grid { grid-template-columns: 1fr; }
  .map-block__frame { height: 320px; }
  .map-block__cta {
    right: 12px; bottom: 12px;
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
  .office-photo { min-height: 200px; padding: 20px; }
}

/* Print (для сохранения в PDF) */
@media print {
  .header, .footer, .mobile-bar, .modal { display: none !important; }
  .section { padding: 30px 0; }
}

/* =========================================================
   SIRCA — EXTENSIONS (catalog.html + products/*.html)
   Дополнительные компоненты: sub-hero, фильтры каталога,
   карточка товара, табы, похожие, хлебные крошки на подстраницах.
   Палитра и токены — из :root, без переопределений.
   ========================================================= */

/* Активный пункт меню на подстраницах */
.nav__link.is-active { color: var(--sirca-navy); }
.nav__link.is-active::after { transform: scaleX(1); }

/* ---- SUB-HERO (повторяющийся hero на catalog / карточке) ---- */
.sub-hero {
  background: var(--brand-gradient);
  color: #E6EEF5;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.sub-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 80% at 100% 100%, rgba(63,168,219,.25) 0%, transparent 60%);
  pointer-events: none;
}
.sub-hero > .wrap { position: relative; z-index: 1; }
.sub-hero .breadcrumbs { color: rgba(230,238,245,.8); margin-bottom: 18px; }
.sub-hero .breadcrumbs a { color: rgba(230,238,245,.9); border-bottom: 1px dashed rgba(230,238,245,.4); }
.sub-hero .breadcrumbs a:hover { border-color: #fff; color: #fff; }
.sub-hero .breadcrumbs span[aria-current="page"] { color: #fff; font-weight: 600; }

.sub-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 10px 0 18px;
  max-width: 22ch;
}
.sub-hero--compact .sub-hero__title { max-width: 30ch; margin-bottom: 0; }
.sub-hero__lead {
  font-size: 1.125rem; line-height: 1.55;
  color: rgba(230,238,245,.9);
  max-width: 64ch;
}
.sub-hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
  margin-top: var(--s-6);
  max-width: 600px;
}
.sub-hero__stats > div { display: flex; flex-direction: column; gap: 4px; }
.sub-hero__stats b {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--sirca-blue-400);
  letter-spacing: -0.01em;
}
.sub-hero__stats span { font-size: 0.8125rem; color: rgba(230,238,245,.8); }

/* ---- CATEGORY TILES на странице каталога ---- */
.cat-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.cat-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-lg);
  padding: var(--s-5);
  text-align: left;
  font-family: inherit;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  transition: transform .25s var(--ease-smooth), box-shadow .25s, border-color .25s;
  position: relative;
}
.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sirca-blue-400);
}
.cat-tile__label {
  font-size: 1.0625rem; font-weight: 700; color: var(--sirca-navy);
  line-height: 1.25;
}
.cat-tile__count {
  font-size: 0.75rem; color: var(--sirca-blue);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.cat-tile__arrow {
  margin-left: auto; color: var(--sirca-blue);
  font-size: 1.25rem; line-height: 1;
  transition: transform .25s var(--ease-smooth);
  align-self: flex-end;
}
.cat-tile:hover .cat-tile__arrow { transform: translateX(4px); }

/* ---- CATALOG TOOLBAR + FILTERS ---- */
.catalog-toolbar {
  display: flex; flex-direction: column; gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.catalog-toolbar__title { margin-bottom: 4px; }
.catalog-toolbar__status {
  font-size: 0.8125rem; color: var(--ink-500); font-weight: 500;
  padding-top: 4px;
}

.filters {
  display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-6);
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--s-5);
}
.filter-group { border: 0; padding: 0; margin: 0; }
.filter-group legend {
  font-size: 0.6875rem; font-weight: 600; color: var(--sirca-blue);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 10px;
  padding: 0;
}
.filter-group > * + * { margin-left: 6px; }
.filter-group { display: inline-block; }

.chip {
  display: inline-flex; align-items: center;
  position: relative;
  cursor: pointer;
  margin: 0 6px 6px 0;
}
.chip input {
  position: absolute; opacity: 0; pointer-events: none;
}
.chip span {
  display: inline-block;
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  transition: all .2s var(--ease-smooth);
  line-height: 1.2;
}
.chip:hover span {
  border-color: var(--sirca-blue-400);
  color: var(--sirca-navy);
}
.chip input:checked + span {
  background: var(--sirca-navy);
  border-color: var(--sirca-navy);
  color: #fff;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--sirca-blue);
  outline-offset: 2px;
}

.filters__reset {
  margin-left: auto;
  align-self: flex-end;
  font-size: 0.8125rem;
  color: var(--ink-500);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px dashed transparent;
  transition: all .2s;
}
.filters__reset:hover {
  color: var(--sirca-red);
  border-color: var(--ink-300);
}

.product-grid__empty {
  text-align: center;
  padding: var(--s-8) var(--s-5);
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
}
.product-grid__empty p { color: var(--ink-700); margin-bottom: 16px; }

/* Карточки каталога: делаем всю карточку ссылкой */
.product-grid--catalog .product { cursor: pointer; }
.product__link {
  display: flex; flex-direction: column; flex: 1;
  color: inherit;
}
.product__link:hover { color: inherit; }
.product__link:focus-visible {
  outline: 3px solid var(--sirca-blue);
  outline-offset: 2px;
  border-radius: inherit;
}
.product-grid--catalog .product__actions .btn {
  pointer-events: none; /* чтобы не перехватывало клик у <a> обёртки */
}

/* ---- CTA STRIP на темной секции ---- */
.cta-strip {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s-7);
  align-items: center;
}
.cta-strip__actions {
  display: flex; flex-direction: column; gap: var(--s-3);
  align-items: stretch;
}

/* ================================================
   PRODUCT DETAIL (страница карточки)
   ================================================ */
.pd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s-8);
  align-items: start;
}

.pd__media {
  position: sticky; top: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--sirca-light) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-xl);
  padding: var(--s-6);
  position: relative;
}
.pd__media .product__tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--sirca-red); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}
.pd__media .product__tag--blue { background: var(--sirca-blue); }

.pd__img {
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  padding: var(--s-4);
}
.pd__img img {
  max-height: 100%; max-width: 100%;
  object-fit: contain;
}

.pd__colors-block {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--line);
}
.pd__colors-label {
  font-size: 0.75rem; font-weight: 600; color: var(--sirca-blue);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.pd__colors {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.pd__colors .product__color { width: 26px; height: 26px; }
.pd__colors-note { font-size: 0.8125rem; color: var(--ink-500); }

/* Info column */
.pd__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: var(--s-4);
}
.pd__chip {
  font-size: 0.75rem; color: var(--sirca-navy);
  background: var(--sirca-light);
  padding: 5px 12px; border-radius: 100px;
  font-weight: 600;
}

.pd__lead {
  font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink-700);
  margin-bottom: var(--s-6);
}

.pd__key {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  padding: var(--s-4) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.pd__key-item { display: flex; flex-direction: column; gap: 4px; }
.pd__key-label {
  font-size: 0.6875rem; font-weight: 600; color: var(--sirca-blue);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.pd__key-value { font-size: 0.9375rem; color: var(--ink); line-height: 1.3; }
.pd__key-value b { color: var(--sirca-navy); font-weight: 700; }

.pd__price-block {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 10px;
  padding: var(--s-4) 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: var(--s-5);
}
.pd__price-from { font-size: 0.8125rem; color: var(--ink-500); }
.pd__price-val {
  font-size: 1.75rem; font-weight: 800;
  color: var(--sirca-navy); letter-spacing: -0.01em;
}
.pd__price-opt {
  font-size: 0.8125rem; color: var(--sirca-red); font-weight: 700;
  padding: 3px 10px; background: rgba(215,45,45,.08);
  border-radius: 100px;
}
.pd__stock {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; font-weight: 600; color: #2F855A;
}
.pd__stock svg { width: 16px; height: 16px; }

.pd__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.pd__actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  /* Компактнее чем дефолтный btn--large, чтобы три длинных лейбла
     помещались в ряд на узком инфо-столбце (~600px) */
  padding: 14px 14px;
  font-size: 0.9375rem;
  line-height: 1.25;
  /* Если лейбл очень длинный — разрешаем перенос на 2 строки,
     min-height держит кнопки визуально одинаковыми */
  white-space: normal;
  min-height: 52px;
}

.pd__trust {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.875rem; color: var(--ink-700);
}
.pd__trust li {
  display: flex; align-items: center; gap: 8px;
}
.pd__trust svg {
  width: 16px; height: 16px; color: #2F855A; flex: 0 0 auto;
}

/* ---- TABS на странице карточки ---- */
.pd-tabs {
  display: flex; gap: 0;
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.pd-tab {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.9375rem; font-weight: 600;
  padding: 14px 20px;
  color: var(--ink-700);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all .2s var(--ease-smooth);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-tab:hover { color: var(--sirca-navy); }
.pd-tab.is-active {
  color: var(--sirca-navy);
  border-bottom-color: var(--sirca-blue);
}
.pd-tab:focus-visible {
  outline: 2px solid var(--sirca-blue); outline-offset: 2px;
  border-radius: 4px;
}

.pd-panel { padding: var(--s-4) 0; }

.pd-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 700px;
}
.pd-table th,
.pd-table td {
  padding: 14px 20px;
  font-size: 0.9375rem;
  text-align: left;
  vertical-align: top;
}
.pd-table tbody tr { border-top: 1px solid var(--line); }
.pd-table tbody tr:first-child { border-top: 0; }
.pd-table th {
  width: 40%;
  color: var(--ink-500);
  font-weight: 500;
  background: var(--paper);
}
.pd-table td {
  color: var(--ink);
  font-weight: 600;
}

.pd-use { max-width: 68ch; }
.pd-use h3 {
  font-size: 1.0625rem; color: var(--sirca-navy);
  margin: var(--s-5) 0 8px;
}
.pd-use h3:first-child { margin-top: 0; }
.pd-use p { color: var(--ink-700); margin-bottom: 10px; line-height: 1.6; }
.pd-use a { color: var(--sirca-blue); border-bottom: 1px dashed var(--sirca-blue-400); }
.pd-use a:hover { border-bottom-style: solid; color: var(--sirca-navy); }

.pd-docs {
  display: flex; flex-direction: column; gap: var(--s-3);
  max-width: 760px;
}
.pd-docs li {
  display: flex; align-items: center; gap: var(--s-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-5);
}
.pd-docs li > svg {
  width: 32px; height: 32px; color: var(--sirca-blue); flex: 0 0 auto;
}
.pd-docs li > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pd-docs li b { color: var(--sirca-navy); font-size: 0.9375rem; }
.pd-docs li span { font-size: 0.8125rem; color: var(--ink-500); }
.btn--sm {
  padding: 8px 14px !important;
  font-size: 0.8125rem !important;
}

/* ---- RELATED ---- */
.product-grid--related {
  grid-template-columns: repeat(3, 1fr);
}
.product-grid--related .product__body { padding: 14px 16px 16px; }
.related-card .product__bottom { padding-top: 10px; }
.pd-related-cta {
  margin-top: var(--s-6);
  text-align: center;
}

/* ---- VISUALLY HIDDEN (для caption таблицы — скрываем визуально, оставляем для скринридера) ---- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; gap: var(--s-6); }
  .pd__media { position: static; }
  .cta-strip { grid-template-columns: 1fr; gap: var(--s-5); }
  .cta-strip__actions { flex-direction: row; flex-wrap: wrap; }
  .product-grid--related { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .cat-tiles { grid-template-columns: 1fr 1fr; }
  .filters { flex-direction: column; gap: var(--s-4); padding: var(--s-4); }
  .filters__reset { margin-left: 0; align-self: flex-start; }
  .pd__key { grid-template-columns: 1fr 1fr; }

  /* Действия: на мобиле — каждая кнопка на всю ширину, одна под другой */
  .pd__actions { grid-template-columns: 1fr; }

  .pd__stock { margin-left: 0; }

  /* Табы на мобиле: горизонтальный скролл вместо переноса — стандартная мобильная практика,
     чтобы длинные лейблы оставались читаемыми без обрезки */
  .pd-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;  /* Firefox */
  }
  .pd-tabs::-webkit-scrollbar { display: none; }  /* WebKit */
  .pd-tab {
    flex: 0 0 auto;
    padding: 12px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }

  .pd-table th { width: 45%; padding: 10px 12px; }
  .pd-table td { padding: 10px 12px; }
  .pd-docs li { flex-wrap: wrap; }
  .pd-docs li .btn { width: 100%; }
  .sub-hero__stats { grid-template-columns: 1fr; gap: var(--s-3); }
  .sub-hero__stats > div { flex-direction: row; align-items: baseline; gap: 10px; }
  .product-grid--related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .cat-tiles { grid-template-columns: 1fr; }
  .pd__key { grid-template-columns: 1fr; }
  .product-grid--related { grid-template-columns: 1fr; }
  .pd__media { padding: var(--s-4); }
  .pd__price-val { font-size: 1.5rem; }
}

/* =========================================================
   BLOG — общие стили карточек (секция главной + листинг + related)
   ========================================================= */
.articles-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-6); margin-bottom: var(--s-7);
  max-width: 100%;
}
.articles-head__left { flex: 1; max-width: 760px; }
.articles-head .btn { flex-shrink: 0; }

.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6) var(--s-5);
}

/* Горизонтальный скролл на мобилках — как в каталоге */
.articles-home-scroll { position: relative; }
@media (max-width: 900px) {
  .articles-home-scroll {
    overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--s-5)); padding: var(--s-2) var(--s-5) var(--s-5);
    scroll-snap-type: x mandatory;
  }
  .articles-home-scroll::-webkit-scrollbar { display: none; }
  .articles-home-scroll .articles-grid {
    grid-template-columns: repeat(3, minmax(280px, 88%));
    gap: var(--s-4);
  }
  .articles-home-scroll .article-card { scroll-snap-align: start; }
}

.article-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  text-decoration: none;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14,62,97,.12);
  border-color: rgba(14,62,97,.18);
}

.article-card__img-link { display: block; }
.article-card__img {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--sirca-light);
}
.article-card__img > img,
.article-card__img > svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.article-card:hover .article-card__img > img,
.article-card:hover .article-card__img > svg { transform: scale(1.04); }

.article-card__cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--sirca-navy); color: #fff;
  padding: 6px 12px; border-radius: 100px;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}

.article-card__body {
  padding: var(--s-5);
  display: flex; flex-direction: column; flex: 1;
}

.article-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center;
  color: var(--ink-500); font-size: .8125rem; margin-bottom: var(--s-3);
}
.article-card__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.article-card__meta svg { width: 14px; height: 14px; stroke: currentColor; }

.article-card__title {
  font-size: 1.125rem; line-height: 1.35; font-weight: 700;
  color: var(--sirca-navy); margin: 0 0 var(--s-3);
}
.article-card__title a { color: inherit; text-decoration: none; }
.article-card:hover .article-card__title a { color: var(--sirca-blue); }

.article-card__excerpt {
  font-size: .9375rem; line-height: 1.55;
  color: var(--ink-700); margin: 0 0 var(--s-4);
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sirca-red); font-weight: 600; text-decoration: none;
  font-size: .9375rem;
  margin-top: auto;
}
.article-card__more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.article-card__more:hover svg, .article-card:hover .article-card__more svg { transform: translateX(4px); }

@media (max-width: 700px) {
  .articles-head { flex-direction: column; align-items: stretch; }
  .articles-head .btn { align-self: flex-start; }
}

/* =========================================================
   BLOG LIST PAGE
   ========================================================= */
.blog-hero {
  background: var(--brand-gradient); color: #fff;
  padding: var(--s-10) 0 var(--s-9);
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: "";
  position: absolute; right: -120px; top: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(91,179,227,.35) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.blog-hero .wrap { position: relative; z-index: 1; }
.blog-hero .breadcrumbs a { color: rgba(255,255,255,.7); }
.blog-hero .breadcrumbs a:hover { color: #fff; }
.blog-hero .breadcrumbs span { color: rgba(255,255,255,.5); }
.blog-hero h1 {
  color: #fff; font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1; margin: var(--s-5) 0 var(--s-5);
  max-width: 22ch;
  font-weight: 700;
}
.blog-hero__lead {
  max-width: 720px; color: rgba(255,255,255,.82);
  font-size: 1.125rem; line-height: 1.6;
}
.blog-hero__stats {
  display: flex; flex-wrap: wrap; gap: var(--s-6);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.12);
}
.blog-hero__stat b {
  display: block; font-size: 1.75rem; color: #fff; font-weight: 700;
  line-height: 1;
}
.blog-hero__stat span {
  display: block; font-size: .875rem; color: rgba(255,255,255,.65);
  margin-top: 4px;
}

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6) var(--s-5);
}
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: var(--s-9);
  flex-wrap: wrap;
}
.pagination__link {
  min-width: 44px; height: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  color: var(--ink-700); text-decoration: none; font-weight: 500;
  background: var(--surface); transition: all .2s ease;
}
.pagination__link:hover { border-color: var(--sirca-navy); color: var(--sirca-navy); }
.pagination__link.is-active {
  background: var(--sirca-navy); color: #fff; border-color: var(--sirca-navy); cursor: default;
}
.pagination__link[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.pagination__link svg { width: 14px; height: 14px; }

/* =========================================================
   SINGLE ARTICLE PAGE — hero с обложкой-фоном
   ========================================================= */
.article-hero {
  position: relative;
  color: #fff;
  padding: var(--s-9) 0 var(--s-9);
  background-color: var(--sirca-navy-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.article-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(7,35,55,.72) 0%,
      rgba(14,62,97,.82) 55%,
      rgba(7,35,55,.92) 100%
    );
}
.article-hero::after {
  /* дополнительное виньетирование снизу, чтобы текст читался */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(7,35,55,.5) 100%);
  pointer-events: none;
}
.article-hero .wrap { position: relative; z-index: 1; }
.article-hero .breadcrumbs a { color: rgba(255,255,255,.78); }
.article-hero .breadcrumbs a:hover { color: #fff; }
.article-hero .breadcrumbs span { color: rgba(255,255,255,.55); }
.article-hero__eyebrow {
  display: inline-block;
  background: rgba(91,179,227,.22);
  color: #BEDFF0;
  padding: 6px 14px; border-radius: 100px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  margin-top: var(--s-5);
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.article-hero h1 {
  color: #fff; font-size: clamp(1.875rem, 4.2vw, 3rem);
  line-height: 1.18; margin: var(--s-4) 0 var(--s-5);
  max-width: 30ch; font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.article-hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  color: rgba(255,255,255,.88); font-size: .9375rem;
}
.article-hero__meta > * { display: inline-flex; align-items: center; gap: 8px; }
.article-hero__meta svg { width: 16px; height: 16px; opacity: .85; }

.article-body {
  margin: 0;
  font-size: 1.0625rem; line-height: 1.75; color: var(--ink-900);
}
.article-body > p:first-child {
  font-size: 1.1875rem; line-height: 1.65; color: var(--ink-700);
  font-weight: 400;
}
.article-body p { margin: 0 0 var(--s-5); }
.article-body h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  color: var(--sirca-navy); margin: var(--s-8) 0 var(--s-4);
  line-height: 1.25; font-weight: 700;
}
.article-body h3 {
  font-size: 1.1875rem; color: var(--sirca-navy);
  margin: var(--s-6) 0 var(--s-3);
  font-weight: 700;
}
.article-body ul, .article-body ol {
  margin: 0 0 var(--s-5); padding-left: 1.5rem;
}
.article-body li { margin: 0 0 var(--s-3); }
.article-body strong { color: var(--sirca-navy); font-weight: 600; }
.article-body a {
  color: var(--sirca-blue); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.article-body a:hover { color: var(--sirca-navy); }
.article-body blockquote {
  border-left: 3px solid var(--sirca-red);
  padding: var(--s-4) var(--s-5);
  margin: var(--s-6) 0;
  background: var(--sirca-light);
  font-style: italic; color: var(--sirca-navy);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.0625rem;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body blockquote cite {
  display: block; margin-top: var(--s-3);
  font-size: .875rem; color: var(--ink-500); font-style: normal;
}
.article-body figure { margin: var(--s-7) 0; }
.article-body figure > img, .article-body figure > svg {
  width: 100%; border-radius: var(--radius-md); display: block;
}
.article-body figcaption {
  margin-top: var(--s-3); font-size: .875rem;
  color: var(--ink-500); text-align: center;
}
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: var(--s-6) 0; font-size: .9375rem;
}
.article-body table th, .article-body table td {
  text-align: left; padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
}
.article-body table th {
  background: var(--sirca-light); color: var(--sirca-navy); font-weight: 600;
}

.article-callout {
  display: flex; gap: var(--s-4);
  padding: var(--s-5);
  background: linear-gradient(135deg, #FFF8E1 0%, #FFF3CD 100%);
  border-left: 4px solid #F0B429;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--s-6) 0;
}
.article-callout svg { flex-shrink: 0; width: 24px; height: 24px; color: #C28800; margin-top: 2px; }
.article-callout b { display: block; margin-bottom: 4px; color: var(--sirca-navy); }
.article-callout p { margin: 0; color: var(--ink-900); }

.article-cta {
  background: var(--brand-gradient); color: #fff;
  padding: var(--s-7) var(--s-6);
  border-radius: var(--radius-lg);
  margin: var(--s-8) 0 var(--s-6);
  text-align: center;
}
.article-cta h3 { color: #fff; font-size: 1.375rem; margin: 0 0 var(--s-3); }
.article-cta p { color: rgba(255,255,255,.88); margin: 0 0 var(--s-5); font-size: 1rem; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s-7) 0 var(--s-5); }
.article-tag {
  background: var(--sirca-light); color: var(--sirca-navy);
  padding: 6px 14px; border-radius: 100px;
  font-size: .8125rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.article-tag:hover { background: var(--sirca-navy); color: #fff; }

.article-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: var(--s-6) 0;
}
.article-share__label { color: var(--ink-500); font-size: .875rem; font-weight: 500; }
.article-share__btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sirca-light); border-radius: 100px;
  color: var(--sirca-navy); text-decoration: none;
  transition: all .2s;
}
.article-share__btn:hover { background: var(--sirca-navy); color: #fff; transform: translateY(-2px); }
.article-share__btn svg { width: 18px; height: 18px; }

.article-author {
  display: flex; gap: var(--s-5); padding: var(--s-6);
  background: var(--sirca-light); border-radius: var(--radius-md);
  margin-top: var(--s-7);
}
.article-author__avatar {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 100px; background: var(--sirca-navy);
  color: #fff; font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.article-author__info { flex: 1; }
.article-author__info b {
  display: block; color: var(--sirca-navy);
  margin-bottom: 4px; font-size: 1.0625rem;
}
.article-author__info > span {
  display: block; color: var(--ink-500);
  font-size: .9375rem; margin-bottom: var(--s-3);
}
.article-author__info p {
  margin: 0; font-size: .9375rem; line-height: 1.55;
  color: var(--ink-700);
}

@media (max-width: 640px) {
  .article-author { flex-direction: column; padding: var(--s-5); }
  .article-hero { padding: var(--s-7) 0 var(--s-7); }
  .article-hero__meta { gap: var(--s-4); }
}

/* Related articles (внизу статьи) */
.related-articles { padding-top: var(--s-8); }

/* =========================================================
   FOOTER CREDIT (goforge.ru)
   ========================================================= */
.footer__credit {
  color: rgba(255,255,255,.38);
  font-size: .8125rem;
  margin-top: var(--s-3);
  text-align: right;
}
.footer__credit a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.3);
  transition: color .2s, border-color .2s;
}
.footer__credit a:hover {
  color: rgba(255,255,255,.9);
  border-bottom-color: rgba(255,255,255,.6);
}
@media (max-width: 760px) {
  .footer__credit { text-align: left; }
}

/* =========================================================
   VISUAL UPGRADES v2 — МИНИМАЛЬНЫЙ overlay
   Только 2 правки: светлый hero + рваный верх trustbar
   (точно такой же как в concept-e). Остальное — без изменений.
   ========================================================= */

/* ---- 1. HERO — СВЕТЛЫЙ ---- */
.hero {
  background: linear-gradient(180deg, #F7F8FA 0%, #EEF2F6 100%) !important;
  color: var(--sirca-navy) !important;
}
.hero::before {
  background-image:
    radial-gradient(circle at 18% 28%, rgba(91,179,227,.08) 0%, transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(27,143,211,.06) 0%, transparent 45%) !important;
}
.hero::after {
  background: radial-gradient(ellipse 70% 80% at 10% 50%, rgba(14,62,97,.04) 0%, transparent 80%) !important;
}

/* Текст hero на светлом фоне */
.hero .eyebrow { color: var(--sirca-red) !important; }
.hero .eyebrow::before { background: var(--sirca-red) !important; }
.hero__title-main { color: var(--sirca-navy) !important; }
.hero__title-main em {
  color: var(--sirca-red) !important;
  font-style: normal !important;
}
.hero__title-sub { color: #4A6B82 !important; }
.hero__sub { color: #4A6B82 !important; }

/* Bullets — белые капсулы с тёмным текстом */
.hero__bullet {
  background: #fff !important;
  border: 1px solid rgba(14,62,97,.12) !important;
  color: var(--sirca-navy) !important;
  box-shadow: 0 2px 8px rgba(14,62,97,.04);
}
.hero__bullet::before { background: var(--sirca-red) !important; }

/* Кнопка "Консультация технолога" на светлом: border+text navy */
.hero .btn--ghost-light,
.hero .btn--outline {
  background: transparent !important;
  color: var(--sirca-navy) !important;
  border: 2px solid var(--sirca-navy) !important;
}
.hero .btn--ghost-light:hover,
.hero .btn--outline:hover {
  background: var(--sirca-navy) !important;
  color: #fff !important;
}

/* Тень под банками и бейджами — адаптируем для светлого фона */
.hero__visual img {
  filter: drop-shadow(0 40px 60px rgba(14,62,97,.22)) !important;
}
.hero__badge--italy {
  box-shadow: 0 14px 32px rgba(14,62,97,.18), 0 2px 0 rgba(255,255,255,.8) inset !important;
  border: 1px solid rgba(14,62,97,.08) !important;
}
.hero__badge--dealer {
  box-shadow: 0 20px 44px rgba(7,35,55,.35) !important;
}

/* ---- 2. TRUSTBAR — рваный край СВЕРХУ (точно как в concept-e) ---- */
.trustbar {
  background: var(--sirca-navy) !important;
  color: #fff !important;
  border: none !important;
  padding: 48px 0 28px !important;
  position: relative;
}
.trustbar::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 0; right: 0;
  height: 30px;
  background: var(--sirca-navy);
  clip-path: polygon(
    0 100%, 2% 20%, 5% 70%, 8% 30%, 12% 80%, 15% 40%, 18% 90%,
    22% 30%, 26% 75%, 30% 20%, 34% 85%, 38% 45%, 42% 70%, 46% 25%,
    50% 80%, 54% 40%, 58% 85%, 62% 30%, 66% 75%, 70% 20%, 74% 80%,
    78% 35%, 82% 90%, 86% 45%, 90% 85%, 94% 25%, 97% 75%, 100% 30%,
    100% 100%
  );
}
.trustbar__item { color: rgba(255,255,255,.9) !important; }
.trustbar__item b { color: #fff !important; }
.trustbar__icon {
  background: var(--sirca-red) !important;
  color: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(215,45,45,.3);
}

/* === end === */

/* ---- 3. TINTING (КОЛЕРОВКА) — рваные края сверху и снизу как в concept-e ---- */
.tinting {
  overflow: visible !important;
  background: var(--sirca-navy-900) !important;
  padding-top: calc(var(--s-10) + 30px) !important;
  padding-bottom: calc(var(--s-10) + 30px) !important;
}

/* Верхние зубцы — торчат В СВЕТЛУЮ секцию выше */
.tinting::before {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  top: -28px !important;
  left: 0 !important; right: 0 !important;
  bottom: auto !important;
  width: auto !important;
  height: 30px !important;
  background: var(--sirca-navy-900) !important;
  background-image: none !important;
  z-index: 2 !important;
  clip-path: polygon(
    0 100%, 2% 20%, 5% 70%, 8% 30%, 12% 80%, 15% 40%, 18% 90%,
    22% 30%, 26% 75%, 30% 20%, 34% 85%, 38% 45%, 42% 70%, 46% 25%,
    50% 80%, 54% 40%, 58% 85%, 62% 30%, 66% 75%, 70% 20%, 74% 80%,
    78% 35%, 82% 90%, 86% 45%, 90% 85%, 94% 25%, 97% 75%, 100% 30%,
    100% 100%
  );
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Нижние зубцы — торчат В СВЕТЛУЮ секцию ниже */
.tinting::after {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  bottom: -28px !important;
  left: 0 !important; right: 0 !important;
  top: auto !important;
  width: auto !important;
  height: 30px !important;
  background: var(--sirca-navy-900) !important;
  background-image: none !important;
  z-index: 2 !important;
  clip-path: polygon(
    0 0, 3% 80%, 7% 30%, 11% 70%, 15% 20%, 19% 85%, 23% 40%,
    27% 75%, 31% 25%, 35% 80%, 39% 35%, 43% 90%, 47% 45%, 51% 70%,
    55% 30%, 59% 85%, 63% 25%, 67% 80%, 71% 35%, 75% 75%, 79% 30%,
    83% 80%, 87% 45%, 91% 85%, 95% 30%, 98% 75%, 100% 40%,
    100% 0
  );
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* ---- 4. B2B (ПАРТНЁРСКАЯ ПРОГРАММА) — рваные края сверху и снизу ---- */
.b2b {
  overflow: visible !important;
  background: linear-gradient(180deg, var(--sirca-navy-900) 0%, var(--sirca-navy) 100%) !important;
  padding-top: calc(var(--s-10) + 30px) !important;
  padding-bottom: calc(var(--s-10) + 30px) !important;
}

.b2b::before {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  top: -28px !important;
  left: 0 !important; right: 0 !important;
  bottom: auto !important;
  width: auto !important;
  height: 30px !important;
  background: var(--sirca-navy-900) !important;
  z-index: 2 !important;
  clip-path: polygon(
    0 100%, 2% 20%, 5% 70%, 8% 30%, 12% 80%, 15% 40%, 18% 90%,
    22% 30%, 26% 75%, 30% 20%, 34% 85%, 38% 45%, 42% 70%, 46% 25%,
    50% 80%, 54% 40%, 58% 85%, 62% 30%, 66% 75%, 70% 20%, 74% 80%,
    78% 35%, 82% 90%, 86% 45%, 90% 85%, 94% 25%, 97% 75%, 100% 30%,
    100% 100%
  );
  transform: none !important;
}

.b2b::after {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  bottom: -28px !important;
  left: 0 !important; right: 0 !important;
  top: auto !important;
  width: auto !important;
  height: 30px !important;
  background: var(--sirca-navy) !important;
  z-index: 2 !important;
  clip-path: polygon(
    0 0, 3% 80%, 7% 30%, 11% 70%, 15% 20%, 19% 85%, 23% 40%,
    27% 75%, 31% 25%, 35% 80%, 39% 35%, 43% 90%, 47% 45%, 51% 70%,
    55% 30%, 59% 85%, 63% 25%, 67% 80%, 71% 35%, 75% 75%, 79% 30%,
    83% 80%, 87% 45%, 91% 85%, 95% 30%, 98% 75%, 100% 40%,
    100% 0
  );
  transform: none !important;
}

/* === end of upgrades v2 === */
