/* ============================================================
   E-SHION MACHINERY — global stylesheet (v2 bright B2B theme)
   Design: clean light factory style
   Palette: white + deep blue #1B4FA0 + CTA orange #F26522
   Type: Inter (400–800), no display/mono gimmicks
   ============================================================ */

:root {
  /* palette */
  --blue:      #1B4FA0;
  --blue-2:    #2E6BD6;
  --blue-deep: #14397A;
  --blue-tint: #EAF1FB;
  --blue-soft: #F4F8FD;
  --orange:    #F26522;
  --orange-2:  #FF7D3D;
  --orange-tint: #FEF1EA;
  --ink:       #16233B;
  --text:      #3D4A5E;
  --muted:     #7A8798;
  --faint:     #A6B1C0;
  --bg:        #FFFFFF;
  --bg-soft:   #F5F8FC;
  --line:      #E3E9F2;
  --line-strong: #D2DCEB;
  --white:     #FFFFFF;
  --navy:      #12213C;

  /* kept aliases for legacy classes / inline JS (dropZone) */
  --copper:    var(--orange);
  --copper-2:  var(--orange-2);
  --paper:     var(--bg);
  --paper-2:   var(--bg-soft);
  --steel:     var(--muted);
  --fog:       var(--muted);
  --panel:     var(--white);
  --panel-2:   var(--blue-soft);
  --ink-2:     var(--ink);
  --line-dark: var(--line);
  --line-light: var(--line);
  --film-1:    var(--blue);
  --film-2:    var(--blue-2);
  --film-3:    #7BA7E0;
  --film-4:    #A8C6EF;

  /* type */
  --f-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-mono:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* metrics */
  --wrap: 1200px;
  --pad-sec: clamp(3.5rem, 7.5vw, 6rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 16px 40px rgba(27, 79, 160, 0.12);
  --shadow-sm: 0 6px 18px rgba(27, 79, 160, 0.07);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.sec-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sec-lead {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
}
.sec--dark .sec-lead { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85em 1.55em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
}
.btn .arrow { transition: transform 0.22s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--copper { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242, 101, 34, 0.28); }
.btn--copper:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242, 101, 34, 0.34); }
.btn--ghost { border-color: rgba(27, 79, 160, 0.4); color: var(--blue); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--dark { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(27, 79, 160, 0.28); }
.btn--dark:hover { background: var(--blue-2); transform: translateY(-2px); }
.btn--line { border-color: var(--line-strong); color: var(--blue); background: #fff; }
.btn--line:hover { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-soft); }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(22, 35, 59, 0.04);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  text-decoration: none;
  color: var(--ink);
}
.logo .logo-name {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.logo .logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); align-self: center; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  padding: 0.35em 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.head-cta { display: flex; align-items: center; gap: 1.1rem; }
.head-cta .btn { padding: 0.6em 1.15em; font-size: 0.85rem; }

/* language switch */
.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.5em 0.85em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-btn svg { width: 12px; height: 12px; transition: transform 0.25s; }
.lang[data-open="true"] .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.45rem;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.22s var(--ease);
}
.lang[data-open="true"] .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 0.88rem;
  color: var(--text);
  background: none;
  border: none;
  padding: 0.55em 0.8em;
  border-radius: 6px;
  cursor: pointer;
}
.lang-menu button:hover { background: var(--blue-soft); color: var(--blue); }
.lang-menu button[disabled] { color: var(--orange); font-weight: 600; cursor: default; }
.lang-menu .lang-soon { display: block; font-size: 0.7rem; color: var(--faint); }

/* mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(27, 79, 160, 0.10), transparent 60%),
    linear-gradient(180deg, #F2F7FE 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-tint);
  border: 1px solid rgba(242, 101, 34, 0.25);
  border-radius: 999px;
  padding: 0.45em 1em;
  margin-bottom: 1.3rem;
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  margin-top: 1.2rem;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* film stack — spec rows (blue tint bars) */
.film-stack { display: flex; flex-direction: column; gap: 0.7rem; }
.film-stack .fs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 0.85em 1.15em;
  box-shadow: var(--shadow-sm);
  animation: float 5s ease-in-out infinite;
}
.film-stack .fs-row:nth-child(2) { border-left-color: var(--blue-2); animation-delay: 0.5s; margin-left: 12%; }
.film-stack .fs-row:nth-child(3) { border-left-color: var(--film-3); animation-delay: 1s; }
.film-stack .fs-row:nth-child(4) { border-left-color: var(--film-4); animation-delay: 1.5s; margin-left: 8%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.film-stack .fs-row .fs-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.film-stack .fs-row .fs-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.film-stack .fs-note {
  margin-top: 0.8rem;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* decorative film band */
.film-band {
  display: flex;
  gap: 6px;
  padding: 0 24px 26px;
  max-width: var(--wrap);
  margin-inline: auto;
}
.film-band .fb-layer {
  height: 8px;
  border-radius: 6px;
  flex: 1;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  opacity: 0.5;
}
.film-band .fb-layer:nth-child(2) { background: var(--blue-2); opacity: 0.65; }
.film-band .fb-layer:nth-child(3) { background: var(--film-3); opacity: 0.8; }
.film-band .fb-layer:nth-child(4) { background: var(--orange); opacity: 0.9; }

/* ---------- stats strip ---------- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stat b {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: var(--pad-sec) 0; }
.sec--dark {
  background: var(--blue-tint);
  color: var(--ink);
}
.sec--paper2 { background: var(--bg-soft); }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem);
}
.sec-head .sec-title { margin-top: 0.5rem; }
.sec-head .sec-lead { margin-top: 1.1rem; }

/* ---------- machines grid ---------- */
.grid-machines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.m-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 1.6rem;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), border-color 0.25s, box-shadow 0.28s var(--ease);
}
.m-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--orange));
  opacity: 0.7;
}
.m-card:hover { transform: translateY(-6px); border-color: rgba(27, 79, 160, 0.35); box-shadow: var(--shadow); }
.m-card:hover::before { opacity: 1; }
.m-card .m-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.3rem 1.5rem 0;
}
.m-card .m-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.m-card h3 {
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ink);
  padding: 0 1.5rem;
  margin-top: 0.4rem;
}
.m-card .m-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.7rem;
  padding: 0 1.5rem;
  flex-grow: 1;
}
.m-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 1.3rem 1.5rem 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.m-specs li { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; }
.m-specs .k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.m-specs .v {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-align: right;
  white-space: nowrap;
}
.m-card .m-foot {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.4rem;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.m-card .m-foot a { color: var(--blue); text-decoration: none; }
.m-card .m-foot a:hover { text-decoration: underline; }

/* cta filler card in grid */
.m-card.m-card--cta {
  justify-content: center;
  background:
    radial-gradient(320px 220px at 100% 0%, rgba(242, 101, 34, 0.14), transparent 60%),
    var(--bg);
  text-align: left;
  padding: 1.9rem 1.7rem;
}
.m-card--cta h3 { padding: 0; }
.m-card--cta .m-desc { padding: 0; margin-top: 0.8rem; }
.m-card--cta .btn { margin-top: 1.5rem; align-self: flex-start; }

/* machine card photo */
.m-card .m-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.98);
  transition: filter 0.3s ease;
}
.m-card:hover .m-img { filter: saturate(1.08); }

/* layer badge */
.layer-badge { display: inline-flex; align-items: flex-end; gap: 3px; }
.layer-badge i { display: block; width: 5px; border-radius: 2px; background: var(--blue); opacity: 0.85; }
.layer-badge i:nth-child(1) { height: 8px; }
.layer-badge i:nth-child(2) { height: 13px; background: var(--blue-2); }
.layer-badge i:nth-child(3) { height: 18px; background: var(--orange); }

