:root {
  --gate-black: #050505;
  --gate-bg: #000000;
  --gate-surface: #101010;
  --gate-surface-2: #161616;
  --gate-border: rgba(130, 179, 65, 0.35);
  --gate-border-soft: rgba(255, 255, 255, 0.08);
  --gate-green: #82b341;
  --gate-green-bright: #9ad14f;
  --gate-green-deep: #5f8a2a;
  --gate-text: #ffffff;
  --gate-muted: #a8a8a8;
  --gate-muted-2: #7a7a7a;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 78px;
  --font-display: "Exo 2", "Noto Sans", "Noto Sans Arabic", system-ui, sans-serif;
  --font-body: "Noto Sans", "Noto Sans Arabic", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.gate-body {
  margin: 0;
  background: var(--gate-bg);
  color: var(--gate-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.locale-ar body,
body.locale-ar,
html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Noto Sans", sans-serif;
}

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

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.eyebrow {
  color: var(--gate-green);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0;
}

.muted {
  color: var(--gate-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gate-green-bright), var(--gate-green));
  color: #fff;
  box-shadow: 0 0 24px rgba(130, 179, 65, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--gate-green);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(130, 179, 65, 0.12);
}

.btn-outline-green {
  background: transparent;
  border-color: var(--gate-green);
  color: var(--gate-green);
}

.btn-outline-green:hover {
  background: rgba(130, 179, 65, 0.12);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-link {
  color: var(--gate-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-link:hover {
  color: var(--gate-green-bright);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gate-muted);
  margin-top: 0.28rem;
}

.nav-desktop {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--gate-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  position: relative;
}

.lang-btn {
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--gate-border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-end: 0;
  min-width: 160px;
  background: #111;
  border: 1px solid var(--gate-border-soft);
  border-radius: 10px;
  padding: 0.35rem;
  z-index: 20;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.lang-menu.open {
  display: grid;
}

.lang-menu a {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--gate-muted);
}

.lang-menu a:hover,
.lang-menu a.active {
  background: rgba(130, 179, 65, 0.12);
  color: #fff;
}

.header-quote {
  min-height: 42px;
  padding-inline: 1rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--gate-border-soft);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(0, 0, 0, 0.96);
  padding: 1.5rem;
  z-index: 90;
  flex-direction: column;
  gap: 1rem;
}

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

.mobile-nav a {
  font-size: 1.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 2.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 75% 45%, rgba(130, 179, 65, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 20%, rgba(130, 179, 65, 0.05), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy .display {
  font-size: clamp(2.3rem, 4.2vw, 3.55rem);
  max-width: 12ch;
  margin-bottom: 1.1rem;
  color: #ffffff;
}

.hero-copy p {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.8rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(130, 179, 65, 0.18);
  background: #0a0a0a;
  box-shadow: 0 0 60px rgba(130, 179, 65, 0.08);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 40%);
  pointer-events: none;
}

/* Pills / value bar */
.value-bar {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--gate-border);
  background: rgba(16, 16, 16, 0.85);
  backdrop-filter: blur(8px);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gate-green);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.value-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  stroke: var(--gate-green);
  fill: none;
  stroke-width: 1.6;
}

/* Recycle */
.recycle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.recycle-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: 16px;
  border: 1px solid var(--gate-border);
  overflow: hidden;
  background: linear-gradient(180deg, #121212, #0a0a0a);
  min-height: 240px;
}

.recycle-card-copy {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recycle-card-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
}

.recycle-card-copy p {
  margin: 0;
  color: var(--gate-muted);
  font-size: 0.95rem;
}

.recycle-card-media {
  position: relative;
  min-height: 100%;
}

.recycle-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

/* Process */
.process-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.process-head .display {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gate-green), transparent);
  opacity: 0.55;
}

.process-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--gate-border);
  background: #0d0d0d;
}

.process-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid var(--gate-border);
  display: grid;
  place-items: center;
  background: rgba(130, 179, 65, 0.08);
  color: var(--gate-green);
}

.process-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
}

.process-card p {
  margin: 0;
  color: var(--gate-muted);
  font-size: 0.92rem;
}

.process-mobile {
  display: none;
}

/* About */
.about-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-radius: 18px;
  border: 1px solid var(--gate-border);
  overflow: hidden;
  background: #0d0d0d;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about-copy {
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy .display {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 1rem;
}

.about-copy > p {
  color: var(--gate-muted);
  margin: 0 0 1.4rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--gate-border);
  color: var(--gate-green);
  font-size: 0.82rem;
  font-weight: 600;
}

.tag svg {
  width: 14px;
  height: 14px;
}

/* App */
.app-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--gate-border);
  background: linear-gradient(135deg, #101010, #070707 55%, rgba(130, 179, 65, 0.08));
}

