:root {
  --bg: #ffffff;
  --surface: #f5f6f7;
  --surface-strong: #ebeef1;
  --text: #111318;
  --muted: #626a73;
  --line: #d9dde2;
  --accent: #ff6600;
  --accent-dark: #d95700;
  --accent-soft: #fff1e8;
  --graphite: #171b21;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(17, 19, 24, 0.14);
  --radius: 4px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.035) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 221, 226, 0.82);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 30px;
}

.brand img {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #22272f;
  font-size: 13px;
  font-weight: 760;
}

.main-nav a {
  position: relative;
  padding: 30px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--accent);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.hero {
  min-height: 640px;
  position: relative;
  padding: 50px 0 34px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 43%, rgba(255, 255, 255, 0.82) 100%),
    linear-gradient(135deg, rgba(255, 102, 0, 0.07) 0 1px, transparent 1px 18px),
    url("assets/products/hero-spirala.jpg") center top / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 0;
  right: clamp(24px, 6vw, 96px);
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 102, 0, 0.55), transparent);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(530px, 0.93fr) minmax(600px, 1.07fr);
  align-items: center;
  gap: 52px;
}

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  color: #090b0f;
  font-size: clamp(52px, 4.35vw, 76px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.03;
}

.hero-copy p {
  max-width: 670px;
  margin: 28px 0 0;
  color: #303842;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 46px 0 0;
}

.proof-strip div {
  min-height: 82px;
  padding-top: 16px;
  border-top: 1px solid #c8ced5;
}

.proof-strip dt {
  font-size: 15px;
  font-weight: 800;
}

.proof-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  display: grid;
  height: 560px;
  grid-template-columns: 1.22fr 0.78fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  isolation: isolate;
}

.hero-media::before {
  position: absolute;
  right: -18px;
  bottom: -18px;
  left: 42px;
  height: 18px;
  background: var(--accent);
  content: "";
  z-index: -1;
}

.hero-media::after {
  position: absolute;
  top: 28px;
  right: -18px;
  bottom: -18px;
  width: 18px;
  background: var(--accent);
  content: "";
  z-index: -1;
}

.hero-media > *,
.media-stack {
  min-height: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  border: 8px solid var(--white);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-main {
  grid-row: 1 / span 2;
  clip-path: polygon(0 0, 96% 0, 100% 100%, 0 100%);
}

.media-stack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.hero-side {
  grid-column: 2;
}

.section {
  padding: 84px 0;
}

.section-title {
  margin: 0;
  color: #111318;
  font-size: 40px;
  font-weight: 820;
  line-height: 1.15;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 820;
}

.text-link::after,
.product-card a::after,
.article-grid a::after {
  content: " ->";
}

.path-section {
  padding-top: 58px;
}

.path-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  gap: 22px;
  margin-top: 26px;
}

.path-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  border-radius: 0;
  background: var(--graphite);
  color: var(--white);
  isolation: isolate;
}

.path-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  z-index: -2;
}

.path-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
  content: "";
  z-index: -1;
}

.path-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--accent);
  content: "";
}

.path-card span,
.path-card p,
.path-card strong {
  display: block;
  margin-left: 24px;
  margin-right: 24px;
}

.path-card span {
  max-width: 310px;
  margin-top: 132px;
  font-size: 28px;
  font-weight: 840;
  line-height: 1.08;
}

.path-card p {
  max-width: 330px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.path-card strong {
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
}

.path-card strong::after {
  content: " ->";
  color: #fff;
}

.path-card:hover img {
  transform: scale(1.05);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card,
.service-card,
.case-card,
.article-grid article {
  overflow: hidden;
  border: 1px solid rgba(217, 221, 226, 0.78);
  border-radius: 0;
  background: var(--white);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.service-card:hover,
.case-card:hover,
.article-grid article:hover {
  border-color: rgba(255, 102, 0, 0.35);
  box-shadow: 0 22px 55px rgba(17, 19, 24, 0.1);
  transform: translateY(-2px);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--surface);
}

.product-card div {
  padding: 24px 24px 26px;
}

.product-card h3,
.service-card h3,
.case-card h3,
.article-grid h3,
.benefit-grid h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 820;
  line-height: 1.2;
}

.product-card p,
.service-card p,
.case-card p,
.article-grid p,
.benefit-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.product-card a,
.article-grid a {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 820;
}

.why-section {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(255, 102, 0, 0.18) calc(50% - 1px), rgba(255, 102, 0, 0.18) 50%, transparent 50%),
    #f7f8f9;
  border-block: 1px solid rgba(217, 221, 226, 0.86);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 34px;
}

