/* ══════════════════════════════════════════════════════
   OMA — Animal & Plant Production
   World-class bilingual (AR/EN) design system
   Palette: Deep Forest Green × Royal Gold × Ivory
   ══════════════════════════════════════════════════════ */

:root {
  --green-950: #04120a;
  --green-900: #071c10;
  --green-850: #0a2415;
  --green-800: #0d2f1b;
  --green-700: #14532d;
  --green-500: #1f7a45;
  --green-400: #2fa05c;
  --gold-700: #8f6b1d;
  --gold-500: #c9a227;
  --gold-400: #d4af37;
  --gold-300: #e8cd6e;
  --gold-100: #f6e9bd;
  --cream: #f5f1e6;
  --cream-2: #efe9d8;
  --ink: #101812;
  --muted: #5c6a60;
  --white: #ffffff;

  --grad-gold: linear-gradient(115deg, #8f6b1d 0%, #d4af37 38%, #f0d878 55%, #d4af37 72%, #8f6b1d 100%);
  --grad-green: linear-gradient(160deg, #0d2f1b 0%, #071c10 100%);

  --font-ar: "Cairo", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", serif;

  --nav-h: 84px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 24px 48px -22px rgba(4, 18, 10, 0.16);
  --shadow-gold: 0 14px 32px -16px rgba(201, 162, 39, 0.38);
  --shadow-sm: 0 10px 28px -16px rgba(4, 18, 10, 0.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-ar);
  background: var(--green-950);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: var(--font-en);
  letter-spacing: 0.01em;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
section { scroll-margin-top: var(--nav-h); }

::selection { background: var(--gold-400); color: var(--green-950); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--green-950); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-500), var(--gold-700));
  border-radius: 8px;
  border: 2px solid var(--green-950);
}

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

.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }

.section--dark { background: var(--green-950); color: var(--cream); }
.section--cream { background: var(--cream); }

/* ══════════════ PRELOADER ══════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--green-950);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { position: relative; display: grid; place-items: center; }
.preloader__logo { width: 150px; animation: preloaderPulse 1.6s ease-in-out infinite; }
.preloader__ring {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold-400);
  border-bottom-color: var(--gold-700);
  animation: spin 1.4s linear infinite;
}
.preloader__bar {
  position: absolute; bottom: -60px; width: 160px; height: 2px;
  background: rgba(255,255,255,0.12); border-radius: 4px; overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 40%;
  background: var(--grad-gold); border-radius: 4px;
  animation: barSlide 1.2s var(--ease) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes preloaderPulse { 50% { transform: scale(1.05); opacity: 0.85; } }
@keyframes barSlide { 0% { transform: translateX(-120%);} 100% { transform: translateX(420%);} }
[dir="rtl"] .preloader__bar span { animation-name: barSlideRtl; }
@keyframes barSlideRtl { 0% { transform: translateX(120%);} 100% { transform: translateX(-420%);} }

/* ══════════════ NAVBAR ══════════════ */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s, backdrop-filter 0.5s;
}
.nav::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
  opacity: 0; transition: opacity 0.5s;
}
.nav.is-scrolled {
  background: rgba(4, 18, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.5);
}
.nav.is-scrolled::after { opacity: 1; }

.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__logo {
  height: 58px; width: auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
  transition: transform 0.4s var(--ease);
}
.nav__brand:hover .nav__logo { transform: scale(1.05); }

.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav__link {
  position: relative; color: rgba(245,241,230,0.85);
  font-weight: 600; font-size: 0.95rem; padding: 0.35rem 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad-gold);
  transition: width 0.4s var(--ease);
}
.nav__link:hover { color: var(--gold-300); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--gold-300); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

