:root {
  --bg: #0c0e12;
  --bg-elevated: #13161c;
  --bg-soft: #0e1016;
  --fg: #e8e4dc;
  --muted: #7a7870;
  --muted-2: #9a9690;
  --line: #2a2d35;
  --line-soft: #1e2128;
  --accent: #e8820a;
  --accent-hot: #ff9a2e;
  --ink: #0c0e12;
  --font-display: "Roboto Slab", Georgia, serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --font-mono: "Roboto Mono", monospace;
  --max: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: min(100% - 4rem, var(--max));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container { width: min(100% - 2rem, var(--max)); }
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(12, 14, 18, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-links a.btn-primary {
  color: #000;
}

.nav-links a.btn-primary:hover {
  color: #000;
  background: var(--accent-hot);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  padding: 0.85rem 1.5rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover { background: var(--accent-hot); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark {
  background: var(--ink);
  color: var(--accent);
}

.btn-nav {
  padding: 8px 20px;
  font-size: 12px;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  margin: 5px 0;
}

.mobile-menu {
  display: none;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  padding: 1.5rem 2rem 2rem;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg,
.hero-grid,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&h=900&fit=crop&auto=format")
    center/cover no-repeat;
  filter: brightness(0.22) saturate(0.6);
  transform: scale(1.04);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(232, 130, 10, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 130, 10, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-shade {
  background: linear-gradient(
    to right,
    rgba(12, 14, 18, 0.97) 0%,
    rgba(12, 14, 18, 0.92) 38%,
    rgba(12, 14, 18, 0.55) 62%,
    rgba(12, 14, 18, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  /* та же левая граница, что у .container / меню, плюс небольшой сдвиг вправо */
  margin-left: max(2.75rem, calc((100vw - var(--max)) / 2 + 2.5rem));
  margin-right: auto;
  padding: 4.5rem 1.5rem 9.5rem 0;
  width: min(560px, calc(100vw - 3rem));
  max-width: 560px;
  text-align: left;
}

@media (max-width: 1280px) {
  .hero-content {
    margin-left: 3.25rem;
    padding-right: 1.5rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  background: rgba(232, 130, 10, 0.12);
  border: 1px solid rgba(232, 130, 10, 0.3);
  padding: 6px 14px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.badge span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero h1 .accent { color: var(--accent); }

.hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-2);
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
}

.stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(19, 22, 28, 0.95);
  border-top: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: none; }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}

.stat strong small { font-size: 18px; }

.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Mobile hero: stats must come AFTER base .stats rules or absolute wins */
@media (max-width: 900px) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible !important;
  }

  .hero-content {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    width: calc(100% - 2rem) !important;
    max-width: none !important;
    padding: 2rem 0 1.5rem !important;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-lead {
    font-size: 15px;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero .stats {
    position: relative !important;
    inset: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero .stat {
    padding: 18px 14px;
  }

  .hero .stat:nth-child(2n) {
    border-right: none;
  }

  .hero .stat strong {
    font-size: 26px;
  }
}

@media (max-width: 560px) {
  .calc-item { grid-template-columns: auto 1fr; }
  .calc-price { grid-column: 2; text-align: left; }
  .page-hero { padding-top: 120px; }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-dark { background: var(--bg); }
.section-alt { background: var(--bg-soft); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.eyebrow span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Service cards showcase */
.service-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

@media (max-width: 1024px) {
  .service-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .service-showcase {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg);
  padding: 40px 36px;
  border-left: 3px solid transparent;
  transition: background 0.25s, border-color 0.25s;
  min-height: 100%;
}

.service-card:hover {
  background: var(--bg-elevated);
  border-left-color: var(--accent);
}

.service-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* DSE highlight */
.dse-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(232, 130, 10, 0.14), rgba(19, 22, 28, 0.9));
  border: 1px solid rgba(232, 130, 10, 0.35);
  margin-top: 2.5rem;
}

.dse-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}

.dse-banner p {
  color: var(--muted-2);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.dse-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.dse-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 6px 10px;
  color: var(--fg);
}

.dse-side {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.dse-side strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 8px;
}

.dse-side p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.calc-panel,
.calc-summary {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.calc-summary {
  position: sticky;
  top: 90px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted-2);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover { border-color: var(--accent); color: var(--accent); }

.chip.is-active {
  background: rgba(232, 130, 10, 0.14);
  border-color: var(--accent);
  color: var(--accent);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.calc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 640px;
  overflow: auto;
  padding-right: 4px;
}

.calc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.calc-item:hover { border-color: rgba(232, 130, 10, 0.5); }

.calc-item.is-selected {
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(232, 130, 10, 0.12), transparent 75%);
}

.calc-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  margin-top: 2px;
  position: relative;
  flex-shrink: 0;
}

.calc-item.is-selected .calc-check {
  background: var(--accent);
  border-color: var(--accent);
}

.calc-item.is-selected .calc-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.calc-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.calc-item .featured-tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.calc-price {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.calc-price small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}

.summary-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.summary-list {
  min-height: 120px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.summary-list .empty {
  color: #4a4a46;
  font-style: italic;
  justify-content: center;
  padding: 1.5rem 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.summary-total span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-total strong {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  text-align: right;
  line-height: 1.15;
}

.summary-total strong em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-actions .btn { width: 100%; }

/* About / process / projects / contact — compact keep */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-media { position: relative; }

.about-media img {
  width: 100%;
  filter: saturate(0.7) brightness(0.85);
}

.about-badge {
  position: absolute;
  right: -12px;
  bottom: -12px;
  background: var(--accent);
  color: var(--ink);
  padding: 28px 32px;
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.about-badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #c8c4bc;
}

.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}

.process-list { position: relative; }

.process-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--line));
}

.process-item {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}

.process-item:last-child { border-bottom: none; }

.process-num {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.process-item p { color: var(--muted); font-size: 15px; line-height: 1.7; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--line);
}

.project-card { background: var(--bg); overflow: hidden; }

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.5s;
}

.project-card:hover img { transform: scale(1.05); }

.project-card .body { padding: 24px; }

.project-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 13px;
}

.project-meta .type { color: var(--accent); }
.project-meta .km {
  font-family: var(--font-mono);
  color: #4a4a46;
  font-size: 12px;
}

.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8820a 0%, #c46800 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 40px);
  margin-bottom: 8px;
  color: var(--ink);
}

