/* ============================================================
   ООО «Авангард» — дизайн-система
   Палитра: Graphite Black / Titanium Silver / Safety Orange / Muted Blue
   ============================================================ */

:root {
  /* Colors */
  --black: #1A1A1B;
  --silver: #E2E8F0;
  --silver-2: #F1F5F9;
  --orange: #FF6B00;
  --orange-hover: #E55F00;
  --blue: #334155;
  --blue-light: #475569;
  --text: #1A1A1B;
  --text-muted: #475569;
  --border: #CBD5E1;
  --white: #FFFFFF;
  --green: #16A34A;
  --red: #DC2626;

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Spacing scale */
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 48px;
  --gap-xl: 80px;
  --gap-xxl: 120px;

  --container: 1280px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(26, 26, 27, 0.06);
  --shadow-lg: 0 12px 32px rgba(26, 26, 27, 0.12);
  --transition: 0.2s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Safety: never allow page-level horizontal scroll */
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* Skip to content (a11y) */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--black); color: var(--white);
  padding: 8px 16px; z-index: 1000;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Focus styles (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -0.02em; color: var(--black); font-weight: 700; }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4 { font-size: 18px; font-weight: 600; }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--text-muted); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: var(--gap-sm);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap-md); }
section { padding: var(--gap-xxl) 0; }
@media (max-width: 768px) { section { padding: var(--gap-xl) 0; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gap-md);
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--black);
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--black);
  border-radius: 4px;
  display: grid; place-items: center;
  color: var(--orange);
  font-weight: 800; font-size: 22px;
  font-family: var(--font-display);
}
.logo-text small { display: block; font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.18em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: var(--gap-lg); }
.nav-links { display: flex; align-items: center; gap: var(--gap-md); list-style: none; }
.nav-links a {
  font-weight: 500; font-size: 15px; color: var(--blue);
  padding: 8px 0; position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }

.dropdown { position: relative; }
.dropdown-toggle::after {
  content: '▾'; font-size: 10px; margin-left: 6px; opacity: 0.6;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px; min-width: 280px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all var(--transition);
  margin-top: 8px;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; margin-top: 0; }
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 6px;
  font-weight: 500; color: var(--blue);
}
.dropdown-menu a:hover { background: var(--silver-2); color: var(--orange); }
.dropdown-menu a::after { display: none; }

.header-cta { display: flex; align-items: center; gap: var(--gap-md); }
.phone {
  font-weight: 600; color: var(--black); font-size: 15px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.phone:hover { color: var(--orange); }
.phone-icon { width: 14px; height: 14px; color: var(--orange); }

.burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 1px; transition: transform var(--transition); }

/* ============================================================
   ICONS (SVG, professional B2B replacement for emoji)
   ============================================================ */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 22px; height: 22px; }
.icon-lg { width: 28px; height: 28px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  transition: all var(--transition); white-space: nowrap;
  cursor: pointer; border: 2px solid transparent;
  font-family: var(--font-display);
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover {
  background: var(--orange-hover); transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.32);
}
.btn-primary:disabled { background: var(--border); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-icon { width: 16px; height: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  /* Ровно один экран; учитываем sticky-шапку 78px */
  height: calc(100vh - 78px);
  min-height: 560px;
  max-height: 900px;
  display: flex; align-items: center;
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }

/* Native HTML5 video — заполняет весь hero, без cover-хака */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  pointer-events: none;
  background: var(--black);  /* пока poster не загрузился */
}

/* Усиленный overlay — текст должен читаться поверх видео */
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  background:
    /* верхний виньетинг для шапки */
    linear-gradient(180deg, rgba(26, 26, 27, 0.45) 0%, transparent 30%),
    /* основной тёмный градиент */
    linear-gradient(120deg, rgba(26, 26, 27, 0.82) 0%, rgba(26, 26, 27, 0.55) 45%, rgba(51, 65, 85, 0.65) 100%);
}

