@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --leaf: #20984a;
  --leaf-dark: #126a37;
  --water: #257fb9;
  --ink: #22302a;
  --muted: #68756f;
  --line: #dfe7e2;
  --paper: #ffffff;
  --field: #f6f9f7;
  --sand: #eef2ed;
  --shadow: 0 22px 60px rgba(22, 42, 32, .14);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[dir="rtl"] body {
  font-family: "Cairo", Tahoma, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(223, 231, 226, .72);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 86px;
  height: 54px;
  object-fit: contain;
}
.brand span {
  display: grid;
  line-height: 1.25;
}
.brand strong {
  font-size: clamp(15px, 1.4vw, 20px);
  color: var(--leaf-dark);
  white-space: nowrap;
}
.brand small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #33443b;
}
.site-nav a:hover { color: var(--leaf); }
.lang-link {
  padding-inline: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 72px) 72px;
}
.model-backdrop {
  position: absolute;
  inset: 0 -8% 0 -8%;
  z-index: 0;
  background: #f7f8f9;
  overflow: hidden;
}
.model-backdrop iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  opacity: 1;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.46) 36%, rgba(255,255,255,.10) 68%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(270deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.46) 36%, rgba(255,255,255,.10) 68%, rgba(255,255,255,0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}
.kicker, .eyebrow {
  margin: 0 0 12px;
  color: var(--water);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 13px;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--leaf-dark);
  font-size: clamp(36px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: 0;
}
.hero-body {
  max-width: 650px;
  margin: 24px 0 0;
  color: #2c3f35;
  font-size: clamp(16px, 1.6vw, 21px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--leaf);
  color: #fff;
}
.btn.secondary {
  background: var(--ink);
  color: #fff;
}
.btn.quiet {
  background: rgba(255,255,255,.76);
  border-color: var(--line);
  color: var(--ink);
}
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}
.quick-stats div {
  min-height: 92px;
  padding: 18px;
  background: rgba(255,255,255,.88);
}
.quick-stats strong {
  display: block;
  color: var(--leaf);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}
.quick-stats span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}
.intro-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f7faf8 100%);
}
.intro-band::before {
  content: "";
  position: absolute;
  inset-inline: 6%;
  top: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 152, 74, .24), transparent);
}
.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.section-head.compact { max-width: 620px; }
.section-head h2,
.model-copy h2,
.contact-info h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
}
.section-head p:not(.eyebrow),
.model-copy p:not(.eyebrow),
.contact-info p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}
.service-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 34px;
}
.flow-track {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 38px;
  height: 3px;
  overflow: hidden;
  background: #d8e6de;
}
.flow-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37,127,185,.2), rgba(32,152,74,.52), rgba(37,127,185,.2), transparent);
  animation: flowSweep 4.8s linear infinite;
}
.flow-pulse {
  position: absolute;
  top: -7px;
  width: 18px;
  height: 18px;
  background: var(--leaf);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(32,152,74,.16);
  animation: flowPulse 4.8s linear infinite;
}
[dir="rtl"] .flow-pulse { animation-name: flowPulseRtl; }
.flow-step {
  position: relative;
  z-index: 1;
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(24,48,34,.06);
  transform: translateY(0);
  opacity: 1;
  animation: softRise .58s ease both;
  animation-delay: calc(var(--i, 0) * 90ms);
  transition: transform .52s ease, opacity .52s ease, box-shadow .2s ease;
}
.js-reveal .flow-step {
  transform: translateY(16px);
  opacity: 0;
  animation: none;
}
.flow-step.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(24,48,34,.13);
}
.flow-step span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}
.flow-step strong {
  color: var(--leaf-dark);
  font-size: 18px;
}
.flow-step small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.service-card {
  min-height: 230px;
  padding: 26px;
  background: var(--paper);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  background: #fbfffc;
  box-shadow: 0 18px 36px rgba(24, 48, 34, .1);
}
.service-card h3 {
  margin: 0 0 14px;
  color: var(--leaf-dark);
  font-size: 22px;
}
.service-card p { margin: 0; color: var(--muted); }

.split-section {
  background: var(--sand);
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}
.product-carousel {
  position: relative;
  overflow: hidden;
  contain: layout paint;
  width: 100%;
  min-height: 338px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.product-track {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: flex;
  width: max-content;
  gap: 16px;
  animation: productOrbit 38s linear infinite;
}
.product-carousel:hover .product-track,
.product-carousel:focus-within .product-track {
  animation-play-state: paused;
}
.product-gallery {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
}
.product-row {
  flex: 0 0 clamp(276px, 28vw, 354px);
  display: grid;
  grid-template-rows: 190px auto;
  overflow: hidden;
  border: 1px solid #d4ded7;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 48, 34, .06);
  transform: translateY(0);
  opacity: 1;
  animation: softRise .58s ease both;
  transition: transform .55s ease, opacity .55s ease, box-shadow .24s ease;
}
.product-row:nth-child(2) { animation-delay: 90ms; }
.product-row:nth-child(3) { animation-delay: 180ms; }
.product-row:nth-child(4) { animation-delay: 270ms; }
.js-reveal .product-row {
  transform: translateY(18px);
  opacity: 0;
  animation: none;
}
.product-row.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.product-carousel .product-row {
  opacity: 1;
  transform: none;
  animation: none;
}
.product-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(24, 48, 34, .14);
}
.product-row figure {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #dfe7e2;
}
.product-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .7s ease, filter .7s ease;
}
.product-row:hover img {
  transform: scale(1.12);
  filter: saturate(1.08) contrast(1.04);
}

