* {
  box-sizing: border-box;
}

:root {
  --bg: #f1f1ee;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #6c6c68;
  --line: #d7d7d1;
  --dark: #101010;
  --dark-soft: #191919;
  --yellow: #f4c900;
  --yellow-dark: #d7b000;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
  --shell: 1380px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 16, 0.96);
  color: #fff;
  border-bottom: 1px solid #2d2d2d;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.header-brands {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.18);
}

.lkw-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lkw-brand img {
  display: block;
  width: 125px;
  height: auto;
  object-fit: contain;
}
.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font: 800 22px/1 var(--sans);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: .05em;
}

.brand-copy small {
  color: #8b8b8b;
  font: 500 9px/1 var(--mono);
  letter-spacing: .14em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.main-nav a {
  position: relative;
  color: #c8c8c8;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -12px;
  height: 2px;
  background: var(--yellow);
  transition: right .25s ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::after {
  right: 0;
}

.header-cta,
.btn,
.search-button,
.form-submit {
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.header-cta {
  padding: 14px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.header-cta:hover,
.btn-primary:hover,
.search-button:hover,
.form-submit:hover {
  background: #ffe02b;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  padding: 72px 0 88px;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font: 600 11px/1.2 var(--mono);
  letter-spacing: .1em;
  color: var(--muted);
}

.eyebrow span {
  color: var(--ink);
}

.eyebrow--light,
.eyebrow--light span {
  color: #a8a8a8;
}

.hero h1,
.section-head h2,
.technical-copy h2,
.service-copy h2,
.numbers-head h2,
.request-copy h2 {
  margin: 0;
  font-size: clamp(52px, 6.1vw, 100px);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px #777771;
}

.hero-lead {
  max-width: 700px;
  margin: 34px 0 0;
  color: #555550;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.btn-primary {
  background: var(--yellow);
}

.btn-ghost {
  background: transparent;
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-dark {
  margin-top: 34px;
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--yellow);
  color: var(--ink);
}

.hero-meta {
  margin-top: 68px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-meta span,
.footer-contact span,
.request-form label > span {
  color: var(--muted);
  font: 500 9px/1.2 var(--mono);
  letter-spacing: .12em;
}

.hero-meta strong {
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.vertical-label {
  position: absolute;
  right: -34px;
  bottom: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .15em;
}

.photo-placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 49.7%, rgba(0,0,0,.075) 50%, transparent 50.3%),
    linear-gradient(45deg, transparent 49.7%, rgba(0,0,0,.075) 50%, transparent 50.3%),
    #deded9;
  border: 1px solid #c7c7c1;
  color: #777772;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 600 10px/1.4 var(--mono);
  letter-spacing: .08em;
}

.photo-placeholder--hero {
  min-height: 650px;
  padding: 44px;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(135deg, transparent 49.9%, rgba(0,0,0,.08) 50%, transparent 50.1%),
    linear-gradient(45deg, transparent 49.9%, rgba(0,0,0,.08) 50%, transparent 50.1%),
    #d8d8d3;
}

.photo-placeholder--hero strong,
.photo-placeholder--service strong {
  color: #53534f;
  font: 700 13px/1.4 var(--mono);
  letter-spacing: .08em;
}

.photo-placeholder small {
  color: #85857f;
  font: 500 9px/1.4 var(--mono);
}

.placeholder-index {
  position: absolute;
  top: 22px;
  left: 22px;
  color: #555;
}

.placeholder-cross {
  width: 88px;
  height: 88px;
  border: 1px solid #9b9b95;
  position: relative;
  margin-bottom: 8px;
}

.placeholder-cross::before,
.placeholder-cross::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1px;
  height: 112px;
  background: #9b9b95;
  transform-origin: center;
}

.placeholder-cross::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.placeholder-cross::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.part-search,
.machines,
.service,
.request {
  padding: 110px 0;
}

.section-head {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.section-head h2 {
  font-size: clamp(40px, 5vw, 76px);
}

.section-head p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.search-panel {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  background: #fff;
  border: 1px solid var(--ink);
}

.search-field {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.search-number {
  min-width: 70px;
  text-align: center;
  color: var(--muted);
  font: 500 10px/1 var(--mono);
}

.search-field input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}

.search-icon {
  padding: 0 24px;
  font-size: 28px;
}

.search-button {
  min-width: 160px;
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--yellow);
  font-weight: 800;
  cursor: pointer;
}

.search-button span {
  margin-left: 12px;
}

.search-hint {
  margin-top: 13px;
  color: var(--muted);
  font: 500 10px/1.5 var(--mono);
}

.search-hint span {
  color: var(--ink);
}

.catalog-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.catalog-card {
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform .25s ease, background .25s ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
}

.catalog-card.is-hidden {
  display: none;
}

.card-topline {
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .09em;
}

.photo-placeholder--part {
  min-height: 210px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.card-copy {
  padding: 24px;
}

.card-copy h3 {
  min-height: 56px;
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.card-copy p {
  min-height: 70px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.card-copy a {
  margin-top: 28px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
}

.search-empty {
  display: none;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.search-empty.is-visible {
  display: block;
}

.technical-banner,
.numbers {
  background: var(--dark);
  color: #fff;
}

.technical-banner {
  padding: 112px 0;
}

.technical-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: center;
}

.diagram-placeholder {
  min-height: 510px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  background:
    linear-gradient(#222 1px, transparent 1px),
    linear-gradient(90deg, #222 1px, transparent 1px),
    #151515;
  background-size: 32px 32px;
  color: #777;
}

.diagram-label {
  position: absolute;
  left: 18px;
  top: 18px;
  font: 500 9px/1 var(--mono);
  letter-spacing: .12em;
}

.diagram-placeholder strong {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #8e8e8e;
  font: 500 10px/1 var(--mono);
  letter-spacing: .1em;
}

.diagram-shape {
  position: relative;
  width: 300px;
  height: 260px;
}

.diagram-shape span {
  position: absolute;
  border: 1px solid #656565;
}

.diagram-shape span:nth-child(1) {
  width: 180px;
  height: 115px;
  left: 50px;
  top: 70px;
  transform: rotate(-12deg);
}

.diagram-shape span:nth-child(2) {
  width: 90px;
  height: 90px;
  left: 0;
  top: 0;
  border-radius: 50%;
}

.diagram-shape span:nth-child(3) {
  width: 76px;
  height: 76px;
  right: 0;
  bottom: 0;
  border-radius: 50%;
}

.diagram-shape span:nth-child(4) {
  width: 1px;
  height: 260px;
  left: 149px;
  border: 0;
  background: #4c4c4c;
  transform: rotate(35deg);
}

.technical-copy h2 {
  font-size: clamp(44px, 5vw, 72px);
}

.technical-copy p {
  max-width: 590px;
  margin: 32px 0;
  color: #a7a7a7;
  font-size: 15px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  gap: 22px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.machine-list {
  margin-top: 50px;
  border-top: 1px solid var(--ink);
}

.machine-row {
  display: grid;
  grid-template-columns: 80px 280px 1fr 70px;
  gap: 24px;
  align-items: center;
  min-height: 190px;
  border-bottom: 1px solid var(--ink);
  transition: background .25s ease;
}

.machine-row:hover {
  background: #fff;
}

.machine-index {
  font: 600 11px/1 var(--mono);
  color: var(--muted);
}

.machine-image {
  height: 140px;
}

.machine-title > span {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .12em;
}

.machine-title h3 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -.045em;
}

.machine-arrow {
  font-size: 28px;
  text-align: right;
}

.service {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.service-copy h2 {
  font-size: clamp(46px, 5.3vw, 80px);
}

.service-copy > p {
  max-width: 520px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-points {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.service-points div {
  min-height: 52px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.service-points span {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
}

.service-points strong {
  font-size: 13px;
}

.photo-placeholder--service {
  min-height: 620px;
  flex-direction: column;
  gap: 10px;
}

.numbers {
  padding: 110px 0;
}

.numbers-head h2 {
  font-size: clamp(45px, 5vw, 76px);
}

.number-grid {
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #343434;
  border-left: 1px solid #343434;
}

.number-card {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid #343434;
  border-bottom: 1px solid #343434;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.number-card > span {
  color: #7d7d7d;
  font: 500 9px/1 var(--mono);
  letter-spacing: .1em;
}

.number-card strong {
  font-size: clamp(44px, 4.8vw, 72px);
  letter-spacing: -.06em;
}

.number-card p {
  margin: 0;
  color: #8c8c8c;
  font-size: 12px;
  line-height: 1.6;
}

.request-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.request-copy h2 {
  font-size: clamp(48px, 5.5vw, 84px);
}

.request-copy p {
  max-width: 500px;
  margin-top: 30px;
  color: var(--muted);
  line-height: 1.8;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.request-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  outline: none;
  padding: 17px 18px;
  transition: border-color .2s ease;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: var(--ink);
}

.request-form textarea {
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-submit {
  min-height: 60px;
  border: 0;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.footer {
  background: #0d0d0d;
  color: #fff;
  padding: 60px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 45px;
  align-items: start;
}

.brand--footer {
  margin-bottom: 16px;
}

.footer-top > div:first-child p {
  max-width: 330px;
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a,
.footer-contact strong {
  font-size: 13px;
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  color: #666;
  font: 500 9px/1 var(--mono);
  letter-spacing: .08em;
}

.footer-bottom a:hover {
  color: var(--yellow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .main-nav {
    gap: 18px;
  }

  .hero-grid,
  .technical-grid,
  .service-grid,
  .request-grid {
    gap: 40px;
  }

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

  .machine-row {
    grid-template-columns: 60px 230px 1fr 50px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    height: calc(100vh - 82px);
    background: #101010;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    transform: translateX(100%);
    transition: transform .25s ease;
  }

  body.menu-open .main-nav {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 20px 4px;
    border-bottom: 1px solid #2a2a2a;
    font-size: 18px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid,
  .technical-grid,
  .service-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .photo-placeholder--hero {
    min-height: 520px;
  }

  .vertical-label {
    display: none;
  }

  .technical-copy {
    order: -1;
  }

  .machine-row {
    grid-template-columns: 42px 160px 1fr 36px;
    gap: 15px;
  }

  .request-grid {
    gap: 48px;
  }

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

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    inset: 70px 0 auto;
    height: calc(100vh - 70px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: auto;
    padding: 45px 0 64px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .photo-placeholder--hero {
    min-height: 440px;
  }

  .part-search,
  .machines,
  .service,
  .request,
  .technical-banner,
  .numbers {
    padding: 72px 0;
  }

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

  .section-head h2,
  .technical-copy h2,
  .service-copy h2,
  .numbers-head h2,
  .request-copy h2 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-button {
    min-height: 58px;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .search-number {
    min-width: 45px;
  }

  .search-icon {
    padding: 0 14px;
  }

  .catalog-grid,
  .number-grid {
    grid-template-columns: 1fr;
  }

  .technical-grid {
    gap: 50px;
  }

  .diagram-placeholder {
    min-height: 390px;
  }

  .diagram-shape {
    transform: scale(.72);
  }

  .machine-row {
    grid-template-columns: 30px 96px 1fr 26px;
    min-height: 130px;
  }

  .machine-image {
    height: 90px;
  }

  .machine-title h3 {
    font-size: 22px;
  }

  .machine-title > span {
    font-size: 7px;
  }

  .photo-placeholder--service {
    min-height: 420px;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    gap: 20px;
    flex-direction: column;
  }
    .header-brands {
    gap: 10px;
  }

  .brand-divider {
    height: 28px;
  }

  .lkw-brand img {
    width: 90px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 7px;
  }
}


.machine-title p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}


/* ===== Catalogue / machine detail ===== */

button {
  font-family: inherit;
}

.header-cta {
  border: 0;
  cursor: pointer;
}

.product-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-card {
  min-width: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card__visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-card__placeholder {
  min-height: 310px;
  border: 0;
  transition: transform .4s ease;
}

.product-card:hover .product-card__placeholder {
  transform: scale(1.015);
}

.product-card__type {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 10px;
  background: var(--yellow);
  color: #111;
  font: 700 9px/1 var(--mono);
  letter-spacing: .1em;
}

.product-card__body {
  padding: 25px;
}

.product-card__code {
  margin-bottom: 13px;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .1em;
}

.product-card h2,
.product-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.product-card p {
  min-height: 66px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.product-card__price {
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.product-card__price span {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .1em;
}

.product-card__price strong {
  font-size: 13px;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.machine-detail-link,
.machine-price-link {
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.machine-detail-link:hover {
  background: var(--ink);
  color: #fff;
}

.machine-price-link {
  background: var(--yellow);
}

.machine-price-link:hover {
  background: #ffdf27;
}

.catalog-bottom-action {
  margin-top: 34px;
  display: flex;
  justify-content: flex-end;
}

.request-side {
  display: flex;
}

.request-big-button {
  width: 100%;
  min-height: 260px;
  padding: 32px;
  border: 0;
  background: var(--yellow);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -.05em;
}

.request-big-button b {
  font-size: 42px;
  font-weight: 400;
}

.catalog-page-head {
  padding: 90px 0 54px;
  background: #151515;
  color: #fff;
}

.catalog-page-head__row {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: end;
}

.catalog-page-head h1 {
  margin: 0;
  font-size: clamp(64px, 9vw, 140px);
  line-height: .82;
  letter-spacing: -.075em;
}

.catalog-page-head p {
  margin: 0 0 8px;
  color: #999;
  font-size: 15px;
  line-height: 1.8;
}

.catalog-page {
  padding: 70px 0 110px;
}

.product-grid--catalog {
  margin-top: 0;
}

.machine-breadcrumb {
  padding-top: 30px;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .08em;
}

.machine-hero {
  padding: 0 0 90px;
}

.machine-hero__grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 60px;
  align-items: center;
}

.machine-hero__copy h1 {
  margin: 0;
  font-size: clamp(60px, 8vw, 118px);
  line-height: .86;
  letter-spacing: -.075em;
}

.machine-hero__copy > p {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.machine-commercial {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.machine-commercial > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.machine-commercial > div span {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .12em;
}

.machine-commercial > div strong {
  font-size: 26px;
}

.machine-main-photo {
  min-height: 610px;
  flex-direction: column;
  gap: 10px;
}

.machine-main-photo strong {
  color: #555;
  font: 700 12px/1.4 var(--mono);
}

.machine-info {
  padding: 105px 0;
  background: #fff;
}

.machine-info__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}

.machine-description h2 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: .92;
  letter-spacing: -.06em;
}

.machine-description > p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.machine-feature-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.machine-feature-list > div {
  min-height: 56px;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.machine-feature-list span {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
}

.machine-feature-list strong {
  font-size: 13px;
}

.machine-specs {
  border: 1px solid var(--ink);
}

.machine-specs__head {
  min-height: 120px;
  padding: 25px;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.machine-specs__head span {
  color: #777;
  font: 500 9px/1 var(--mono);
  letter-spacing: .12em;
}

.machine-specs__head strong {
  font-size: 30px;
  letter-spacing: -.04em;
}

.machine-spec-row {
  min-height: 68px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.machine-spec-row span {
  color: var(--muted);
  font-size: 12px;
}

.machine-spec-row strong {
  text-align: right;
  font-size: 13px;
}

.spec-note {
  margin: 0;
  padding: 20px 24px;
  background: #f4f4f1;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.machine-gallery {
  padding: 110px 0;
}

.machine-gallery__grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  grid-template-rows: repeat(2, 280px);
  gap: 12px;
}

.machine-gallery__grid > div {
  min-height: 0;
}

.machine-gallery__large {
  grid-row: 1 / 3;
}

.machine-cta {
  padding: 100px 0;
  background: var(--dark);
  color: #fff;
}

.machine-cta__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: end;
}

.machine-cta h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 90px);
  line-height: .9;
  letter-spacing: -.065em;
}

.machine-cta p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #929292;
  line-height: 1.75;
}

.machine-cta__button {
  min-height: 280px;
  padding: 28px;
  border: 0;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.machine-cta__button span {
  max-width: 280px;
  font-size: 34px;
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
}

.machine-cta__button b {
  align-self: flex-end;
  color: #111;
  font-size: 38px;
}

body.modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal.is-open {
  display: flex;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 42px;
  background: #f4f4f1;
  border-top: 5px solid var(--yellow);
  box-shadow: 0 30px 100px rgba(0,0,0,.35);
}

.lead-modal__close {
  position: absolute;
  right: 17px;
  top: 13px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.lead-modal__index {
  margin-bottom: 18px;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .12em;
}

.lead-modal h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 62px);
  line-height: .9;
  letter-spacing: -.06em;
}

.lead-modal__dialog > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.lead-form {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label > span {
  color: var(--muted);
  font: 600 9px/1 var(--mono);
  letter-spacing: .1em;
}

.lead-form label em {
  font-style: normal;
  color: #aaa;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #c8c8c2;
  border-radius: 0;
  background: #fff;
  padding: 15px 16px;
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--ink);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .form-submit {
  width: 100%;
  min-height: 58px;
}

.lead-form .form-submit:disabled {
  opacity: .6;
  cursor: wait;
}

.lead-form__status {
  min-height: 18px;
  font-size: 11px;
  line-height: 1.5;
}

.lead-form__status.is-success {
  color: #18703a;
}

.lead-form__status.is-error {
  color: #ae2525;
}

.not-found {
  min-height: 70vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

.not-found h1 {
  margin: 0 0 45px;
  font-size: clamp(70px, 11vw, 170px);
  line-height: .78;
  letter-spacing: -.08em;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .machine-info__grid {
    gap: 48px;
  }

  .machine-cta__inner {
    grid-template-columns: 1fr 310px;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .catalog-page-head__row,
  .machine-hero__grid,
  .machine-info__grid,
  .machine-cta__inner {
    grid-template-columns: 1fr;
  }

  .catalog-page-head__row {
    gap: 30px;
  }

  .machine-hero__grid {
    min-height: auto;
    padding-top: 55px;
  }

  .machine-hero__visual {
    order: -1;
  }

  .machine-main-photo {
    min-height: 500px;
  }

  .machine-cta__button {
    min-height: 200px;
  }
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__placeholder {
    min-height: 270px;
  }

  .product-card__actions {
    grid-template-columns: 1fr;
  }

  .catalog-page-head h1 {
    font-size: 64px;
  }

  .machine-hero__copy h1 {
    font-size: 58px;
  }

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

  .machine-commercial .btn {
    width: 100%;
  }

  .machine-main-photo {
    min-height: 400px;
  }

  .machine-gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }

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

  .lead-modal {
    padding: 10px;
  }

  .lead-modal__dialog {
    padding: 32px 20px 24px;
    max-height: calc(100vh - 20px);
  }

  .request-big-button {
    min-height: 190px;
  }
}


/* ===== Language switch ===== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #676767;
  font: 600 10px/1 var(--mono);
  letter-spacing: .08em;
  white-space: nowrap;
}

.language-switch a {
  color: #7f7f7f;
  transition: color .2s ease;
}

.language-switch a:hover {
  color: #fff;
}

.language-switch a.is-active {
  color: var(--yellow);
  pointer-events: none;
}

.language-switch span {
  color: #3e3e3e;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 24px;
  }

  .header-actions {
    gap: 12px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    justify-self: end;
  }

  .header-actions .header-cta {
    display: none;
  }

  .language-switch {
    margin-right: 6px;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 420px) {
  .brand-copy {
    display: none;
  }
}

/* ===== Full PONSSE product range ===== */


.catalog-anchor-nav {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #343434;
  border-left: 1px solid #343434;
}

.catalog-anchor-nav a {
  min-height: 70px;
  padding: 0 20px;
  border-right: 1px solid #343434;
  border-bottom: 1px solid #343434;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #b8b8b8;
  font: 700 11px/1.2 var(--mono);
  letter-spacing: .06em;
  transition: background .2s ease, color .2s ease;
}

.catalog-anchor-nav a:hover {
  background: var(--yellow);
  color: #111;
}

.catalog-anchor-nav span {
  color: var(--yellow);
}

.catalog-anchor-nav a:hover span {
  color: #111;
}

.catalog-category {
  scroll-margin-top: 110px;
  margin-bottom: 110px;
}

.catalog-category:last-child {
  margin-bottom: 0;
}

.catalog-category__head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.catalog-category__head span,
.catalog-category__head > strong {
  color: var(--muted);
  font: 600 9px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.catalog-category__head h2 {
  margin: 10px 0 0;
  font-size: clamp(40px, 5vw, 76px);
  line-height: .9;
  letter-spacing: -.06em;
}

.catalog-category .product-grid {
  margin-top: 0;
}

.product-card__quick-specs {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.product-card__quick-specs > div {
  min-height: 48px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.product-card__quick-specs span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.product-card__quick-specs strong {
  text-align: right;
  font-size: 10px;
  line-height: 1.35;
}









.machine-sources > a {
  min-height: 54px;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  transition: background .2s ease;
}

.machine-sources > a:hover {
  background: var(--yellow);
}

.machine-sources > a > span {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
}

.machine-sources > a > b {
  font-size: 16px;
}

@media (max-width: 760px) {
  .catalog-anchor-nav {
    grid-template-columns: 1fr;
  }

  .catalog-category__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-category__head > strong {
    align-self: flex-start;
  }

  

  
}


/* ===== HERO TITLE FINAL FIX ===== */

.hero .shell {
  width: min(calc(100% - 64px), 1600px);
}

.hero-copy {
  min-width: 0;
  overflow: visible;
}

.hero-title {
  width: 100%;
  max-width: 100%;
}

.hero h1 .hero-title__line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  color: var(--ink);
  -webkit-text-stroke: 0;
}

.hero h1 .hero-title__line--outline {
  color: transparent;
  -webkit-text-stroke: 1px #777771;
}

/* Russian needs separate proportions because the second word is very long. */
html[lang="ru"] .hero-grid {
  grid-template-columns: minmax(0, 1.03fr) minmax(520px, .97fr);
  gap: 58px;
}

html[lang="ru"] .hero-title {
  font-size: clamp(58px, 4.45vw, 82px);
  line-height: .94;
  letter-spacing: -.06em;
}

html[lang="ru"] .hero-title__line--outline {
  font-size: .76em;
  letter-spacing: -.045em;
  line-height: 1.08;
}

html[lang="ru"] .hero-title__line--last {
  font-size: .88em;
  letter-spacing: -.055em;
}

/* English keeps the larger original visual rhythm. */
html[lang="en"] .hero-title {
  font-size: clamp(58px, 5.15vw, 94px);
}

@media (max-width: 1450px) {
  html[lang="ru"] .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr);
    gap: 44px;
  }

  html[lang="ru"] .hero-title {
    font-size: clamp(54px, 4.2vw, 74px);
  }
}

@media (max-width: 1180px) {
  html[lang="ru"] .hero-grid,
  html[lang="en"] .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  html[lang="ru"] .hero-title {
    font-size: clamp(52px, 7vw, 78px);
  }

  html[lang="ru"] .hero-title__line--outline {
    font-size: .80em;
  }

  html[lang="ru"] .hero-title__line--last {
    font-size: .92em;
  }
}

@media (max-width: 620px) {
  .hero .shell {
    width: min(calc(100% - 24px), 1600px);
  }

  .hero h1 .hero-title__line {
    width: auto;
    white-space: normal;
  }

  html[lang="ru"] .hero-title {
    font-size: clamp(39px, 11vw, 58px);
  }

  html[lang="ru"] .hero-title__line--outline {
    font-size: .75em;
    overflow-wrap: anywhere;
  }

  html[lang="ru"] .hero-title__line--last {
    font-size: .82em;
  }
}


/* ===== News / Blog ===== */

.home-news,
.blog-page,
.article-content {
  padding: 110px 0;
}

.home-news {
  overflow: hidden;
  background: #f1f1ee;
}

.home-news__head-right {
  width: min(100%, 430px);
  display: grid;
  gap: 20px;
}

.home-news__head-right > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.news-carousel__controls {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
}

.news-carousel__button {
  width: 46px;
  height: 46px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
}

.news-carousel__button:hover {
  background: #111;
  color: #fff;
}

.news-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 31%);
  gap: 14px;
  margin-top: 42px;
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.news-carousel::-webkit-scrollbar { display: none; }

.news-carousel__card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: #fff;
}

.news-carousel__media {
  display: block;
  border-bottom: 1px solid var(--line);
}

.news-carousel__media .photo-placeholder {
  min-height: 235px;
  border: 0;
}

.news-carousel__body {
  padding: 23px;
}

.news-carousel__date,
.news-card__date {
  color: var(--muted);
  font: 600 9px/1 var(--mono);
  letter-spacing: .1em;
}

.news-carousel__body h3 {
  min-height: 58px;
  margin: 16px 0 12px;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.news-carousel__body p {
  min-height: 67px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.news-carousel__link,
.news-card__link {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-news__footer {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}

.blog-head {
  padding: 92px 0 60px;
  background: #111;
  color: #fff;
}

.blog-head__row {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: end;
}

.blog-head h1 {
  margin: 0;
  font-size: clamp(68px, 10vw, 150px);
  line-height: .78;
  letter-spacing: -.075em;
}

.blog-head p {
  margin: 0 0 8px;
  color: #999;
  font-size: 15px;
  line-height: 1.8;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.news-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.news-card__placeholder {
  min-height: 280px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.news-card__body {
  padding: 25px;
}

.news-card h2 {
  min-height: 64px;
  margin: 16px 0 12px;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.news-card p {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.blog-empty {
  padding: 70px 20px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  color: var(--muted);
}

.article-hero {
  padding: 60px 0 70px;
  background: #111;
  color: #fff;
}

.article-back {
  display: inline-block;
  margin-bottom: 50px;
  color: #8e8e8e;
  font: 600 10px/1 var(--mono);
  letter-spacing: .08em;
}

.article-meta {
  display: flex;
  gap: 8px;
  color: #7a7a7a;
  font: 600 9px/1 var(--mono);
  letter-spacing: .11em;
}

.article-hero h1 {
  max-width: 1200px;
  margin: 25px 0 0;
  font-size: clamp(52px, 7vw, 108px);
  line-height: .9;
  letter-spacing: -.065em;
}

.article-lead {
  max-width: 800px;
  margin: 30px 0 0;
  color: #aaa;
  font-size: 17px;
  line-height: 1.7;
}

.article-media {
  min-height: 600px;
  margin-top: 30px;
}

.article-content__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  gap: 70px;
  justify-content: center;
}

.article-content aside {
  padding-top: 5px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-top: 1px solid #111;
}

.article-content aside span {
  padding-top: 14px;
  color: var(--muted);
  font: 600 9px/1 var(--mono);
  letter-spacing: .1em;
}

.article-content aside strong {
  font-size: 13px;
}

.article-text {
  white-space: pre-line;
  font-size: 17px;
  line-height: 1.9;
}

@media (max-width: 1000px) {
  .news-carousel {
    grid-auto-columns: minmax(320px, 46%);
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-head__row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .article-content__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 620px) {
  .home-news,
  .blog-page,
  .article-content {
    padding: 72px 0;
  }

  .home-news__head-right {
    width: 100%;
  }

  .news-carousel__controls {
    justify-content: flex-start;
  }

  .news-carousel {
    grid-auto-columns: 88%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-head {
    padding: 65px 0 45px;
  }

  .blog-head h1 {
    font-size: 64px;
  }

  .article-hero h1 {
    font-size: 48px;
  }

  .article-media {
    min-height: 360px;
  }

  .article-text {
    font-size: 15px;
  }
}


/* News cover images */
.news-carousel__image,
.news-card__image {
  width: 100%;
  display: block;
  object-fit: cover;
  background: #deded9;
}

.news-carousel__image {
  height: 235px;
}

.news-card__image {
  height: 280px;
}

.article-media--image {
  width: 100%;
  height: auto;
  max-height: 760px;
  display: block;
  object-fit: cover;
  background: #deded9;
}

@media (max-width: 620px) {
  .news-carousel__image {
    height: 220px;
  }

  .news-card__image {
    height: 250px;
  }

  .article-media--image {
    max-height: 520px;
  }
}



/* ===== Real site images ===== */

.hero-photo {
  width: 100%;
  height: clamp(520px, 64vh, 720px);
  display: block;
  object-fit: cover;
  background: #deded8;
}

.technical-visual {
  min-width: 0;
}

.technical-photo {
  width: 100%;
  height: clamp(390px, 42vw, 510px);
  display: block;
  object-fit: cover;
  border: 1px solid #3a3a3a;
  background: #151515;
}

.service-photo {
  width: 100%;
  min-height: 440px;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #deded8;
}

.product-card__visual {
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 270px;
  display: block;
  object-fit: cover;
  background: #deded8;
  transition: transform .45s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.025);
}

.machine-main-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  max-height: 720px;
  display: block;
  object-fit: cover;
  background: #deded8;
}

.machine-gallery__image {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  background: #deded8;
}

.machine-gallery__image.machine-gallery__large {
  height: 100%;
  min-height: 654px;
}

@media (max-width: 1000px) {
  .hero-photo {
    height: 560px;
  }

  .machine-main-image {
    min-height: 470px;
  }

  .machine-gallery__image.machine-gallery__large {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .hero-photo {
    height: 430px;
  }

  .service-photo {
    min-height: 330px;
  }

  .product-card__image {
    height: 245px;
  }

  .machine-main-image {
    min-height: 380px;
  }

  .machine-gallery__image,
  .machine-gallery__image.machine-gallery__large {
    height: 300px;
    min-height: 300px;
  }
}

/* ===== HERO IMAGE OVERFLOW FIX ===== */

/* Never let decorative hero elements create page-level horizontal scrolling. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero {
  overflow-x: clip;
}

.hero-grid,
.hero-visual {
  min-width: 0;
  max-width: 100%;
}

.hero-visual {
  width: 100%;
  padding-right: 34px;
}

/* The image stays strictly inside the available hero column. */
.hero-visual > .hero-photo,
.hero-visual > .photo-placeholder--hero {
  width: 100%;
  max-width: 100%;
}

.hero-photo {
  box-sizing: border-box;
  object-fit: cover;
  object-position: center;
}

/* Keep the vertical caption inside the column instead of pushing the page wider. */
.hero-visual .vertical-label {
  right: 7px;
}

/* Once the layout becomes one column the vertical caption is hidden,
   so the photo can use the entire width again. */
@media (max-width: 860px) {
  .hero-visual {
    padding-right: 0;
  }

  .hero-visual > .hero-photo,
  .hero-visual > .photo-placeholder--hero {
    width: 100%;
    max-width: 100%;
  }
}

/* ===== 2026 Major navigation / pages / widgets ===== */

/* Mobile header remains visible on every public page. */
@media (max-width: 860px) {
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  body {
    padding-top: 82px;
  }

  .main-nav {
    top: 82px !important;
    inset: 82px 0 0 0 !important;
    height: calc(100dvh - 82px) !important;
    overflow-y: auto;
    z-index: 70;
  }
}

@media (max-width: 620px) {
  body { padding-top: 70px; }
  .main-nav { top: 70px !important; inset: 70px 0 0 0 !important; height: calc(100dvh - 70px) !important; }
}

/* Machinery mega menu */
.machine-nav { position: relative; }
.machine-nav__topline { display: flex; align-items: center; }
.machine-nav__mobile-toggle { display: none; }
.machine-nav__chevron { margin-left: 5px; color: var(--yellow); }

.machine-mega {
  position: fixed;
  top: 82px;
  left: 50%;
  width: min(calc(100% - 64px), 1380px);
  padding: 26px 28px 30px;
  color: #111;
  background: #f1f1ee;
  border: 1px solid #bdbdb7;
  transform: translate(-50%, 12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 22px 50px rgba(0,0,0,.22);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 90;
}

.machine-nav:hover .machine-mega,
.machine-nav:focus-within .machine-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.machine-mega__head {
  padding-bottom: 18px;
  border-bottom: 1px solid #bcbcb5;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.machine-mega__head > div { display: grid; gap: 6px; }
.machine-mega__head span,
.machine-mega__category span { font: 600 9px/1 var(--mono); color: #7b7b76; letter-spacing: .1em; }
.machine-mega__head strong { font-size: 18px; }
.machine-mega__head > a { color: #111 !important; font: 700 10px/1 var(--mono); padding: 0 !important; border: 0 !important; }
.machine-mega__head > a::after { display: none; }

.machine-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; }
.machine-mega__group { min-width: 0; padding: 0 24px; border-right: 1px solid #cdcdc7; }
.machine-mega__group:first-child { padding-left: 0; }
.machine-mega__group:last-child { padding-right: 0; border-right: 0; }
.machine-mega__category { display: flex; gap: 10px; align-items: center; margin-bottom: 13px; }
.machine-mega__category strong { font-size: 12px; letter-spacing: .03em; }
.machine-mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.machine-mega__links a { color: #333 !important; padding: 7px 0 !important; border: 0 !important; font-size: 11px !important; font-weight: 600 !important; }
.machine-mega__links a::after { display: none !important; }
.machine-mega__links a:hover { color: #000 !important; text-decoration: underline; }

@media (max-width: 860px) {
  .machine-nav { width: 100%; border-bottom: 1px solid #2a2a2a; }
  .machine-nav__topline { justify-content: space-between; }
  .machine-nav__trigger { flex: 1; border-bottom: 0 !important; }
  .machine-nav__mobile-toggle { display: block; width: 52px; height: 60px; border: 0; background: transparent; color: var(--yellow); font-size: 26px; }
  .machine-mega { position: static; width: 100%; padding: 0 4px 18px; border: 0; border-top: 1px solid #2a2a2a; background: #151515; color: #fff; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .machine-nav:hover .machine-mega, .machine-nav:focus-within .machine-mega { transform: none; }
  .machine-nav.is-open .machine-mega { display: block; }
  .machine-mega__head { padding: 16px 0; border-color: #303030; }
  .machine-mega__head span, .machine-mega__category span { color: #777; }
  .machine-mega__head strong { font-size: 13px; }
  .machine-mega__head > a { display: none; }
  .machine-mega__grid { grid-template-columns: 1fr; margin-top: 0; }
  .machine-mega__group { padding: 14px 0 !important; border-right: 0; border-bottom: 1px solid #2b2b2b; }
  .machine-mega__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine-mega__links a { color: #aaa !important; padding: 8px 0 !important; font-size: 12px !important; }
}

/* Editorial pages */
.page-hero { padding: 84px 0 74px; background: #f1f1ee; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr); gap: 70px; align-items: center; }
.page-hero h1, .contacts-page h1 { max-width: 920px; margin: 0; font-size: clamp(58px, 6.7vw, 108px); line-height: .88; letter-spacing: -.068em; }
.page-hero__grid > div:first-child > p { max-width: 760px; margin: 30px 0 0; color: #5d5d58; font-size: 17px; line-height: 1.75; }
.page-hero__media { min-width: 0; }
.page-hero__media > img, .contact-visual > img { width: 100%; height: 590px; object-fit: cover; display: block; background: #ddd; }
.page-photo-placeholder { min-height: 590px; }

.editorial-page { padding: 100px 0 120px; }
.editorial-page__grid { display: grid; grid-template-columns: 220px minmax(0, 850px); gap: 70px; justify-content: center; }
.editorial-page aside { padding-top: 16px; border-top: 1px solid #111; display: grid; gap: 10px; align-content: start; }
.editorial-page aside span { color: #777; font: 600 9px/1 var(--mono); letter-spacing: .1em; }
.editorial-page aside strong { font-size: 12px; }
.editorial-page__copy p { margin: 0 0 27px; font-size: 18px; line-height: 1.85; color: #353532; }
.company-facts { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #111; border-left: 1px solid #111; }
.company-facts > div { min-height: 210px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #111; border-bottom: 1px solid #111; }
.company-facts strong { font-size: 37px; letter-spacing: -.05em; }
.company-facts span { max-width: 190px; color: #696965; font-size: 11px; line-height: 1.5; }

.service-page-block { padding: 100px 0 120px; }
.service-capabilities { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #111; border-left: 1px solid #111; }
.service-capabilities article { min-height: 280px; padding: 25px; border-right: 1px solid #111; border-bottom: 1px solid #111; }
.service-capabilities article > span { color: #777; font: 600 9px/1 var(--mono); }
.service-capabilities h2 { margin: 58px 0 15px; font-size: 25px; letter-spacing: -.04em; }
.service-capabilities p { margin: 0; color: #666; font-size: 12px; line-height: 1.7; }
.service-editorial { margin-top: 85px; display: grid; grid-template-columns: 220px minmax(0, 850px); gap: 70px; justify-content: center; }
.service-editorial > div:first-child { padding-top: 15px; border-top: 1px solid #111; font: 600 9px/1 var(--mono); color: #777; }
.service-editorial p { margin: 0 0 25px; font-size: 17px; line-height: 1.85; }

.page-cta { padding: 55px 0; background: #111; color: #fff; }
.page-cta__inner { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.page-cta span { color: #6f6f6f; font: 600 9px/1 var(--mono); letter-spacing: .1em; }
.page-cta h2 { max-width: 900px; margin: 12px 0 0; font-size: clamp(38px, 5vw, 72px); line-height: .9; letter-spacing: -.055em; }

/* Contacts */
.contacts-page { padding: 85px 0 120px; }
.contacts-page__head { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: end; }
.contacts-page__head p { margin: 0 0 8px; color: #666; font-size: 15px; line-height: 1.75; }
.contact-grid { margin-top: 65px; display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid #111; }
.contact-details { padding: 32px; }
.contact-company { padding-bottom: 35px; display: grid; gap: 7px; border-bottom: 1px solid #ccc; }
.contact-company span, .contact-row span { color: #777; font: 600 9px/1 var(--mono); letter-spacing: .1em; }
.contact-company strong { font-size: 20px; }
.contact-row { min-height: 85px; display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; border-bottom: 1px solid #ccc; }
.contact-row strong, .contact-row a { font-size: 15px; font-weight: 700; }
.contact-row a:hover { text-decoration: underline; }
.contact-actions { display: flex; gap: 10px; margin-top: 28px; }
.contact-visual { min-width: 0; border-left: 1px solid #111; }
.contact-visual > img, .contact-visual .page-photo-placeholder { min-height: 100%; height: 100%; }
.map-block { margin-top: 30px; border: 1px solid #111; }
.map-block__head { min-height: 62px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #111; }
.map-block__head span { font: 600 9px/1 var(--mono); color: #777; letter-spacing: .1em; }
.map-block__head strong { font-size: 12px; }
.map-block iframe { width: 100%; height: 520px; border: 0; display: block; filter: grayscale(.18); }

/* Floating WhatsApp and scroll top */
.floating-whatsapp { position: fixed; right: 22px; bottom: 92px; z-index: 75; height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 14px 0 8px; background: #111; color: #fff; border: 1px solid #444; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.floating-whatsapp span { width: 32px; height: 32px; display: grid; place-items: center; background: #25D366; color: #08180e; border-radius: 50%; font: 800 10px/1 var(--sans); }
.floating-whatsapp strong { font-size: 10px; }
.scroll-top { position: fixed; right: 22px; bottom: 28px; z-index: 75; width: 48px; height: 48px; border: 1px solid #111; background: var(--yellow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; cursor: pointer; font-size: 19px; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Website chat */
.site-chat { position: fixed; left: 22px; bottom: 28px; z-index: 95; }
.site-chat__launcher { min-width: 104px; height: 48px; padding: 0 16px; border: 0; background: var(--yellow); display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 800; }
.site-chat__pulse { width: 8px; height: 8px; border-radius: 50%; background: #111; box-shadow: 0 0 0 5px rgba(17,17,17,.10); }
.site-chat__panel { position: absolute; left: 0; bottom: 58px; width: min(390px, calc(100vw - 28px)); height: 590px; max-height: calc(100dvh - 110px); display: flex; flex-direction: column; background: #f4f4f1; border: 1px solid #111; box-shadow: 0 20px 60px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .2s ease; overflow: hidden; }
.site-chat.is-open .site-chat__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.site-chat__head { min-height: 70px; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #111; color: #fff; }
.site-chat__head > div { display: grid; gap: 5px; }
.site-chat__head span { color: #777; font: 600 8px/1 var(--mono); letter-spacing: .1em; }
.site-chat__head strong { font-size: 13px; }
.site-chat__head button { border: 0; background: transparent; color: #fff; font-size: 25px; cursor: pointer; }
.site-chat__start { padding: 22px; overflow-y: auto; }
.site-chat__start > p { margin: 0 0 20px; color: #666; font-size: 12px; line-height: 1.65; }
.site-chat__start form { display: grid; gap: 14px; }
.site-chat__start label { display: grid; gap: 7px; }
.site-chat__start label span { color: #777; font: 600 8px/1 var(--mono); letter-spacing: .1em; }
.site-chat__start input { min-height: 48px; border: 1px solid #aaa; background: #fff; padding: 0 12px; outline: 0; }
.site-chat__start input:focus { border-color: #111; }
.site-chat__start form button { min-height: 52px; border: 1px solid #111; background: var(--yellow); display: flex; justify-content: space-between; align-items: center; padding: 0 14px; font-size: 10px; font-weight: 800; cursor: pointer; }
.site-chat__error { min-height: 18px; margin-top: 12px; color: #a02020; font-size: 10px; }
.site-chat__room { height: calc(100% - 70px); min-height: 0; display: flex; flex-direction: column; }
.site-chat__status { min-height: 36px; padding: 0 14px; display: flex; align-items: center; border-bottom: 1px solid #ccc; color: #666; font: 600 9px/1 var(--mono); }
.site-chat__status[data-status="active"] { color: #176b30; background: #edf7ef; }
.site-chat__status[data-status="closed"] { color: #7f2727; background: #faeeee; }
.site-chat__messages { flex: 1; min-height: 0; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.site-chat__message { max-width: 84%; padding: 10px 12px; border: 1px solid #ccc; background: #fff; }
.site-chat__message span { display: block; margin-bottom: 5px; color: #888; font: 600 8px/1 var(--mono); }
.site-chat__message p { margin: 0; white-space: pre-wrap; font-size: 12px; line-height: 1.5; }
.site-chat__message.is-client { align-self: flex-end; background: #fff6c9; border-color: #d5bf55; }
.site-chat__message.is-manager { align-self: flex-start; }
.site-chat__message.is-system { align-self: center; max-width: 96%; border: 0; background: transparent; text-align: center; color: #777; }
.site-chat__message.is-system span { display: none; }
.site-chat__send { padding: 10px; display: grid; grid-template-columns: 1fr 48px; gap: 7px; border-top: 1px solid #ccc; background: #fff; }
.site-chat__send textarea { resize: none; border: 1px solid #aaa; padding: 9px; outline: 0; }
.site-chat__send button { border: 1px solid #111; background: var(--yellow); cursor: pointer; }
.site-chat__new { margin: 0 10px 10px; min-height: 42px; border: 1px solid #111; background: transparent; cursor: pointer; font-weight: 700; }

@media (max-width: 1000px) {
  .page-hero__grid, .contact-grid { grid-template-columns: 1fr; }
  .page-hero__media > img { height: 520px; }
  .company-facts { grid-template-columns: repeat(2, 1fr); }
  .service-capabilities { grid-template-columns: repeat(2, 1fr); }
  .contacts-page__head { grid-template-columns: 1fr; }
  .contact-visual { border-left: 0; border-top: 1px solid #111; }
}

@media (max-width: 700px) {
  .page-hero { padding: 55px 0 60px; }
  .page-hero__grid { gap: 35px; }
  .page-hero h1, .contacts-page h1 { font-size: clamp(48px, 14vw, 72px); }
  .page-hero__media > img, .page-photo-placeholder { height: 390px; min-height: 390px; }
  .editorial-page, .service-page-block, .contacts-page { padding: 65px 0 80px; }
  .editorial-page__grid, .service-editorial { grid-template-columns: 1fr; gap: 30px; }
  .company-facts, .service-capabilities { grid-template-columns: 1fr; }
  .page-cta__inner { align-items: flex-start; flex-direction: column; }
  .contact-details { padding: 20px; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .contact-actions { flex-direction: column; }
  .map-block iframe { height: 400px; }
  .floating-whatsapp { right: 12px; bottom: 76px; }
  .floating-whatsapp strong { display: none; }
  .floating-whatsapp { width: 48px; padding: 0; justify-content: center; }
  .scroll-top { right: 12px; bottom: 16px; }
  .site-chat { left: 12px; bottom: 16px; }
  .site-chat__panel { bottom: 58px; height: min(590px, calc(100dvh - 100px)); }
}


/* ===== FINAL CHAT + WHATSAPP FIX ===== */

/* HTML hidden must ALWAYS win over component display:flex/grid declarations. */
.site-chat [hidden] {
  display: none !important;
}

/* Right-side floating stack */
.floating-whatsapp {
  right: 22px;
  left: auto;
  bottom: 92px;
  z-index: 90;
  width: 58px;
  height: 58px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease, bottom .2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.floating-whatsapp span,
.floating-whatsapp strong {
  display: none !important;
}

.floating-whatsapp svg {
  width: 58px;
  height: 58px;
  display: block;
}

/* Chat is on the right and launcher is a round yellow icon */
.site-chat {
  right: 22px;
  left: auto;
  bottom: 28px;
  z-index: 95;
  transition: bottom .2s ease;
}

.site-chat__launcher {
  min-width: 0;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid #111;
  border-radius: 999px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.site-chat__launcher strong,
.site-chat__pulse {
  display: none !important;
}

.site-chat__launcher svg {
  width: 24px;
  height: 24px;
  display: block;
}

.site-chat__panel {
  left: auto;
  right: 0;
  bottom: 68px;
}

/* One chat state at a time:
   start form before room creation, room after creation. */
.site-chat__start[hidden],
.site-chat__room[hidden] {
  display: none !important;
}

/* When scroll-to-top becomes visible, lift both above it. */
body:has(.scroll-top.is-visible) .site-chat {
  bottom: 92px;
}

body:has(.scroll-top.is-visible) .floating-whatsapp {
  bottom: 156px;
}

@media (max-width: 700px) {
  .site-chat {
    right: 12px;
    left: auto;
    bottom: 16px;
  }

  .site-chat__launcher {
    width: 52px;
    height: 52px;
  }

  .site-chat__launcher svg {
    width: 22px;
    height: 22px;
  }

  .site-chat__panel {
    right: 0;
    left: auto;
    bottom: 62px;
    width: min(390px, calc(100vw - 24px));
  }

  .floating-whatsapp {
    right: 12px;
    left: auto;
    bottom: 80px;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp svg {
    width: 52px;
    height: 52px;
  }

  body:has(.scroll-top.is-visible) .site-chat {
    bottom: 80px;
  }

  body:has(.scroll-top.is-visible) .floating-whatsapp {
    bottom: 144px;
  }
}


/* ===== Chat panel cut-off fix when scroll-top appears ===== */
body:has(.scroll-top.is-visible) .site-chat__panel {
  height: min(590px, calc(100dvh - 174px));
  max-height: calc(100dvh - 174px);
}

@media (max-width: 700px) {
  body:has(.scroll-top.is-visible) .site-chat__panel {
    height: min(590px, calc(100dvh - 154px));
    max-height: calc(100dvh - 154px);
  }
}

/* ===== Machinery submenu stable hover fix ===== */
@media (min-width: 861px) {
  /* Stretch navigation and the machinery item across the complete header height.
     The cursor can now travel from the link to the dropdown without losing hover. */
  .main-nav {
    align-self: stretch;
    align-items: center;
  }

  .machine-nav {
    align-self: stretch;
    display: flex;
    align-items: center;
  }

  .machine-nav__topline {
    height: 100%;
    display: flex;
    align-items: center;
  }

  /* Invisible bridge between the header item and the fixed dropdown. */
  .machine-nav::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -22px;
    right: -22px;
    height: 18px;
    display: none;
    background: transparent;
  }

  .machine-nav:hover::after,
  .machine-nav:focus-within::after {
    display: block;
  }

  /* Additional bridge attached to the dropdown itself. */
  .machine-mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
    background: transparent;
  }

  /* Close with a short delay, open immediately. */
  .machine-mega {
    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility 0s linear .16s;
  }

  .machine-nav:hover .machine-mega,
  .machine-nav:focus-within .machine-mega {
    transition-delay: 0s;
  }
}