.hero-content {
  position: relative; z-index: 4;   /* над всеми слоями bg */
  max-width: 760px;
  padding: var(--gap-md) 0;
}
.hero h1 {
  color: var(--white); margin-bottom: var(--gap-md);
  /* лёгкая тень — для читаемости поверх любого фрейма видео */
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.hero .lead {
  color: var(--silver); max-width: 560px; margin-bottom: var(--gap-lg);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero-actions { display: flex; gap: var(--gap-sm); flex-wrap: wrap; }

/* Мобильные — видео работает (native <video> + playsinline + autoplay+muted) */
@media (max-width: 768px) {
  .hero { height: calc(100vh - 78px); min-height: 480px; }
  /* Компактный текст в hero, чтобы всё помещалось на 1 экран */
  .hero h1 { font-size: 30px; line-height: 1.15; margin-bottom: var(--gap-sm); }
  .hero .lead { font-size: 15px; line-height: 1.5; margin-bottom: var(--gap-md); }
  .hero .eyebrow { font-size: 11px; margin-bottom: 10px; }
  .hero-content { padding: var(--gap-sm) 0; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { padding: 14px 20px; font-size: 15px; width: 100%; }
}

/* Очень узкие экраны — ещё компактнее */
@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .hero .lead { font-size: 14px; }
  .hero-actions .btn { padding: 13px 18px; font-size: 14px; }
}

/* ============================================================
   ABOUT BLOCK
   ============================================================ */
.about { background: var(--silver-2); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap-xl); align-items: center; }
.about p { color: var(--text-muted); font-size: 17px; line-height: 1.7; margin-bottom: var(--gap-sm); }
.metrics { display: grid; gap: var(--gap-md); }
.metric {
  background: var(--white); padding: var(--gap-md);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.metric strong {
  font-size: 36px; font-weight: 800; color: var(--black);
  display: block; line-height: 1; font-family: var(--font-display);
}
.metric span { color: var(--text-muted); font-size: 14px; margin-top: 6px; display: block; }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--gap-xl); }
.section-head h2 { margin-bottom: var(--gap-sm); }
.section-head .lead { color: var(--text-muted); }
.section-head.left { text-align: left; margin-left: 0; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.product-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5; display: block; color: var(--white);
  cursor: pointer; transition: all var(--transition);
  background: var(--blue);
}
.product-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26, 26, 27, 0.92) 0%, rgba(26, 26, 27, 0.3) 50%, rgba(26, 26, 27, 0.1) 100%);
}
.product-card:hover img { transform: scale(1.06); }
.product-card .product-content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: var(--gap-md); }
.product-card .tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: var(--orange);
  border: 1px solid var(--orange);
  padding: 5px 11px; border-radius: 4px; margin-bottom: var(--gap-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.product-card h3 { color: var(--white); font-size: 22px; margin-bottom: 6px; }
.product-card p { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin-bottom: var(--gap-sm); }
.product-card .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-weight: 600; font-size: 14px;
  transition: gap var(--transition);
}
.product-card:hover .arrow { gap: 14px; }

/* ============================================================
   ADVANTAGES (with SVG icons)
   ============================================================ */
.advantages { background: var(--black); color: var(--white); }
.advantages h2, .advantages .section-head .lead { color: var(--white); }
.advantages .lead { color: var(--silver); }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.adv-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--gap-md);
  transition: all var(--transition);
}
.adv-card:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.04);
  transform: translateY(-2px);
}
.adv-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--orange); color: var(--white);
  display: grid; place-items: center; font-size: 24px;
  margin-bottom: var(--gap-sm);
}
.adv-icon svg { width: 28px; height: 28px; }
.adv-card h3 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.adv-card p { color: var(--silver); font-size: 14px; line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--blue); color: var(--white);
  padding: var(--gap-xxl) 0;
}
.cta-section::before {
  content: ''; position: absolute; right: -200px; top: -100px;
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, transparent 70%);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: center; position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: var(--gap-sm); }
.cta-section p { color: var(--silver); font-size: 17px; max-width: 480px; }

/* Form */
.form-card {
  background: var(--white); color: var(--text);
  padding: var(--gap-lg); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: var(--gap-sm); }
