/* ============================================================
   Polimpex OÜ — design system
   Premium European B2B catalog
   ============================================================ */

:root {
  /* Palette */
  --bg:        #FFFFFF;
  --bg-cream:  #FAF6EE;
  --bg-soft:   #F5F0E5;
  --ink:       #181513;
  --ink-2:     #3A332E;
  --muted:     #6B635B;
  --muted-2:   #8A8278;
  --line:      #EAE2D2;
  --line-2:    #F0E9DA;
  --accent:    #C0322A;        /* signature wholesale red */
  --accent-d:  #9F2620;
  --accent-l:  #F5E3DE;
  --beige:     #E7DDC9;

  /* Type */
  --font-display: Calibri, "Carlito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body:    Calibri, "Carlito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "Geist Mono", ui-monospace, monospace;

  /* Radius / spacing */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(24, 21, 19, 0.04), 0 0 0 1px rgba(24, 21, 19, 0.04);
  --sh:    0 4px 14px rgba(24, 21, 19, 0.06), 0 0 0 1px rgba(24, 21, 19, 0.04);
  --sh-lg: 0 24px 60px rgba(24, 21, 19, 0.12), 0 0 0 1px rgba(24, 21, 19, 0.06);

  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.0vw, 64px); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin: 0; }
.lead {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-cream); border-color: var(--ink); }
.btn-small {
  padding: 9px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.btn .arrow {
  width: 16px; height: 16px;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 88px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.footer-logo { height: 58px; margin-bottom: 8px; }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a, .nav button.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover, .nav button.nav-trigger:hover { background: var(--bg-cream); color: var(--ink); }
.nav .has-dropdown { position: relative; }
.nav .chev { width: 12px; height: 12px; opacity: .55; transition: transform .2s ease; }
.nav .has-dropdown[data-open="true"] .chev { transform: rotate(180deg); }
.nav .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 8px;
  display: none;
  z-index: 50;
}
.nav .has-dropdown[data-open="true"] .dropdown { display: block; }
.nav .dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.nav .dropdown a:hover { background: var(--bg-cream); }
.nav .dropdown .icon-tile {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--bg-cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.nav .dropdown .icon-tile.food { background: #F4EFE2; color: #8A6D2A; }
.nav .dropdown .label-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}
.lang-switch button {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  min-width: 32px;
}
.lang-switch button.active { background: var(--ink); color: #fff; }

.menu-toggle { display: none; }
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 88px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open { display: flex; }
  .nav a, .nav button.nav-trigger { width: 100%; justify-content: flex-start; }
  .nav .dropdown { position: static; box-shadow: none; border: none; padding: 4px 0 4px 24px; }
  .menu-toggle {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
  }
}
@media (max-width: 720px) {
  .header-cta-text { display: none; }
  .header-cta { display: none !important; }
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 96px;
  background:
    radial-gradient(ellipse 800px 400px at 80% 0%, rgba(192, 50, 42, 0.06), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-cream) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 .em { color: var(--accent); font-style: normal; font-weight: 700; }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.25vw, 20px); }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .hero-trust { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
}
.hero-trust .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-trust .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-trust .lbl {
  font-size: 13px;
  color: var(--muted);
}

/* Hero collage */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 560px;
  margin-left: auto;
  width: 100%;
}
@media (max-width: 1024px) {
  .hero-visual { margin: 0 auto; max-width: 480px; }
}
.hero-visual .tile {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--sh);
}
.hero-visual .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero-visual .tile:hover img { transform: scale(1.04); }

