:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #e5e9f0;
  --panel: #f5f7fb;
  --blue: #1556d1;
  --blue-dark: #0b2c66;
  --orange: #f59e0b;
  --white: #fff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

body[dir="rtl"] { font-family: Inter, Arial, sans-serif; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.section-pad { padding: 88px 6vw; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 233, 240, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
}

.brand strong,
.brand small { display: block; }

.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #263143;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover { color: var(--blue); }

.language-switcher {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--panel);
  border-radius: 999px;
}

.language-switcher button,
.category-tabs button,
.nav-toggle {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.language-switcher button {
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(circle at 85% 20%, rgba(21, 86, 209, 0.14), transparent 34%),
    linear-gradient(120deg, #f8fbff 0%, #fff 58%);
}

.page-hero {
  min-height: 420px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7, 27, 61, 0.92), rgba(21, 86, 209, 0.78)),
    url("../img/facade-panel.jpg") center/cover;
}

.page-hero .eyebrow { color: #bfdbfe; }

.page-hero h1 { max-width: 980px; }

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.75;
}

.home-overview { background: var(--panel); }

/* --- Step Flow (How to Order) --- */
.order-section {
  text-align: center;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.order-section .section-head {
  display: block;
  margin-bottom: 52px;
}

.order-section .section-head > p {
  max-width: 600px;
  margin: 16px auto 0;
}

.step-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

/* Each step card */
.step-card {
  flex: 1;
  max-width: 270px;
  padding: 36px 24px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

/* Large gradient step number — visual anchor */
.step-num {
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue) 20%, #93c5fd 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.step-card img {
  margin-top: 16px;
  height: 140px;
  border-radius: 14px;
  object-fit: cover;
}

/* Thin arrow connector between cards */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  position: relative;
}

/* The arrow line: thin gradient line */
.step-arrow::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(21, 86, 209, 0.08));
}

/* The arrowhead: small triangle using borders */
.step-arrow::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid var(--blue);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Responsive: vertical stack on mobile */
@media (max-width: 960px) {
  .step-flow {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    max-width: 420px;
    width: 100%;
  }

  /* Arrows rotate to point downward */
  .step-arrow {
    width: auto;
    height: 36px;
    margin: 8px 0;
  }

  .step-arrow::before {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue), rgba(21, 86, 209, 0.08));
  }

  .step-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 1px;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--blue);
    border-bottom: none;
  }
}

