:root {
  --ink: #13211f;
  --muted: #5f6e6a;
  --line: #dfe7e4;
  --surface: #f7faf8;
  --white: #ffffff;
  --blue: #274f91;
  --green: #5fbd46;
  --aqua: #0c776b;
  --shadow: 0 24px 70px rgba(17, 42, 38, 0.14);
  --soft-shadow: 0 18px 50px rgba(39, 79, 145, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Cairo, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f4f8f7 0, #ffffff 42%, #f7faf8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(39, 79, 145, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(95, 189, 70, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 84%, transparent);
}

body[dir="ltr"] {
  font-family: Inter, Cairo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.is-hidden {
  display: none !important;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  padding: 7px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.84);
  background: #081e46;
  font-size: 0.8rem;
  font-weight: 700;
}

.topbar-location,
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #92e000;
  box-shadow: 0 0 0 5px rgba(146, 224, 0, 0.12);
}

.topbar a:hover {
  color: #92e000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 58px);
  gap: clamp(14px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 231, 228, 0.85);
  box-shadow: 0 16px 45px rgba(7, 20, 32, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 360px;
  min-width: 0;
}

.brand img {
  display: block;
  width: clamp(210px, 25vw, 360px);
  max-width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav a,
.language-toggle {
  padding: 10px clamp(9px, 0.85vw, 13px);
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: clamp(0.86rem, 0.92vw, 1rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a[href^="#"] {
  position: relative;
}

.site-nav a[href^="#"]::after {
  content: "";
  position: absolute;
  inset: auto 13px 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a[href^="#"].active {
  color: var(--blue);
}

.site-nav a[href^="#"].active::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.language-toggle:hover {
  color: var(--ink);
  background: #edf5f2;
}

.site-nav .signup-link,
.site-nav .account-link {
  color: var(--white);
  background: var(--blue);
}

.site-nav .signup-link {
  min-width: max-content;
}

.site-nav .signup-link:hover,
.site-nav .account-link:hover {
  color: var(--white);
  background: #153d83;
}

.language-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 9% auto auto 6%;
  z-index: -1;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(146, 224, 0, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(146, 224, 0, 0.035),
    0 0 0 76px rgba(39, 79, 145, 0.06);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 20, 32, 0.88), rgba(16, 74, 86, 0.52) 48%, rgba(95, 189, 70, 0.08)),
    radial-gradient(circle at 78% 24%, rgba(146, 224, 0, 0.18), transparent 26%),
    linear-gradient(120deg, transparent 0 45%, rgba(146, 224, 0, 0.08) 45.2% 45.6%, transparent 46% 100%);
}

html[dir="rtl"] .hero::after {
  background: linear-gradient(270deg, rgba(7, 20, 32, 0.84), rgba(16, 74, 86, 0.56) 50%, rgba(95, 189, 70, 0.12));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(39, 79, 145, 0.18), rgba(95, 189, 70, 0.16)),
    url("warehouse-ai.jpeg") center / cover;
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.02);
  animation: heroDrift 18s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-weight: 900;
  animation: floatBadge 7s ease-in-out infinite;
}

.hero-orbit span::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(146, 224, 0, 0.16);
  border-radius: inherit;
  animation: softSpin 10s linear infinite;
}

.hero-orbit span:nth-child(1) {
  top: 18%;
  inset-inline-start: 8%;
}

.hero-orbit span:nth-child(2) {
  top: 26%;
  inset-inline-end: 14%;
  animation-delay: -1.8s;
}

.hero-orbit span:nth-child(3) {
  bottom: 18%;
  inset-inline-end: 24%;
  animation-delay: -3.2s;
}

.hero-orbit span:nth-child(4) {
  bottom: 28%;
  inset-inline-start: 18%;
  animation-delay: -4.4s;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 24% 38% auto auto;
  width: 280px;
  height: 340px;
  opacity: 0.42;
  background:
    linear-gradient(30deg, transparent 44%, rgba(146, 224, 0, 0.7) 45% 46%, transparent 47%),
    linear-gradient(150deg, transparent 44%, rgba(68, 211, 218, 0.48) 45% 46%, transparent 47%);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
  animation: gridDrift 9s ease-in-out infinite;
}

.hero-content {
  width: min(840px, 100%);
  color: var(--white);
  animation: heroContentIn 900ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-section h2,
.quality-copy h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 6.8vw, 7.2rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.9;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  animation: tagFloat 5.5s ease-in-out infinite;
}