/* Layout — three portrait photos + a small offset accent card */
.hero-visual .h-chefs   { top: 0;    left: 0;  width: 58%; height: 72%; }
.hero-visual .h-clean   { top: 0;    right: 0; width: 38%; height: 46%; }
.hero-visual .h-laundry { bottom: 0; right: 0; width: 50%; height: 44%; }
.hero-visual .h-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42%;
  height: 26%;
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 22px 16px;
  border-radius: var(--r-lg);
  box-shadow: 0 14px 30px rgba(192,50,42,0.25);
}
.hero-visual .h-badge-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.92;
}
.hero-visual .h-badge-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.hero-visual .h-badge-list li {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-visual .h-badge-list li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  flex: 0 0 14px;
}
@media (max-width: 480px) {
  .hero-visual .h-badge { padding: 14px 16px; }
  .hero-visual .h-badge-list li { font-size: 16px; }
}
@media (max-width: 720px) {
  .hero-visual .h-badge {
    padding: 16px 20px;
    gap: 8px;
  }
}

/* ===== Section base ===== */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
section.cream { background: var(--bg-cream); }
section.ink { background: var(--ink); color: #fff; }
section.ink h1, section.ink h2 { color: #fff; }
section.ink .lead { color: rgba(255,255,255,0.78); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
.section-head .lead { margin-top: 16px; }

/* ===== Category cards ===== */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) {
  .cat-grid { grid-template-columns: 1fr; }
}
.cat-card {
  position: relative;
  padding: 40px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 460px;
}
.cat-card > div:first-of-type {
  /* keep title text away from the corner-art icon */
  padding-right: 110px;
}
@media (max-width: 600px) {
  .cat-card { padding: 28px; min-height: 0; gap: 24px; }
  .cat-card .corner-art { top: 24px; right: 24px; width: 64px; height: 64px; border-radius: 18px; }
  .cat-card .corner-art svg { width: 32px; height: 32px; }
  .cat-card > div:first-of-type { padding-right: 84px; }
  .cat-card h3 { font-size: 26px; }
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.cat-card .cat-tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--bg-cream);
  color: var(--ink-2);
}
.cat-card.food .cat-tag { background: var(--accent-l); color: var(--accent-d); }
.cat-card h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; }
.cat-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.cat-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .15s ease;
}
.cat-card li:hover { color: var(--accent); }
.cat-card li:hover .count-pill { background: var(--accent-l); color: var(--accent-d); }
.cat-card li .count-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-cream);
  padding: 3px 9px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.cat-card .cta-row {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}