.form-card p { color: var(--text-muted); margin-bottom: var(--gap-md); font-size: 14px; }
.field { margin-bottom: var(--gap-sm); }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--blue-light); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text);
  transition: border-color var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-sm); }
.form-consent { font-size: 12px; color: var(--text-muted); margin-top: var(--gap-sm); }
.form-consent a { color: var(--orange); text-decoration: underline; }

/* Honeypot — hidden field for bot detection */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Consent checkbox */
.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: var(--gap-sm) 0; font-size: 13px;
  color: var(--text-muted);
}
.consent-row input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  flex-shrink: 0; accent-color: var(--orange);
  cursor: pointer;
}
.consent-row label { cursor: pointer; line-height: 1.5; }
.consent-row a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); color: var(--silver); padding: var(--gap-xl) 0 var(--gap-md); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--gap-lg); padding-bottom: var(--gap-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--gap-md); }
.site-footer .logo { color: var(--white); margin-bottom: var(--gap-md); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: var(--orange); }
.site-footer .footer-about { max-width: 320px; font-size: 14px; line-height: 1.6; color: var(--silver); margin-bottom: var(--gap-md); }
.partners-row { display: flex; flex-wrap: wrap; gap: 8px; }
.partners-row span {
  font-size: 11px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px; color: var(--silver);
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--gap-md); font-size: 13px; color: var(--blue-light); flex-wrap: wrap; gap: var(--gap-sm);
}
.footer-bottom a { color: var(--silver); }
.footer-bottom a:hover { color: var(--orange); }

/* ============================================================
   FLOATING CALLBACK
   ============================================================ */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: var(--orange); color: var(--white);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
  transition: transform var(--transition);
}
.float-cta:hover { transform: scale(1.08); }
.float-cta svg { width: 22px; height: 22px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: var(--black); color: var(--white);
  padding: var(--gap-sm) var(--gap-md);
  display: flex; align-items: center; gap: var(--gap-md);
  border-top: 3px solid var(--orange);
  transform: translateY(100%); transition: transform 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { flex: 1; font-size: 13px; line-height: 1.5; color: var(--silver); }
.cookie-text a { color: var(--orange); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn { padding: 8px 16px; font-size: 13px; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* ============================================================
   MODAL — callback
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26, 26, 27, 0.7);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: var(--gap-md);
  opacity: 0; transition: opacity 0.25s ease;
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal {
  background: var(--white); color: var(--text);
  border-radius: var(--radius-lg); padding: var(--gap-lg);
  max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.show .modal { transform: translateY(0); }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--text-muted); font-size: 14px; margin-bottom: var(--gap-md); }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-muted); transition: all var(--transition);
}
.modal-close:hover { background: var(--silver-2); color: var(--black); }
.modal-close svg { width: 18px; height: 18px; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.breadcrumb { padding: var(--gap-md) 0 0; font-size: 14px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

.product-hero { padding: var(--gap-xl) 0 var(--gap-xxl); }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap-xl); align-items: center; }
.product-hero .partner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--silver-2); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 99px;
  font-size: 13px; color: var(--blue); font-weight: 500;
  margin-bottom: var(--gap-md);
}
.product-hero .partner-badge svg { width: 14px; height: 14px; color: var(--orange); }
.product-hero h1 { margin-bottom: var(--gap-md); }
.product-hero .lead { margin-bottom: var(--gap-lg); }
.product-hero-actions { display: flex; gap: var(--gap-sm); flex-wrap: wrap; }
.product-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.product-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Big claim block */
.claim-block { background: var(--silver-2); padding: var(--gap-xl) 0; }
.claim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.claim { text-align: center; padding: var(--gap-md); }
.claim-num {
  font-size: 64px; font-weight: 800; color: var(--orange);
  font-family: var(--font-display); line-height: 1;
}
.claim h3 { font-size: 22px; margin: var(--gap-sm) 0 8px; }
.claim p { color: var(--text-muted); font-size: 14px; }
.claim.big-text .claim-num { font-size: 36px; }

/* Spec table */
.spec-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.spec-table th, .spec-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--silver);
}
.spec-table th {
  background: var(--blue); color: var(--white);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600;
}
.spec-table tbody tr:hover { background: var(--silver-2); }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table .highlight { color: var(--orange); font-weight: 600; }

