:root {
  --red: #ec1c24;
  --gold: #e1ba47;
  --orange: #ea4a37;
  --dark: #333338;
  --gray: #6f7177;
  --light: #f6f6f6;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #ec1c24 0%, #ea4a37 45%, #e1ba47 100%);
  --shadow: 0 18px 45px rgba(51, 51, 56, 0.12);
  --radius: 8px;
  --font-ar: "IBM Plex Sans Arabic", "Tajawal", "Cairo", sans-serif;
  --font-en: "Inter", "Montserrat", "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: var(--font-ar);
  line-height: 1.7;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 16px 16px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

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

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--dark);
  font-weight: 700;
}

.main-nav a {
  position: relative;
  font-size: 0.95rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gradient);
  transition: transform 0.24s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(51, 51, 56, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--dark);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 132px 0 72px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 46%, rgba(255, 255, 255, 0.32) 100%),
    radial-gradient(circle at 20% 16%, rgba(225, 186, 71, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(236, 28, 36, 0.25), rgba(225, 186, 71, 0.18));
}

html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 46%, rgba(255, 255, 255, 0.32) 100%),
    radial-gradient(circle at 80% 16%, rgba(225, 186, 71, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(236, 28, 36, 0.25), rgba(225, 186, 71, 0.18));
}

.motion-network {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.line {
  position: absolute;
  width: 42vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(236, 28, 36, 0.62), rgba(225, 186, 71, 0.78), transparent);
  transform: rotate(-22deg);
  animation: flowLine 5.5s linear infinite;
}

.line-a { top: 27%; left: -10%; }
.line-b { top: 56%; right: -9%; animation-delay: -1.7s; }
.line-c { bottom: 13%; left: 18%; animation-delay: -3.1s; }

.node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(225, 186, 71, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.node-a { top: 32%; left: 31%; }
.node-b { top: 64%; right: 23%; animation-delay: 0.5s; }
.node-c { bottom: 20%; left: 58%; animation-delay: 1.1s; }

.hero-content {
  max-width: 810px;
  margin-inline-start: calc((100% - min(1180px, calc(100% - 32px))) / 2);
}

html[dir="rtl"] .hero-content {
  margin-inline-start: auto;
  margin-inline-end: calc((100% - min(1180px, calc(100% - 32px))) / 2);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--dark);
  font-weight: 900;
  line-height: 1.18;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.45rem);
}

.hero-copy {
  max-width: 730px;
  margin: 24px 0 0;
  color: #4b4c50;
  font-size: 1.13rem;
}

.hero-actions,
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 14px 30px rgba(236, 28, 36, 0.25);
}

.btn.secondary {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(225, 186, 71, 0.7);
}

.stats-strip {
  width: min(620px, 100%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.stats-strip div {
  flex: 1 1 130px;
  min-width: 0;
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: 14px;
}

.stats-strip strong {
  display: block;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

.stats-strip span {
  color: var(--gray);
  font-weight: 700;
  font-size: 0.92rem;
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.soft {
  background: var(--light);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.section-copy p:not(.section-kicker),
.section-head p:not(.section-kicker) {
  color: var(--gray);
  font-size: 1.05rem;
}

.section h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
}

.about-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-grid article,
.service-card {
  position: relative;
  border: 1px solid rgba(51, 51, 56, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(51, 51, 56, 0.06);
}

.about-grid article {
  min-height: 220px;
  padding: 24px;
}

.about-grid svg,
.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--red);
  stroke-width: 1.8;
}

.about-grid h3,
.service-card h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
}

.about-grid p,
.service-card p {
  margin: 0;
  color: var(--gray);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 306px;
  padding: 28px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gradient);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 22px solid rgba(225, 186, 71, 0.16);
  border-radius: 50%;
  inset-inline-end: -58px;
  bottom: -72px;
  transition: transform 0.32s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 28, 36, 0.2);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  transform: scale(1.18) rotate(12deg);
}

.service-card span {
  position: absolute;
  inset-inline-end: 24px;
  top: 24px;
  color: rgba(51, 51, 56, 0.12);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.service-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font-weight: 800;
  cursor: pointer;
}

.service-hero {
  position: relative;
  min-height: 64svh;
  display: grid;
  align-items: end;
  padding: 132px 0 70px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.service-hero::before,
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-hero::before {
  z-index: -2;
  background: var(--service-hero-image, url("/assets/industrial-logistics-hero.png")) center/cover;
}

.service-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(51, 51, 56, 0.94), rgba(51, 51, 56, 0.76), rgba(236, 28, 36, 0.42)),
    radial-gradient(circle at 18% 22%, rgba(225, 186, 71, 0.42), transparent 30%);
}