/* ---------- why grid (4 quadrants) ---------- */
.grid-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.why-cell {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.25s;
}
.why-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(27, 79, 160, 0.3); }
.why-cell .w-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-tint);
  border: 1px solid rgba(27, 79, 160, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.why-cell .w-ico svg { width: 22px; height: 22px; stroke: var(--blue); }
.why-cell h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
}
.why-cell p { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.why-cell .w-sub {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- certs (brand band: deep blue) ---------- */
.sec-certs {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-2) 100%);
  color: #fff;
}
.cert-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.cert-side .eyebrow { color: #FFC9A8; }
.cert-side .eyebrow::before { background: var(--orange); }
.cert-side .sec-title { color: #fff; }
.cert-side .sec-lead { color: rgba(255, 255, 255, 0.82); }
.ce-stamp {
  margin-top: 2rem;
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.cert-list { display: flex; flex-direction: column; gap: 1rem; }
.cert-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  backdrop-filter: blur(2px);
}
.cert-item .c-no {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange);
}
.cert-item .c-title {
  display: block;
  font-weight: 700;
  color: #fff;
}
.cert-item .c-dir {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.2rem;
}
.cert-item .c-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFC9A8;
  white-space: nowrap;
}
.cert-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.cert-tags span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}

/* certificate document photo */
.cert-doc {
  margin: 1.8rem 0 0;
  max-width: 300px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(8, 26, 61, 0.35);
}
.cert-doc img { width: 100%; height: auto; }
.cert-doc figcaption {
  padding: 0.55em 0.85em;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 1.5rem;
}
.cta-inner h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  color: var(--ink);
  margin: 0.7rem 0 1rem;
}
.cta-inner p { color: var(--muted); max-width: 50ch; }
.cta-inner .btn { margin-top: 1.6rem; }
.cta-channels { display: flex; flex-direction: column; gap: 0.9rem; }
.cta-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.cta-channel:hover { transform: translateY(-3px); border-color: rgba(27, 79, 160, 0.35); box-shadow: var(--shadow); }
.cc-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--blue-tint);
  border: 1px solid rgba(27, 79, 160, 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cc-ico svg { width: 20px; height: 20px; stroke: var(--blue); }
.cta-channel .cc-k { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.cta-channel .cc-v { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); }
.cc-note { margin-left: auto; font-size: 0.7rem; font-weight: 700; color: var(--orange); background: var(--orange-tint); border-radius: 999px; padding: 0.35em 0.8em; white-space: nowrap; }
.cta-time {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-align: right;
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--navy);
  color: #D8E2F2;
  padding: clamp(3.5rem, 7vw, 5rem) 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.foot-about .logo .logo-name { color: #fff; }
.foot-about .logo .logo-sub { color: #8FA4C7; }
.foot-about p { margin-top: 1rem; font-size: 0.9rem; color: #A8BBD6; max-width: 36ch; }
.foot-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.foot-col li { margin-bottom: 0.55rem; }
.foot-col a { color: #A8BBD6; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.foot-col a:hover { color: var(--orange-2); }
.foot-col li { font-size: 0.9rem; color: #A8BBD6; }
.foot-langs li { display: flex; gap: 0.6em; align-items: baseline; }
.foot-langs li.en { color: var(--orange-2); font-weight: 700; }
.foot-langs small { font-size: 0.78rem; color: #6F83A5; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  font-size: 0.8rem;
  color: #7C90B3;
}
.foot-bottom .legal { display: flex; gap: 1.2rem; }
.foot-bottom .legal a { color: #A8BBD6; text-decoration: none; }
.foot-bottom .legal a:hover { color: var(--orange-2); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #F2F7FE 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
}
.page-hero .crumbs { font-size: 0.8rem; font-weight: 600; color: var(--faint); margin-bottom: 1.1rem; }
.page-hero .crumbs a { color: var(--blue); text-decoration: none; }
.page-hero .crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 0.6em; opacity: 0.5; }
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 0.6rem;
}
.page-hero p { color: var(--muted); max-width: 58ch; margin-top: 1rem; }
.page-hero .eyebrow { margin-top: 1.2rem; }

/* ---------- machine blocks (machines page) ---------- */
.machine-block {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
}
.machine-block:first-of-type { border-top: none; }
.machine-block .mb-index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.machine-block h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0.6rem 0 0.9rem;
}
.machine-block .mb-desc { color: var(--muted); max-width: 55ch; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.7rem;
  background: var(--bg);
}
.spec-table tr { border-top: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 0.85em 0.2em; text-align: left; }
.spec-table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 42%;
}
.spec-table td {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}
.mb-apps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.mb-apps span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-tint);
  border: 1px solid rgba(27, 79, 160, 0.25);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}
.mb-side { position: sticky; top: 92px; }
.mb-quote {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
}
.mb-quote h3 {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue);
}
.mb-quote p { margin-top: 0.8rem; color: var(--muted); font-size: 0.92rem; }
.mb-quote .btn { margin-top: 1.3rem; }
.mb-quote .mb-mini { margin-top: 1rem; font-size: 0.78rem; }
.mb-quote .mb-mini a { color: var(--blue); }