/* Cases */
.cases { background: var(--silver-2); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-md); }
.case-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.case-card-head {
  background: var(--black); color: var(--white);
  padding: var(--gap-md); display: flex; justify-content: space-between; align-items: flex-start;
}
.case-card-head h4 { color: var(--white); font-size: 16px; max-width: 75%; }
.case-card-head .case-model {
  background: var(--orange); color: var(--white);
  font-size: 11px; padding: 4px 10px; border-radius: 4px;
  font-weight: 700; letter-spacing: 0.08em;
}
.case-card-body { padding: var(--gap-md); flex: 1; display: flex; flex-direction: column; gap: var(--gap-sm); }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-sm); }
.case-stat {
  background: var(--silver-2); padding: var(--gap-sm);
  border-radius: var(--radius); border-left: 3px solid var(--orange);
}
.case-stat strong { display: block; font-size: 22px; color: var(--black); font-weight: 800; }
.case-stat span { font-size: 12px; color: var(--text-muted); }
.case-perks { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-muted); }
.case-perks li { padding: 4px 0 4px 22px; position: relative; }
.case-perks li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-size: contain;
}

/* Image strip */
.image-strip { padding: var(--gap-xl) 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-sm); }
.strip-grid img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Two-col content */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: start; }
.two-col.two-col-center { align-items: center; }
.two-col-text h2 { margin-bottom: var(--gap-md); }
.two-col-text p { color: var(--text-muted); margin-bottom: var(--gap-sm); line-height: 1.7; }
.two-col-list { list-style: none; }
.two-col-list li {
  padding: 12px 0 12px 32px; position: relative;
  border-bottom: 1px solid var(--silver);
  font-size: 15px;
}
.two-col-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--orange); font-weight: 700; font-size: 18px; top: 10px;
}
.two-col-list li:last-child { border-bottom: none; }

/* Download CTA */
.dl-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--blue) 100%);
  color: var(--white);
  padding: var(--gap-xl) 0;
}
.dl-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--gap-lg); align-items: center; }
.dl-section h3 { color: var(--white); margin-bottom: 8px; }
.dl-section p { color: var(--silver); font-size: 15px; max-width: 480px; }
.dl-section .dl-meta { font-size: 12px; color: var(--blue-light); margin-top: 8px; }

/* Toast */
.toast {
  position: fixed; bottom: 100px; right: 24px; z-index: 1000;
  background: var(--black); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-lg);
  font-size: 14px; max-width: 320px;
  transform: translateX(120%); transition: transform 0.3s ease;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }

/* Channels list on /contacts */
.channel-info { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.channel-info svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid, .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid, .about-grid, .product-hero-grid, .two-col { grid-template-columns: 1fr; gap: var(--gap-lg); }
}

@media (max-width: 768px) {
  .nav-links, .phone, .header-cta .btn:not(.btn-primary) { display: none; }
  .header-cta .btn-primary { display: none; }
  .burger { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: var(--gap-sm); border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav.open .nav-links li { width: 100%; }
  .nav.open .nav-links a { display: block; padding: 14px var(--gap-sm); border-radius: var(--radius); }
  .nav.open .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; min-width: 0; padding: 0 0 0 var(--gap-md); }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .product-grid, .advantages-grid, .claim-grid, .case-grid, .strip-grid, .field-row { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card { aspect-ratio: 16/10; }
  .dl-grid { grid-template-columns: 1fr; }
}

/* Print styles */
@media print {
  .site-header, .site-footer, .cta-section, .dl-section, .float-cta, .cookie-banner, .modal-overlay, .toast { display: none !important; }
  body { background: white; color: black; }
  .container { max-width: 100%; padding: 0; }
  section { padding: 24px 0; page-break-inside: avoid; }
}

.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { display: block; height: 44px; width: auto; }
.site-footer .logo-img { height: 48px; }
@media (max-width: 768px) {
  .logo-img { height: 36px; }
  .site-footer .logo-img { height: 40px; }
}

/* ============================================================
   CLIENTS MARQUEE (бегущая строка логотипов)
   ============================================================ */
.clients {
  background: var(--blue);    /* #334155 — Muted Blue */
  padding: var(--gap-md) 0 var(--gap-lg);
  overflow: hidden;
}
.clients-head {
  text-align: center;
  margin: 0 auto var(--gap-md);
}
.clients-head .eyebrow {
  color: var(--orange);
  font-size: 13px;
  margin-bottom: 4px;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  height: 100px;
  padding: 0 var(--gap-md);
}
.marquee-item img {
  max-height: 70px;
  width: auto;
  /* На тёмном фоне: превращаем любой логотип в белый силуэт */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: filter var(--transition), opacity var(--transition);
}
.marquee-item:hover img {
  filter: none;
  opacity: 1;
}

/* Screen-reader-only helper */
.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;
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; transform: translateX(0); }
}