/* Language toggle */
.lang-toggle {
  position: relative; display: flex; align-items: center;
  border: 1px solid rgba(212,175,55,0.5); border-radius: 100px;
  padding: 4px; background: rgba(255,255,255,0.06);
}
.lang-toggle__opt {
  position: relative; z-index: 1;
  padding: 0.3rem 0.85rem; font-size: 0.8rem; font-weight: 800;
  color: rgba(245,241,230,0.7); transition: color 0.3s;
}
.lang-toggle__slider {
  position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px;
  width: calc(50% - 4px); border-radius: 100px;
  background: var(--grad-gold);
  transition: transform 0.45s var(--ease);
}
html[lang="ar"] .lang-toggle__slider { transform: translateX(0); }
html[lang="en"] .lang-toggle__slider { transform: translateX(100%); }
.lang-toggle__opt[data-lang="ar"] { color: var(--green-950); }
html[lang="en"] .lang-toggle__opt[data-lang="ar"] { color: rgba(245,241,230,0.7); }
html[lang="en"] .lang-toggle__opt[data-lang="en"] { color: var(--green-950); }
html[lang="ar"] .lang-toggle__opt[data-lang="en"] { color: rgba(245,241,230,0.7); }

/* Burger */
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span {
  width: 26px; height: 2px; border-radius: 2px;
  background: var(--gold-400); transition: 0.4s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════ HERO ══════════════ */
.hero {
  position: relative; min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--cream); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--green-950) 4%, rgba(4,18,10,0.55) 40%, rgba(4,18,10,0.45) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, rgba(4,18,10,0.6) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  padding-top: var(--nav-h);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.4rem; border-radius: 100px;
  border: 1px solid rgba(212,175,55,0.45);
  background: rgba(4,18,10,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--gold-300);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px var(--gold-400);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 50% { transform: scale(1.5); opacity: 0.6; } }

.hero__title { margin: 1.6rem 0 1.2rem; }
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line > span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 10.5rem);
  font-weight: 800; line-height: 1;
  background: var(--grad-gold);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldShimmer 5s linear infinite;
  letter-spacing: 0.04em;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}
@keyframes goldShimmer { to { background-position: 200% center; } }

.hero__title-sub > span {
  font-family: var(--font-ar);
  font-size: clamp(1.3rem, 3.4vw, 2.4rem);
  font-weight: 800; letter-spacing: 0;
  background: none;
  -webkit-text-fill-color: var(--cream); color: var(--cream);
  animation: none; filter: none;
}
html[lang="en"] .hero__title-sub > span {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  color: var(--gold-100); -webkit-text-fill-color: var(--gold-100);
}

.hero__text {
  max-width: 640px; margin-inline: auto;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(245,241,230,0.82); font-weight: 400;
}

.hero__cta {
  display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; justify-content: center;
}

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.3rem; border-radius: 100px;
  font-weight: 800; font-size: 1rem; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn svg { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="ltr"] .btn:hover svg { transform: translateX(4px); }

.btn--gold { background: var(--grad-gold); background-size: 200% auto; color: var(--green-950); box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-3px); background-position: left center; box-shadow: 0 24px 50px -14px rgba(201,162,39,0.6); }

.btn--ghost {
  border: 1px solid rgba(245,241,230,0.4); color: var(--cream);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.04);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--gold-400); color: var(--gold-300); }

.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  color: rgba(245,241,230,0.6); font-size: 0.78rem; letter-spacing: 0.22em;
  z-index: 2; transition: color 0.3s;
}
.hero__scroll:hover { color: var(--gold-300); }
.hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--gold-400));
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold-100); animation: scrollDrip 2s var(--ease) infinite;
}
@keyframes scrollDrip { to { top: 110%; } }