.hero-trust span:nth-child(2) {
  animation-delay: -1.4s;
}

.hero-trust span:nth-child(3) {
  animation-delay: -2.8s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-status-board {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
  align-self: end;
  margin-bottom: 96px;
}

.hero-status-board::before {
  content: "";
  position: absolute;
  inset: 28px auto 28px 28px;
  width: 2px;
  background: linear-gradient(180deg, transparent, #92e000, transparent);
  opacity: 0.85;
}

.status-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.status-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(146, 224, 0, 0.16);
}

.status-card span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #92e000;
  background: rgba(146, 224, 0, 0.09);
  font-size: 0.82rem;
  font-weight: 900;
}

.status-card strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.2;
}

.status-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.primary-status {
  background:
    linear-gradient(135deg, rgba(39, 79, 145, 0.92), rgba(12, 119, 107, 0.82)),
    radial-gradient(circle at top right, rgba(146, 224, 0, 0.24), transparent 42%);
  transform: translateX(-18px);
}

.hero-date-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(95, 189, 70, 0.84), rgba(12, 119, 107, 0.72));
  box-shadow: 0 18px 45px rgba(7, 20, 32, 0.22);
  backdrop-filter: blur(16px);
  font-size: 0.82rem;
  font-weight: 900;
  animation: tagFloat 5s ease-in-out infinite;
}

.hero-date-pill span {
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.hero-feature-strip {
  position: absolute;
  inset-inline-end: clamp(20px, 5vw, 72px);
  bottom: 30px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  width: min(680px, calc(100% - 40px));
}

.hero-feature-strip article {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    radial-gradient(circle at top right, rgba(146, 224, 0, 0.24), transparent 42%);
  box-shadow: 0 22px 58px rgba(7, 20, 32, 0.2);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
  animation: riseIn 720ms ease both;
}

.hero-feature-strip article:nth-child(2) {
  animation-delay: 120ms;
}

.hero-feature-strip article:nth-child(3) {
  animation-delay: 240ms;
}

.hero-feature-strip article::after {
  content: "";
  position: absolute;
  inset: auto -26px -32px auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(146, 224, 0, 0.2);
}

.hero-feature-strip span {
  display: block;
  color: #92e000;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-feature-strip strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(0.95rem, 1.4vw, 1.14rem);
  line-height: 1.35;
}

.status-kicker {
  width: auto;
  padding: 0 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #153d83);
  box-shadow: 0 16px 34px rgba(39, 79, 145, 0.32);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.button:hover {
  transform: translateY(-2px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 clamp(20px, 5vw, 0px);
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 130%, rgba(146, 224, 0, 0.2), transparent 34%),
    linear-gradient(135deg, #06265f, #071f4f 58%, #0b3f63);
  box-shadow: var(--shadow);
}

.process-band {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 28px;
  align-items: center;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, #081e46, #123b72 56%, #0c776b),
    radial-gradient(circle at 90% 12%, rgba(146, 224, 0, 0.25), transparent 34%);
  box-shadow: 0 28px 70px rgba(39, 79, 145, 0.18);
  position: relative;
  overflow: hidden;
}

.process-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.035),
    0 0 0 70px rgba(146, 224, 0, 0.035);
}

.process-band h2 {
  margin: 0;
  max-width: 420px;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.12;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.process-steps article {
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  transition: transform 200ms ease, background 200ms ease;
}

.process-steps article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.13);
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #081e46;
  background: #92e000;
  font-weight: 900;
}

.process-steps strong {
  display: block;
  line-height: 1.35;
}

.metrics::before {
  content: "";
  position: absolute;
  inset: auto -8% -72% -8%;
  height: 150%;
  border-radius: 50%;
  border: 1px solid rgba(146, 224, 0, 0.2);
  box-shadow:
    0 -28px 0 rgba(146, 224, 0, 0.08),
    0 -56px 0 rgba(146, 224, 0, 0.06),
    0 -84px 0 rgba(146, 224, 0, 0.045);
  pointer-events: none;
}

.metrics div {
  min-height: 178px;
  padding: clamp(24px, 4vw, 38px);
  background: transparent;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.metrics div:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.metric-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #92e000;
  background: rgba(146, 224, 0, 0.08);
  border: 1px solid rgba(146, 224, 0, 0.35);
  text-shadow: 0 0 18px rgba(146, 224, 0, 0.35);
  font-weight: 900;
  animation: iconFloat 3.8s ease-in-out infinite;
}

