/* ============================================================
   zastrahovateli.bg — Phase 1 design system
   Variable fonts: Manrope (display) + Inter (text), Latin + Cyrillic
   ============================================================ */

/* -------- Fonts (self-hosted variable, swap) -------- */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-cyrillic.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C8F;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-cyrillic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C8F;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------- Design tokens -------- */
:root {
  /* Brand — запазени от текущия бранд (teal + navy) */
  --brand:           #148F77;
  --brand-hover:     #117563;
  --brand-active:    #0E5C4F;
  --brand-subtle:    #E6F4F0;
  --brand-border:    #B9DDD2;
  --brand-on-tint:   #0E5C4F;

  /* Ink — text hierarchy */
  --ink-strong:      #0C2D48;
  --ink-default:     #1F2937;
  --ink-muted:       #475569;
  --ink-faint:       #64748B;
  --ink-disabled:    #94A3B8;
  --ink-on-brand:    #FFFFFF;

  /* Surfaces */
  --bg-canvas:       #FFFFFF;
  --bg-subtle:       #F8FAFC;
  --bg-elevated:     #FFFFFF;

  /* Borders / dividers */
  --line-default:    #E5E8EB;
  --line-strong:     #CBD3DC;
  --hairline:        #ECEEF0;

  /* Semantic — за статуси, не за brand */
  --success:         #047857;
  --success-subtle:  #ECFDF5;
  --warning:         #B45309;
  --warning-subtle:  #FEF3C7;
  --danger:          #B91C1C;
  --danger-subtle:   #FEF2F2;

  /* Typography */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-text:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'SFMono-Regular', 'Consolas', monospace;

  /* Spacing — 4-pt scale */
  --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;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow (ambient + key) */
  --shadow-xs: 0 1px 2px rgba(12, 45, 72, .04);
  --shadow-sm: 0 1px 2px rgba(12, 45, 72, .04), 0 1px 3px rgba(12, 45, 72, .06);
  --shadow-md: 0 1px 2px rgba(12, 45, 72, .04), 0 8px 24px rgba(12, 45, 72, .08);
  --shadow-lg: 0 4px 8px rgba(12, 45, 72, .04), 0 24px 48px rgba(12, 45, 72, .10);
  --shadow-focus: 0 0 0 3px rgba(20, 143, 119, .22);

  /* Motion */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast:    160ms;
  --dur-base:    240ms;
  --dur-slow:    400ms;
}

/* -------- Resets + base -------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-default);
  background: var(--bg-canvas);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'locl' 1;
}

a {
  color: var(--ink-default);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--brand); }

img { max-width: 100%; height: auto; }

/* -------- Headings — Manrope display -------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-strong);
  font-feature-settings: 'kern' 1, 'liga' 1, 'locl' 1;
}
h1 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-4);
}
h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-4);
}
h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: var(--s-3);
}
h4 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: var(--s-2);
}

/* Utility overlines (section eyebrows) */
.overline {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-3);
}

/* Tabular figures за цени, ЕИК, дати */
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* -------- Containers -------- */
.container { max-width: 1170px; margin: 0 auto; padding: 0 var(--s-4); }
.container.narrow { max-width: 820px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.site-header.scrolled { border-bottom-color: var(--line-default); box-shadow: var(--shadow-xs); }
.header-row {
  display: flex;
  align-items: center;
}
.header-row-top {
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
.header-row-nav {
  justify-content: center;
  border-top: 1px solid #eee;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}
.logo svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo img { flex-shrink: 0; }
.logo-text { min-width: 0; overflow: hidden; line-height: 1.2; }
.logo-text span { white-space: nowrap; display: block; overflow: hidden; text-overflow: ellipsis; }
.logo-text small {
  display: block;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-shrink: 0;
}
.header-phone {
  color: var(--ink-strong);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-fast) var(--ease-out);
}
.header-phone::before {
  content: "\260E";
  margin-right: 6px;
  color: var(--brand);
}
.header-phone:hover { color: var(--brand); }

.main-nav { display: flex; align-items: stretch; gap: 0; }
.main-nav a {
  padding: 0 22px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-default);
  line-height: 48px;
  display: block;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--brand); background: var(--bg-subtle); }
.main-nav a.is-active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); font-weight: 600; }