/* ══════════════ MARQUEE ══════════════ */
.marquee {
  position: relative; z-index: 3;
  background: var(--grad-gold);
  color: var(--green-950);
  overflow: hidden; padding: 0.85rem 0;
  border-block: 1px solid rgba(4,18,10,0.2);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding-inline: 2.4rem; font-weight: 800; font-size: 0.95rem; white-space: nowrap;
}
.marquee__icon { width: 15px; height: 15px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ══════════════ SECTION HEADS ══════════════ */
.section-head { margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head__tag {
  display: inline-block; padding: 0.45rem 1.3rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--gold-700);
  border: 1px solid rgba(143,107,29,0.35);
  background: rgba(201,162,39,0.08);
  margin-bottom: 1.1rem;
}
.section--dark .section-head__tag { color: var(--gold-300); border-color: rgba(212,175,55,0.4); background: rgba(212,175,55,0.08); }
.section-head__title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 900; line-height: 1.25; color: var(--green-900);
}
.section--dark .section-head__title { color: var(--cream); }
html[lang="en"] .section-head__title { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
.section-head__sub { color: var(--muted); margin-top: 0.8rem; font-size: 1.05rem; }
.section--dark .section-head__sub { color: rgba(245,241,230,0.65); }

/* ══════════════ ABOUT ══════════════ */
.about {
  background:
    radial-gradient(ellipse 55% 42% at 88% 8%, rgba(201,162,39,0.09), transparent 60%),
    radial-gradient(ellipse 40% 35% at 5% 95%, rgba(31,122,69,0.06), transparent 65%),
    var(--cream);
  overflow: hidden;
}
.about__watermark {
  position: absolute; top: 1rem; inset-inline-end: -1%;
  font-family: var(--font-display);
  font-size: clamp(9rem, 21vw, 19rem);
  font-weight: 800; line-height: 0.8; letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20,83,45,0.09);
  pointer-events: none; user-select: none;
}

.about__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(3rem, 7vw, 6.5rem); align-items: center;
  position: relative; z-index: 1;
}

/* Media collage — arch editorial */
.about__media { position: relative; padding-block: 1.4rem; }
.about__frame {
  position: absolute; inset: 1.4rem 0;
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 200px 200px 28px 28px;
  transform: translate(16px, 16px);
  transition: transform 0.8s var(--ease);
}
[dir="rtl"] .about__frame { transform: translate(-16px, 16px); }
.about__media:hover .about__frame { transform: translate(8px, 8px); }
[dir="rtl"] .about__media:hover .about__frame { transform: translate(-8px, 8px); }

.about__img-main {
  position: relative; overflow: hidden;
  border-radius: 200px 200px 28px 28px;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about__img-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,18,10,0.28), transparent 45%);
}
.about__img-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.about__media:hover .about__img-main img { transform: scale(1.07); }

.about__img-sub {
  position: absolute; bottom: 0.4rem; inset-inline-start: -2rem; z-index: 2;
  width: 44%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-lg);
}
.about__img-sub img { width: 100%; height: 100%; object-fit: cover; }

.about__experience {
  position: absolute; top: 0; inset-inline-end: -0.8rem; z-index: 3;
  background: var(--grad-gold); color: var(--green-950);
  border-radius: 18px; padding: 1rem 1.35rem;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-gold); text-align: center;
}
.about__exp-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; }
.about__exp-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; max-width: 92px; }

/* Content — editorial numbered list */
.about__title {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 900; line-height: 1.18; color: var(--green-900);
  margin: 0.4rem 0 1.3rem;
}
.about__title em {
  font-style: normal;
  background: var(--grad-gold); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldShimmer 5s linear infinite;
}
html[lang="en"] .about__title { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
html[lang="en"] .about__title em { font-style: italic; }

.about__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 500;
  color: var(--muted); margin-bottom: 2.2rem; max-width: 560px;
}

.about__features { border-top: 1px solid rgba(20,83,45,0.14); }
.feature {
  display: grid; grid-template-columns: 70px 1fr 34px;
  align-items: center; gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(20,83,45,0.14);
  transition: padding-inline-start 0.5s var(--ease), background 0.5s;
}
.feature:hover { padding-inline-start: 0.9rem; }
.feature__num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: rgba(201,162,39,0.55); line-height: 1;
  transition: color 0.4s, transform 0.5s var(--ease);
}
.feature:hover .feature__num { color: var(--gold-500); transform: scale(1.12); }
.feature h3 { font-size: 1.12rem; font-weight: 800; color: var(--green-900); margin-bottom: 0.15rem; }
.feature p { font-size: 0.92rem; color: var(--muted); }
.feature__arrow {
  width: 22px; height: 22px; color: var(--gold-600);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
[dir="rtl"] .feature__arrow { transform: translateX(8px) scaleX(-1); }
.feature:hover .feature__arrow { opacity: 1; transform: translateX(0); }
[dir="rtl"] .feature:hover .feature__arrow { transform: scaleX(-1); }

/* Stats — dark band */
.about__stats {
  position: relative; overflow: hidden;
  margin-top: clamp(3.2rem, 6vw, 5rem);
  background: var(--grad-green);
  border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 1rem;
  box-shadow: var(--shadow-lg);
}
.about__stats::before {
  content: ""; position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, rgba(212,175,55,0.12), transparent 65%);
  pointer-events: none;
}
.stat { position: relative; text-align: center; padding: 0.4rem 0.8rem; }
.stat + .stat::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 12%;
  height: 76%; width: 1px;
  background: rgba(212,175,55,0.16);
}
.stat__num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800;
  color: var(--gold-400); line-height: 1.1;
}
.stat__num--text { font-family: var(--font-ar); }
html[lang="en"] .stat__num--text { font-family: var(--font-display); }
.stat__label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em;
  color: rgba(245,241,230,0.62);
}