.metrics div:nth-child(2) .metric-icon {
  animation-delay: -0.7s;
}

.metrics div:nth-child(3) .metric-icon {
  animation-delay: -1.4s;
}

.metrics div:nth-child(4) .metric-icon {
  animation-delay: -2.1s;
}

.metrics div:first-child {
  border-radius: 0 8px 8px 0;
}

.metrics div:last-child {
  border-radius: 8px 0 0 8px;
}

html[dir="ltr"] .metrics div:first-child {
  border-radius: 8px 0 0 8px;
}

html[dir="ltr"] .metrics div:last-child {
  border-radius: 0 8px 8px 0;
}

.metrics strong {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: #92e000;
  font-weight: 800;
}

.section,
.split-section,
.warehouse-section,
.branch-section,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 120px) clamp(20px, 5vw, 0px);
  position: relative;
}

.section::before,
.split-section::before,
.warehouse-section::before,
.branch-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 32px 0 auto auto;
  width: 220px;
  height: 220px;
  opacity: 0.08;
  pointer-events: none;
  background:
    linear-gradient(30deg, transparent 44%, var(--blue) 45% 46%, transparent 47%),
    linear-gradient(150deg, transparent 44%, var(--green) 45% 46%, transparent 47%);
  background-size: 34px 34px;
}

.section,
.split-section,
.warehouse-section,
.branch-section,
.contact-section,
.home-ai-section,
.quality {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.section.is-visible,
.split-section.is-visible,
.warehouse-section.is-visible,
.branch-section.is-visible,
.contact-section.is-visible,
.home-ai-section.is-visible,
.quality.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-accent {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--green);
}

.section-accent span {
  animation: pulseSoft 2.8s ease-in-out infinite;
}

.section-accent span:nth-child(2) {
  animation-delay: 0.35s;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.split-section h2,
.quality-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.lead {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 2;
}

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

.card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(39, 79, 145, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.9)),
    radial-gradient(circle at top right, rgba(95, 189, 70, 0.14), transparent 36%);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid rgba(95, 189, 70, 0.72);
  opacity: 0.82;
  pointer-events: none;
}

.card::after,
.info-box::after,
.ai-box::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(95, 189, 70, 0.12);
}

.card:hover,
.info-box:hover,
.ai-box:hover,
.catalog-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(39, 79, 145, 0.16);
  border-color: rgba(39, 79, 145, 0.26);
}

.card:hover .icon,
.info-box:hover .icon,
.ai-box:hover .icon,
.product-card:hover .icon {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 36px rgba(39, 79, 145, 0.16);
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: var(--blue);
  font-weight: 900;
  background: linear-gradient(135deg, #edf4ff, #ffffff);
  border: 1px solid rgba(39, 79, 145, 0.1);
  box-shadow: 0 14px 28px rgba(39, 79, 145, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.animated-icon {
  animation: iconFloat 3.6s ease-in-out infinite;
}

.card:nth-child(2n) .icon {
  color: #277b23;
  background: #ecf8e8;
}

.card h3 {
  margin: 26px 0 10px;
  font-size: 1.15rem;
}

.card p,
.split-section p,
.quality-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.catalog-list {
  display: grid;
  gap: 12px;
}

.catalog-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(135deg, #ffffff, #f8fbff);
  text-align: inherit;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.catalog-item span {
  font-size: 1rem;
  font-weight: 900;
}

.catalog-item small {
  color: var(--muted);
  font-weight: 700;
}

.catalog-item.active {
  border-color: rgba(95, 189, 70, 0.6);
  background:
    linear-gradient(135deg, #eef9ea, #ffffff);
  box-shadow: 0 18px 45px rgba(95, 189, 70, 0.14);
}

.warehouse-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  position: relative;
}

.warehouse-section::before {
  content: "";
  position: absolute;
  inset: 16% auto auto -8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(95, 189, 70, 0.08);
  pointer-events: none;
}

.warehouse-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.warehouse-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.08;
}

.warehouse-photo {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 32px 80px rgba(17, 42, 38, 0.18);
  background: var(--white);
  position: relative;
}

.warehouse-photo::after {
  content: "Dubai - Warsan 2";
  position: absolute;
  inset: auto 18px 18px auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 20, 32, 0.68);
  font-size: 0.86rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.warehouse-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 420ms ease;
}

.warehouse-photo:hover img {
  transform: scale(1.035);
}

.branch-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding-top: 0;
}

.branch-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
}