.header-cta {
  background: var(--brand);
  color: var(--ink-on-brand) !important;
  padding: 12px 22px !important;
  border-radius: var(--r-sm);
  font-family: var(--font-text);
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  display: inline-block;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}
.header-cta:hover { background: var(--brand-hover); color: var(--ink-on-brand) !important; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.header-cta:active { background: var(--brand-active); transform: translateY(0); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink-strong);
  transition: var(--dur-base) var(--ease-out);
  display: block;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0; right: 0; bottom: 0;
  background: var(--bg-canvas);
  z-index: 999;
  padding: var(--s-5);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  padding: var(--s-4) var(--s-1);
  min-height: 52px;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-default);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  transition: color var(--dur-fast) var(--ease-out);
}
.mobile-nav a:hover { color: var(--brand); }
.mobile-nav .header-cta {
  margin-top: var(--s-5);
  text-align: center;
  border-bottom: none;
}

/* ===== HERO (light, editorial, 60/40 split) ===== */
.hero {
  background: var(--bg-canvas);
  padding: var(--s-9) 0;
  color: var(--ink-default);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.hero::before,
.hero::after { content: none; }
.hero-layout {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: var(--s-8);
  align-items: center;
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  background: var(--bg-subtle);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-5);
  color: var(--ink-strong);
}
.hero-sub {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-bottom: var(--s-6);
  max-width: 480px;
}
.hero p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-bottom: var(--s-6);
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.hero-link {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  padding: 4px 2px;
}
.hero-link:hover { color: var(--brand-hover); border-bottom-color: var(--brand-hover); }
.hero-btn {
  display: inline-block;
  background: var(--brand);
  color: var(--ink-on-brand) !important;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--brand);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  box-shadow: var(--shadow-xs);
}
.hero-btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--ink-on-brand) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.hero-btn:active { transform: translateY(0); background: var(--brand-active); }
.hero-btn.secondary {
  background: transparent;
  color: var(--brand) !important;
  border-color: var(--line-strong);
  box-shadow: none;
}
.hero-btn.secondary:hover {
  background: var(--bg-subtle);
  color: var(--brand-hover) !important;
  border-color: var(--brand);
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--s-5) 0;
  background: var(--bg-canvas);
}
.trust-strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-strip-item {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
  padding: 0 var(--s-5);
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
}
.trust-strip-item + .trust-strip-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: var(--line-default);
}

/* ===== WHY US (editorial split section) ===== */
.why-us-section {
  padding: var(--s-9) 0;
  background: var(--bg-canvas);
}
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.why-us-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
}
.why-us-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-us-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-5);
  color: var(--ink-strong);
}
.why-us-content h2 span { display: block; }
.why-us-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
  max-width: 520px;
}
.why-us-content .hero-link { display: inline-block; margin-top: var(--s-3); font-size: 16px; }

/* ===== MIXED PRODUCT GRID ===== */
.products-grid-mixed {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-auto-rows: 1fr;
  gap: var(--s-5);
}
.products-grid-mixed > .product-card:nth-child(3) {
  grid-column: span 2;
}
.products-grid-mixed > .product-card:nth-child(4) {
  grid-column: span 2;
}
.products-grid-mixed > .product-card.feature .product-card-body {
  padding: var(--s-6);
}
.products-grid-mixed > .product-card.feature h4 {
  font-size: 22px;
}
.products-grid-mixed > .product-card.feature .product-card-img {
  height: 200px;
}

/* ===== NEWS CARD COVERS ===== */
.news-card-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
  position: relative;
}
.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.product-card:hover .news-card-cover img { transform: scale(1.03); }
.news-card-cover.is-fallback {
  background: linear-gradient(135deg, var(--brand-subtle), var(--bg-subtle));
}
.news-hero-cover {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--bg-subtle);
}
.news-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.news-grid .product-card-body small {
  display: block;
  margin-top: var(--s-3);
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ===== MOTION (fade-up on scroll) ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none; }
}

/* ===== STICKY MOBILE CTA ===== */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  padding: var(--s-3) var(--s-4);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--hairline);
  display: none;
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-out);
  box-shadow: 0 -4px 16px rgba(12, 45, 72, .06);
}
.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}
.mobile-sticky-cta .hero-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  min-height: 48px;
}

/* Page hero — соft canvas, не gradient */
.page-hero {
  background: var(--bg-subtle);
  padding: var(--s-8) 0 var(--s-7);
  color: var(--ink-strong);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 { color: var(--ink-strong); font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--s-3); }
