: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);

  /* CMYK-inspired print studio accents */
  --cyan: #0ea5e9;
  --cyan-soft: rgba(14, 165, 233, 0.12);
  --magenta: #e11d48;
  --magenta-soft: rgba(225, 29, 72, 0.10);
  --yellow: #f59e0b;
  --yellow-soft: rgba(245, 158, 11, 0.14);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --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.10);
  --shadow-lg: 0 24px 60px -18px rgba(17, 19, 24, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  font: 16px/1.55 "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; }
body, h1, h2, h3, p, ul, dl, dd { margin: 0; }
body { background: var(--bg); color: var(--ink); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
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% - 32px);
  margin-inline: auto;
}

/* CMYK logo mark */
.cmyk-mark {
  display: grid;
  grid-template-columns: repeat(2, 11px);
  gap: 3px;
  padding: 6px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cmyk-mark i { display: block; width: 11px; height: 11px; border-radius: 3.5px; }
.cmyk-mark .c { background: var(--cyan); }
.cmyk-mark .m { background: var(--magenta); }
.cmyk-mark .y { background: var(--yellow); }
.cmyk-mark .k { background: var(--ink); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 247, 244, 0.84);
  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: 20px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-text strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s;
}
.nav a:hover { color: var(--ink); }

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

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

.mobile-nav {
  position: fixed;
  inset: 71px 0 0 0;
  z-index: 39;
  background: var(--bg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mobile-nav nav { display: grid; gap: 6px; }
.mobile-nav nav a {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1.02rem;
  font-weight: 600;
}
.mobile-nav-foot { display: grid; gap: 10px; }

/* 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.16s var(--ease), background 0.16s, box-shadow 0.16s, border-color 0.16s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.86rem; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 0.94rem; }
.btn-full { width: 100%; min-height: 48px; padding: 0 20px; 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-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-light:hover { background: #f1f0ec; }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.15); }

/* Hero */
.hero {
  padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 76px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

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

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 18px;
}
.hero h1 span {
  background: linear-gradient(110deg, #0284c7 0%, #e11d48 58%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero-stats strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 0.8rem; color: var(--muted); }

/* Hero Bento Showcase */
.hero-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.bento-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}
.bento-wide {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.bento-wide p { color: rgba(255, 255, 255, 0.72); }

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bento-card h3 { font-size: 1.08rem; font-weight: 700; }
.bento-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
}
.tag-cyan { background: var(--cyan-soft); color: #0369a1; }
.tag-magenta { background: var(--magenta-soft); color: #be123c; }
.tag-yellow { background: var(--yellow-soft); color: #b45309; }
.tag-ink { background: rgba(255, 255, 255, 0.14); color: #fff; }

.price-badge {
  font-size: 0.79rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.bento-wide .price-badge { color: rgba(255, 255, 255, 0.78); }

.swatch-strip {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.swatch-strip span {
  height: 8px;
  flex: 1;
  border-radius: var(--r-pill);
}

.bento-wide-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.arrow-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex: none;
}

/* Sections */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-alt { background: var(--surface-tint); border-block: 1px solid var(--border); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--magenta);
  margin-bottom: 8px;
}
.eyebrow-light { color: #38bdf8; }

.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 800; }
.section-note { max-width: 42ch; font-size: 0.92rem; color: var(--muted); }

/* Calculator */
.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.calc-left, .calc-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.calc-tabs button {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 650;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.calc-tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

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

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.opt-btn {
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.opt-btn strong { display: block; font-size: 0.88rem; font-weight: 650; }
.opt-btn small { display: block; margin-top: 2px; font-size: 0.76rem; color: var(--muted); }
.opt-btn.is-active {
  border-color: var(--ink);
  background: #f4f6fb;
}

.qty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.qty-chip {
  min-height: 38px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.84rem;
  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: 12px;
}
.qty-input-row input[type="range"] {
  flex: 1;
  accent-color: var(--ink);
}
.qty-input-row input[type="number"] {
  width: 104px;
  min-height: 42px;
  padding: 8px 12px;
  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: 12px;
  padding: 14px;
  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); }
.checkbox-card strong { display: block; font-size: 0.88rem; }
.checkbox-card small { display: block; font-size: 0.78rem; color: var(--muted); }

/* Summary card */
.calc-summary {
  position: sticky;
  top: 88px;
  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: 10px;
}
.summary-label { font-size: 0.8rem; font-weight: 650; 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.74rem;
  font-weight: 700;
}

.summary-price {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.summary-price strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.summary-price span {
  display: block;
  margin-top: 5px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.summary-breakdown {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.86rem;
}
.summary-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.summary-breakdown dt { color: var(--muted); }
.summary-breakdown dd { font-weight: 600; text-align: right; }

.summary-actions { display: grid; gap: 8px; }
.summary-disclaimer {
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Catalog */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  width: min(340px, 100%);
  padding: 0 16px;
  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: 22px;
}
.filter-pill {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.filter-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  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-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.service-card h3 { font-size: 1.04rem; font-weight: 700; margin-top: 6px; }
.service-card p { font-size: 0.85rem; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.service-price {
  font-size: 0.9rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.service-link {
  font-size: 0.82rem;
  font-weight: 650;
  color: #0284c7;
}

.catalog-empty {
  text-align: center;
  padding: 36px 20px;
  color: var(--muted);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-num {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--ink-2); }
.step-card code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-tint);
  font-size: 0.82rem;
}

/* B2B dark banner */
.b2b-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 32px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: radial-gradient(70% 120% at 95% 0%, rgba(14, 165, 233, 0.22), transparent 65%), #111318;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.b2b-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.b2b-copy p { color: rgba(255, 255, 255, 0.76); margin-bottom: 18px; max-width: 56ch; }
.b2b-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  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: 12px;
  align-content: center;
}
.b2b-metric {
  padding: 16px 18px;
  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.4rem;
  font-weight: 800;
}
.b2b-metric span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); }

/* Reviews */
.link-arrow { font-size: 0.9rem; font-weight: 650; color: var(--ink); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.review-card {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.review-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  color: var(--ink-2);
  margin-bottom: 12px;
}
.review-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.review-card p { font-size: 0.87rem; color: var(--ink-2); line-height: 1.55; }

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
}
.contact-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.6rem; margin-bottom: 20px; }

.contact-list { display: grid; gap: 14px; margin-bottom: 22px; }
.contact-list dt { font-size: 0.76rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-list dd { font-size: 1rem; font-weight: 650; margin-top: 2px; }

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

.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.msg-btn {
  flex: 1 1 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 650;
  color: #fff;
}
.msg-tg { background: #0088cc; }
.msg-max { background: #4f46e5; }
.msg-vk { background: #0077ff; }

.map-card {
  min-height: 360px;
  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: 360px; border: 0; display: block; }

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

/* Modal */
dialog.modal {
  margin: auto;
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  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 {
  background: rgba(17, 19, 24, 0.56);
  backdrop-filter: blur(6px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.95rem;
}

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

.order-form { display: grid; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 0.8rem; font-weight: 650; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
}
.modal-actions { display: grid; gap: 8px; margin-top: 6px; }

/* Toast */
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 960px) {
  .nav, .phone-link { display: none; }
  .burger { display: inline-flex; }
  .hero-grid, .calc-shell, .b2b-card, .contacts-grid { grid-template-columns: 1fr; }
  .catalog-grid, .steps-grid, .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-summary { position: static; }
}
@media (max-width: 600px) {
  .catalog-grid, .steps-grid, .reviews-grid, .field-row { grid-template-columns: 1fr; }
  .hero-bento { grid-template-columns: 1fr; }
  .hero-stats { gap: 10px; }
}

/* Hero Photo Bento */
.bento-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 205px;
  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: 250px;
}
.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: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.24) 0%, rgba(17, 19, 24, 0.08) 42%, rgba(17, 19, 24, 0.82) 100%);
  color: #fff;
}
.bento-overlay h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: #fff;
}
.bento-overlay p {
  margin-top: 4px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.84);
}
.glass-pill, .glass-price {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-pill {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}
.glass-price {
  background: rgba(17, 19, 24, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Portfolio Showcase */
.portfolio-filters { margin-bottom: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.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.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.work-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  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: 12px;
  bottom: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.77rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.work-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.work-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--magenta);
}
.work-turnaround {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}
.work-body h3 {
  font-size: 1.06rem;
  font-weight: 750;
  color: var(--ink);
}
.work-body p {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.46;
}
.work-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.work-chip {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* Lightbox Modal */
dialog.lightbox {
  margin: auto;
  width: min(920px, 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);
}
dialog.lightbox::backdrop {
  background: rgba(17, 19, 24, 0.72);
  backdrop-filter: blur(8px);
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  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: 1rem;
  box-shadow: var(--shadow-sm);
}
.lightbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.lightbox-media {
  background: var(--surface-tint);
  min-height: 320px;
}
.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lightbox-info {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.lightbox-info h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.lb-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 18px;
  line-height: 1.52;
}
.lb-specs {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  margin-bottom: 20px;
  border-block: 1px solid var(--border);
  font-size: 0.84rem;
}
.lb-specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.lb-specs dt { color: var(--muted); }
.lb-specs dd { font-weight: 650; text-align: right; }
.lb-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .bento-photo, .bento-photo.bento-featured { min-height: 195px; }
}

/* Quick-need shortcuts in Hero */
.quick-needs {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.quick-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 10px;
}
.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.8rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.14s;
}
.quick-chips button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

/* Visual Service Cards in Catalog */
.service-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.service-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  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: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.service-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}
.service-cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.service-card:hover .service-cta-pill {
  background: var(--ink);
  color: #fff;
}

/* Conversion strip under portfolio */
.cta-strip {
  margin-top: 26px;
  padding: clamp(20px, 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: 20px;
  flex-wrap: wrap;
}
.cta-strip-copy strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-strip-copy p {
  margin-top: 5px;
  font-size: 0.9rem;
  color: var(--ink-2);
  max-width: 54ch;
}
.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Benefits & compact trust bar */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.benefit-card {
  padding: 22px;
  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.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  margin-bottom: 12px;
}
.benefit-card h3 { font-size: 1.02rem; margin-bottom: 7px; }
.benefit-card p { font-size: 0.86rem; color: var(--ink-2); line-height: 1.48; }

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

.contact-sub {
  margin: -10px 0 18px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* Sticky mobile conversion bar */
.mobile-bar {
  display: none;
  position: fixed;
  z-index: 35;
  inset: auto 0 0 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-strong);
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}
.mobile-bar .btn { min-height: 44px; padding: 0 14px; font-size: 0.86rem; }

@media (max-width: 960px) {
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  .footer { padding-bottom: 84px; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* Brand Logo (refined logo26) & Brand Navy/Amber harmony */
.brand-logo {
  display: block;
  height: 46px;
  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;
}

.eyebrow { color: #0b3456; }
.hero h1 span {
  background: linear-gradient(110deg, #0b3456 0%, #0284c7 48%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.work-cat { color: #0b3456; }

/* Real QR cards in Contacts */
.qr-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.qr-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.16s, transform 0.16s var(--ease);
}
.qr-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.qr-card img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--border);
  flex: none;
  object-fit: contain;
}
.qr-card strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.qr-card small {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.3;
}

@media (max-width: 520px) {
  .brand-logo { height: 38px; }
  .qr-row { grid-template-columns: 1fr; }
}