.branch-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.branch-card {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(39, 79, 145, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff, #f7fbff),
    radial-gradient(circle at top right, rgba(95, 189, 70, 0.18), transparent 36%);
  box-shadow: var(--soft-shadow);
}

.branch-card strong {
  color: var(--blue);
  font-size: 1.18rem;
}

.branch-card span:not(.branch-badge) {
  color: var(--muted);
  font-weight: 800;
}

.branch-badge {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #102b20;
  background: rgba(146, 224, 0, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
}

.branch-card .button {
  width: fit-content;
  margin-top: 8px;
}

.branch-visuals {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 14px;
  align-items: stretch;
}

.branch-photo,
.branch-map {
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(39, 79, 145, 0.14);
  box-shadow: 0 30px 70px rgba(17, 42, 38, 0.16);
  background: var(--white);
}

.branch-photo {
  position: relative;
}

.branch-photo::after {
  content: "Main Branch";
  position: absolute;
  inset: auto 18px 18px auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 20, 32, 0.68);
  font-size: 0.86rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.branch-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.branch-photo:hover img {
  transform: scale(1.035);
}

.branch-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.9) contrast(1.04);
}

.quality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: none;
  padding-inline: clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 18%, rgba(146, 224, 0, 0.12), transparent 28%),
    linear-gradient(135deg, #081e46, #122b4f 60%, #0b3f63);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quality::after {
  content: "";
  position: absolute;
  inset: auto -10% -58% -10%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 -32px 0 rgba(255, 255, 255, 0.035),
    0 -64px 0 rgba(146, 224, 0, 0.035);
  pointer-events: none;
}

.quality-copy {
  max-width: 660px;
  justify-self: end;
}

html[dir="ltr"] .quality-copy {
  justify-self: start;
}

.quality-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.quality-panel {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.quality-panel div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.quality-panel div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(146, 224, 0, 0.34);
}

.quality-panel strong,
.quality-panel span {
  display: block;
}

