:root {
  --ink: #17202a;
  --muted: #5c6975;
  --line: #d9e0e6;
  --panel: #f7f9fb;
  --paper: #ffffff;
  --steel: #6f7f8d;
  --navy: #203449;
  --blue: #2f6f98;
  --copper: #b77643;
  --mint: #6ea98f;
  --shadow: 0 18px 44px rgba(24, 39, 53, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 150px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.brand small {
  display: block;
  font-weight: 700;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.brand > span:last-child {
  white-space: nowrap;
  overflow-wrap: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #344350;
}

.nav-links a {
  padding: 18px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.language-switcher a {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.language-switcher a:hover,
.language-switcher a.active {
  color: white;
  background: var(--blue);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.button.secondary {
  background: white;
  color: var(--navy);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.54);
  background: transparent;
  color: white;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  place-items: center;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .nav,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .tag-list,
html[dir="rtl"] .language-switcher,
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .floating-contact {
  direction: ltr;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-head,
html[dir="rtl"] .page-hero,
html[dir="rtl"] .card,
html[dir="rtl"] .product-row,
html[dir="rtl"] .panel-body,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .site-footer {
  text-align: right;
}

html[dir="rtl"] .product-row {
  direction: rtl;
}

html[dir="rtl"] .product-row .button,
html[dir="rtl"] .card .button {
  direction: rtl;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(8, 16, 24, 0.88), rgba(8, 16, 24, 0.68) 48%, rgba(8, 16, 24, 0.2)),
    url("images/optimized/washer-workshop-optimized.webp") center / cover no-repeat;
  color: white;
}

.hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 92px 22px 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-metrics {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1px;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.24);
}

.metric {
  padding: 18px;
  background: rgba(10, 18, 26, 0.55);
}

.metric strong {
  display: block;
  font-size: 25px;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 82px 22px;
}

.section.alt {
  background: var(--panel);
}

.section.dark {
  background: #18242f;
  color: white;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

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

.section-head p {
  max-width: 570px;
  color: var(--muted);
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.product-card {
  min-height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-range-visual {
  margin: 34px 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f1c27;
  box-shadow: var(--shadow);
}

.product-range-visual img {
  width: 100%;
  height: clamp(360px, 46vw, 620px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.product-visual {
  height: 150px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid #e0e7ec;
  border-radius: 6px;
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-visual.contain-product {
  height: 150px;
  background: #f8fafc;
}

.product-visual.contain-product img {
  object-fit: contain;
  padding: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  font-size: 12px;
  color: #334756;
  background: #edf2f5;
  border: 1px solid #d9e2e8;
  border-radius: 999px;
  padding: 4px 9px;
}

.solution-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.solution-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e6eef4;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.solution-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.recommended-equipment {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.recommended-equipment span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recommended-equipment strong {
  display: block;
  color: var(--navy);
  line-height: 1.45;
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.factory-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #101b25;
  box-shadow: var(--shadow);
}

.factory-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.factory-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(12, 20, 28, 0.78);
  color: white;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.machine-panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: white;
  background: var(--navy);
  font-weight: 800;
}

.panel-body {
  padding: 24px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.spec-table.wide {
  min-width: 980px;
}

.spec-table th {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  background: #eef3f6;
  text-align: left;
  white-space: nowrap;
}

.spec-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}

.spec-table td:last-child {
  text-align: right;
  color: var(--muted);
}

.spec-table.project-table td:first-child {
  width: 210px;
  color: var(--muted);
  font-weight: 800;
}

.spec-table.project-table td:last-child {
  text-align: left;
  color: var(--ink);
}

.spec-table.wide td,
.spec-table.wide td:last-child {
  text-align: left;
  color: var(--ink);
  white-space: nowrap;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 54px;
}

.step + .step {
  margin-top: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--copper);
  color: white;
  font-weight: 800;
}

.page-hero {
  background: #1b2a38;
  color: white;
  padding: 78px 22px 52px;
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 18px;
}

.crumb {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin-bottom: 14px;
}

.product-list {
  display: grid;
  gap: 18px;
}

.product-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.product-row .product-visual {
  margin: 0;
}

.mini-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.mini-list li {
  margin: 6px 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #edf2f5;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #edf2f5;
}

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

.equipment-item {
  display: grid;
  gap: 14px;
}

.equipment-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 10px;
}

.equipment-item h3 {
  margin: 0;
  font-size: 20px;
}

.equipment-item .spec-table {
  font-size: 13px;
}

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

.media-card {
  display: grid;
  gap: 10px;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #edf2f5;
}

.media-card strong {
  font-size: 14px;
}

.detail-main .card h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.breadcrumb-json-note {
  display: none;
}

.contact-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #344350;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd9e1;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.notice {
  padding: 14px 16px;
  border: 1px solid #c9dcd3;
  background: #eff8f4;
  color: #286348;
  border-radius: 6px;
  display: none;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 8px;
}

.policy {
  max-width: 860px;
}

.policy h2 {
  margin-top: 38px;
  font-size: 26px;
}

.policy p,
.policy li {
  color: var(--muted);
}

.site-footer {
  background: #111b24;
  color: rgba(255, 255, 255, 0.76);
  padding: 54px 22px 28px;
}

.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.float-action {
  min-width: 132px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 900;
}

.float-action.whatsapp {
  background: var(--mint);
}

.float-action.email {
  background: var(--blue);
}

.float-action.quote {
  background: var(--copper);
}

.float-short {
  display: none;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-grid h3 {
  color: white;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact {
  margin-top: 14px;
  display: grid;
  gap: 7px;
  font-size: 13px;
  line-height: 1.45;
}

.footer-contact span,
.footer-contact a {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

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

.icon-line {
  width: 24px;
  height: 24px;
}

@media (max-width: 880px) {
  .menu-button {
    display: grid;
  }

  .nav {
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 150px;
    height: 60px;
  }

  .brand > span:last-child {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-action {
    display: none;
  }

  .language-switcher {
    order: 4;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-metrics,
  .grid.three,
  .grid.four,
  .factory-grid,
  .split,
  .page-hero .wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

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

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .product-row .button {
    width: 100%;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
  }

  body {
    padding-bottom: 82px;
  }

  .floating-contact {
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(24, 39, 53, 0.12);
    backdrop-filter: blur(12px);
  }

  .float-action {
    min-width: 0;
    min-height: 48px;
    border-radius: 6px;
    box-shadow: none;
  }

  .float-action.quote .float-full {
    display: none;
  }

  .float-action.quote .float-short {
    display: inline;
  }
}