.benefit-grid article {
  padding: 10px 30px 8px 0;
  border-right: 1px solid var(--line);
}

.benefit-grid article:last-child {
  border-right: 0;
}

.benefit-grid svg {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.machine-section {
  background:
    linear-gradient(90deg, var(--graphite) 0%, var(--graphite) 52%, #ffffff 52%, #ffffff 100%);
}

.machine-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: stretch;
}

.machine-copy {
  padding: 54px 46px;
  border-left: 6px solid var(--accent);
  background: var(--graphite);
  color: var(--white);
}

.machine-copy .section-title {
  color: var(--white);
}

.lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.62;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
}

.check-list li::before {
  margin-right: 10px;
  color: var(--accent);
  content: "/";
  font-weight: 900;
}

.machine-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.machine-media img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(17, 19, 24, 0.13);
  object-fit: cover;
}

.machine-main {
  grid-row: span 2;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.service-tags span {
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 275px;
  object-fit: cover;
}

.service-card div {
  padding: 32px;
}

.process-section {
  padding-top: 58px;
  background: #f8f9fa;
  border-block: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 150px;
  padding: 24px;
  border: 0;
  border-top: 2px solid #cfd5db;
  border-radius: 0;
  background: var(--white);
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -18px;
  color: var(--accent);
  content: "->";
  font-weight: 900;
  transform: translateY(-50%);
  z-index: 2;
}

.process-list span {
  display: block;
  color: var(--accent);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.process-list strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
}

.process-list p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.case-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.case-card img,
.article-grid img {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.case-card div,
.article-grid article {
  padding: 22px;
}

.case-card span,
.article-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-card h3,
.article-grid h3 {
  margin-top: 8px;
}

.case-card strong {
  display: block;
  margin-top: 16px;
  color: #22272f;
  font-size: 14px;
}

.trust-section {
  padding-top: 54px;
  background: #f7f8f9;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  margin-top: 26px;
  border: 1px solid rgba(217, 221, 226, 0.7);
  background: var(--white);
}

.logo-wall span {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: #7a8088;
  font-size: 18px;
  font-weight: 850;
  text-align: center;
  filter: grayscale(1);
}

.logo-wall span:last-child {
  border-right: 0;
}

.knowledge-section {
  padding-top: 54px;
}

.article-grid article {
  padding: 0;
}

.article-grid article > span,
.article-grid article > h3,
.article-grid article > a {
  margin-inline: 22px;
}

.article-grid article > span {
  display: block;
  margin-top: 20px;
}

.article-grid article > a {
  margin-bottom: 24px;
}

.cta-section {
  padding: 58px 0;
  background:
    linear-gradient(120deg, var(--accent) 0%, #f07a18 52%, #22272f 52%, #171b21 100%);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-inner h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.cta-inner p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  background: #12161c;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 36px;
  padding: 46px 0 34px;
}

.footer-brand img {
  width: 148px;
  padding: 8px 10px;
  background: var(--white);
}

.footer-brand p {
  max-width: 330px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 15px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 18px;
  }

  .hero-grid,
  .machine-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 470px;
  }

  .proof-strip,
  .benefit-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .case-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 10px;
    font-size: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav a {
    padding: 8px 0;
    white-space: nowrap;
  }

  .main-nav a::after {
    bottom: 0;
  }

  .hero {
    min-height: 0;
    padding-top: 40px;
  }

  .hero-grid,
  .path-grid,
  .product-grid,
  .benefit-grid,
  .service-grid,
  .process-list,
  .case-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero-media img {
    height: 260px;
  }

  .hero-media::before {
    right: -10px;
    bottom: -10px;
    left: 18px;
    height: 10px;
  }

  .hero-media::after {
    top: 16px;
    right: -10px;
    bottom: -10px;
    width: 10px;
  }

  .media-stack,
  .hero-side {
    display: none;
  }

  .section-head,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .machine-media {
    grid-template-columns: 1fr;
  }

  .machine-main {
    grid-row: auto;
  }

  .process-list li:not(:last-child)::after {
    display: none;
  }

  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}