.quality-panel span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.home-ai-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.home-ai-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.chat-widget {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(39, 79, 145, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.94)),
    radial-gradient(circle at top right, rgba(95, 189, 70, 0.22), transparent 36%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.chat-widget::before {
  content: "";
  position: absolute;
  top: -80px;
  inset-inline-end: -80px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(95, 189, 70, 0.16);
}

.chat-widget.compact {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.chat-widget.compact::before {
  display: none;
}

.chat-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(39, 79, 145, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(39, 79, 145, 0.08);
}

.chat-top strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.chat-top small {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.chat-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(95, 189, 70, 0.5);
  animation: pulseDot 1.8s ease-out infinite;
}

.chat-window {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 300px;
  max-height: 380px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.chat-widget.compact .chat-window {
  min-height: 220px;
  max-height: 280px;
}

.chat-message {
  width: fit-content;
  max-width: min(84%, 560px);
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.7;
  font-weight: 700;
}

.chat-message.bot {
  justify-self: start;
  color: var(--ink);
  background: #edf4ff;
}

.chat-message.thinking {
  color: var(--muted);
  background: #ffffff;
  border: 1px dashed rgba(39, 79, 145, 0.22);
}

.chat-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-suggestions button {
  min-height: 38px;
  border: 1px solid rgba(39, 79, 145, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--blue);
  background: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-suggestions button:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 79, 145, 0.4);
  box-shadow: 0 10px 20px rgba(39, 79, 145, 0.12);
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.chat-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.chat-form .button {
  min-width: 104px;
}

.floating-chat-button {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  padding: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(39, 79, 145, 0.18);
  box-shadow: 0 18px 40px rgba(39, 79, 145, 0.34);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-chat-button::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(95, 189, 70, 0.34);
  animation: pulseDot 2.2s ease-out infinite;
}

.floating-chat-button::after {
  content: attr(data-tooltip-en);
  position: absolute;
  inset-inline-end: calc(100% + 12px);
  bottom: 8px;
  width: max-content;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid rgba(39, 79, 145, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(7, 20, 32, 0.14);
  font-size: 0.9rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

html[dir="rtl"] .floating-chat-button::after {
  content: attr(data-tooltip-ar);
}

.floating-chat-button:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--blue), #153d83),
    radial-gradient(circle at 70% 20%, rgba(146, 224, 0, 0.8), transparent 30%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.chat-bubble-icon::before {
  content: "";
  width: 23px;
  height: 17px;
  border: 3px solid var(--white);
  border-radius: 8px;
  border-bottom-left-radius: 3px;
}

.chat-bubble-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  bottom: 12px;
  left: 16px;
  border-left: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(-18deg);
}

.floating-chat-button:hover,
.floating-chat-button.open {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(39, 79, 145, 0.42);
}

.floating-chat-panel {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 104px;
  z-index: 31;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 132px));
  padding: 14px;
  border: 1px solid rgba(39, 79, 145, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)),
    radial-gradient(circle at top right, rgba(95, 189, 70, 0.18), transparent 38%);
  box-shadow: 0 28px 80px rgba(7, 20, 32, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-chat-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-chat-panel .chat-window {
  min-height: 260px;
  max-height: 320px;
}

.floating-chat-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.captcha-field {
  padding: 12px;
  border: 1px solid rgba(39, 79, 145, 0.14);
  border-radius: 8px;
  background: #f7fbff;
}

.captcha-field span {
  color: var(--blue);
  font-weight: 900;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  font-weight: 900;
}

.contact-details a:first-child {
  color: var(--blue);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-intro {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-intro strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.form-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.form-security {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #1d6b28;
  background: #ecf8e8;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

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

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(39, 79, 145, 0.16);
  border-color: var(--blue);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 10% 0, rgba(146, 224, 0, 0.12), transparent 28%),
    linear-gradient(135deg, #071a3c, #0d2e59 64%, #0c5b58);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 0.72fr));
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(44px, 7vw, 74px) clamp(20px, 5vw, 72px);
}

.footer-brand img {
  display: block;
  width: min(100%, 330px);
  padding: 8px;
  border-radius: 8px;
  background: var(--white);
}

.footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  line-height: 1.8;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.footer-column a:hover {
  color: #92e000;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.careers-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(95, 189, 70, 0.12), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(39, 79, 145, 0.12), transparent 30%),
    linear-gradient(180deg, #f7faf8 0, #ffffff 45%, #f3f8f6 100%);
}

.career-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(520px, 1.18fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(52px, 7vw, 88px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.career-hero::before {
  content: "";
  position: absolute;
  inset: 14% auto auto 7%;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(95, 189, 70, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(39, 79, 145, 0.045),
    0 0 0 84px rgba(95, 189, 70, 0.04);
  pointer-events: none;
}

.career-hero-copy,
.career-hero-media {
  position: relative;
  z-index: 1;
}

.career-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.career-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.9;
  font-weight: 700;
}

.career-hero .button.secondary {
  color: var(--white);
  border-color: var(--blue);
  background: #0c2f68;
  box-shadow: 0 18px 42px rgba(39, 79, 145, 0.2);
}

.career-hero .button.secondary:hover {
  color: var(--white);
  background: #153d83;
}

.career-hero-media {
  min-height: auto;
  aspect-ratio: 16 / 8.55;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.career-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 38%),
    radial-gradient(circle at 92% 88%, rgba(39, 79, 145, 0.12), transparent 24%);
  pointer-events: none;
}

.career-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #eef5f6;
  display: block;
}

.career-floating-card {
  position: absolute;
  z-index: 2;
  inset: auto 24px 24px 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(39, 79, 145, 0.92), rgba(12, 119, 107, 0.82));
  backdrop-filter: blur(16px);
}

.career-floating-card span,
.job-tag {
  display: inline-flex;
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #1b5c17;
  background: #dff5d8;
  font-size: 0.78rem;
  font-weight: 900;
}

.career-floating-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.25;
}

.career-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 40px));
  margin: -24px auto 64px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: var(--soft-shadow);
  position: relative;
  z-index: 2;
}

.career-values article {
  min-height: 190px;
  padding: 30px;
  background:
    radial-gradient(circle at 88% 86%, rgba(146, 224, 0, 0.26), transparent 26%),
    #082b61;
}

.career-values span,
.career-card a {
  color: #92e000;
  font-weight: 900;
}

.career-values strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 1.45rem;
}

.career-values p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
  font-weight: 700;
}

.career-openings {
  padding-top: 36px;
}

.career-admin-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

.career-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.94)),
    radial-gradient(circle at 90% 18%, rgba(95, 189, 70, 0.12), transparent 24%);
  box-shadow: var(--soft-shadow);
}

