:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --surface-tint: #f1efe9;
  --ink: #111318;
  --ink-2: #3d4352;
  --muted: #6c7385;
  --border: rgba(17, 19, 24, 0.09);
  --border-strong: rgba(17, 19, 24, 0.16);

  --navy: #0b3456;
  --cyan: #0ea5e9;
  --cyan-soft: rgba(14, 165, 233, 0.12);
  --amber: #f59e0b;
  --tg: #0088cc;
  --max: #4f46e5;
  --vk: #0077ff;

  --r-sm: 10px;
  --r-md: 15px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(17, 19, 24, 0.04);
  --shadow-md: 0 14px 36px -12px rgba(17, 19, 24, 0.11);
  --shadow-lg: 0 24px 60px -18px rgba(17, 19, 24, 0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  font: 16px/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; max-width: 100%; overflow-x: clip; }
body, h1, h2, h3, p, ul, dl, dd { margin: 0; }
body { background: var(--bg); color: var(--ink); max-width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
body, button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

h1, h2, h3 {
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.container {
  width: min(1160px, 100% - 28px);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.18s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.02); }
.footer-logo { display: block; height: 34px; width: auto; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  font-size: 0.89rem;
  font-weight: 550;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.16s;
}
.nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-link {
  font-size: 0.88rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.header-call-icon, .burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex: none;
}
.burger { flex-direction: column; gap: 5px; }
.burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 61px 0 0 0;
  z-index: 45;
  background: var(--bg);
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mobile-nav nav { display: grid; gap: 8px; }
.mobile-nav nav a {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 650;
}
.mobile-nav-foot { display: grid; gap: 10px; padding-top: 16px; }
.mobile-nav-messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s, filter 0.15s;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { min-height: 50px; padding: 10px 22px; font-size: 0.93rem; }
.btn-full { width: 100%; min-height: 48px; padding: 10px 18px; font-size: 0.92rem; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(17, 19, 24, 0.55);
}
.btn-primary:hover { background: #232733; }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { filter: brightness(1.06); }
.btn-max { background: var(--max); color: #fff; }
.btn-max:hover { filter: brightness(1.06); }

.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.24); color: #fff; }

/* Hero */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(32px, 5vw, 68px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.hero h1 span {
  background: linear-gradient(110deg, #0b3456 0%, #0284c7 48%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 52ch;
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-msg-group {
  display: flex;
  gap: 8px;
}

.quick-needs {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.quick-label {
  display: block;
  font-size: 0.77rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 9px;
}
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.quick-chips button {
  min-height: 34px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.quick-chips button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Hero Photo Bento */
.hero-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bento-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 195px;
  background: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.bento-photo.bento-featured {
  grid-column: 1 / -1;
  min-height: 240px;
}
.bento-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.bento-photo:hover img { transform: scale(1.05); }
.bento-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.25) 0%, rgba(17, 19, 24, 0.08) 44%, rgba(17, 19, 24, 0.84) 100%);
  color: #fff;
}
.bento-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.bento-overlay h3 { font-size: 1.08rem; font-weight: 750; color: #fff; }
.bento-overlay p { margin-top: 3px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.86); }

.glass-pill, .glass-price {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.glass-pill { background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.glass-price { background: rgba(17, 19, 24, 0.64); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-variant-numeric: tabular-nums; }

/* Sections */
.section { padding: clamp(40px, 6vw, 80px) 0; scroll-margin-top: 76px; }
.section-alt { background: var(--surface-tint); border-block: 1px solid var(--border); }
.show-more-btn { margin-top: 16px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 6px;
}
.eyebrow-light { color: #38bdf8; }
.section-head h2 { font-size: clamp(1.55rem, 3.1vw, 2.3rem); font-weight: 800; }
.section-note { max-width: 42ch; font-size: 0.9rem; color: var(--muted); }

/* Search & Horizontal Filter Bars */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  width: min(330px, 100%);
  padding: 0 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 0.9rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.portfolio-filters { margin-bottom: 0; }
.filter-pill {
  min-height: 38px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  flex: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Catalog Cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  padding: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.service-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: var(--surface-tint);
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.service-card:hover .service-thumb img { transform: scale(1.05); }
.service-badge-time {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.71rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.service-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}
.service-cat { font-size: 0.71rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.service-card h3 { font-size: 1.02rem; font-weight: 750; margin-top: 5px; }
.service-card p { font-size: 0.84rem; color: var(--ink-2); margin-top: 6px; line-height: 1.44; }

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
}
.service-price { font-size: 0.9rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.service-cta-pill {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.service-card:hover .service-cta-pill { background: var(--ink); color: #fff; }
.catalog-empty { text-align: center; padding: 32px 16px; color: var(--muted); }

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: left;
  padding: 0;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-tint); }
.work-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-price-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(17, 19, 24, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.work-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.work-cat { font-size: 0.71rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); }
.work-turnaround { font-size: 0.73rem; font-weight: 600; color: var(--muted); }
.work-body h3 { font-size: 1.03rem; font-weight: 750; }
.work-body p { font-size: 0.84rem; color: var(--ink-2); line-height: 1.44; }
.work-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 6px; }
.work-chip { padding: 3px 8px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--border); font-size: 0.71rem; font-weight: 600; color: var(--ink-2); }

/* CTA strip */
.cta-strip {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5fb 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-strip-copy strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.15rem; font-weight: 800; }
.cta-strip-copy p { margin-top: 4px; font-size: 0.88rem; color: var(--ink-2); max-width: 50ch; }
.cta-strip-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Calculator */
.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: start;
}
.calc-left, .calc-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-sm);
}
.calc-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.calc-tabs button {
  min-height: 40px;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
  transition: background 0.15s, color 0.15s;
}
.calc-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.calc-group { margin-bottom: 18px; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 9px; font-size: 0.84rem; font-weight: 650; color: var(--ink-2); flex-wrap: wrap; }
.calc-label strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; }
.opt-btn { padding: 11px 13px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--surface); text-align: left; }
.opt-btn strong { display: block; font-size: 0.86rem; font-weight: 650; }
.opt-btn small { display: block; margin-top: 2px; font-size: 0.74rem; color: var(--muted); }
.opt-btn.is-active { border-color: var(--ink); background: #f3f6fb; }

.qty-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.qty-chip { min-height: 36px; padding: 5px 13px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--surface); font-size: 0.82rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.qty-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.qty-input-row { display: flex; align-items: center; gap: 10px; }
.qty-input-row input[type="range"] { flex: 1; min-width: 0; accent-color: var(--ink); }
.qty-input-row input[type="number"] { width: 92px; min-height: 40px; padding: 7px 10px; border-radius: var(--r-sm); border: 1.5px solid var(--border-strong); background: var(--bg); font-weight: 650; font-variant-numeric: tabular-nums; }

.checkbox-card { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); cursor: pointer; }
.checkbox-card input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.checkbox-card strong { display: block; font-size: 0.86rem; }
.checkbox-card small { display: block; font-size: 0.76rem; color: var(--muted); }

.calc-summary {
  position: sticky;
  top: 84px;
  background: linear-gradient(170deg, #ffffff 0%, #f5f7fb 100%);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.summary-label { font-size: 0.77rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.summary-tier { padding: 3px 10px; border-radius: var(--r-pill); background: var(--cyan-soft); color: #0369a1; font-size: 0.73rem; font-weight: 700; }
.summary-price { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-price strong { display: block; font-family: "Manrope", sans-serif; font-size: clamp(1.85rem, 4vw, 2.35rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.summary-price span { display: block; margin-top: 4px; font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.summary-breakdown { display: grid; gap: 7px; margin-bottom: 18px; font-size: 0.84rem; }
.summary-breakdown div { display: flex; justify-content: space-between; gap: 10px; }
.summary-breakdown dt { color: var(--muted); }
.summary-breakdown dd { font-weight: 600; text-align: right; }
.summary-actions { display: grid; gap: 8px; }
.summary-copy-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.summary-disclaimer { margin-top: 11px; font-size: 0.73rem; color: var(--muted); line-height: 1.4; }

/* Benefits & Trust bar */
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.benefit-card { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.benefit-num { display: inline-block; font-family: "Manrope", sans-serif; font-size: 0.76rem; font-weight: 800; padding: 3px 9px; border-radius: var(--r-pill); background: var(--surface-tint); margin-bottom: 10px; }
.benefit-card h3 { font-size: 1rem; margin-bottom: 6px; }
.benefit-card p { font-size: 0.84rem; color: var(--ink-2); line-height: 1.46; }

.trust-bar {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-title { font-size: 0.77rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.trust-items { display: flex; flex-wrap: wrap; gap: 7px; }
.trust-items span { padding: 5px 11px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--border); font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }

/* B2B */
.b2b-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 28px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: var(--r-xl);
  background: radial-gradient(70% 120% at 95% 0%, rgba(14, 165, 233, 0.22), transparent 65%), #0f1724;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.b2b-copy h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 12px; }
.b2b-copy p { color: rgba(255, 255, 255, 0.78); margin-bottom: 16px; max-width: 56ch; font-size: 0.94rem; }
.b2b-list { list-style: none; padding: 0; display: grid; gap: 7px; margin-bottom: 22px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.9); }
.b2b-list li::before { content: "✓ "; color: #38bdf8; font-weight: 700; }
.b2b-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.b2b-metrics { display: grid; gap: 10px; align-content: center; }
.b2b-metric { padding: 15px 17px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.b2b-metric strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.35rem; font-weight: 800; }
.b2b-metric span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 18px; }
.contact-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-sub { margin-bottom: 18px; font-size: 0.88rem; color: var(--ink-2); }
.contact-list { display: grid; gap: 13px; margin-bottom: 20px; }
.contact-list dt { font-size: 0.73rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-list dd { font-size: 0.96rem; font-weight: 650; margin-top: 2px; overflow-wrap: anywhere; }

.copy-inline { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; border: 0; background: transparent; padding: 0; font-weight: 650; text-align: left; }
.copy-inline span { font-size: 0.72rem; padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface-tint); color: var(--muted); }

.messenger-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.msg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); font-size: 0.86rem; font-weight: 650; color: #fff; }
.msg-tg { background: var(--tg); }
.msg-max { background: var(--max); }
.msg-vk { background: var(--vk); }

.map-card { min-height: 340px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface-tint); }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 22px 0 30px; font-size: 0.84rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sticky mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  z-index: 35;
  inset: auto 0 0 0;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 247, 244, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-strong);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.mobile-bar .btn { min-height: 42px; padding: 0 10px; font-size: 0.83rem; }

/* Modals (Desktop centered, Mobile bottom sheet) */
.sheet-grip { display: none; width: 40px; height: 4px; border-radius: var(--r-pill); background: rgba(17, 19, 24, 0.18); margin: 0 auto 12px; }

dialog.modal {
  margin: auto;
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop, dialog.lightbox::backdrop { background: rgba(17, 19, 24, 0.65); backdrop-filter: blur(6px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-close { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); font-size: 0.95rem; }

.modal-prices { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); font-size: 0.82rem; }
.modal-prices ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.modal-prices li { display: flex; justify-content: space-between; gap: 10px; }
.modal-prices li strong { font-variant-numeric: tabular-nums; text-align: right; }

.order-form { display: grid; gap: 11px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 0.79rem; font-weight: 650; color: var(--ink-2); }
.field input, .field textarea, .select-wrap select {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  font-size: 0.92rem;
}
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field textarea:focus, .select-wrap select:focus { outline: none; border-color: var(--ink); background: var(--surface); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; font-weight: 550; }

.modal-actions { display: grid; gap: 8px; margin-top: 6px; }

/* Lightbox */
dialog.lightbox {
  position: relative;
  margin: auto;
  width: min(900px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.96rem;
}
.lightbox-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.lightbox-media { background: var(--surface-tint); min-height: 280px; }
.lightbox-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-info { padding: 24px 22px; display: flex; flex-direction: column; }
.lightbox-info h2 { font-size: 1.35rem; margin-bottom: 9px; }
.lb-desc { font-size: 0.88rem; color: var(--ink-2); margin-bottom: 16px; line-height: 1.5; }
.lb-specs { display: grid; gap: 7px; padding: 12px 0; margin-bottom: 18px; border-block: 1px solid var(--border); font-size: 0.82rem; }
.lb-specs div { display: flex; justify-content: space-between; gap: 10px; }
.lb-specs dt { color: var(--muted); }
.lb-specs dd { font-weight: 650; text-align: right; }
.lb-actions { margin-top: auto; display: grid; gap: 8px; }

/* Toast */
.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.hero-copy, .hero-bento, .calc-left, .calc-summary, .b2b-copy, .b2b-metrics,
.contact-card, .map-card, .section-head > *, .cta-strip-copy, .cta-strip-actions,
.quick-needs, .filter-bar {
  min-width: 0;
  max-width: 100%;
}

/* Tablet */
@media (max-width: 980px) {
  .nav, .phone-link { display: none; }
  .burger, .header-call-icon { display: inline-flex; }
  .hero-grid, .calc-shell, .b2b-card, .contacts-grid, .lightbox-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-grid, .portfolio-grid, .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-summary { position: static; }
}

/* Mobile (real phone polish 360px - 680px) */
@media (max-width: 680px) {
  .container { width: 100%; padding-inline: 14px; }
  .header-inner { min-height: 60px; gap: 10px; }
  .brand-logo { height: 34px; max-width: 150px; }
  .header-order-btn { display: none; }
  .mobile-bar { display: grid; }
  .footer { padding-bottom: 84px; }

  .hero { padding: 16px 0 26px; }
  .location-pill { font-size: 0.73rem; padding: 5px 10px; margin-bottom: 12px; max-width: 100%; }
  .hero h1 { font-size: 1.72rem; margin-bottom: 11px; }
  .hero-lead { font-size: 0.91rem; margin-bottom: 16px; }

  .hero-cta { flex-direction: column; gap: 8px; margin-bottom: 16px; }
  .hero-cta > .btn { width: 100%; }
  .hero-msg-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .hero-msg-group .btn { width: 100%; padding-inline: 10px; }

  /* Horizontal swipe strips cleanly contained inside parent width */
  .quick-chips, .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .quick-chips::-webkit-scrollbar, .filter-bar::-webkit-scrollbar { display: none; }

  /* Keep hero bento crisp: 1 featured + 2 side-by-side */
  .hero-bento { gap: 8px; }
  .bento-photo.bento-featured { min-height: 184px; }
  .bento-photo { min-height: 142px; }
  .bento-overlay { padding: 10px 12px; }
  .bento-overlay h3 { font-size: 0.94rem; }
  .bento-overlay p { font-size: 0.75rem; }

  .section { padding: 32px 0; }
  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }
  .search-box { width: 100%; }

  .catalog-grid, .portfolio-grid, .benefits-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .calc-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }

  .cta-strip { padding: 18px; }
  .cta-strip-actions, .b2b-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cta-strip-actions .btn, .b2b-actions .btn { width: 100%; }

  .map-card, .map-card iframe { min-height: 240px; }
  .messenger-row { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Native mobile Bottom Sheet modals */
  dialog.modal, dialog.lightbox {
    margin: auto auto 0;
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
  }
  dialog.modal { padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .sheet-grip { display: block; }
  dialog.lightbox .sheet-grip { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 5; background: rgba(255, 255, 255, 0.7); }
  .lightbox-media { min-height: 200px; max-height: 36dvh; }
  .lightbox-info { padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
}