/* ══════════════ PRODUCTS ══════════════ */
.products {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(31,122,69,0.18), transparent 65%),
    var(--green-950);
}
.products__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.product-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  padding: 2.8rem 2.2rem 2.5rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(212,175,55,0.15);
  text-align: center;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 26px 50px -24px rgba(0,0,0,0.55), var(--shadow-gold);
}
.product-card__shine {
  position: absolute; top: 0; inset-inline-start: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(240,216,120,0.12), transparent);
  transform: skewX(-20deg);
  transition: inset-inline-start 0.8s var(--ease);
}
.product-card:hover .product-card__shine { inset-inline-start: 130%; }

.product-card__icon {
  width: 92px; height: 92px; margin: 0 auto 1.6rem;
  border-radius: 50%; display: grid; place-items: center;
  color: var(--gold-400);
  background: var(--green-900);
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5);
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card__icon { transform: scale(1.08) rotate(-4deg); }
.product-card__icon svg { width: 46px; height: 46px; }

.product-card__name { font-size: 1.35rem; font-weight: 800; color: var(--gold-300); margin-bottom: 0.6rem; }
.product-card__desc { font-size: 0.95rem; color: rgba(245,241,230,0.72); margin-bottom: 1.5rem; }
.product-card__badge {
  display: inline-block; padding: 0.4rem 1.2rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--green-950); background: var(--grad-gold);
}

/* ══════════════ AGENCIES ══════════════ */
.agencies { background: var(--cream-2); }
.agencies__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.agency-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(20,83,45,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.agency-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.agency-card__body { padding: clamp(1.8rem, 3.4vw, 2.8rem); }

.agency-card__status {
  position: absolute; top: 1.3rem; inset-inline-end: 1.3rem; z-index: 2;
  padding: 0.4rem 1.1rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
}
.agency-card__status--ending { background: #fbeaea; color: #9c2b2b; border: 1px solid #ecc8c8; }
.agency-card__status--soon { background: var(--grad-gold); color: var(--green-950); }

.agency-card__label {
  display: block; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.12em; color: var(--green-500); margin-bottom: 0.6rem;
}
.agency-card__name {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: 0.14em; color: var(--green-900); margin-bottom: 0.8rem;
}
.agency-card__desc { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.4rem; }

.agency-card__note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: #fdf7e7; border: 1px solid rgba(201,162,39,0.35);
  border-radius: 14px; padding: 0.9rem 1.1rem;
  font-size: 0.86rem; font-weight: 600; color: var(--gold-700);
}
.agency-card__note svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }

/* Mystery card */
.agency-card--mystery {
  background: var(--grad-green); color: var(--cream);
  border-color: rgba(212,175,55,0.35);
}
.agency-card--mystery .agency-card__label { color: var(--gold-300); }
.agency-card--mystery .agency-card__name { color: var(--gold-400); }
.agency-card--mystery .agency-card__desc { color: rgba(245,241,230,0.78); }
.agency-card__lock {
  position: relative; width: 74px; height: 74px; margin-bottom: 1.4rem;
  border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.06);
  color: var(--gold-400);
}
.agency-card__lock svg { width: 30px; height: 30px; }
.agency-card__q {
  position: absolute; top: -8px; inset-inline-end: -6px;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--gold-300);
}
.agency-card__glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.1), transparent 70%);
  top: -120px; inset-inline-end: -120px; pointer-events: none;
  animation: glowFloat 5s ease-in-out infinite;
}
@keyframes glowFloat { 50% { transform: translate(-16px, 20px) scale(1.12); } }