/* machine block photo */
.mb-photo {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}
.mb-photo img {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.mb-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- service cards ---------- */
.grid-service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.svc-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.1rem;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(27, 79, 160, 0.3); }
.svc-card .s-no {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
}
.svc-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.svc-card p { font-size: 0.9rem; color: var(--muted); margin-top: 0.45rem; }
.svc-card .s-meta {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}

/* ---------- solutions rows ---------- */
.sol-list { display: flex; flex-direction: column; gap: 1.2rem; }
.sol-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.25s;
}
.sol-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(27, 79, 160, 0.3); }
.sol-row .so-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}
.sol-row h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.sol-row p { font-size: 0.92rem; color: var(--muted); margin-top: 0.45rem; }
.sol-row .so-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.sol-row .so-tags span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-tint);
  border: 1px solid rgba(27, 79, 160, 0.25);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.contact-card > p { font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0 1.2rem; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 0.95rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.contact-line:hover { background: var(--blue-soft); }
.cl-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--blue-tint);
  border: 1px solid rgba(27, 79, 160, 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cl-ico svg { width: 20px; height: 20px; stroke: var(--blue); }
.contact-line .cl-k { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.contact-line .cl-v { display: block; font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.contact-line .cl-note { margin-left: auto; font-size: 0.68rem; font-weight: 700; color: var(--blue); }
.address-block {
  margin-top: 1rem;
  padding: 1rem 0.6rem;
  border-top: 1px solid var(--line);
}
.address-block .cl-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.address-block p { font-size: 0.92rem; color: var(--text); margin-top: 0.5rem; }

/* form */
.form-wrap h2 { font-size: 1.45rem; font-weight: 800; color: var(--ink); }
.form-lead { color: var(--muted); font-size: 0.95rem; margin: 0.6rem 0 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.field label b { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 79, 160, 0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err { display: none; font-size: 0.78rem; color: #D64545; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #D64545; }
.field.has-err .err { display: block; }
.drop-zone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  padding: 1.6rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.drop-zone:hover { border-color: var(--blue); background: var(--blue-tint); }
.drop-zone span { display: block; font-weight: 600; color: var(--blue); }
.drop-zone small { color: var(--faint); }
.form-note { font-size: 0.78rem; color: var(--faint); margin-top: 1.2rem; }
.form-note a { color: var(--blue); }
.form-status { display: none; margin-top: 1.1rem; font-size: 0.9rem; font-weight: 600; }
.form-status.show { display: block; }
.form-status.err { color: #D64545; }
.form-status.ok { color: #1E8E5A; background: #EAF7F0; border: 1px solid #BFE8D2; border-radius: var(--radius-sm); padding: 0.8em 1em; }

/* ---------- photos ---------- */
.photo-band {
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
}
.photo-band figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.photo-band img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.photo-band figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.photo-band figcaption span:last-child { color: var(--blue); }

/* ---------- product detail ---------- */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 0.65fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.prod-gallery { min-width: 0; }
.prod-main {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.prod-main img { width: 100%; height: auto; }
.prod-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.prod-thumbs button {
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  width: 84px;
  aspect-ratio: 1 / 1;
  transition: border-color 0.22s, transform 0.22s var(--ease), box-shadow 0.22s;
}
.prod-thumbs button:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.prod-thumbs button.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 79, 160, 0.2); }
.prod-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prod-side .mb-quote { position: sticky; top: 92px; }
.prod-key {
  list-style: none;
  margin: 1.3rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.prod-key li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.prod-key li span:first-child { color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.prod-key li span:last-child { color: var(--ink); font-weight: 700; text-align: right; }
.prod-ov {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 76ch;
  white-space: pre-line;
}
.prod-spec { margin-top: 0; }
.prod-spec th, .prod-spec td { padding: 0.9em 1em 0.9em 0; vertical-align: top; }
.prod-spec th { width: auto; white-space: nowrap; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-machines { grid-template-columns: repeat(2, 1fr); }
  .grid-why { grid-template-columns: repeat(2, 1fr); }
  .grid-service { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.4rem 1.4rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s, transform 0.25s var(--ease);
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links { flex-direction: column; gap: 0.2rem; }
  .nav-links a { display: block; padding: 0.7em 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .head-cta { padding-top: 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .film-stack { max-width: 420px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cert-wrap { grid-template-columns: 1fr; }
  .cert-item { grid-template-columns: 44px 1fr; }
  .cert-item .c-date { grid-column: 2; justify-self: start; }
  .cta-inner { grid-template-columns: 1fr; }
  .machine-block { grid-template-columns: 1fr; }
  .mb-side { position: static; }
  .product-grid { grid-template-columns: 1fr; }
  .prod-side .mb-quote { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .photo-band img { aspect-ratio: 4 / 3; }
  .mb-photo img { max-width: 100%; }
}

@media (max-width: 620px) {
  .grid-machines { grid-template-columns: 1fr; }
  .grid-why { grid-template-columns: 1fr; }
  .grid-service { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { border-left: none; }
  .sol-row { grid-template-columns: 1fr; }
  .sol-row .so-ico { width: 48px; height: 48px; font-size: 0.9rem; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .film-band { padding: 0 16px 20px; }
}

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

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5); }
.wa-float .wa-tip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45em 0.9em;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 620px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float .wa-tip { display: none; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 820px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: rgba(27, 79, 160, 0.35); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--blue);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.3rem 1.15rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .film-stack .fs-row:nth-child(2), [dir="rtl"] .film-stack .fs-row:nth-child(4) { margin-left: 0; margin-right: 12%; }
[dir="rtl"] .film-stack .fs-row:nth-child(2) { margin-right: 12%; }
[dir="rtl"] .film-stack .fs-row:nth-child(4) { margin-right: 8%; }
[dir="rtl"] .fs-note { text-align: left; }
[dir="rtl"] .btn .arrow { transform: rotate(180deg); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px) rotate(180deg); }
[dir="rtl"] .m-specs .v, [dir="rtl"] .prod-key li span:last-child { text-align: left; }
[dir="rtl"] .mb-apps span, [dir="rtl"] .cert-tags span { letter-spacing: 0; }
[dir="rtl"] .wa-float { right: auto; left: 22px; }
[dir="rtl"] .wa-float .wa-tip { right: auto; left: 70px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .stat, [dir="rtl"] .blog-card, [dir="rtl"] .m-card { text-align: right; }
[dir="rtl"] .crumbs .sep { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .m-foot .arrow, [dir="rtl"] .bc-more { direction: ltr; display: inline-block; }
[dir="rtl"] .sol-row { grid-template-columns: 1fr 64px; }
[dir="rtl"] .sol-row .so-ico { grid-column: 2; grid-row: 1; }
@media (max-width: 620px) {
  [dir="rtl"] .wa-float { left: 16px; }
}