.cta p { color: rgba(12, 14, 18, 0.7); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-lead {
  margin: 0.75rem 0 1.75rem;
  max-width: 640px;
}

.contact-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn-call {
  font-size: 15px;
  padding: 14px 22px;
}

.btn.is-disabled,
a.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
}

.yandex-map {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  background: #1a1d24;
}

.map-open-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  align-self: flex-start;
}

.map-open-link:hover {
  color: var(--accent-hot);
}

.contact-rows { display: flex; flex-direction: column; gap: 28px; }

.contact-row {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-row .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-row .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 2px;
}

.contact-row .value a:hover {
  color: var(--accent);
}

.contact-row .sub { font-size: 13px; color: var(--muted); }

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus { border-color: var(--accent); }

.form textarea { resize: vertical; min-height: 110px; }

.form-success {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 60px 40px;
  text-align: center;
}

.form-success h3 {
  font-family: var(--font-display);
  color: var(--accent);
  margin: 12px 0;
}

.form-hint {
  font-size: 12px;
  color: #4a4a46;
  line-height: 1.5;
}

.site-footer {
  background: #080a0d;
  border-top: 1px solid var(--line-soft);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 13px;
  color: #4a4a46;
}

/* Works page */
.page-hero {
  padding: 140px 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
  line-height: 1.1;
}

.nav-links a.is-current { color: var(--accent); }

.works-section { padding-top: 48px; }

.works-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.work-card {
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  transition: border-color 0.2s;
}

.work-card[hidden] {
  display: none !important;
}

.work-card:hover { border-color: rgba(232, 130, 10, 0.55); }

.work-photo {
  background: #1a1d24;
  min-height: 220px;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.9);
}

.work-body {
  padding: 28px;
}

.work-card-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.work-card h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin: 6px 0 8px;
  line-height: 1.15;
}

.work-equip {
  font-size: 13px;
  color: var(--muted);
}

.work-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.work-cost {
  text-align: right;
  flex-shrink: 0;
}

.work-cost strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.work-cost span {
  font-size: 12px;
  color: var(--muted);
}

.work-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.work-fields p {
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.7;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 6px 10px;
  color: var(--fg);
}

.works-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

.works-cta {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid rgba(232, 130, 10, 0.35);
  background: linear-gradient(135deg, rgba(232, 130, 10, 0.12), rgba(19, 22, 28, 0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.works-cta h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 6px;
}

.works-cta p { color: var(--muted-2); font-size: 15px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .calc-layout,
  .split,
  .contact-grid,
  .dse-banner { grid-template-columns: 1fr; gap: 2rem; }
  .calc-summary { position: static; }
  .about-badge { right: 12px; bottom: 12px; }
  .checklist { grid-template-columns: 1fr; }
  .work-card {
    grid-template-columns: 1fr;
  }

  .work-photo {
    min-height: 200px;
    max-height: 240px;
  }

  .work-card-top,
  .work-fields { grid-template-columns: 1fr; display: grid; }
  .work-cost { text-align: left; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .calc-item { grid-template-columns: auto 1fr; }
  .calc-price { grid-column: 2; text-align: left; }
  .page-hero { padding-top: 120px; }
}