html[dir="rtl"] .service-hero::after {
  background:
    linear-gradient(270deg, rgba(51, 51, 56, 0.94), rgba(51, 51, 56, 0.76), rgba(236, 28, 36, 0.42)),
    radial-gradient(circle at 82% 22%, rgba(225, 186, 71, 0.42), transparent 30%);
}

.service-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.14;
}

.service-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.service-content {
  display: grid;
  gap: 24px;
}

.detail-panel {
  padding: 28px;
  border: 1px solid rgba(51, 51, 56, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(51, 51, 56, 0.06);
}

.detail-panel h2,
.detail-panel h3 {
  margin: 0 0 14px;
}

.detail-panel p {
  margin: 0;
  color: var(--gray);
}

.feature-grid,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.spec-card {
  min-height: 132px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid rgba(225, 186, 71, 0.28);
}

.feature-card strong,
.spec-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p,
.spec-card p {
  color: var(--gray);
}

.service-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.quote-card,
.nav-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.quote-card p {
  color: rgba(255, 255, 255, 0.76);
}

.quote-card .btn {
  width: 100%;
}

.nav-card {
  background: var(--white);
  color: var(--dark);
}

.nav-card a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid rgba(51, 51, 56, 0.08);
  color: var(--gray);
  font-weight: 800;
}

.nav-card a.active {
  color: var(--red);
}

.shop-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 110px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.shop-sidebar h2 {
  margin: 0 0 18px;
}

#categoryFilters,
.category-group,
.category-group div {
  display: grid;
  gap: 8px;
}

.category-group {
  margin-top: 12px;
}

.category-group div {
  padding-inline-start: 14px;
}

#categoryFilters button {
  min-height: 42px;
  border: 1px solid rgba(51, 51, 56, 0.1);
  border-radius: var(--radius);
  background: var(--light);
  color: var(--dark);
  text-align: start;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}

#categoryFilters button.active {
  color: var(--white);
  background: var(--gradient);
  border-color: transparent;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.shop-toolbar h2 {
  margin: 0;
}

.shop-toolbar input {
  width: min(100%, 320px);
  min-height: 46px;
  border: 1px solid rgba(51, 51, 56, 0.14);
  border-radius: var(--radius);
  padding: 0 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(51, 51, 56, 0.08);
  box-shadow: 0 12px 32px rgba(51, 51, 56, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-visual {
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(225, 186, 71, 0.42), transparent 32%),
    linear-gradient(135deg, rgba(236, 28, 36, 0.12), rgba(225, 186, 71, 0.22));
}

.product-visual img,
.detail-image,
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail-image {
  max-height: 360px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.product-gallery img {
  aspect-ratio: 4 / 3;
}

.product-visual svg {
  width: 54px;
  height: 54px;
  color: var(--red);
}

.product-body {
  padding: 20px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.product-meta span,
.product-meta strong {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: var(--radius);
  background: var(--light);
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-meta strong {
  color: var(--dark);
  background: #fff4cc;
}

.product-body h3 {
  margin: 0 0 8px;
}

.product-body p {
  color: var(--gray);
}

.product-specs {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--light);
  color: var(--gray);
}

.product-specs strong {
  color: var(--dark);
}

.industry-track {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.industry-track span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(225, 186, 71, 0.46);
  border-radius: var(--radius);
  color: var(--dark);
  background: linear-gradient(180deg, #fff, #fff8e7);
  font-weight: 800;
}

.graphite {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(51, 51, 56, 0.96), rgba(33, 33, 38, 0.98)),
    var(--dark);
}

.graphite h2,
.graphite .section-kicker {
  color: var(--white);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding: 12px 4px 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 47px;
  inset-inline: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
  opacity: 0.78;
}

.timeline-step {
  position: relative;
  min-height: 150px;
  padding: 76px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.timeline-step strong {
  position: absolute;
  top: 20px;
  inset-inline-start: 18px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--dark);
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(225, 186, 71, 0.13);
}

.timeline-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-list p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--light);
  font-weight: 700;
}

.why-list svg {
  flex: 0 0 24px;
  color: var(--red);
}

.presence-map {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(236, 28, 36, 0.08), rgba(225, 186, 71, 0.22)),
    url("/assets/industrial-logistics-hero.png") center/cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.presence-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
}