@keyframes flowSweep {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}
@keyframes flowPulse {
  0% { left: 0; transform: translateX(-50%) scale(.86); }
  20% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(.92); }
  80% { transform: translateX(-50%) scale(1); }
  100% { left: 100%; transform: translateX(-50%) scale(.86); }
}
@keyframes flowPulseRtl {
  0% { right: 0; transform: translateX(50%) scale(.86); }
  20% { transform: translateX(50%) scale(1); }
  50% { transform: translateX(50%) scale(.92); }
  80% { transform: translateX(50%) scale(1); }
  100% { right: 100%; transform: translateX(50%) scale(.86); }
}
@keyframes softRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes supplyOrbit {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
[dir="rtl"] .supply-track {
  animation-name: supplyOrbitRtl;
}
@keyframes supplyOrbitRtl {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(50%, 0, 0); }
}
@keyframes productOrbit {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
[dir="rtl"] .product-track {
  animation-name: productOrbitRtl;
}
@keyframes productOrbitRtl {
  from { transform: translate3d(50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.product-row figcaption {
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  background: rgba(255, 255, 255, .86);
  color: #486055;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.product-row > div {
  display: grid;
  gap: 8px;
  padding: 18px;
}
.product-row strong { color: var(--leaf-dark); }
.product-row span { color: var(--muted); }
.supply-carousel {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  contain: layout paint;
  width: 100%;
  height: 66px;
  padding-block: 10px;
  margin-top: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.supply-track {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 0;
  display: flex;
  width: max-content;
  gap: 10px;
  animation: supplyOrbit 34s linear infinite;
}
.supply-carousel:hover .supply-track,
.supply-carousel:focus-within .supply-track {
  animation-play-state: paused;
}
.supply-list {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  padding-inline: 5px;
}
.supply-card {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: #34463b;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(24, 48, 34, .06);
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), border-color 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .supply-card:hover {
    transform: translateY(-3px);
    color: var(--leaf-dark);
    border-color: rgba(32, 152, 74, .42);
    box-shadow: 0 18px 34px rgba(24, 48, 34, .14);
  }
}
.supply-card:focus-visible {
  transform: translateY(-3px);
  color: var(--leaf-dark);
  border-color: rgba(32, 152, 74, .42);
  box-shadow: 0 18px 34px rgba(24, 48, 34, .14);
}

.model-section {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(300px, .65fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  padding: clamp(64px, 9vw, 108px) clamp(18px, 5vw, 72px);
  background: #fbfcfb;
}
.model-copy {
  align-self: center;
  max-width: 560px;
}
.model-copy .btn { margin-top: 22px; }
.model-preview {
  min-height: 520px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f7f8f9;
}
.model-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.why-section {
  background: var(--ink);
  color: #fff;
}
.why-section .section-head h2,
.why-section .eyebrow { color: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
}
.why-grid article {
  min-height: 180px;
  padding: 26px;
  background: #26372f;
}
.why-grid span {
  display: block;
  width: 42px;
  height: 4px;
  background: var(--water);
  margin-bottom: 20px;
}
.why-grid p { margin: 0; color: #dce6df; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}
.contact-lines {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}
.contact-lines a,
.contact-lines span {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: #34463b;
}
.contact-lines a:hover { color: var(--leaf); }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--field);
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: #34463b;
  font-weight: 800;
  font-size: 13px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cedbd3;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  min-height: 48px;
  outline: none;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(32, 152, 74, .14);
}
.contact-form .full { grid-column: 1 / -1; }
.trap {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--leaf);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.toast {
  position: fixed;
  inset-inline: 18px;
  bottom: 18px;
  z-index: 70;
  width: min(560px, calc(100vw - 36px));
  margin-inline: auto;
  padding: 14px 18px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 800;
}
.toast.ok { background: var(--leaf-dark); }
.toast.error { background: #8e3030; }

:focus-visible {
  outline: 3px solid rgba(37, 127, 185, .45);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-track { display: none; }
  .product-gallery { grid-template-columns: 1fr; }
  .model-section,
  .contact-section,
  .split-section { grid-template-columns: 1fr; }
  .model-preview { min-height: 460px; }
}

@media (max-width: 820px) {
  .site-header { padding: 10px 16px; }
  .brand img { width: 68px; height: 46px; }
  .brand small { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 68px;
    inset-inline: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    justify-content: center;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 46px;
  }
  .model-backdrop { inset: 0; opacity: .42; }
  .hero-scrim {
    background: rgba(255,255,255,.88);
  }
  [dir="rtl"] .hero-scrim {
    background: rgba(255,255,255,.88);
  }
  .hero-actions,
  .site-footer { flex-direction: column; }
  .btn { width: 100%; }
  .quick-stats,
  .why-grid,
  .service-grid,
  .service-flow,
  .contact-form { grid-template-columns: 1fr; }
  .product-row { grid-template-rows: 210px auto; }
  .contact-section,
  .contact-info,
  .contact-form { min-width: 0; }
  .model-section { min-height: auto; }
  .model-preview { min-height: 360px; }
}

@media (max-width: 460px) {
  .brand strong { font-size: 13px; }
  .hero h1 { font-size: 34px; }
  .quick-stats div { min-height: 80px; }
  .service-card { min-height: auto; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .supply-track {
    position: static;
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
  }
  .product-track {
    position: static;
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
  }
  .product-carousel {
    min-height: 0;
  }
  .supply-list[aria-hidden="true"] {
    display: none;
  }
  .product-gallery[aria-hidden="true"] {
    display: none;
  }
}