.app-copy .display {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.app-copy p {
  color: var(--gate-muted);
  margin: 0 0 1.4rem;
  max-width: 38ch;
}

.app-media {
  display: flex;
  justify-content: center;
}

.app-media img {
  width: min(100%, 560px);
  border-radius: 12px;
}

/* Contact */
.contact-intro {
  max-width: 560px;
  margin-bottom: 2rem;
}

.contact-intro .display {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 0.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
}

.form-card,
.map-card {
  border-radius: 16px;
  border: 1px solid var(--gate-border-soft);
  background: #101010;
  overflow: hidden;
}

.form-card {
  padding: 1.6rem;
}

.form-card h3 {
  font-family: var(--font-display);
  margin: 0 0 1.2rem;
  font-size: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.82rem;
  color: var(--gate-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gate-green);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--gate-muted);
  margin: 0.4rem 0 1rem;
}

.checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--gate-green);
}

.checkbox a {
  color: var(--gate-green);
}

.alert {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.alert-success {
  background: rgba(130, 179, 65, 0.15);
  border: 1px solid var(--gate-border);
  color: #d7f0b3;
}

.alert-error {
  background: rgba(180, 40, 40, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.35);
  color: #ffb4b4;
}

.map-wrap {
  position: relative;
  min-height: 420px;
}

.map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: brightness(0.55) contrast(1.05) saturate(0.8);
}

.location-card {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 1.1rem;
  max-width: 360px;
  padding: 1.1rem 1.15rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(130, 179, 65, 0.3);
  backdrop-filter: blur(8px);
}

.location-card h4 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
}

.location-card .addr {
  color: var(--gate-muted);
  font-size: 0.84rem;
  margin-bottom: 0.85rem;
}

.location-meta {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.location-meta a,
.location-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.location-meta svg {
  width: 16px;
  height: 16px;
  stroke: var(--gate-green);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.map-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.15rem;
}

.map-actions .btn {
  flex: 1;
  min-height: 44px;
  font-size: 0.88rem;
}

.ready-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2rem 1rem;
}

.ready-cta .display {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  color: var(--gate-muted);
  max-width: 30ch;
  margin: 1rem 0 1.2rem;
  font-size: 0.92rem;
}

.socials {
  display: flex;
  gap: 0.55rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: var(--gate-muted);
  transition: 0.2s;
}

.socials a:hover {
  border-color: var(--gate-green);
  color: var(--gate-green);
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col h5 {
  margin: 0 0 0.9rem;
  color: var(--gate-green);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.footer-col a {
  display: block;
  color: var(--gate-muted);
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--gate-muted-2);
  font-size: 0.84rem;
}

.footer-mobile-meta {
  display: none;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0.35;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 1;
  animation: rise 0.65s ease-out both;
}

.reveal-delay-1 {
  animation-delay: 0.1s;
}

.reveal-delay-2 {
  animation-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

/* Mobile */
@media (max-width: 980px) {
  .nav-desktop,
  .header-quote.desktop-only {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero-grid,
  .recycle-grid,
  .process-steps,
  .about-panel,
  .app-panel,
  .contact-grid,
  .footer-grid,
  .value-bar {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .process-desktop {
    display: none;
  }

  .process-mobile {
    display: grid;
    gap: 0;
    position: relative;
    padding-inline-start: 1.2rem;
  }

  .process-mobile::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    inset-inline-start: 11px;
    width: 1px;
    border-left: 1px dashed rgba(130, 179, 65, 0.5);
  }

  .process-mobile-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding: 0.9rem 0;
  }

  .step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gate-green);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
  }

  .hero-copy .display {
    max-width: none;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }

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

  .value-bar {
    grid-template-columns: 1fr 1fr;
  }

  .app-panel {
    padding: 1.3rem;
  }

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

  .location-card {
    max-width: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .about-media img {
    min-height: 260px;
  }

  .map-wrap,
  .map-wrap img {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .section {
    padding: 3.5rem 0;
  }

  .brand-text {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-actions .btn-outline {
    display: none;
  }

  .hero-actions .mobile-app-link {
    display: inline-flex;
  }

  .value-item {
    font-size: 0.82rem;
  }

  .map-actions {
    flex-direction: column;
  }

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

  .footer-desktop-cols {
    display: none;
  }

  .footer-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
    margin-top: 1.2rem;
    color: var(--gate-muted);
    font-size: 0.88rem;
  }

  .footer-mobile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .ready-mobile {
    display: block;
  }
}

.mobile-app-link {
  display: none;
}

html[dir="rtl"] .hero-visual::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.35), transparent 40%);
}

html[dir="rtl"] .lang-menu {
  inset-inline-end: auto;
  inset-inline-start: 0;
}