@media (max-width: 768px) {
  .clients { padding: var(--gap-sm) 0 var(--gap-md); }
  .marquee-track { gap: 48px; animation-duration: 20s; }
  .marquee-item { height: 72px; padding: 0 var(--gap-sm); }
  .marquee-item img { max-height: 48px; }

  /* Mobile product cards — taller so all text fits */
  .product-card { aspect-ratio: 5 / 4; }
  .product-card .product-content { padding: var(--gap-sm) var(--gap-md) var(--gap-md); }
  .product-card h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
  .product-card p { font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
  .product-card .tag { font-size: 10px; padding: 4px 9px; margin-bottom: 10px; }
  .product-card .arrow { font-size: 13px; }
  .product-card::after {
    background: linear-gradient(0deg, rgba(26, 26, 27, 0.95) 0%, rgba(26, 26, 27, 0.6) 45%, rgba(26, 26, 27, 0.2) 100%);
  }
}

/* ============================================================
   CRUSHER PAGE — full-width hero, categories, dark models
   ============================================================ */

/* Wide hero with bg image */
.product-hero-wide {
  position: relative; overflow: hidden;
  color: var(--white);
  padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
  background: var(--black);
}
.product-hero-wide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
}
.product-hero-wide::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(26,26,27,0.4) 0%, transparent 30%),
    linear-gradient(110deg, rgba(26,26,27,0.85) 0%, rgba(26,26,27,0.55) 55%, rgba(51,65,85,0.55) 100%);
}
.product-hero-wide > .container { position: relative; z-index: 3; }
.product-hero-wide h1 {
  color: var(--white); max-width: 780px;
  margin-bottom: var(--gap-md);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.product-hero-wide .lead {
  color: var(--silver); max-width: 680px;
  margin-bottom: var(--gap-lg);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.product-hero-wide .eyebrow { color: var(--orange); margin-bottom: var(--gap-sm); }

.hero-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md); margin-top: var(--gap-xl);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: var(--gap-lg);
}
.hero-kpi-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; line-height: 1; color: var(--orange);
  letter-spacing: -0.02em;
}
.hero-kpi-label {
  font-size: 13px; color: var(--silver);
  margin-top: 8px; line-height: 1.4;
}

/* Categories grid (cementcrusher-style) */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  border: 1px solid var(--silver);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card-img {
  aspect-ratio: 16 / 11;
  background: var(--black);
  overflow: hidden;
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { padding: var(--gap-md); flex: 1; display: flex; flex-direction: column; }
.cat-card-body h3 { font-size: 19px; margin-bottom: 10px; color: var(--black); }
.cat-card-body p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: var(--gap-sm); }
.cat-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto; padding-top: var(--gap-sm);
  border-top: 1px solid var(--silver);
}
.cat-card-tags span {
  font-size: 12px; color: var(--blue);
  background: var(--silver-2);
  padding: 4px 10px; border-radius: 12px;
  font-weight: 500;
}

/* Featured models — dark section */
.models-section {
  background: var(--black);
  color: var(--white);
  padding: var(--gap-xxl) 0;
}
.models-section .eyebrow { color: var(--orange); }
.models-section h2 { color: var(--white); }
.models-section .section-head p { color: var(--silver); }

