/* ==========================================================================
   AnubTech — Gold & Obsidian premium design system
   ========================================================================== */
:root {
  --navy: #0A0F1E;
  --navy-2: #111A2E;
  --navy-3: #1A2540;
  --gold: #D9A441;
  --gold-dark: #B8862F;
  --gold-light: #F0DFA8;
  --off-white: #F7F5F0;
  --white: #FFFFFF;
  --ink: #1A2233;
  --ink-soft: #4A5468;
  --line: #E5E1D8;
  --line-dark: rgba(217, 164, 65, 0.18);
  --glow: rgba(217, 164, 65, 0.35);
  --font-head: "Space Grotesk", "Tajawal", sans-serif;
  --font-body: "Inter", "Tajawal", sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 15, 30, 0.08);
  --shadow-lift: 0 18px 44px rgba(10, 15, 30, 0.16);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .btn, [dir="rtl"] .nav a, [dir="rtl"] .kicker {
  font-family: "Tajawal", sans-serif;
  letter-spacing: 0 !important;
}
[dir="rtl"] .ti-arrow-right { display: inline-block; transform: scaleX(-1); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: 0 0 auto; }

.section { padding: 96px 0; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.alt { background: var(--white); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 15px 32px; border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.28s ease;
  position: relative;
}
.btn i { font-size: 1.1em; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 rgba(217,164,65,0); }
.btn-gold:hover {
  background: var(--gold-light); transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--glow);
}
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover {
  background: rgba(217, 164, 65, 0.1); transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(217, 164, 65, 0.25);
}
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: var(--off-white); transform: translateY(-3px); }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(10, 15, 30, 0.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height 0.3s; }
.site-header.scrolled .header-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; filter: drop-shadow(0 0 8px rgba(217,164,65,0.35)); }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.22rem;
  letter-spacing: 0.16em; color: var(--white);
}
.brand-name span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: var(--font-head); font-size: 0.92rem; font-weight: 500;
  color: rgba(247, 245, 240, 0.75);
  padding: 6px 0; position: relative; transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  box-shadow: 0 0 8px var(--glow);
  transition: width 0.28s;
}
.nav a:hover, .nav a.active { color: var(--gold-light); }
.nav a.active::after, .nav a:hover::after { width: 100%; }

.lang-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  color: var(--gold); background: rgba(217, 164, 65, 0.1);
  border: 1px solid var(--line-dark); border-radius: 8px;
  padding: 8px 16px; cursor: pointer; transition: all 0.25s;
}
.lang-btn:hover { background: rgba(217, 164, 65, 0.22); box-shadow: 0 0 16px rgba(217,164,65,0.25); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--gold);
  margin: 6px auto; transition: all 0.3s; border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero --------------------------------------------------------------------- */
.hero {
  background: var(--navy) url("../assets/img/hero-bg.jpg") center / cover no-repeat;
  color: var(--off-white);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,15,30,0.82) 0%, rgba(10,15,30,0.5) 55%, rgba(10,15,30,0.25) 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner {
  position: relative; z-index: 2;
  min-height: 600px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0;
  max-width: 740px;
}
.hero h1 { color: var(--white); margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.hero h1 em {
  font-style: normal; color: var(--gold);
  text-shadow: 0 0 30px rgba(217, 164, 65, 0.55);
}
.hero p { font-size: 1.14rem; color: rgba(247, 245, 240, 0.88); margin-bottom: 36px; max-width: 580px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  background: var(--navy) url("../assets/img/hero-bg.jpg") center / cover no-repeat;
  position: relative; color: var(--off-white); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,15,30,0.85) 0%, rgba(10,15,30,0.45) 100%);
}
.page-hero-inner { position: relative; z-index: 1; padding: 96px 24px 76px; max-width: 724px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(247, 245, 240, 0.86); font-size: 1.08rem; }

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

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 164, 65, 0.13), transparent 45%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift), 0 0 0 1px var(--gold), 0 0 34px rgba(217,164,65,0.18); border-color: var(--gold); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(217,164,65,0.2), rgba(217,164,65,0.08));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-dark); font-size: 28px;
  transition: all 0.3s;
}
.card:hover .icon {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 6px 22px var(--glow);
  transform: scale(1.06) rotate(-4deg);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.9rem; color: var(--gold-dark); transition: gap 0.25s;
}
.card .card-link:hover { gap: 12px; }
.alt .card { background: var(--off-white); }