.page-hero p { color: var(--ink-muted); font-size: 17px; max-width: 640px; }

.page-body { padding: var(--s-8) 0; }
.page-body .rich-text p { margin-bottom: var(--s-4); font-size: 16px; line-height: 1.7; color: var(--ink-default); }
.page-body .rich-text ul, .page-body .rich-text ol { margin: var(--s-3) 0 var(--s-4) var(--s-6); }
.page-body .rich-text li { margin-bottom: var(--s-2); line-height: 1.7; }
.page-body .rich-text h2 { margin-top: var(--s-7); }
.page-body .rich-text h3 { margin-top: var(--s-5); }
.cta-row { margin: var(--s-6) 0; display: flex; gap: var(--s-3); flex-wrap: wrap; }
.related { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--hairline); }
.related ul { list-style: none; padding: 0; }
.related li { padding: var(--s-2) 0; }

.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-5); margin: var(--s-5) 0; }
.contact-list dt { font-weight: 500; color: var(--ink-faint); font-size: 14px; }
.contact-list dd { color: var(--ink-strong); font-weight: 500; }
.contact-list dd a[href^="tel:"],
.contact-list dd a[href^="mailto:"] {
  display: inline-block;
  padding: 10px 4px;
  min-height: 44px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--brand);
}

.news-list { list-style: none; padding: 0; }
.news-list li { padding: var(--s-5) 0; border-bottom: 1px solid var(--hairline); }
.news-list li h3 { margin-bottom: var(--s-1); }
.news-list li small { color: var(--ink-faint); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.news-list li p { margin-top: var(--s-2); color: var(--ink-muted); }
.lead { font-size: 19px; color: var(--ink-muted); line-height: 1.55; margin-bottom: var(--s-5); }

/* ===== POPULAR PRODUCTS ===== */
.popular-products { padding: var(--s-9) 0; }
.section-title { text-align: center; margin-bottom: var(--s-7); }
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink-strong);
}
.section-title p { font-size: 17px; color: var(--ink-muted); margin-top: var(--s-3); max-width: 560px; margin-left: auto; margin-right: auto; }
.product-card {
  display: block;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: var(--ink-default);
  border: 1px solid var(--line-default);
  box-shadow: var(--shadow-xs);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--ink-default);
}
.product-card-img {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.product-card-img svg { width: 56px; height: 56px; stroke: #fff; fill: none; }
.product-card-body { padding: var(--s-5); }
.product-card-body h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: var(--s-2); color: var(--ink-strong); letter-spacing: -0.005em; }
.product-card-body p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }

/* ===== COMPANY SECTION + PARTNERS MARQUEE ===== */
.company-section { background: var(--bg-subtle); padding: var(--s-9) 0 var(--s-7); text-align: center; }
.company-section h1, .company-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
  color: var(--ink-strong);
}
.company-section p { font-size: 17px; color: var(--ink-muted); max-width: 640px; margin: 0 auto var(--s-7); line-height: 1.55; }
.marquee-wrapper { overflow: hidden; position: relative; padding: var(--s-4) 0; }
.marquee-wrapper::before, .marquee-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(90deg, var(--bg-subtle), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(90deg, transparent, var(--bg-subtle)); }
.marquee-track {
  display: flex;
  animation: marquee 35s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  padding: var(--s-3) var(--s-5);
  margin: 0 var(--s-2);
  background: var(--bg-elevated);
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-default);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.marquee-item:hover { color: var(--brand); border-color: var(--brand-border); }

/* ===== TYPES GRID 3x3 ===== */
.product-grid-section { padding: var(--s-9) 0; }
.grid-3x3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.grid-box {
  background: var(--bg-elevated);
  padding: var(--s-6);
  border: 1px solid var(--line-default);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: var(--ink-default);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.grid-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.grid-box svg { width: 32px; height: 32px; margin-bottom: var(--s-3); color: var(--brand); }
.grid-box h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink-strong); letter-spacing: -0.005em; }
.grid-box p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