.model-list { display: flex; flex-direction: column; gap: var(--gap-xl); }
.model-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--gap-xl); align-items: center;
}
.model-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.model-card:nth-child(even) .model-img { order: 2; }
.model-card:nth-child(even) .model-body { order: 1; }
/* Grid children must not grow beyond track — required for inner overflow to work */
.model-body, .model-img { min-width: 0; }

.model-img {
  background: linear-gradient(135deg, #0a0a0b 0%, #1a1f2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--gap-md);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  overflow: hidden;
}
.model-img img { width: 100%; height: 100%; object-fit: contain; }

.model-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: var(--gap-sm);
}
.model-card h3 { color: var(--white); font-size: clamp(22px, 2.2vw, 28px); margin-bottom: var(--gap-sm); }
.model-card .model-desc { color: var(--silver); font-size: 15px; line-height: 1.7; margin-bottom: var(--gap-md); }
.model-perks { list-style: none; padding: 0; margin: 0 0 var(--gap-md); }
.model-perks li {
  padding: 6px 0 6px 24px; position: relative;
  font-size: 14px; color: var(--silver);
}
.model-perks li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-size: contain;
}

/* Horizontally scrollable wrapper for wide tables */
.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}
.table-scroll .spec-table { min-width: 480px; }
.table-scroll::-webkit-scrollbar { height: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

/* Dark spec table inside models section */
.spec-table.dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.spec-table.dark th { background: var(--orange); color: var(--white); font-size: 12px; }
.spec-table.dark td { color: var(--silver); border-bottom-color: rgba(255,255,255,0.08); padding: 12px 16px; }
.spec-table.dark tbody tr:hover { background: rgba(255,255,255,0.04); }
.spec-table.dark .highlight { color: var(--orange); }

/* Applications grid */
.app-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: var(--gap-sm);
}
.app-cell {
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--radius-lg);
  padding: var(--gap-md) var(--gap-sm);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition);
}
.app-cell:hover { border-color: var(--orange); transform: translateY(-2px); }
.app-cell svg { width: 32px; height: 32px; color: var(--orange); }
.app-cell strong { font-size: 14px; color: var(--black); }
.app-cell span { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* Expertise / Why us — 5-card row */
.expertise-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-sm);
}
.exp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--gap-md);
  border: 1px solid var(--silver);
  display: flex; flex-direction: column; gap: 12px;
}
.exp-card svg { width: 28px; height: 28px; color: var(--orange); }
.exp-card h3 { font-size: 16px; color: var(--black); line-height: 1.3; }
.exp-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Prominent download card */
.dl-card-section { background: var(--silver-2); }
.dl-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid; grid-template-columns: 280px 1fr auto;
  gap: var(--gap-lg);
  align-items: center;
  padding: var(--gap-md);
}
.dl-card-cover {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
}
.dl-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.dl-card-body h3 { margin-bottom: 8px; }
.dl-card-body p { color: var(--text-muted); font-size: 15px; max-width: 460px; line-height: 1.6; }
.dl-card-body .dl-meta {
  display: flex; gap: var(--gap-md); margin-top: var(--gap-sm);
  font-size: 13px; color: var(--text-muted);
}
.dl-card-body .dl-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Responsive for new components */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-kpis { grid-template-columns: repeat(2, 1fr); }
  .model-card, .model-card:nth-child(even) {
    grid-template-columns: 1fr; gap: var(--gap-md);
  }
  .model-card:nth-child(even) .model-img { order: 0; }
  .model-card:nth-child(even) .model-body { order: 0; }
  .dl-card { grid-template-columns: 1fr; text-align: left; }
  .dl-card-cover { max-width: 280px; }
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: 1fr; gap: var(--gap-sm); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: 1fr; }
  .hero-kpis { gap: var(--gap-sm); padding-top: var(--gap-md); margin-top: var(--gap-lg); }
  .hero-kpi-num { font-size: 26px; }
  .hero-kpi-label { font-size: 12px; }
  .product-hero-wide { padding: var(--gap-xl) 0 var(--gap-lg); }
  .models-section { padding: var(--gap-xl) 0; }
  .spec-table.dark th, .spec-table.dark td { padding: 10px 12px; font-size: 13px; }
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 12px 14px; }
}