.career-card h3 {
  margin: 10px 0 12px;
  font-size: 1.45rem;
}

.career-card p {
  min-height: 104px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 700;
}

.career-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

.career-apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 72px);
}

.career-apply-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.04;
}

.career-apply-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 700;
}

.career-apply-copy img {
  width: min(100%, 760px);
  margin-top: 28px;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.career-form {
  position: sticky;
  top: 112px;
}

.dashboard-header {
  position: static;
}

.dashboard-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.dashboard-nav a,
.dashboard-nav button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  position: static;
}

.dashboard-nav a:hover,
.dashboard-nav button:hover {
  color: var(--ink);
  background: #edf5f2;
}

.dashboard-language-toggle {
  position: static;
  inset: auto;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(39, 79, 145, 0.9), rgba(95, 189, 70, 0.72)),
    url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=1600&q=85") center / cover;
}

.login-panel {
  width: min(480px, 100%);
  position: relative;
  padding: clamp(24px, 5vw, 42px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.auth-language-toggle {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.login-logo img {
  display: block;
  width: min(330px, 100%);
  margin: 26px auto 30px;
}

.login-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1.1;
}

.login-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.login-form,
.signup-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.login-form label,
.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.login-form input,
.signup-form input {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfc;
}

.login-form .button,
.signup-form .button {
  width: 100%;
}

.text-button {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.auth-links a {
  color: var(--blue);
  font-weight: 900;
}

.form-note[data-type="error"] {
  color: #b42318;
}

.form-note[data-type="success"] {
  color: #277b23;
}

.dashboard-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 76px) clamp(20px, 5vw, 0px);
}

.dashboard-hero {
  margin-bottom: 24px;
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
}

.dashboard-hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.dashboard-actions .secondary {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-summary div,
.info-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dashboard-summary span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.dashboard-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 1.25rem;
}

.dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.demo-catalog-section {
  margin-bottom: 24px;
}

.demo-shop {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.demo-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-card,
.order-cart {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.product-card {
  display: grid;
  gap: 12px;
}

.product-card h3,
.order-cart h3 {
  margin: 0;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.order-cart {
  display: grid;
  gap: 14px;
}

.cart-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--blue);
  font-weight: 900;
}

.remove-cart-item {
  border: 0;
  color: #b42318;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.order-cart label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.order-cart textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfc;
}

.dashboard-order-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.1;
}

.form-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.dashboard-order-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.dashboard-order-form input,
.dashboard-order-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfc;
}

.dashboard-side {
  display: grid;
  gap: 14px;
}

.ai-box {
  padding: 22px;
  border: 1px solid rgba(39, 79, 145, 0.18);
  border-radius: 8px;
  background: #f7fbff;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ai-box h3 {
  margin: 18px 0 8px;
}

.ai-box p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.info-box h3 {
  margin: 18px 0 8px;
}

.info-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.metrics,
.process-band {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.metrics.is-visible,
.process-band.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.metrics div::after {
  content: "";
  position: absolute;
  inset: auto 24px 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(146, 224, 0, 0.92), transparent);
  transform: scaleX(0);
  transition: transform 280ms ease;
}

.metrics div:hover::after {
  transform: scaleX(1);
}

.section.is-visible .card,
.process-band.is-visible .process-steps article,
.metrics.is-visible div,
.quality.is-visible .quality-panel > div {
  animation: riseIn 620ms ease both;
}

.section.is-visible .card:nth-child(2),
.process-band.is-visible .process-steps article:nth-child(2),
.metrics.is-visible div:nth-child(2),
.quality.is-visible .quality-panel > div:nth-child(2) {
  animation-delay: 90ms;
}

.section.is-visible .card:nth-child(3),
.process-band.is-visible .process-steps article:nth-child(3),
.metrics.is-visible div:nth-child(3),
.quality.is-visible .quality-panel > div:nth-child(3) {
  animation-delay: 180ms;
}

.section.is-visible .card:nth-child(4),
.process-band.is-visible .process-steps article:nth-child(4),
.metrics.is-visible div:nth-child(4) {
  animation-delay: 270ms;
}

.card::before {
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.72) 50%, transparent 62% 100%);
  transform: translateX(-120%);
  transition: transform 650ms ease;
}

.card:hover::before {
  transform: translateX(120%);
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 35%, rgba(255, 255, 255, 0.2) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
  pointer-events: none;
}