.showcase-panel { display: none; }

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.showcase-tabs button {
  padding: 10px 20px;
  color: var(--muted);
  background: var(--panel);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.showcase-tabs button.active { color: var(--white); background: var(--blue); }

@keyframes scrollRow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-wall {
  overflow: hidden;
}

.scroll-row {
  display: flex;
  margin-bottom: 16px;
  width: 100%;
}

.scroll-row.is-even {
  padding-left: calc((160px + 14px) / 2);
}

.scroll-track {
  display: flex;
  gap: 14px;
  animation: scrollRow 40s linear infinite;
  will-change: transform;
}

.scroll-track img {
  height: 160px;
  width: 160px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.overview-grid a {
  display: block;
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.overview-grid a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.overview-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.overview-grid h3 { margin: 42px 0 12px; font-size: 24px; }

.overview-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }

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

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 { line-height: 1.2; }

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions,
.trust-row,
.category-tabs { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-primary { color: var(--white); background: var(--blue); box-shadow: 0 16px 32px rgba(21, 86, 209, 0.28); }

.btn-secondary { color: var(--blue-dark); background: #eaf1ff; }

.trust-row { margin-top: 38px; }

.trust-row span {
  min-width: 135px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.trust-row strong,
.trust-row em { display: block; }

.trust-row em { margin-top: 4px; color: var(--muted); font-size: 13px; font-style: normal; }

.hero-media { position: relative; height: min(680px, 72vh); }

.hero-media img { border-radius: 32px; box-shadow: var(--shadow); }

.hero-card {
  position: absolute;
  right: -16px;
  bottom: 36px;
  max-width: 310px;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(11, 44, 102, 0.96), rgba(21, 86, 209, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card strong,
.hero-card span { display: block; }

.hero-card span { margin-top: 8px; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }

.intro-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  color: var(--white);
  background: var(--blue-dark);
}

.intro-band .eyebrow { color: #93c5fd; }

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.solution-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
}

.solution-grid span { color: var(--orange); font-weight: 800; }

.solution-grid h3 { margin: 18px 0 10px; }

.solution-grid p { margin-bottom: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }

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

.section-head > p,
.section-head div + p { max-width: 520px; color: var(--muted); line-height: 1.7; }

.category-tabs { margin-bottom: 28px; }

.category-tabs button {
  padding: 10px 16px;
  color: var(--muted);
  background: var(--panel);
  border-radius: 999px;
  font-weight: 800;
}

.category-tabs .active { color: var(--white); background: var(--blue); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

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

.product-card img { height: 245px; }

.product-card div { padding: 22px; }

.product-card p {
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 { margin-bottom: 10px; font-size: 21px; }

.product-card span { color: var(--muted); line-height: 1.65; }

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
  background: var(--panel);
}

.split-media { display: grid; grid-template-columns: 1fr 0.76fr; gap: 18px; align-items: end; }

.split-media img { border-radius: 26px; box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12); }

.split-media img:first-child { height: 520px; }

.split-media img:last-child { height: 330px; }

.split-copy p { color: var(--muted); line-height: 1.78; }

.info-list { margin: 26px 0 0; }

.info-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.info-list dt { color: var(--muted); font-weight: 800; }

.info-list dd { margin: 0; font-weight: 700; }

.text-link { color: var(--blue); font-weight: 800; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.project-grid article { position: relative; overflow: hidden; min-height: 420px; border-radius: 28px; background: #111827; }

.project-grid img { opacity: 0.78; transition: transform 0.3s ease; }

.project-grid article:hover img { transform: scale(1.05); }

.project-grid h3 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin: 0;
  color: var(--white);
  font-size: 25px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  color: var(--white);
  background:
    linear-gradient(rgba(11, 44, 102, 0.9), rgba(11, 44, 102, 0.94)),
    url("../img/factory-4.jpg") center/cover;
}

.contact-section .eyebrow { color: #bfdbfe; }

.contact-copy p,
.contact-copy li { color: rgba(255, 255, 255, 0.75); line-height: 1.75; }

.contact-copy ul { padding-left: 20px; }

body[dir="rtl"] .contact-copy ul { padding-right: 20px; padding-left: 0; }

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.quote-form label { display: grid; gap: 8px; color: #263143; font-weight: 800; }

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 86, 209, 0.1); }

.quote-form .btn { width: 100%; border: 0; cursor: pointer; }

.form-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  color: rgba(255, 255, 255, 0.78);
  background: #071b3d;
}

.site-footer strong { color: var(--white); }

.site-footer p { margin: 8px 0 0; }

.site-footer a { color: #93c5fd; font-weight: 800; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto; }
  .main-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .language-switcher { justify-self: end; }
  .hero,
  .intro-band,
  .split,
  .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { height: 540px; }
  .scroll-row {
    margin-bottom: 12px;
  }
  .scroll-row.is-even {
    padding-left: calc((120px + 10px) / 2);
  }
  .scroll-track {
    gap: 10px;
    animation-duration: 30s;
  }
  .scroll-track img {
    height: 120px;
    width: 120px;
  }
  .overview-grid,
  .solution-grid,
  .product-grid,
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section-pad { padding: 64px 20px; }
  .site-header { padding: 12px 20px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    padding: 9px 12px;
    color: var(--blue-dark);
    background: var(--panel);
    border-radius: 999px;
    font-weight: 800;
  }
  .language-switcher { grid-column: 1 / -1; justify-self: start; }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: var(--panel);
    border-radius: 18px;
  }
  .main-nav.open { display: flex; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .hero-media { height: 390px; }
  .hero-card { right: 14px; bottom: 14px; max-width: calc(100% - 28px); }
  .scroll-row { margin-bottom: 10px; }
  .scroll-row.is-even { padding-left: calc((80px + 8px) / 2); }
  .scroll-track { gap: 8px; animation-duration: 24s; }
  .scroll-track img { height: 80px; width: 80px; }
  .overview-grid,
  .solution-grid,
  .product-grid,
  .project-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .split-media { grid-template-columns: 1fr; }
  .split-media img:first-child,
  .split-media img:last-child { height: 300px; }
  .info-list div { grid-template-columns: 1fr; gap: 6px; }
  .project-grid article { min-height: 330px; }
  .site-footer { display: block; }
  .site-footer a { display: inline-block; margin-top: 18px; }
}

/* ─── Beautification Enhancements ──────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy,
.hero-media,
.section-pad:not(.hero):not(.page-hero) {
  animation: fadeUp 0.7s ease both;
}

.hero-media { animation-delay: 0.15s; }

.btn { transition: all 0.28s ease; position: relative; overflow: hidden; }

.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.14), transparent 50%);
  opacity: 0; transition: opacity 0.3s ease;
}

.btn:hover::after { opacity: 1; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(21, 86, 209, 0.34);
}

.btn-secondary:hover {
  background: #dce7ff;
  transform: translateY(-2px);
}

.brand strong {
  background: linear-gradient(135deg, #0b2c66, #1556d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.overview-grid a { transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); }

.overview-grid a:nth-child(1) { animation-delay: 0.05s; }
.overview-grid a:nth-child(2) { animation-delay: 0.10s; }
.overview-grid a:nth-child(3) { animation-delay: 0.15s; }
.overview-grid a:nth-child(4) { animation-delay: 0.20s; }
.overview-grid a:nth-child(5) { animation-delay: 0.25s; }

.step-card { transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); }

.site-header {
  transition: box-shadow 0.3s ease;
}

body:not(:has(.page-hero)) .site-header {
  box-shadow: 0 1px 0 rgba(229, 233, 240, 0.85);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f7fb; }
::-webkit-scrollbar-thumb { background: #c4cad8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a0aaba; }

::selection { background: rgba(21, 86, 209, 0.15); color: #0b2c66; }
