:root {
  --ink: #102027;
  --muted: #5d6c73;
  --line: #dce5e7;
  --paper: #f5f8f7;
  --white: #ffffff;
  --green: #00713d;
  --green-2: #0b8a67;
  --navy: #1d3765;
  --dark: #071b20;
  --shadow: 0 18px 48px rgba(13, 35, 43, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
}
[dir="rtl"] body { text-align: right; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px 42px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow .22s ease, padding .22s ease, background-color .22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 10px 30px rgba(13, 35, 43, 0.08);
}

.brand img {
  display: block;
  width: 178px;
  height: auto;
}

.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #eef6f2;
  border: 1px solid #c7ded5;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #273f47;
  font-size: 14px;
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #eef6f2;
  border: 1px solid #c7ded5;
  border-radius: 4px;
}

.language-switch a {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 30px;
  padding: 0 7px;
  color: #2d4850;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
}

.language-switch a[aria-current="page"],
.language-switch a:hover {
  color: white;
  background: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 800;
}

.header-cta,
.button.primary {
  color: white;
  background: var(--green);
}

.button.secondary {
  color: white;
  border-color: rgba(255,255,255,0.58);
}

.button,
.header-cta,
.inline-link,
.floating-contact a {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.button:hover,
.header-cta:hover,
.floating-contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 113, 61, 0.24);
}

.inline-link {
  display: inline-flex;
  margin-top: 12px;
  margin-right: 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}
.inline-link::after { content: " ->"; margin-left: 4px; }

.hero {
  position: relative;
  min-height: 720px;
  color: white;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 27, .92) 0%, rgba(6, 22, 27, .72) 46%, rgba(6, 22, 27, .24) 100%),
    linear-gradient(0deg, rgba(6,22,27,.5), transparent 42%);
}
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(6, 22, 27, .92) 0%, rgba(6, 22, 27, .72) 46%, rgba(6, 22, 27, .24) 100%),
    linear-gradient(0deg, rgba(6,22,27,.5), transparent 42%);
}

.hero-inner {
  position: relative;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0 46px;
}

.hero-copy { max-width: 780px; }
[dir="rtl"] .hero-copy { margin-right: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #79ddb9; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}
h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.22; }

.hero-copy p:not(.eyebrow) {
  max-width: 710px;
  color: rgba(255,255,255,.88);
  font-size: 20px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 900px;
  margin: 78px 0 0;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(3, 17, 21, .58);
}

.hero-metrics div { padding: 22px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics dt { color: rgba(255,255,255,.66); font-size: 13px; }
.hero-metrics dd { margin: 4px 0 0; font-size: 28px; font-weight: 900; }

.section {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

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

.trust-row span {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 14px;
  color: var(--green);
  background: #e8f3ef;
  border: 1px solid #c5dcd4;
  border-radius: 4px;
  text-align: center;
  font-weight: 800;
}

.about-grid,
.factory-proof,
.quality,
.seo-preview,
.contact {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 58px;
  align-items: start;
}

.about-copy p,
.section-heading p,
.factory-proof p,
.quality-copy p,
.seo-preview p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.about-points article,
.product-grid article,
.industry-grid article,
.workflow li,
.article-list a,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(16, 32, 39, 0.07);
}

.about-points article { padding: 20px; }
.about-points strong,
.about-points span { display: block; }
.about-points span { margin-top: 6px; color: var(--muted); }

.framed-photo {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.framed-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}
.framed-photo figcaption,
.photo-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-grid article { overflow: hidden; }
.product-grid article,
.industry-grid article,
.about-points article,
.article-list a,
.blog-card {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.product-grid article:hover,
.industry-grid article:hover,
.about-points article:hover,
.article-list a:hover,
.blog-card:hover {
  transform: translateY(-4px);
  border-color: #b9d8cb;
  box-shadow: 0 18px 42px rgba(16, 32, 39, 0.12);
}

.product-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eef4f2;
  transition: transform .34s ease;
}
.product-grid article:hover img { transform: scale(1.035); }
.product-grid div { padding: 20px; }
.product-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-grid p,
.industry-grid span,
.workflow p,
.article-list span { color: var(--muted); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.photo-grid figure {
  margin: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(16, 32, 39, 0.07);
}
.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.industries { border-top: 1px solid var(--line); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.industry-grid article { padding: 22px; }
.industry-grid strong,
.industry-grid span { display: block; }
.industry-grid span { margin-top: 8px; }

.engineering {
  width: 100%;
  max-width: none;
  background: var(--dark);
  color: white;
  padding-left: max(24px, calc((100% - 1220px) / 2));
  padding-right: max(24px, calc((100% - 1220px) / 2));
}
.engineering .section-heading p { color: rgba(255,255,255,.72); }
.engineering .eyebrow { color: #79ddb9; }
.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.workflow li {
  padding: 22px;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.workflow span {
  display: block;
  color: #79ddb9;
  font-size: 28px;
  font-weight: 900;
}
.workflow strong { display: block; margin-top: 14px; }
.workflow p { margin: 9px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }

.quality-panel {
  padding: 34px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--navy));
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.quality-panel .eyebrow { color: #bdf3df; }
.quality-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}
.quality-list span {
  padding: 12px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  font-weight: 800;
}

.article-list {
  display: grid;
  gap: 14px;
}
.article-list a {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: #263d45;
  font-weight: 800;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd8db;
  border-radius: 4px;
  font: inherit;
}
.wide { grid-column: 1 / -1; }
.form-note {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  background: #eef6f2;
  border: 1px solid #c7ded5;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}
.form-note a {
  color: var(--green);
  font-weight: 900;
}
.form-note.is-visible {
  color: #163c31;
  background: #e4f5ed;
}
.form-note.is-sending { background: #eef6ff; color: #1d3765; }
.form-note.is-success { background: #dff4e9; color: #064225; border-color: #9ad4b8; }
.form-note.is-error { background: #fff1ed; color: #8b2d1a; border-color: #efb6a6; }
.contact-form button[disabled] {
  cursor: wait;
  opacity: .68;
}

.footer {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 38px 42px;
  background: white;
  border-top: 1px solid var(--line);
}
.footer img { width: 170px; }
.footer strong,
.footer span { display: block; }
.footer span { color: var(--muted); margin-top: 4px; }

.footer-extra {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--dark);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.social-icon.is-disabled {
  cursor: not-allowed;
  opacity: .72;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.legal-links a {
  color: var(--green);
  font-weight: 900;
}

.floating-contact {
  position: fixed;
  right: 18px;
  top: 42%;
  z-index: 40;
  display: grid;
  gap: 8px;
}
.floating-contact a {
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 42px;
  padding: 0 12px;
  color: white;
  background: var(--green);
  border-radius: 4px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 900;
}

.blog-page { background: var(--paper); }
.blog-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 42px;
}
.blog-hero h1 { color: var(--ink); max-width: 980px; }
.blog-hero p:not(.eyebrow) { max-width: 820px; color: var(--muted); font-size: 19px; }
.blog-layout { display: grid; gap: 18px; padding-top: 36px; }
.blog-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
}
.blog-card p { color: var(--muted); }
.blog-card ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
}
[dir="rtl"] .blog-card ul {
  padding-right: 20px;
  padding-left: 0;
}
.blog-card .button {
  width: fit-content;
  margin-top: 6px;
}

.subpage-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 28px;
}
.subpage-hero h1 {
  color: var(--ink);
  max-width: 1040px;
}
.subpage-hero p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
  font-size: 19px;
}

.product-detail-grid {
  display: grid;
  gap: 22px;
}
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-detail img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 4px;
}
.product-detail ul {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: var(--muted);
}
.spec-panel {
  padding: 38px;
  color: white;
  background: linear-gradient(135deg, var(--dark), var(--navy));
  border-radius: 6px;
}
.spec-panel .eyebrow { color: #79ddb9; }
.spec-panel .quality-list span {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
}

.case-preview .button { margin-top: 24px; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.case-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.case-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(16, 32, 39, 0.07);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.case-card:hover {
  transform: translateY(-5px);
  border-color: #b9d8cb;
  box-shadow: 0 20px 46px rgba(16, 32, 39, 0.13);
}
.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
}
.case-card div { padding: 22px; }
.case-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}
.case-card dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.case-card dd {
  margin: 2px 0 0;
  color: var(--muted);
}
.case-cta {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 44px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--navy));
  border-radius: 6px;
}
.case-cta p { max-width: 720px; color: rgba(255,255,255,.84); }

.legal-page {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 62px);
}