.hub,
.route {
  position: absolute;
  z-index: 2;
}

.hub {
  display: grid;
  place-items: center;
  min-width: 88px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 14px 30px rgba(236, 28, 36, 0.25);
  font-weight: 900;
}

.turkey { top: 22%; inset-inline-start: 18%; }
.sudan { bottom: 20%; inset-inline-end: 18%; }
.oman { top: 44%; inset-inline-end: 37%; }

.route {
  width: 58%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent);
  animation: flowLine 4.8s linear infinite;
}

.route-one { top: 39%; inset-inline-start: 21%; transform: rotate(17deg); }
.route-two { top: 58%; inset-inline-start: 26%; transform: rotate(-16deg); animation-delay: -2s; }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}

.quote-panel {
  position: sticky;
  top: 110px;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  color: var(--white);
}

.quote-panel p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.admin-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(51, 51, 56, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(51, 51, 56, 0.13);
  border-radius: var(--radius);
  padding: 11px 13px;
  outline: none;
  background: #fff;
  color: var(--dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(236, 28, 36, 0.08);
}

.wide {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 28px;
  margin: 0;
  color: var(--red);
  font-weight: 800;
}

.site-footer {
  padding: 58px 0;
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.6fr;
  gap: 28px;
}

.site-footer img {
  width: 150px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.service-dialog {
  width: min(650px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.service-dialog::backdrop {
  background: rgba(20, 20, 24, 0.55);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--light);
  cursor: pointer;
}

.service-dialog h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
}

.service-dialog p {
  color: var(--gray);
}

.service-dialog ul {
  display: grid;
  gap: 8px;
  padding-inline-start: 20px;
}

.whatsapp {
  position: fixed;
  z-index: 40;
  inset-inline-end: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease;
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.motion-off .line,
.motion-off .node,
.motion-off .route,
.motion-off .reveal {
  animation: none !important;
  transition: none !important;
  opacity: 1;
  transform: none;
}

@keyframes flowLine {
  from { background-position: -420px 0; }
  to { background-position: 420px 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.86; }
  50% { transform: scale(1.25); opacity: 1; }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 98px;
    inset-inline: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  html[dir="rtl"] .hero-content {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
  }

  .split,
  .quote-layout,
  .footer-grid,
  .service-page-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-panel {
    position: static;
  }

  .service-sidebar,
  .shop-sidebar {
    position: static;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 10px;
    min-height: 64px;
    padding: 8px 10px;
  }

  .brand img {
    width: 116px;
  }

  .hero {
    padding-top: 112px;
  }

  .about-grid,
  .service-grid,
  .quote-form,
  .feature-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .shop-toolbar,
  .product-card {
    grid-template-columns: 1fr;
  }

  .shop-toolbar {
    display: grid;
  }

  .service-card {
    min-height: 270px;
  }
}

/* UI/UX cleanup pass: compact header, balanced hero, safer anchors, and mobile polish. */
:target {
  scroll-margin-top: 112px;
}

.section,
.hero,
.service-hero {
  scroll-margin-top: 112px;
}

.site-header {
  inset: 12px 16px auto;
  min-height: 66px;
  padding: 8px 16px;
}

.brand img {
  width: auto;
  height: 56px;
}

.main-nav {
  gap: 18px;
}

.main-nav a {
  font-size: .9rem;
}

.lang-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
}

.hero {
  min-height: 88svh;
  padding: 112px 0 58px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2rem, 4.15vw, 3.85rem);
  line-height: 1.12;
}

.hero-copy {
  max-width: 680px;
  margin-top: 18px;
  font-size: 1.04rem;
}

.hero-actions,
.stats-strip {
  margin-top: 24px;
}

.stats-strip {
  padding: 14px;
}

.stats-strip strong {
  font-size: 1.72rem;
}

.section {
  padding: 78px 0;
}

.section-head {
  margin-bottom: 28px;
}

.service-card {
  min-height: 280px;
  padding: 24px;
}

.service-hero {
  min-height: 54svh;
  padding: 110px 0 58px;
}

.service-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.service-sidebar,
.shop-sidebar,
.quote-panel {
  top: 94px;
}

.whatsapp {
  width: 54px;
  height: 54px;
  inset-inline-end: 18px;
  bottom: 18px;
}

@media (max-width: 980px) {
  .main-nav {
    top: 84px;
    max-height: calc(100svh - 108px);
    overflow-y: auto;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .service-hero {
    min-height: auto;
    padding: 108px 0 54px;
  }

  .shop-layout {
    gap: 20px;
  }

  .shop-sidebar {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    inset: 8px 8px auto;
    min-height: 58px;
    padding: 7px 9px;
    gap: 8px;
  }

  .brand img {
    width: auto;
    height: 44px;
  }

  .lang-toggle,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .main-nav {
    top: 74px;
    inset-inline: 8px;
    gap: 8px;
    padding: 12px;
  }

  .main-nav a {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(51, 51, 56, .08);
  }

  .hero {
    padding: 96px 0 46px;
  }

  .hero h1 {
    font-size: clamp(1.78rem, 9vw, 2.35rem);
  }

  .hero-copy {
    font-size: .98rem;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
  }

  .stats-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .split,
  .quote-layout,
  .footer-grid,
  .service-page-grid,
  .shop-layout,
  .product-card {
    gap: 18px;
  }

  .about-grid article,
  .service-card,
  .detail-panel,
  .quote-form,
  .quote-panel {
    padding: 18px;
  }

  .product-card {
    display: grid;
  }

  .product-visual {
    min-height: 190px;
  }

  .shop-toolbar input,
  .quote-form label,
  .wide {
    min-width: 0;
  }

  .timeline {
    grid-template-columns: repeat(7, minmax(210px, 1fr));
  }

  .service-hero {
    padding: 96px 0 46px;
  }

  .service-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .service-hero p {
    font-size: .98rem;
  }

  .whatsapp {
    width: 50px;
    height: 50px;
    inset-inline-end: 14px;
    bottom: 14px;
  }
}

/* Creative Production polish: sharper B2B presence without changing content or features. */
body {
  background:
    linear-gradient(180deg, #fff 0%, #fff 42%, #f7f7f8 100%);
}

.site-header {
  border-color: rgba(225, 186, 71, .28);
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 18px 46px rgba(33, 33, 38, .12);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--gradient);
}

html[dir="rtl"] .site-header::before {
  inset: 0 0 0 auto;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius);
  background: #fff;
}

.main-nav a {
  padding: 8px 0;
  color: rgba(51, 51, 56, .82);
}

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

.hero::after,
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(51, 51, 56, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 51, 56, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

html[dir="rtl"] .hero::after,
html[dir="rtl"] .service-hero::after {
  mask-image: linear-gradient(270deg, #000, transparent 78%);
}

.hero-content {
  position: relative;
}

.eyebrow,
.section-kicker,
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before,
.section-kicker::before,
.breadcrumb::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
}

.hero h1,
.service-hero h1 {
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy,
.service-hero p,
.section-copy p:not(.section-kicker),
.section-head p:not(.section-kicker) {
  text-wrap: pretty;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: transform .58s ease;
}

.btn.primary:hover::after {
  transform: translateX(120%);
}

.stats-strip,
.about-grid article,
.service-card,
.product-card,
.detail-panel,
.quote-form,
.shop-sidebar {
  border-color: rgba(51, 51, 56, .08);
  box-shadow: 0 16px 42px rgba(33, 33, 38, .08);
}

.service-card,
.product-card,
.detail-panel {
  isolation: isolate;
}

.service-card::before,
.detail-panel::before,
.product-card::before {
  box-shadow: 0 8px 22px rgba(236, 28, 36, .13);
}

.service-card h3,
.product-body h3,
.detail-panel h2 {
  letter-spacing: 0;
}

.service-card:hover,
.product-card:hover,
.detail-panel:hover {
  border-color: rgba(225, 186, 71, .46);
}

.product-card {
  grid-template-columns: 150px minmax(0, 1fr);
}

.product-visual {
  position: relative;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
}

.product-meta span,
.product-meta strong,
.industry-track span {
  border: 1px solid rgba(225, 186, 71, .28);
}

.timeline {
  scrollbar-color: var(--gold) rgba(255,255,255,.12);
}

.timeline-step {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.quote-card {
  background:
    linear-gradient(145deg, rgba(236, 28, 36, .18), transparent 38%),
    linear-gradient(135deg, #333338, #202126);
}

.nav-card a {
  transition: color .2s ease, padding .2s ease;
}

.nav-card a:hover {
  color: var(--red);
  padding-inline-start: 8px;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gradient);
}

@media (max-width: 980px) {
  .main-nav.open {
    border: 1px solid rgba(225, 186, 71, .25);
  }

  .product-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header::before {
    width: 4px;
  }

  .eyebrow::before,
  .section-kicker::before,
  .breadcrumb::before {
    width: 16px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }
}
