/* ============================================================
   MAS For Trading & Contracting — main stylesheet
   Industrial laundry service, repair & maintenance — Jeddah, KSA
   ============================================================ */

:root {
  --navy: #0a1e5c;
  --navy-2: #122a7a;
  --blue: #1b3fae;
  --blue-bright: #2b5ce6;
  --sky: #eaf0fb;
  --ink: #101828;
  --gray: #4a5568;
  --gray-light: #98a2b3;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --line: #e4e9f2;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 8px 24px rgba(10, 30, 92, .10);
  --shadow-lg: 0 16px 48px rgba(10, 30, 92, .16);
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ar: "Tajawal", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] { --font-en: var(--font-ar); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cdd8f5;
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar-contacts { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-contacts a, .topbar-loc {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #cdd8f5;
}
.topbar-contacts a:hover { color: #fff; }
.topbar svg { width: 13px; height: 13px; flex: none; }

.lang-switch {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  border-radius: 99px;
  padding: .18rem .9rem;
  font-size: .8rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.lang-switch:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img {
  width: 48px; height: 48px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: .02em;
  line-height: 1.1;
}
.brand-tag {
  display: inline-block;
  font-size: .68rem;
  color: var(--gray);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.45;
  max-width: 360px;
}

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.main-nav a.btn, .main-nav a.btn:hover { color: #fff; border-bottom: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 10px;
  padding: .72rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--blue-bright); }
.btn-outline-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .6);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .2); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1fb958; }
.btn svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); margin: 5px auto;
  transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/img/hero-laundry-line.jpg") center/cover no-repeat;
  opacity: .55;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 19, 60, .96) 20%, rgba(10, 30, 92, .72) 55%, rgba(10, 30, 92, .35) 100%);
}
html[dir="rtl"] .hero::after {
  background: linear-gradient(-100deg, rgba(7, 19, 60, .96) 20%, rgba(10, 30, 92, .72) 55%, rgba(10, 30, 92, .35) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 7rem 0 6rem; }
.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 99px;
  padding: .3rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 15em;
  margin-bottom: 1.2rem;
}
.hero p {
  font-size: 1.1rem;
  color: #d5defa;
  max-width: 36em;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Stats strip ---------- */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
}
.stat { text-align: center; padding: .4rem; }
.stat b {
  display: block;
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 800;
}
.stat span { font-size: .86rem; color: var(--gray); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  color: var(--blue-bright);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-navy .kicker { color: #8fb0ff; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .8rem;
}
.section-navy .section-head h2 { color: #fff; }
.section-head p { color: var(--gray); font-size: 1.02rem; }
.section-navy .section-head p { color: #c3d0f2; }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .2s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c8d6f5;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.card p { font-size: .93rem; color: var(--gray); }
.card .card-link {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
}

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 1rem;
}
.split > div > p { color: var(--gray); margin-bottom: 1.2rem; }

.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .42rem 0;
  color: var(--ink);
  font-size: .97rem;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3fae' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Industries ---------- */
.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.industry-card .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s;
}
.industry-card:hover .bg { transform: scale(1.05); }
.industry-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 19, 60, .92) 8%, rgba(7, 19, 60, .25) 55%, rgba(7, 19, 60, .05));
}
.industry-card .body { position: relative; z-index: 2; padding: 1.6rem; }
.industry-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .3rem; }
.industry-card p { font-size: .9rem; color: #d5defa; }
.industry-card .bg-solid {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-2), var(--blue-bright));
}

/* ---------- Brands ---------- */
.brands-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}
.brand-chip {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--gray);
  border-radius: 99px;
  padding: .5rem 1.4rem;
  font-weight: 600;
  font-size: .92rem;
  transition: color .2s, border-color .2s;
}
.brand-chip:hover { color: var(--blue); border-color: var(--blue); }
.brands-note {
  text-align: center;
  color: var(--gray-light);
  font-size: .8rem;
  margin-top: 1.6rem;
}

/* ---------- Logo marquee ---------- */
.marquee {
  --gap: 1.2rem;
  --fade: #fff;
  overflow: hidden;
  position: relative;
  padding: .5rem 0;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--fade), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--fade), transparent); }
.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  align-items: stretch;
  animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