/* ══════════════ NEWS ══════════════ */
.news__list { display: grid; gap: 1.3rem; max-width: 860px; margin-inline: auto; }
.news-card {
  display: flex; gap: 1.4rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  border: 1px solid rgba(20,83,45,0.07);
  border-inline-start: 3px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card__icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
}
.news-card__icon svg { width: 27px; height: 27px; }
.news-card__icon--alert { background: #fbeaea; color: #9c2b2b; }
.news-card__icon--star { background: #fdf7e7; color: var(--gold-700); }
.news-card__icon--apps { background: #e9f4ec; color: var(--green-500); }
.news-card__date {
  display: inline-block; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.1em; color: var(--gold-700);
  background: rgba(201,162,39,0.1); border-radius: 100px;
  padding: 0.25rem 0.9rem; margin-bottom: 0.5rem;
}
.news-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--green-900); margin-bottom: 0.3rem; }
.news-card p { font-size: 0.93rem; color: var(--muted); }

/* ══════════════ APP ══════════════ */
.app { overflow: hidden; }
.app__grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.app__text { color: rgba(245,241,230,0.78); margin: 1.2rem 0 2.2rem; max-width: 540px; }

.app__stores { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.store-btn {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 16px; padding: 0.75rem 1.5rem;
  color: var(--cream);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
  position: relative;
}
.store-btn::after {
  content: ""; position: absolute; top: 8px; inset-inline-end: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-400); box-shadow: 0 0 8px var(--gold-400);
  animation: dotPulse 1.8s infinite;
}
.store-btn:hover { transform: translateY(-4px); border-color: var(--gold-400); background: rgba(212,175,55,0.1); }
.store-btn__icon { width: 30px; height: 30px; }
.store-btn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.store-btn__text small { font-size: 0.7rem; opacity: 0.7; }
.store-btn__text strong { font-size: 1.05rem; font-weight: 800; }

.app__localapps {
  display: flex; gap: 0.8rem; align-items: flex-start;
  color: var(--gold-300); font-size: 0.92rem; font-weight: 600;
  border-inline-start: 3px solid var(--gold-500);
  padding-inline-start: 1rem; max-width: 540px;
}
.app__localapps svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }

/* Phone mockup */
.app__visual { position: relative; display: grid; place-items: center; }
.app__ring {
  position: absolute; width: min(420px, 90%); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.18);
}
.phone {
  position: relative; z-index: 1;
  width: min(250px, 62vw); aspect-ratio: 9/18.6;
  border-radius: 42px;
  background: #0a0f0c;
  border: 1.5px solid rgba(212,175,55,0.4);
  box-shadow:
    0 0 0 7px #111a14,
    0 36px 80px -32px rgba(0,0,0,0.75),
    0 0 46px -22px rgba(212,175,55,0.3);
  overflow: hidden;
  animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat { 50% { transform: translateY(-14px); } }
.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 20px; border-radius: 100px; background: #0a0f0c; z-index: 2;
}
.phone__screen {
  position: absolute; inset: 6px; border-radius: 36px;
  background: linear-gradient(170deg, var(--green-800), var(--green-950));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; padding: 1.4rem;
}
.phone__logo { width: 62%; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5)); }
.phone__bar { width: 68%; height: 9px; border-radius: 100px; background: rgba(245,241,230,0.14); }
.phone__bar--short { width: 44%; }
.phone__pills { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.phone__pills span {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3);
}