.status-card:hover::before {
  transform: translateX(120%);
}

.warehouse-photo,
.branch-photo,
.branch-map {
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.warehouse-photo:hover,
.branch-photo:hover,
.branch-map:hover {
  transform: translateY(-5px);
  box-shadow: 0 38px 90px rgba(17, 42, 38, 0.2);
}

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

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

@keyframes tagFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes gridDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-10px, 12px, 0) rotate(3deg);
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

@keyframes heroDrift {
  0%,
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.06) translate3d(-10px, 8px, 0);
  }
}

@keyframes softSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseSoft {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 189, 70, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(95, 189, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 189, 70, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .brand img {
    width: clamp(190px, 28vw, 300px);
  }

  .site-nav {
    gap: 3px;
  }

  .site-nav a,
  .language-toggle {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero-status-board {
    margin-bottom: 0;
  }

  .hero-feature-strip {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-feature-strip article {
    min-height: 86px;
    padding: 16px;
  }

  .metrics {
    margin-top: 0;
  }

  .dashboard-header {
    align-items: flex-start;
    gap: 16px;
  }

  .dashboard-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 74px;
  }

  .brand img {
    width: min(54vw, 285px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a,
  .language-toggle {
    font-size: 1rem;
    text-align: center;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero-status-board {
    display: none;
  }

  .hero-feature-strip {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .service-grid,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics div:first-child,
  .metrics div:last-child,
  html[dir="ltr"] .metrics div:first-child,
  html[dir="ltr"] .metrics div:last-child {
    border-radius: 0;
  }

  .split-section,
  .warehouse-section,
  .process-band,
  .branch-section,
  .quality,
  .home-ai-section,
  .contact-section,
  .career-hero,
  .career-apply-section,
  .dashboard-summary,
  .demo-shop,
  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .demo-products {
    grid-template-columns: 1fr;
  }

  .quality-copy,
  html[dir="ltr"] .quality-copy {
    justify-self: start;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-visuals {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1.25fr 1fr;
  }

  .career-grid,
  .career-values {
    grid-template-columns: 1fr;
  }

  .career-hero-media {
    width: min(100%, 980px);
    justify-self: center;
  }

  .career-form {
    position: static;
  }

  .career-card p {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    justify-content: center;
    min-height: 34px;
    padding-block: 6px;
  }

  .topbar-location,
  .topbar-contact a:last-child {
    display: none;
  }

  .site-header {
    min-height: 74px;
  }

  .dashboard-header {
    display: grid;
    justify-items: stretch;
  }

  .dashboard-header .brand {
    justify-content: center;
  }

  .dashboard-nav {
    justify-content: center;
  }

  .dashboard-nav a,
  .dashboard-nav button {
    flex: 1 1 42%;
    text-align: center;
  }

  .brand img {
    width: min(64vw, 250px);
  }

  .hero {
    min-height: 82vh;
    padding-top: 88px;
    grid-template-columns: 1fr;
  }

  .hero::after,
  html[dir="rtl"] .hero::after {
    background: linear-gradient(180deg, rgba(7, 20, 32, 0.86), rgba(16, 74, 86, 0.55));
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4.1rem);
  }

  .career-hero {
    padding-top: 48px;
  }

  .career-hero h1,
  .career-apply-copy h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .career-hero-media,
  .career-hero-media img {
    min-height: 0;
  }

  .career-values {
    width: calc(100% - 32px);
    margin-top: 0;
  }

  .career-values article,
  .career-card {
    min-height: auto;
    padding: 22px;
  }

  .hero-status-board {
    display: none;
  }

  .hero-feature-strip {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 8px;
  }

  .hero-feature-strip article {
    min-height: auto;
  }

  .metrics,
  .service-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
    padding-inline: 0;
  }

  .metrics div {
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }

  .floating-chat-button {
    inset-inline-end: 16px;
    bottom: 16px;
    height: 58px;
    width: 58px;
    padding: 7px;
  }

  .floating-chat-button::after {
    display: none;
  }

  .chat-bubble-icon {
    width: 44px;
    height: 44px;
  }

  .floating-chat-panel {
    inset-inline-end: 16px;
    bottom: 86px;
  }

  .catalog-item {
    display: grid;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand img {
    width: min(100%, 290px);
  }

  .footer-bottom {
    flex-direction: column;
  }
}