/* ===== STATS ===== */
.stats-cta-section {
  background: var(--bg-subtle);
  padding: var(--s-9) 0;
  color: var(--ink-default);
  text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stats-cta-section h2 { color: var(--ink-strong); margin-bottom: var(--s-3); }
.stats-cta-section p { font-size: 17px; color: var(--ink-muted); margin-bottom: var(--s-6); max-width: 560px; margin-left: auto; margin-right: auto; }
.stats-cta-section .hero-btn {
  margin-bottom: var(--s-8);
}
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); margin-top: var(--s-5); }
.stat-item h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: var(--s-1);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-item p { font-size: 14px; color: var(--ink-muted); font-weight: 500; margin: 0; }

/* ===== QUOTE FORM ===== */
.quote-section { padding: var(--s-9) 0; background: var(--bg-canvas); }
.quote-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: var(--s-7);
  border: 1px solid var(--line-default);
}
.qf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.form-group { margin-bottom: var(--s-4); }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: var(--s-2);
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}
.form-group .req { color: var(--danger); }
.form-group input[type=text],
.form-group input[type=tel],
.form-group input[type=email],
.form-group input[type=url],
.form-group input[type=number],
.form-group input[type=date],
.form-group input[type=password],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px var(--s-4);
  min-height: 48px;
  border: 1px solid var(--line-default);
  border-radius: var(--r-sm);
  font-size: 16px;
  font-family: var(--font-text);
  color: var(--ink-strong);
  background: var(--bg-elevated);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: var(--line-strong); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); outline: none; box-shadow: var(--shadow-focus); }
.form-group textarea { resize: vertical; min-height: 96px; font-family: var(--font-text); line-height: 1.55; }
.qf-note { font-size: 13px; color: var(--ink-faint); margin: var(--s-2) 0 var(--s-4); }
.qf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.calc-submit {
  width: 100%;
  padding: 14px;
  min-height: 52px;
  background: var(--brand);
  color: var(--ink-on-brand);
  border: 1px solid var(--brand);
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-text);
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  box-shadow: var(--shadow-xs);
}
.calc-submit:hover { background: var(--brand-hover); border-color: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.calc-submit:active { background: var(--brand-active); transform: translateY(0); }

.news-preview { padding: var(--s-9) 0; background: var(--bg-subtle); }

/* ===== FAQ ===== */
.faq-section { padding: var(--s-9) 0; background: var(--bg-canvas); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
  overflow: hidden;
  border: 1px solid var(--line-default);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.active { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-5) var(--s-6);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  transition: background var(--dur-fast) var(--ease-out);
  letter-spacing: -0.005em;
}
.faq-question:hover { background: var(--bg-subtle); }
.faq-arrow { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out); margin-left: var(--s-4); color: var(--ink-muted); }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--brand); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 var(--s-6) var(--s-5); font-size: 15px; color: var(--ink-muted); line-height: 1.7; }

/* ===== FOOTER (light, premium) ===== */
.site-footer { background: var(--bg-subtle); color: var(--ink-muted); padding: var(--s-9) 0 0; border-top: 1px solid var(--hairline); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--s-6);
  padding-bottom: var(--s-8);
}
.footer-col { min-width: 0; }
.footer-col h5 {
  font-family: var(--font-text);
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col p { font-size: 14px; line-height: 1.65; margin-bottom: var(--s-2); color: var(--ink-muted); }
.footer-col a {
  display: block;
  color: var(--ink-muted);
  font-size: 14px;
  padding: 10px 0;
  line-height: 1.4;
  min-height: 40px;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--brand); }
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); margin-bottom: var(--s-4); max-width: 100%; }
.footer-logo img { max-width: 100%; height: auto; }
.footer-logo svg { width: 36px; height: 36px; }
.footer-logo span { color: var(--ink-strong); font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.footer-contact-item { display: flex; align-items: flex-start; gap: var(--s-2); margin-bottom: var(--s-3); font-size: 14px; color: var(--ink-muted); }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--ink-faint); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: var(--s-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; color: var(--ink-faint); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--bg-elevated);
  color: var(--ink-muted);
  border: 1px solid var(--line-default);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.footer-social a:hover { background: var(--brand-subtle); color: var(--brand); border-color: var(--brand-border); }