/* ══════════════ CONTACT ══════════════ */
.contact {
  background:
    radial-gradient(ellipse 55% 45% at 50% 110%, rgba(31,122,69,0.12), transparent 70%),
    var(--cream);
}
.contact__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border-radius: var(--radius);
  padding: 2.2rem 1.2rem;
  border: 1px solid rgba(20,83,45,0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: var(--shadow-lg);
}
.contact-card__icon {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--grad-green); color: var(--gold-400);
  transition: transform 0.45s var(--ease);
}
.contact-card:hover .contact-card__icon { transform: scale(1.1) rotate(-5deg); }
.contact-card__icon svg { width: 28px; height: 28px; }
.contact-card--whatsapp .contact-card__icon { background: linear-gradient(150deg, #2bd06a, #128c4b); color: #fff; }
.contact-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--green-900); margin-bottom: 0.3rem; }
.contact-card p { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.contact-card__ltr { font-family: var(--font-en); letter-spacing: 0.03em; }

/* ══════════════ FOOTER ══════════════ */
.footer {
  background: var(--green-950); color: rgba(245,241,230,0.75);
  padding-top: 4rem; position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.6), transparent);
}
.footer__top {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 2.6rem;
}
.footer__logo { height: 74px; width: auto; margin-bottom: 0.9rem; }
.footer__brand p { max-width: 300px; font-size: 0.9rem; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__link { font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
.footer__link:hover { color: var(--gold-300); }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,0.35); color: var(--gold-400);
  transition: all 0.35s var(--ease);
}
.footer__social a:hover { background: var(--grad-gold); color: var(--green-950); transform: translateY(-4px); border-color: transparent; }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  padding: 1.4rem 0; text-align: center;
  border-top: 1px solid rgba(245,241,230,0.08);
  font-size: 0.85rem; color: rgba(245,241,230,0.5);
}

/* ══════════════ WHATSAPP FLOAT ══════════════ */
.whatsapp-float {
  position: fixed; bottom: 1.6rem; inset-inline-end: 1.6rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #2bd06a, #128c4b);
  color: #fff;
  box-shadow: 0 14px 34px -8px rgba(18,140,75,0.6);
  transition: transform 0.4s var(--ease);
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 29px; height: 29px; }
.whatsapp-float:hover { transform: scale(1.12) rotate(6deg); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 34px -8px rgba(18,140,75,0.6), 0 0 0 0 rgba(43,208,106,0.4); }
  50% { box-shadow: 0 14px 34px -8px rgba(18,140,75,0.6), 0 0 0 14px rgba(43,208,106,0); }
}

/* ══════════════ REVEAL ANIMATIONS ══════════════ */
.reveal, .reveal-hero {
  opacity: 0; transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible, .reveal-hero.is-visible { opacity: 1; transform: none; }
.reveal-hero { transform: translateY(110%); }
.hero__badge.reveal-hero, .hero__text.reveal-hero, .hero__cta.reveal-hero { transform: translateY(30px); }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid { gap: 3.5rem; }
}

@media (max-width: 700px) {
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .stat + .stat::before { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 70px; }
  .nav__logo { height: 46px; }

  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset-inline: 0; top: var(--nav-h);
    flex-direction: column; align-items: center; gap: 0;
    background: rgba(4,18,10,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0 1.6rem;
    transform: translateY(-130%);
    transition: transform 0.5s var(--ease);
    border-bottom: 1px solid rgba(212,175,55,0.25);
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { padding: 0.85rem 0; font-size: 1.05rem; }

  .about__grid, .app__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; margin-bottom: 2.5rem; }
  .about__img-sub { inset-inline-start: 0.4rem; }
  .about__experience { inset-inline-end: 0; }
  .about__frame { transform: translate(12px, 12px); }
  [dir="rtl"] .about__frame { transform: translate(-12px, 12px); }
  .feature { grid-template-columns: 56px 1fr; }
  .feature__arrow { display: none; }
  .feature__num { font-size: 1.6rem; }
  .products__grid, .agencies__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
  .app__visual { order: -1; margin-bottom: 1rem; }
  .news-card { flex-direction: column; gap: 1rem; }
  .hero__title-line > span { letter-spacing: 0.02em; }
}

@media (max-width: 520px) {
  .contact__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .about__img-sub { width: 50%; }
  .about__img-main, .about__frame { border-radius: 140px 140px 22px 22px; }
  .store-btn { flex: 1; justify-content: center; }
  .marquee__item { font-size: 0.85rem; padding-inline: 1.6rem; }
}

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