/* Trust band ---------------------------------------------------------------- */
.trust {
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative; overflow: hidden;
}
.trust::before {
  content: ""; position: absolute; top: -120px; inset-inline-start: 20%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.14), transparent 65%);
  pointer-events: none;
}
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 58px 24px; gap: 30px; position: relative; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item i { color: var(--gold); font-size: 30px; flex: 0 0 auto; filter: drop-shadow(0 0 10px rgba(217,164,65,0.5)); }
.trust-item h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.trust-item p { color: rgba(247, 245, 240, 0.65); font-size: 0.88rem; line-height: 1.55; }

/* Customers ----------------------------------------------------------------- */
.customers { text-align: center; }
.customers-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; margin-top: 12px;
}
.customer-chip {
  display: flex; align-items: center; justify-content: center;
  min-width: 170px; min-height: 76px; padding: 16px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; color: var(--ink-soft);
  transition: all 0.3s;
}
.customer-chip img { max-height: 46px; width: auto; }
.customer-chip:hover {
  border-color: var(--gold); color: var(--ink);
  box-shadow: 0 8px 28px rgba(217,164,65,0.18); transform: translateY(-4px);
}

/* Feature rows -------------------------------------------------------------- */
.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row .icon {
  flex: 0 0 48px; height: 48px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(217,164,65,0.2), rgba(217,164,65,0.08));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: 24px;
}
.feature-row h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-row p { color: var(--ink-soft); font-size: 0.94rem; }

/* CTA band ------------------------------------------------------------------ */
.cta-band { background: var(--navy); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/hero-bg.jpg") center / cover no-repeat;
  opacity: 0.45;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px circle at 80% 50%, rgba(217,164,65,0.18), transparent 60%);
}
.cta-band-inner {
  position: relative; z-index: 1; padding: 84px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(247, 245, 240, 0.8); max-width: 540px; }

/* About --------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-media {
  background: radial-gradient(circle at 50% 40%, var(--navy-3), var(--navy));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 52px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lift);
  position: relative; overflow: hidden;
}
.about-media::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.22), transparent 65%);
  animation: orbFloat 7s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(-30px, -20px); }
  50% { transform: translate(30px, 24px); }
}
.about-media img { max-height: 320px; width: auto; position: relative; filter: drop-shadow(0 0 24px rgba(217,164,65,0.35)); }
.value-list { display: grid; gap: 18px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.value-list i { color: var(--gold-dark); font-size: 22px; flex: 0 0 auto; margin-top: 3px; }
.value-list strong { color: var(--ink); }

/* Contact ------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .card { margin-bottom: 18px; padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info .icon { margin-bottom: 0; flex: 0 0 56px; }
.contact-info h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info p, .contact-info a { color: var(--ink-soft); font-size: 0.95rem; direction: ltr; unicode-bidi: embed; }
.contact-info a:hover { color: var(--gold-dark); }

.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 9px;
  background: var(--off-white); transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-field select { cursor: pointer; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.18);
}
.form-status { margin-top: 16px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; color: #2E7D32; }
.form-status.err { display: block; color: #C62828; }
.form-field input.invalid, .form-field textarea.invalid, .form-field select.invalid {
  border-color: #C62828;
  background: #FDF4F4;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}
@keyframes formShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
.form-card.shake { animation: formShake 0.45s ease; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* WhatsApp float ------------------------------------------------------------ */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 34px rgba(37, 211, 102, 0.6); }
@keyframes waPulse {
  0% { box-shadow: 0 8px 26px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 8px 26px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 26px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(247, 245, 240, 0.72); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; bottom: -160px; inset-inline-start: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.1), transparent 65%);
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding: 72px 24px 52px; position: relative;
}
.footer-brand img { height: 84px; margin-bottom: 18px; width: auto; }
.footer-brand p { font-size: 0.93rem; max-width: 330px; }
.site-footer h4 {
  color: var(--gold); font-size: 0.95rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 18px;
}
.site-footer li { margin-bottom: 10px; }
.site-footer a { font-size: 0.93rem; transition: color 0.2s, padding 0.2s; }
.site-footer li a:hover { color: var(--gold-light); }
.site-footer .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; margin-bottom: 12px; }
.site-footer .contact-line i { color: var(--gold); font-size: 18px; margin-top: 3px; }
.site-footer .contact-line span { direction: ltr; unicode-bidi: embed; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0; text-align: center; font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.45);
  position: relative;
}