/* ============================================================
   MIG PAGE — process steps, 4x2 advantages, gallery, dark cards
   ============================================================ */

/* Process steps — 4 шага со стрелками */
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: var(--gap-md);
  align-items: stretch;
}
.process-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--gap-md);
  display: flex; flex-direction: column;
  min-width: 0;
}
.process-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: var(--gap-sm);
}
.process-step h3 {
  color: var(--white);
  font-size: 18px; line-height: 1.3;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.process-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  width: 28px; flex-shrink: 0;
}
.process-arrow svg { width: 28px; height: 28px; }

/* In dark .models-section the cat-card needs adjustment */
.models-section .cat-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
}
.models-section .cat-card-body h3 { color: var(--white); }
.models-section .cat-card-body p { color: var(--silver); }
.models-section .cat-card-tags { border-color: rgba(255,255,255,0.1); }
.models-section .cat-card-tags span {
  background: rgba(255,107,0,0.12);
  color: var(--orange);
}
.models-section .cat-card-img {
  background: var(--white);
}
.mig-component .cat-card-img { background: var(--silver-2); }
.mig-component .cat-card-img img { object-fit: contain; padding: 12px; }

/* Advantages 4x2 grid (8 cards) */
.adv8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}

/* Cases gallery — 4 photos */
.cases-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}
.case-photo {
  background: var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.case-photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.case-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.case-photo figcaption {
  padding: 14px var(--gap-md);
  font-size: 14px;
  color: var(--white);
  background: var(--blue);
  font-weight: 500;
}

/* Responsive — process grid + 4x2 + gallery */
@media (max-width: 1024px) {
  /* Collapse process to vertical with side arrows on bigger tablets */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .process-arrow { display: none; }
  .adv8-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .adv8-grid { grid-template-columns: 1fr; }
  .cases-gallery { grid-template-columns: 1fr; gap: var(--gap-sm); }
  .case-photo img { aspect-ratio: 16 / 10; }
}

/* ============================================================
   EKATO PAGE — page-specific utilities
   ============================================================ */
/* Cat-grid 3-col variant (default is 4 — override on desktop) */
.cat-grid.cat-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .cat-grid.cat-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .cat-grid.cat-grid-3 { grid-template-columns: 1fr; } }

/* Last "CTA" card with dark background */
.cat-card.cat-card-cta {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.cat-card.cat-card-cta .cat-card-body {
  padding: var(--gap-lg);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  gap: var(--gap-sm);
}
.cat-card.cat-card-cta h3 { color: var(--white); }
.cat-card.cat-card-cta p { color: var(--silver); }

/* Expertise grid — 3 col variant for EKATO Group */
.expertise-grid.expertise-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .expertise-grid.expertise-3 { grid-template-columns: 1fr; } }

/* Expertise grid — 4 col variant */
.expertise-grid.expertise-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .expertise-grid.expertise-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .expertise-grid.expertise-4 { grid-template-columns: 1fr; } }

/* Cat-grid 2-col variant */
.cat-grid.cat-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px)  { .cat-grid.cat-grid-2 { grid-template-columns: 1fr; } }

/* App-grid — 4-col variant */
.app-grid.app-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .app-grid.app-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .app-grid.app-grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* EKATO Service section */
.models-section.ekato-service {
  background: linear-gradient(135deg, #0a1a2a 0%, #1e3a5f 100%);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-md);
}
.service-card {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
}
.service-card h3 { color: var(--white); }
.service-card p { color: var(--silver); }
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .service-grid { grid-template-columns: 1fr; } }

/* Orange pill label */
.ekato-pill {
  display: inline-block;
  font-weight: 800; font-size: 14px;
  color: var(--white);
  background: var(--orange);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

/* Water page — icon block for solution cards (no image, just SVG circle) */
.water-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--silver-2);
  border-radius: 50%;
  margin-bottom: var(--gap-sm);
}
.water-icon svg { width: 24px; height: 24px; color: var(--orange); }