.cat-card .corner-art {
  position: absolute;
  top: 32px; right: 32px;
  width: 88px; height: 88px;
  border-radius: 24px;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
}
.cat-card.food .corner-art { background: var(--accent); color: #fff; }
.cat-card .corner-art svg { width: 44px; height: 44px; }

/* ===== Catalog ===== */
.catalog-tabs {
  display: inline-flex;
  background: var(--bg-cream);
  padding: 5px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.catalog-tabs button {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s ease;
}
.catalog-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.subcat-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.subcat-bar button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .15s ease;
}
.subcat-bar button:hover { border-color: var(--ink); }
.subcat-bar button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.subcat-bar button .n {
  font-size: 11px;
  margin-left: 6px;
  color: var(--muted-2);
  font-weight: 600;
}
.subcat-bar button.active .n { color: rgba(255,255,255,.55); }

.subcat-block { margin-bottom: 64px; scroll-margin-top: 100px; }
.subcat-block:last-child { margin-bottom: 0; }
.subcat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.subcat-head h3 { font-size: 26px; }
.subcat-head .count { font-size: 13px; color: var(--muted); font-weight: 500; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.product-card.has-desc { cursor: pointer; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--sh); border-color: #DCD1B8; }
.product-img {
  aspect-ratio: 1 / 1;
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10%;
  transition: transform .35s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
  font-size: 12px;
}
.product-card .badge-info {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s ease;
}
.product-card.has-desc .badge-info { opacity: 1; }
.product-card .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card .cat-line {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.product-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.product-card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
}
.product-card .spec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-cream);
  color: var(--ink-2);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.product-card .price-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.product-card .price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.product-card .price .gross {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.product-card .price .vat-note {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.product-card .ask-btn {
  background: var(--bg-cream);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .15s ease;
}
.product-card .ask-btn:hover { background: var(--ink); color: #fff; }

/* Out-of-stock state */
.product-card.oos { opacity: 0.92; }
.product-card.oos .product-img { background: #F2EEE3; }
.product-card.oos .product-img img { opacity: 0.55; filter: grayscale(0.15); }
.product-card .oos-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.product-card .oos-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-card .oos-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.005em;
}

/* ===== Featured strip ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ===== Wholesale + Logistics ===== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split.reverse > :first-child { order: 0; }
}
.split-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--bg-cream);
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--ink-2);
}
.bullets .tick {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

/* Logistics map visual */
.map-visual {
  position: relative;
  height: 100%;
  min-height: 380px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 40px;
}
.map-visual svg.eesti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}
.map-visual .pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
}
.map-visual .pin .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(192,50,42,0.25);
}
.map-visual .pin.hq { background: var(--accent); border-color: var(--accent); }
.map-visual .pin.hq .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.about-stats .stat {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.about-stats .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 20px; }
.about-stats .stat:nth-child(even) { padding-left: 20px; }
.about-stats .num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.about-stats .num small { font-size: 22px; color: var(--accent); }
.about-stats .lbl { margin-top: 8px; color: var(--muted); font-size: 13.5px; }

.about-features {
  display: grid;
  gap: 14px;
}
.about-features .feat {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.about-features .feat .ic {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-l);
  color: var(--accent-d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.about-features .feat h4 { margin-bottom: 4px; font-family: var(--font-body); font-size: 16px; font-weight: 700; }
.about-features .feat p { color: var(--muted); font-size: 14px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}
.contact-card h3 { color: #fff; font-size: 28px; line-height: 1.1; }
.contact-card .lead { color: rgba(255,255,255,0.72); }
.contact-info {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.contact-info .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-info .row:first-child { border-top: none; padding-top: 0; }
.contact-info .label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  width: 84px;
  flex: 0 0 84px;
  padding-top: 3px;
}
.contact-info .val { font-size: 15px; color: #fff; line-height: 1.45; }
.contact-info .val a { color: #fff; }
.contact-info .val a:hover { color: var(--accent); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.form-card > .form-row:last-of-type { flex: 1; }
.form-card .form-row .field textarea { height: 100%; }
.form-row { display: grid; gap: 14px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.field input, .field textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: var(--font-body);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(24,21,19,0.06);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-card .submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.form-card .submit-note { font-size: 12px; color: var(--muted); max-width: 240px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-cream);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h5 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--ink-2); }
.footer ul a:hover { color: var(--accent); }
.footer .brand-block .descr { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 36ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24,21,19,0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 940px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  position: relative;
  transform: scale(0.98) translateY(8px);
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; max-height: 92vh; }
}
.modal .close {
  position: absolute;
  top: 20px; right: 20px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 5;
  box-shadow: var(--sh-sm);
}
.modal .close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal .modal-img {
  background: var(--bg-cream);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
}
.modal .modal-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.modal .modal-body {
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 760px) { .modal .modal-body { padding: 28px; } }
.modal .modal-cat {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.modal h3 { font-size: 28px; line-height: 1.1; }
.modal .modal-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 6px;
}
.modal .modal-specs .spec {
  background: var(--bg-cream);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.modal .modal-desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  max-height: 240px;
  overflow: auto;
  padding-right: 8px;
}
.modal .modal-desc::-webkit-scrollbar { width: 6px; }
.modal .modal-desc::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.modal .modal-price-box {
  margin-top: auto;
  padding: 20px;
  background: var(--bg-cream);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.modal .modal-price-box .label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.modal .modal-price-box .gross {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 4px;
}
.modal .modal-price-box .vat-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Contact-card legal/bank block */
.contact-legal {
  display: grid;
  gap: 8px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}
.contact-legal > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: baseline;
}
.contact-legal .lk {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  font-weight: 600;
}
.contact-legal .vk {
  color: #fff;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* ===== Scroll reveal helper ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ===== Misc ===== */
.divider-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-cream);
  padding: 22px 0;
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  align-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted);
  animation: marquee 35s linear infinite;
}
.marquee span { display: inline-flex; align-items: center; gap: 56px; }
.marquee span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