/* Business suite ------------------------------------------------------------ */
.suite-pillars .card { text-align: center; }
.suite-pillars .icon { margin-inline: auto; }
.demo-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex; flex-direction: column;
}
.demo-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift), 0 0 30px rgba(217,164,65,0.15); border-color: var(--gold); }
.demo-thumb {
  height: 190px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  position: relative; overflow: hidden;
}
.demo-thumb.events { background: linear-gradient(135deg, #2B1B3D 0%, #6D3B6E 55%, #C98A5E 100%); color: #FCEFE3; }
.demo-thumb.soon { background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: rgba(247,245,240,0.35); }
.demo-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.demo-body p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }
.demo-tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 600;
  font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(217,164,65,0.14); color: var(--gold-dark);
  padding: 4px 12px; border-radius: 999px;
}

/* Vendor marquees ------------------------------------------------------------ */
.vendors {
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 90px 0 76px;
  position: relative; overflow: hidden;
}
.vendors::before {
  content: ""; position: absolute; top: -180px; inset-inline-start: 30%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.12), transparent 65%);
  pointer-events: none;
}
.vendors .section-head { position: relative; }
.vendors h2 { color: var(--white); }
.vendors .section-head p { color: rgba(247, 245, 240, 0.7); }
.marquee {
  overflow: hidden; padding: 12px 0; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marqueeMove var(--speed, 70s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 14px; padding-inline-end: 14px; flex: none; align-items: center; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
.v-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  background: rgba(247, 245, 240, 0.045);
  border: 1px solid rgba(217, 164, 65, 0.16);
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem;
  color: rgba(247, 245, 240, 0.72);
  transition: all 0.3s; white-space: nowrap;
}
.v-chip:hover {
  border-color: var(--gold); color: var(--gold-light);
  box-shadow: 0 0 22px rgba(217, 164, 65, 0.28);
  transform: translateY(-3px);
}
.v-cta {
  background: var(--gold); border-color: var(--gold);
  color: var(--navy); font-weight: 600;
  animation: ctaGlow 2.8s ease-in-out infinite;
}
.v-cta:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-3px) scale(1.04); }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(217, 164, 65, 0.25); }
  50% { box-shadow: 0 0 30px rgba(217, 164, 65, 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .v-cta { animation: none; }
}

/* Reveal animations --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .trust-inner { grid-template-columns: 1fr; gap: 26px; }
  /* The header's (-webkit-)backdrop-filter makes it the containing block for
     the position:fixed menu — on iOS Safari especially. We drop the blur AND
     size the menu in viewport units (100vw/100dvh) with explicit top/left so it
     fills the real screen even if the header still contains it. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 15, 30, 0.97); }
  .nav {
    position: fixed; top: 0; left: 0; right: auto; bottom: auto;
    width: 100vw; height: 100vh; height: 100dvh;
    background: var(--navy);
    flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    transform: translateX(100%); transition: transform 0.32s ease;
    z-index: 105;
  }
  [dir="rtl"] .nav { transform: translateX(-100%); }
  .nav.open { transform: none; }
  .nav a { font-size: 1.2rem; }
  .nav-toggle { display: block; }
  .brand-name { font-size: 1.02rem; }
  .hero-inner { min-height: 500px; padding: 90px 0; }
  .form-card { padding: 28px 22px; }
  .wa-float { width: 54px; height: 54px; font-size: 28px; bottom: 20px; inset-inline-end: 20px; }
  /* On touch, auto-scroll can't be paused to tap a chip — turn the marquees
     into swipeable strips the user controls directly. */
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee-track { animation: none; }
}