.legal-panel {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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

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

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

@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

.hero-copy {
  animation: riseIn .8s ease both;
}
.hero-metrics {
  animation: riseIn .95s ease .12s both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    padding: 12px 22px;
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; }
  .nav a {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: 0; }
  .hero-metrics,
  .trust-row,
  .about-grid,
  .factory-proof,
  .quality,
  .seo-preview,
  .contact,
  .product-grid,
  .industry-grid,
  .workflow,
  .product-detail,
  .case-grid,
  .case-grid.compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .site-header { padding: 12px 18px; }
  .brand img { width: 132px; }
  .menu-toggle { min-height: 38px; padding: 0 12px; }
  .hero { min-height: auto; }
  .hero > img { object-position: 58% center; }
  .hero-inner { padding: 64px 0 28px; }
  .hero-inner,
  .section,
  .blog-hero { width: min(100% - 32px, 1220px); }
  h1 { font-size: 34px; line-height: 1.04; }
  h2 { font-size: 28px; line-height: 1.12; }
  h3 { font-size: 19px; }
  .hero-copy p:not(.eyebrow),
  .about-copy p,
  .section-heading p,
  .factory-proof p,
  .quality-copy p,
  .seo-preview p,
  .contact p,
  .blog-hero p:not(.eyebrow) {
    font-size: 16px;
  }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-metrics {
    margin-top: 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-metrics div { padding: 16px; }
  .hero-metrics div:nth-child(2) { border-right: 0; }
  .hero-metrics dd { font-size: 23px; }
  .section { padding: 58px 0; }
  .trust-row { padding: 16px 0; gap: 8px; }
  .trust-row span { min-height: auto; padding: 12px; }
  .product-grid article,
  .industry-grid article,
  .workflow li,
  .blog-card,
  .contact-form {
    border-radius: 5px;
  }
  .photo-grid,
  .quality-list,
  .contact-form,
  .footer { grid-template-columns: 1fr; }
  .footer-extra { justify-items: start; }
  .legal-links { justify-content: flex-start; }
  .workflow { gap: 10px; }
  .quality-panel { padding: 24px; }
  .blog-hero { padding: 58px 0 20px; }
  .subpage-hero { width: min(100% - 32px, 1180px); padding: 58px 0 18px; }
  .product-detail { padding: 14px; }
  .product-detail img { min-height: 240px; }
  .case-cta { padding: 28px; }
  .blog-card .button { width: 100%; }
  .footer { padding: 28px 18px 96px; }
  .footer img { width: 145px; }
  .floating-contact {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .floating-contact a { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

[dir="rtl"] .floating-contact {
  right: auto;
  left: 18px;
}

@media (max-width: 640px) {
  [dir="rtl"] .floating-contact {
    right: 12px;
    left: 12px;
  }
}
