:root {
  --bg: oklch(98% 0.004 250);
  --surface: oklch(100% 0 0);
  --surface-2: oklch(95% 0.006 250);
  --fg: oklch(24% 0.01 250);
  --muted: oklch(52% 0.012 250);
  --border: oklch(88% 0.006 250);
  --accent: oklch(86% 0.17 90);
  --accent-strong: oklch(76% 0.16 86);
  --steel: oklch(38% 0.02 245);
  --ok: oklch(62% 0.14 150);
  --shadow: 0 24px 70px rgba(25, 31, 42, 0.14);
  --radius: 14px;
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(20, 27, 38, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.page { min-height: 100vh; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklch, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--fg); }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: oklch(18% 0.02 80);
  box-shadow: 0 10px 26px rgba(196, 155, 0, 0.22);
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--fg);
}

.hero {
  padding: 64px 0 58px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.2)),
    radial-gradient(circle at top right, color-mix(in oklch, var(--accent) 20%, transparent), transparent 34%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1.3fr);
  gap: 56px;
  align-items: start; 
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--steel);
  font: 760 12px/1 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
}
h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 78px);
  text-wrap: balance;
}
.lead {
  margin: 24px 0 0;
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 36px;
  max-width: 670px;
}
.trust-item {
  min-height: 88px;
  padding: 16px;
  background: color-mix(in oklch, var(--surface) 84%, transparent);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.trust-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  margin-top: 32px;
}
.photo-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.photo-card.main {
  height: 510px;
  position: relative;
}
.photo-card.main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card.main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 12, 16, 0.78));
}
.media-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  align-items: end;
}
.media-caption strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}
.media-caption span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.spec-plate {
  position: absolute;
  right: -18px;
  bottom: 34px;
  width: min(280px, 58%);
  padding: 18px;
  border-radius: 12px;
  background: var(--fg);
  color: #fff;
  box-shadow: var(--shadow);
}
.spec-plate small {
  display: block;
  color: color-mix(in oklch, var(--accent) 86%, white);
  font: 760 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec-plate p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

section { padding: 78px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: end;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(34px, 4vw, 58px);
  max-width: 720px;
  text-wrap: balance;
}
.section-head p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 315px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card .num {
  color: var(--muted);
  font: 760 13px/1 var(--font-mono);
  letter-spacing: 0.1em;
}
.service-card h3 {
  margin: 24px 0 0;
  font-size: 28px;
}
.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}
.service-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: var(--fg);
  font-size: 14px;
}
.service-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.catalog-hero {
  padding: 64px 0 58px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.28)),
    radial-gradient(circle at top right, color-mix(in oklch, var(--accent) 22%, transparent), transparent 34%);
}
.catalog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 46px;
  align-items: center;
}
.catalog-hero-media {
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.catalog-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.finished-products {
  background: var(--surface-2);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(25, 31, 42, 0.08);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-media a {
  display: block;
  height: 100%;
}
.product-card:hover .product-media img {
  transform: scale(1.035);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--fg) 88%, transparent);
  color: #fff;
  font: 800 13px/1 var(--font-mono);
}
.product-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}
.product-body h3 {
  min-height: 58px;
  font-size: 25px;
  line-height: 1.06;
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.price-row span {
  color: var(--muted);
  font: 760 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-row strong {
  color: var(--fg);
  font: 850 27px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.installments {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}
.installments b {
  color: var(--fg);
  font-size: 16px;
}
.product-footer {
  display: grid;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
}
.product-footer span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent) 36%, white);
  color: oklch(24% 0.04 88);
  font: 850 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-footer .btn {
  width: 100%;
}

.product-detail {
  background: var(--surface-2);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gallery-item {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(25, 31, 42, 0.08);
}
.gallery-item:first-child {
  grid-column: 1 / -1;
  min-height: 520px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.025);
}
.product-summary {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.product-summary h2 {
  font-size: 38px;
}
.summary-price {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 12px;
  background: var(--surface-2);
}
.summary-price span,
.summary-discount span {
  color: var(--muted);
  font: 760 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.summary-price strong {
  font: 880 42px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.summary-price b {
  font-size: 17px;
}
.summary-discount {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.summary-discount strong {
  color: var(--fg);
  font: 820 24px/1 var(--font-display);
}
.product-summary p {
  margin: 0;
  color: var(--muted);
}
.summary-actions {
  display: grid;
  gap: 10px;
}

.process {
  background: var(--fg);
  color: #fff;
}
.process .section-head p,
.process .eyebrow { color: rgba(255,255,255,0.62); }
.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}
.process-panel {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.process-panel img {
  height: 100%;
  min-height: 420px;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.steps {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  padding: 28px;
  background: color-mix(in oklch, var(--fg) 92%, white);
}
.step b {
  color: var(--accent);
  font: 800 22px/1 var(--font-mono);
}
.step h3 { font-size: 25px; margin-bottom: 8px; }
.step p { margin: 0; color: rgba(255,255,255,0.68); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.work-card {
  min-height: 265px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.work-card.large { grid-column: span 2; grid-row: span 2; }
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work-card:hover img { transform: scale(1.035); }

.reviews-contact {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
  align-items: start;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.quote {
  padding: 22px;
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stars { color: var(--accent-strong); letter-spacing: 0.08em; font-size: 14px; }
.quote p { margin: 18px 0 18px; color: var(--fg); font-size: 17px; }
.quote cite { color: var(--muted); font-style: normal; font-size: 14px; }

.contact-card {
  position: sticky;
  top: 92px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 31px; }
.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}
.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row b { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-row span, .contact-row a { color: var(--fg); font-weight: 680; }
.contact-row a[href^="https://maps"] {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.message-box {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.message-box textarea {
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  color: var(--fg);
  background: var(--surface-2);
  outline: none;
}
.message-box textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 28%, transparent);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 40px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item button {
  width: 100%;
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  border: 0;
  background: transparent;
  color: var(--fg);
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 760;
  font-size: 18px;
}
.faq-item button::after {
  content: "+";
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
}
.faq-item.open button::after { content: "-"; background: var(--accent); color: var(--fg); border-color: var(--accent); }
.faq-answer {
  display: none;
  padding: 0 54px 24px 0;
  color: var(--muted);
  font-size: 16px;
}
.faq-item.open .faq-answer { display: block; }

.footer {
  background: var(--fg);
  color: #fff;
  padding: 34px 0 92px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}
.footer strong { color: #fff; }
.mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 54px; }
  .hero-grid,
  .catalog-hero-grid,
  .process-grid,
  .reviews-contact,
  .product-detail-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: auto; }
  .photo-card.main { height: min(560px, 72vw); }
  .spec-plate { right: 18px; bottom: -22px; }
  .service-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { position: static; }
  .product-summary { position: static; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar { position: static; }
  .nav { min-height: 64px; }
  .brand span { display: none; }
  h1 { font-size: clamp(42px, 14vw, 64px); }
  section { padding: 58px 0; }
  .catalog-hero { padding: 54px 0 46px; }
  .catalog-hero-media,
  .catalog-hero-media img { min-height: 300px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card h3 { margin-top: 34px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-body h3 { min-height: auto; }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-item,
  .gallery-item:first-child { grid-column: auto; min-height: 300px; }
  .summary-price strong { font-size: 36px; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card,
  .work-card.large { grid-column: auto; grid-row: auto; min-height: 280px; }
  .reviews { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 3px; }
  .footer-inner { display: grid; }
  .mobile-cta { display: grid; }
}