.footer-social a svg { width: 16px; height: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 992px) {
  .container { max-width: 750px; }
  .header-row-nav, .header-cta-wrap { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-layout { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-media { aspect-ratio: 16 / 10; max-height: 400px; order: 2; }
  .hero-content { order: 1; max-width: none; }
  .why-us-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .why-us-media { order: 1; aspect-ratio: 16 / 10; }
  .why-us-content { order: 2; }
  .products-grid-mixed { grid-template-columns: 1fr 1fr; }
  .products-grid-mixed > .product-card:nth-child(3),
  .products-grid-mixed > .product-card:nth-child(4) { grid-column: span 2; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .products-grid, .grid-3x3, .stats-row, .qf-grid { grid-template-columns: 1fr; }
  .products-grid-mixed { grid-template-columns: 1fr; }
  .products-grid-mixed > .product-card:nth-child(3),
  .products-grid-mixed > .product-card:nth-child(4) { grid-column: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .hero { padding: var(--s-8) 0; }
  .hero p, .hero-sub { font-size: 17px; }
  .hero h1 { font-size: clamp(30px, 7vw, 36px); }
  .hero-actions { width: 100%; }
  .hero-actions .hero-btn { width: 100%; text-align: center; }
  .grid-box { padding: var(--s-5); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); padding-bottom: var(--s-6); }
  .footer-bottom { flex-direction: column; gap: var(--s-3); text-align: center; }
  .contact-list { grid-template-columns: 1fr; gap: 0; }
  .contact-list dd { margin-bottom: var(--s-3); }
  .page-hero { padding: var(--s-7) 0 var(--s-5); }
  .page-body { padding: var(--s-7) 0; }
  .container { padding: 0 var(--s-4); }
  .logo { min-height: 44px; }
  .logo-text small { display: none; }
  .logo-text span { font-size: 15px; }
  .logo img { max-height: 40px; }
  .quote-form { padding: var(--s-5); }
  .calc-submit { width: 100%; }
  .trust-strip-item { padding: 4px var(--s-3); font-size: 13px; }
  .trust-strip-item + .trust-strip-item::before { display: none; }
  .trust-strip-row { gap: var(--s-1) var(--s-3); }
  .mobile-sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 72px; }
}
@media (max-width: 480px) {
  .header-row-top { min-height: 60px; }
  .mobile-nav { top: 60px; }
  .hero { padding: var(--s-7) 0; }
  .quote-form { padding: var(--s-5); }
  .quote-section, .popular-products, .product-grid-section, .stats-cta-section, .faq-section, .news-preview, .company-section, .why-us-section { padding: var(--s-8) 0; }
  .section-title { margin-bottom: var(--s-6); }
  .stats-row { gap: var(--s-5); }
  .faq-question { padding: var(--s-4) var(--s-5); }
  .faq-answer-inner { padding: 0 var(--s-5) var(--s-4); }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-close { width: 100%; }
}

/* ===== PRICE HINT BADGE (homepage cards + product hero) ===== */
.price-hint {
  display: inline-block;
  margin-top: var(--s-3);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-subtle);
  color: var(--brand-on-tint);
  border: 1px solid var(--brand-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.price-hint--muted {
  background: var(--bg-subtle);
  color: var(--ink-faint);
  border-color: var(--line-default);
  font-weight: 500;
}
.page-hero-price { margin-top: var(--s-3); }
.page-hero-price .price-hint { font-size: 13px; padding: 6px 14px; }

/* ===== CALLBACK HINT (contacts) ===== */
.callback-hint {
  margin: var(--s-6) 0 var(--s-5);
  padding: var(--s-5);
  background: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-md);
  color: var(--ink-strong);
}
.callback-hint p { margin: 0; font-size: 15px; line-height: 1.6; }
.callback-hint a { color: var(--brand-on-tint); font-weight: 600; text-decoration: underline; }

/* ===== ANCHOR OFFSET (sticky header compensation for in-page jumps) ===== */
.anchor-offset {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
  height: 0;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--ink-strong);
  color: #fff;
  border-top: 3px solid var(--brand);
  box-shadow: 0 -4px 20px rgba(12, 45, 72, 0.18);
  transform: translateY(100%);
  transition: transform var(--dur-base, 250ms) var(--ease-out, ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-5);
  display: flex;
  gap: var(--s-4);
  align-items: center;
  justify-content: space-between;
}
.cookie-banner-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e6f4f0;
}
.cookie-banner-inner p a {
  color: #fff;
  text-decoration: underline;
  margin-left: 4px;
  white-space: nowrap;
}
.cookie-banner-close {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--dur-fast, 150ms) var(--ease-out, ease);
}
.cookie-banner-close:hover { background: var(--brand-hover); }
body:has(.cookie-banner.is-visible) .mobile-sticky-cta { bottom: 76px; }