html[dir="rtl"] .marquee-track { animation-name: marquee-scroll-rtl; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}
/* In RTL the track anchors to the right edge, so it must slide the other way */
@keyframes marquee-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(calc(50% + var(--gap) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track .dup { display: none; }
}

.logo-item {
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 76px;
  min-width: 150px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.logo-item img { max-height: 42px; max-width: 132px; object-fit: contain; }
.logo-item.txt span {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .05em;
  font-size: 1.02rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.inv { filter: brightness(0); opacity: .82; }

.client-item {
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 190px;
  padding: 1.1rem 1.7rem .9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  box-shadow: var(--shadow-sm);
}
.client-item img { height: 58px; max-width: 175px; object-fit: contain; }
.client-item .client-mono {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .03em;
  white-space: nowrap;
}
.client-item .client-mono svg { width: 26px; height: 26px; color: var(--blue); }
.client-item small { color: var(--gray); font-size: .78rem; text-align: center; white-space: nowrap; }

/* ---------- Manufacturers grid (spare parts) ---------- */
.mfr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.mfr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem .8rem .85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
  transition: transform .2s, box-shadow .25s;
}
.mfr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mfr-card .mfr-logo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mfr-card .mfr-logo img { max-height: 38px; max-width: 120px; object-fit: contain; }
.mfr-card .mfr-logo b {
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mfr-card small { color: var(--gray); font-size: .78rem; }

/* ---------- Machine-type hover cards (spare parts) ---------- */
.machine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.machine-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  cursor: default;
  transition: transform .2s, box-shadow .25s, border-color .25s;
}
.machine-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c8d6f5; }
.machine-card .tag-head { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--navy); }
.machine-card .tag-head svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.machine-card .type-logos {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .35s ease, max-height .4s ease, margin-top .3s ease;
}
.machine-card:hover .type-logos, .machine-card:focus-within .type-logos {
  opacity: 1;
  max-height: 220px;
  margin-top: 1rem;
}
.type-logos .mini {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .32rem .6rem;
  display: flex;
  align-items: center;
}
.type-logos .mini img { height: 20px; max-width: 84px; object-fit: contain; }
.type-logos .mini span { font-size: .74rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; white-space: nowrap; }
.type-logos .mini.all { background: var(--sky); border-color: #c8d6f5; }
.type-logos .mini.all span { color: var(--blue); }
@media (hover: none) {
  .machine-card .type-logos { opacity: 1; max-height: none; margin-top: 1rem; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 30%, var(--blue) 100%);
  border-radius: 20px;
  color: #fff;
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: .5rem; }
.cta-banner p { color: #c3d0f2; max-width: 34em; }
.cta-banner .hero-actions { flex: none; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--gray); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(115deg, var(--navy) 40%, var(--blue) 100%);
  color: #fff;
  padding: 4.2rem 0;
}
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: .7rem; }
.page-hero p { color: #c3d0f2; max-width: 40em; font-size: 1.05rem; }

/* ---------- Machine types / tag cloud ---------- */
.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tag-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.tag-item svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
}
.contact-card .card-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-card .card-icon svg { width: 21px; height: 21px; }
.contact-card b { display: block; color: var(--navy); font-size: .95rem; }
.contact-card a, .contact-card span { color: var(--gray); font-size: .93rem; direction: ltr; unicode-bidi: embed; }
.contact-card a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin: .9rem 0 .3rem;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .7rem .9rem;
  font-family: inherit;
  font-size: .93rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 92, 230, .15);
  background: #fff;
}
.contact-form button { width: 100%; margin-top: 1.4rem; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: #071133;
  color: #aab8de;
  padding: 4rem 0 0;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 44px; height: 44px; border-radius: 9px; }
.footer-brand b { color: #fff; font-size: 1.2rem; }
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .03em;
}
.site-footer li { margin-bottom: .55rem; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: #8fb0ff; }
.footer-contact .ltr { direction: ltr; unicode-bidi: embed; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #7183b3;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .steps, .tag-grid { grid-template-columns: repeat(2, 1fr); }
  .mfr-grid { grid-template-columns: repeat(3, 1fr); }
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 1.2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform .3s ease;
    z-index: 150;
  }
  html[dir="rtl"] .main-nav { transform: translateX(-105%); }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.05rem; }
  .nav-toggle { display: block; position: relative; z-index: 200; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero .container { padding: 4.5rem 0 4rem; }
  .section { padding: 3.4rem 0; }
  .grid-3, .grid-4, .steps, .tag-grid, .machine-grid { grid-template-columns: 1fr; }
  .mfr-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.4rem 1.6rem; }
  .topbar .container { justify-content: center; }
  .brand-name { font-size: 1.15rem; }
}
