/* ============================================================
   SAWA INTERNATIONAL — Textile Industries
   Landing Page Stylesheet
   Palette derived from sawa-logo.png:
   Gold Amber #F5B324 · Charcoal #2E2A2A · Taupe #6C6161
   Accents: Blue #3498DB · Green #8CC63F · Orange #EF8B2D · Red #DC2F2F
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --gold: #F5B324;
  --gold-2: #FFD25E;
  --gold-deep: #D9940E;
  --royal: #D4AF37;
  --royal-light: #F7E98E;
  --ink: #171111;
  --ink-2: #221B1B;
  --charcoal: #2E2A2A;
  --taupe: #6C6161;
  --muted: #8B8181;
  --paper: #FAF7F2;
  --paper-2: #F2ECe2;
  --line: rgba(46, 42, 42, 0.10);
  --blue: #3498DB;
  --green: #8CC63F;
  --orange: #EF8B2D;
  --red: #DC2F2F;

  --white: #ffffff;
  --dark-line: rgba(255, 255, 255, 0.10);
  --dark-surface: rgba(255, 255, 255, 0.045);

  --font-ar-head: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-ar-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-en-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-en-body: "Inter", "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 30px 60px -18px rgba(23, 17, 17, 0.28);
  --shadow-md: 0 18px 40px -16px rgba(23, 17, 17, 0.22);
  --shadow-gold: 0 18px 44px -14px rgba(245, 179, 36, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1200px;
  --header-h: 78px;
}

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

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

body {
  font-family: var(--font-ar-body);
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.8;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body { font-family: var(--font-en-body); line-height: 1.7; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-ar-head);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 {
  font-family: var(--font-en-head);
  letter-spacing: -0.02em;
}

::selection { background: var(--gold); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--gold-deep)); border-radius: 8px; border: 2px solid var(--paper-2); }

/* Focus visibility (accessibility) */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

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

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep);
  background: rgba(245, 179, 36, 0.12);
  border: 1px solid rgba(245, 179, 36, 0.35);
  padding: 0.42rem 1.05rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 179, 36, 0.2); }

.section-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 0.9rem; }
.section-title .grad { color: var(--gold-deep); }

.section-sub { color: var(--taupe); max-width: 46rem; font-size: 1.06rem; }
.section-head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }

.grad {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 2.1rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; font-family: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  overflow: hidden; white-space: nowrap; border: 2px solid transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.35s var(--ease); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: var(--ink); box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 54px -14px rgba(245, 179, 36, 0.55); }
.btn-primary:hover svg { transform: translateX(4px); }
html[dir="ltr"] .btn-primary:hover svg { transform: translateX(4px); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.7s var(--ease);
}
html[dir="rtl"] .btn-primary::after { transform: translateX(130%); }
.btn-primary:hover::after { transform: translateX(130%); }
html[dir="rtl"] .btn-primary:hover::after { transform: translateX(-130%); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); background: rgba(245, 179, 36, 0.1); }

.btn-dark { background: var(--ink); color: var(--gold); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn .icon-wa { color: currentColor; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: radial-gradient(1200px 700px at 50% 38%, #332821, var(--ink) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  width: 92px; height: 92px; object-fit: contain; border-radius: 24px;
  animation: preloaderPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 12px 30px rgba(245, 179, 36, 0.35));
}
@keyframes preloaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.preloader-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(245, 179, 36, 0.18); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-text { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; letter-spacing: 0.35em; text-transform: uppercase; font-weight: 600; }

/* ---------- Scroll Progress ---------- */
#scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 3.5px; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-2));
  z-index: 9600; transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(245, 179, 36, 0.6);
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 9000;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  padding: 0.9rem 0; border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(20, 15, 14, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--dark-line);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.55);
  padding: 0.45rem 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo-img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; transition: transform 0.4s var(--ease); filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35)); }
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.06); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font-ar-head); font-weight: 900; font-size: 1.12rem; color: #fff; }
html[lang="en"] .logo-name { font-family: var(--font-en-head); }
.logo-name span { color: var(--gold); }
.logo-tag { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-link {
  position: relative; padding: 0.55rem 0.95rem; font-weight: 700; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78); border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav-link::after {
  content: ""; position: absolute; bottom: 0.18rem; inset-inline-start: 50%; translate: -50% 0;
  width: 0; height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.35s var(--ease);
}
html[dir="rtl"] .nav-link::after { translate: 50% 0; }
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 55%; }
.nav-link.active { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1.5px solid rgba(255, 255, 255, 0.28); color: #fff;
  padding: 0.5rem 1.05rem; border-radius: 999px; font-weight: 800; font-size: 0.88rem;
  transition: all 0.3s var(--ease); backdrop-filter: blur(6px);
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.lang-switch svg { width: 17px; height: 17px; }

.nav-cta { padding: 0.68rem 1.5rem; font-size: 0.92rem; }

.burger { display: none; flex-direction: column; gap: 5.5px; padding: 0.6rem; border-radius: 12px; z-index: 1002; }
.burger span { width: 26px; height: 2.8px; border-radius: 3px; background: #fff; transition: transform 0.4s var(--ease), opacity 0.3s, width 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(8.3px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8.3px) rotate(-45deg); }

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 9500; background: rgba(12, 8, 8, 0.6);
  backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.drawer-overlay.show { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100dvh; width: min(85vw, 360px); z-index: 9800;
  background: linear-gradient(160deg, #2b2321, var(--ink));
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(110%); transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column; padding: 1.4rem 1.6rem 2rem;
}
html[dir="rtl"] .mobile-drawer { transform: translateX(-110%); }
html[dir="rtl"] .mobile-drawer.open { transform: translateX(0); }
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.drawer-close { color: #fff; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--dark-line); transition: all 0.3s; }
.drawer-close:hover { color: var(--gold); border-color: var(--gold); rotate: 90deg; }
.drawer-links { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.8rem; }
.drawer-link {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; border-radius: 14px;
  color: rgba(255, 255, 255, 0.82); font-weight: 700; font-size: 1.05rem;
  transition: all 0.3s var(--ease); border: 1px solid transparent;
}
.drawer-link svg { width: 19px; height: 19px; color: var(--gold); opacity: 0.75; }
.drawer-link:hover, .drawer-link.active { background: rgba(245, 179, 36, 0.1); color: var(--gold); border-color: rgba(245, 179, 36, 0.25); translate: 0 0; }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.8rem; }
.drawer-foot .lang-switch { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(1400px 900px at 80% -10%, #3a2d20 0%, transparent 55%),
              radial-gradient(1000px 700px at 8% 110%, #302517 0%, transparent 50%),
              linear-gradient(165deg, #1d1715 0%, var(--ink) 60%, #120d0d 100%);
  color: #fff; padding: calc(var(--header-h) + 4rem) 0 5.5rem; overflow: hidden;
}
.hero-grain { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"); }
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 620px at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 620px at 50% 40%, #000 30%, transparent 78%);
}
#particles { position: absolute; inset: 0; pointer-events: none; }

.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; will-change: transform; }
.blob.b1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(245, 179, 36, 0.5), transparent 65%); top: -140px; inset-inline-end: -120px; animation: drift1 14s ease-in-out infinite alternate; }
.blob.b2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(217, 148, 14, 0.4), transparent 65%); bottom: -160px; inset-inline-start: -140px; animation: drift2 17s ease-in-out infinite alternate; }
.blob.b3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(52, 152, 219, 0.22), transparent 65%); top: 40%; inset-inline-start: 38%; animation: drift3 12s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 60px) scale(1.15); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(80px, -50px) scale(1.1); } }
@keyframes drift3 { from { transform: translate(0, 0); } to { transform: translate(-50px, -70px); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(245, 179, 36, 0.1); border: 1px solid rgba(245, 179, 36, 0.35);
  color: var(--gold-2); padding: 0.5rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem; margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-badge .dot-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); position: relative; }
.hero-badge .dot-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: pulseRing 1.8s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 900; color: #fff; line-height: 1.18; margin-bottom: 1.4rem; }
.hero-title .grad { background: linear-gradient(120deg, var(--gold-2), var(--gold) 40%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; }
.hero-title .rotator { display: inline-block; color: var(--gold); position: relative; }
.hero-title .rotator::after { content: ""; position: absolute; inset-inline-end: -0.15ch; bottom: 0.12em; width: 3px; height: 0.95em; background: var(--gold); animation: caretBlink 1s steps(1) infinite; }
html[dir="ltr"] .hero-title .rotator::after { inset-inline-end: -0.15ch; }
@keyframes caretBlink { 50% { opacity: 0; } }

.hero-sub { color: rgba(255, 255, 255, 0.72); font-size: clamp(1rem, 1.6vw, 1.16rem); max-width: 36rem; margin-bottom: 2.2rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(1.2rem, 3vw, 2.6rem); justify-content: start; }
.stat { position: relative; padding-inline-start: 1.1rem; }
.stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.35rem; bottom: 0.35rem; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold), transparent); }
.stat-num { font-family: var(--font-ar-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; color: var(--gold); line-height: 1.15; direction: ltr; unicode-bidi: embed; }
html[lang="en"] .stat-num { font-family: var(--font-en-head); }
.stat-label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); font-weight: 600; }

/* Hero visual collage */
.hero-visual { position: relative; min-height: 480px; }
.hero-img-card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.14);
  animation: floaty 7s ease-in-out infinite;
}
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-card .img-tag {
  position: absolute; bottom: 0.9rem; inset-inline-start: 0.9rem;
  background: rgba(20, 15, 14, 0.72); backdrop-filter: blur(8px);
  color: #fff; font-size: 0.78rem; font-weight: 700; padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(245, 179, 36, 0.4);
}
.hv-1 { width: 62%; height: 340px; top: 4%; inset-inline-start: 0; z-index: 2; }
.hv-2 { width: 52%; height: 300px; bottom: 2%; inset-inline-end: 0; z-index: 3; animation-delay: 1.6s; }
.hv-badge {
  position: absolute; z-index: 4; top: 46%; inset-inline-start: 46%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: var(--ink);
  border-radius: 20px; padding: 1rem 1.3rem; text-align: center;
  box-shadow: var(--shadow-gold); animation: floaty 6s ease-in-out infinite; animation-delay: 0.8s;
}
.hv-badge strong { display: block; font-family: var(--font-ar-head); font-size: 1.7rem; font-weight: 900; line-height: 1.1; }
.hv-badge small { font-weight: 700; font-size: 0.78rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-0.6deg); } }

.scroll-hint {
  position: absolute; bottom: 1.6rem; inset-inline-start: 50%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
}
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; inset-inline-start: 50%; translate: -50% 0; width: 4px; height: 8px; border-radius: 3px; background: var(--gold); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translate(0, 0); } 70% { opacity: 0; transform: translate(0, 12px); } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold) 40%, var(--gold-2) 75%, var(--gold));
  padding: 1.05rem 0; overflow: hidden; position: relative; transform: rotate(-0.6deg) scale(1.02);
  border-block: 3px solid rgba(23, 17, 17, 0.9);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 30s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.6rem; padding-inline-end: 2.6rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 2.6rem;
  font-family: var(--font-ar-head); font-weight: 900; font-size: 1.12rem; color: var(--ink); white-space: nowrap;
}
html[lang="en"] .marquee-item { font-family: var(--font-en-head); }
.marquee-item .star { font-size: 1rem; opacity: 0.75; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }

.about-media { position: relative; }
.about-img-main {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6; position: relative;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.about-media:hover .about-img-main img { transform: scale(1.05); }
.about-img-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(23, 17, 17, 0.45)); }
.about-img-sub {
  position: absolute; bottom: -2.2rem; inset-inline-end: -1.4rem; width: 52%;
  border-radius: var(--radius-sm); overflow: hidden; border: 6px solid var(--paper);
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 3;
}
.about-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.exp-badge {
  position: absolute; top: -1.5rem; inset-inline-start: -1.2rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: var(--ink);
  border-radius: 18px; padding: 0.9rem 1.2rem; text-align: center; box-shadow: var(--shadow-gold);
  animation: floaty 6.5s ease-in-out infinite;
}
.exp-badge strong { display: block; font-size: 1.85rem; font-weight: 900; line-height: 1; font-family: var(--font-ar-head); }
html[lang="en"] .exp-badge strong { font-family: var(--font-en-head); }
.exp-badge small { font-weight: 800; font-size: 0.75rem; }

.about-copy .section-title { margin-bottom: 1.2rem; }
.about-lead { font-size: 1.08rem; color: var(--charcoal); margin-bottom: 1.4rem; }
.about-lead strong { color: var(--gold-deep); }
.check-list { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 600; color: var(--charcoal); }
.check-list .check {
  flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; margin-top: 0.15rem;
  background: rgba(140, 198, 63, 0.15); color: #5f9420;
}
.check-list .check svg { width: 14px; height: 14px; }

.vm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.vm-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.vm-card::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: var(--origin, right); transition: transform 0.5s var(--ease); }
html[dir="ltr"] .vm-card::before { --origin: left; }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vm-card:hover::before { transform: scaleX(1); }
.vm-card h4 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.06rem; margin-bottom: 0.5rem; }
.vm-card h4 svg { width: 20px; height: 20px; color: var(--gold-deep); }
.vm-card p { font-size: 0.92rem; color: var(--taupe); line-height: 1.75; }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(150deg, #221a17, var(--ink) 55%, #1a1311);
  color: #fff; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 15% 0%, rgba(245, 179, 36, 0.16), transparent 60%),
              radial-gradient(700px 300px at 85% 100%, rgba(245, 179, 36, 0.12), transparent 60%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-box { text-align: center; padding: 1rem; position: relative; }
.stat-box .gauge { width: 58px; height: 30px; margin: 0 auto 0.9rem; }
.stat-box .gauge path { fill: none; stroke-width: 7; stroke-linecap: round; }
.stat-box .num { font-family: var(--font-ar-head); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 900; color: var(--gold); line-height: 1.1; direction: ltr; unicode-bidi: embed; }
html[lang="en"] .stat-box .num { font-family: var(--font-en-head); }
.stat-box .lbl { color: rgba(255, 255, 255, 0.68); font-weight: 600; font-size: 0.95rem; }
.stat-box + .stat-box::before {
  content: ""; position: absolute; inset-inline-start: -1rem; top: 18%; bottom: 18%; width: 1px;
  background: linear-gradient(transparent, rgba(245, 179, 36, 0.35), transparent);
}

/* ---------- Products ---------- */
.products-section { background: var(--paper); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem 1.8rem; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  display: flex; flex-direction: column;
}
.product-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2) 50%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.45s;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-card:hover::before { opacity: 1; }
.p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.p-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(245, 179, 36, 0.16), rgba(245, 179, 36, 0.05));
  border: 1px solid rgba(245, 179, 36, 0.35); color: var(--gold-deep);
  transition: transform 0.45s var(--ease), background 0.45s;
}
.p-icon svg { width: 34px; height: 34px; }
.product-card:hover .p-icon { transform: translateY(-4px) rotate(-6deg) scale(1.05); background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: var(--shadow-gold); }
.p-num { font-family: var(--font-en-head); font-size: 2.6rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px rgba(46, 42, 42, 0.16); line-height: 1; transition: all 0.45s; }
.product-card:hover .p-num { -webkit-text-stroke-color: rgba(245, 179, 36, 0.55); }
.p-name { font-size: 1.28rem; margin-bottom: 0.15rem; }
.p-en { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.85rem; font-family: var(--font-en-head); direction: ltr; unicode-bidi: embed; text-align: start; }
html[dir="rtl"] .p-en { text-align: end; }
.p-desc { color: var(--taupe); font-size: 0.95rem; margin-bottom: 1.2rem; flex-grow: 1; }
.p-uses { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  font-size: 0.78rem; font-weight: 700; padding: 0.32rem 0.85rem; border-radius: 999px;
  background: var(--paper-2); color: var(--taupe); border: 1px solid var(--line);
  transition: all 0.3s;
}
.product-card:hover .chip { background: rgba(245, 179, 36, 0.1); border-color: rgba(245, 179, 36, 0.3); color: var(--gold-deep); }

/* ---------- Services (dark) ---------- */
.services-section { background: linear-gradient(160deg, #241d1a, var(--ink) 60%, #1b1414); color: #fff; position: relative; overflow: hidden; }
.services-section::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 179, 36, 0.1), transparent 65%); top: -260px; inset-inline-end: -200px; pointer-events: none; }
.services-section .section-title { color: #fff; }
.services-section .section-sub { color: rgba(255, 255, 255, 0.62); }
.services-section .eyebrow { color: var(--gold-2); background: rgba(245, 179, 36, 0.09); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  position: relative; background: var(--dark-surface); border: 1px solid var(--dark-line);
  border-radius: var(--radius); padding: 2.2rem 1.9rem; backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s, box-shadow 0.45s;
  overflow: hidden;
}
.service-card::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 179, 36, 0.18), transparent 70%); bottom: -90px; inset-inline-end: -70px; opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.service-card:hover { transform: translateY(-10px); border-color: rgba(245, 179, 36, 0.45); background: rgba(245, 179, 36, 0.05); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
.service-card:hover::after { opacity: 1; }
.s-icon { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.4rem; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: var(--ink); box-shadow: var(--shadow-gold); transition: transform 0.45s var(--ease); }
.s-icon svg { width: 34px; height: 34px; }
.service-card:hover .s-icon { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { color: #fff; font-size: 1.32rem; margin-bottom: 0.7rem; }
.service-card p { color: rgba(255, 255, 255, 0.66); font-size: 0.96rem; margin-bottom: 1.2rem; }
.s-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.s-tags span { font-size: 0.76rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid rgba(245, 179, 36, 0.35); color: var(--gold-2); background: rgba(245, 179, 36, 0.07); }

/* ---------- Values ---------- */
.values-section { background: var(--paper); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 1.6rem 1.9rem; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.value-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.v-index {
  position: absolute; top: 0.9rem; inset-inline-end: 1.2rem;
  font-family: var(--font-en-head); font-size: 2.8rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(245, 179, 36, 0.4);
  transition: all 0.45s;
}
.value-card:hover .v-index { -webkit-text-stroke-color: var(--gold); transform: scale(1.1); }
.v-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem; color: #fff; box-shadow: var(--shadow-md); transition: transform 0.45s var(--ease); }
.v-icon svg { width: 28px; height: 28px; }
.value-card:hover .v-icon { transform: rotate(-8deg) scale(1.08); }
.v-icon.i1 { background: linear-gradient(135deg, #F5B324, #D9940E); }
.v-icon.i2 { background: linear-gradient(135deg, #3498DB, #21688F); }
.v-icon.i3 { background: linear-gradient(135deg, #8CC63F, #5F9420); }
.v-icon.i4 { background: linear-gradient(135deg, #EF8B2D, #C25F0D); }
.value-card h3 { font-size: 1.14rem; margin-bottom: 0.6rem; }
.value-card p { color: var(--taupe); font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--paper-2); }
.gallery-grid { columns: 3; column-gap: 1.1rem; }
.g-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 10px 26px -14px rgba(23, 17, 17, 0.35);
  break-inside: avoid; margin-bottom: 1.1rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.g-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s; }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, transparent 50%, rgba(23, 17, 17, 0.55));
  opacity: 0; transition: opacity 0.5s;
}
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { opacity: 1; }
.g-cap {
  position: absolute; bottom: 0.9rem; inset-inline: 0.9rem; z-index: 2;
  color: #fff; font-weight: 700; font-size: 0.88rem; display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(8px); transition: all 0.45s var(--ease);
}
.g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
.g-cap .zoom-ic { width: 30px; height: 30px; border-radius: 10px; background: rgba(245, 179, 36, 0.9); color: var(--ink); display: grid; place-items: center; }
.g-cap .zoom-ic svg { width: 15px; height: 15px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9900; background: rgba(12, 8, 8, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 84vh; border-radius: 16px; box-shadow: var(--shadow-lg); transform: scale(0.94); transition: transform 0.4s var(--ease); }
.lightbox.show img { transform: scale(1); }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
  transition: all 0.3s; backdrop-filter: blur(6px);
}
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1.4rem; inset-inline-end: 1.4rem; }
.lb-prev { inset-inline-start: 1.4rem; top: 50%; translate: 0 -50%; }
.lb-next { inset-inline-end: 1.4rem; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 1.6rem; inset-inline-start: 50%; translate: -50% 0; color: rgba(255, 255, 255, 0.75); font-weight: 700; letter-spacing: 0.1em; direction: ltr; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
  padding: clamp(2.6rem, 6vw, 4.2rem); text-align: center; color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(217, 148, 14, 0.5);
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(500px 220px at 20% 0%, rgba(255, 255, 255, 0.5), transparent 60%),
              radial-gradient(500px 220px at 85% 100%, rgba(255, 255, 255, 0.35), transparent 60%);
}
.cta-inner > * { position: relative; }
.cta-inner .eyebrow { background: rgba(23, 17, 17, 0.08); border-color: rgba(23, 17, 17, 0.2); color: var(--ink); }
.cta-inner .eyebrow::before { background: var(--ink); box-shadow: 0 0 0 4px rgba(23, 17, 17, 0.12); }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.8rem; }
.cta-sub { max-width: 40rem; margin: 0 auto 2rem; font-weight: 600; color: rgba(23, 17, 17, 0.75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Contact ---------- */
.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2.4rem, 5vw, 4.5rem); align-items: start; }
.c-cards { display: grid; gap: 1.1rem; }
.c-card {
  display: flex; align-items: center; gap: 1.1rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.15rem 1.3rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.c-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(245, 179, 36, 0.45); }
.c-icon {
  flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-md); transition: transform 0.4s var(--ease);
}
.c-card:hover .c-icon { transform: rotate(-7deg) scale(1.07); }
.c-icon svg { width: 25px; height: 25px; }
.c-icon.ci-phone { background: linear-gradient(135deg, #3498DB, #21688F); }
.c-icon.ci-mail { background: linear-gradient(135deg, #F5B324, #D9940E); }
.c-icon.ci-wa { background: linear-gradient(135deg, #57D163, #2CA834); }
.c-icon.ci-pin { background: linear-gradient(135deg, #EF8B2D, #C25F0D); }
.c-body { min-width: 0; }
.c-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.1rem; }
.c-value { font-weight: 700; color: var(--ink); font-size: 1.02rem; direction: ltr; unicode-bidi: embed; text-align: start; word-break: break-word; }
html[dir="rtl"] .c-card.ci-address .c-value, html[dir="ltr"] .c-card.ci-address .c-value { direction: inherit; text-align: inherit; }
.c-sub { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.contact-form-wrap::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 5px; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-2)); }
.contact-form-wrap h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.contact-form-wrap .form-hint { color: var(--taupe); font-size: 0.92rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--charcoal); }
.field input, .field textarea, .field select {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 13px;
  padding: 0.85rem 1.05rem; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%; font-family: inherit;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 179, 36, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field .err { color: var(--red); font-size: 0.78rem; font-weight: 700; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.form-submit { margin-top: 1.3rem; width: 100%; }
.form-note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); text-align: center; }
.form-ok {
  display: none; align-items: center; gap: 0.6rem; margin-top: 1rem;
  background: rgba(140, 198, 63, 0.14); border: 1px solid rgba(140, 198, 63, 0.4); color: #4c7d14;
  font-weight: 700; font-size: 0.9rem; padding: 0.8rem 1rem; border-radius: 12px;
}
.form-ok.show { display: flex; animation: fadeUp 0.5s var(--ease); }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, #201816, var(--ink) 70%); color: rgba(255, 255, 255, 0.72); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(245, 179, 36, 0.55), transparent); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 4.5rem) 0 2.6rem; }
.f-brand .logo { margin-bottom: 1.1rem; }
.f-brand p { font-size: 0.95rem; max-width: 22rem; }
.f-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.15rem; position: relative; padding-bottom: 0.55rem; }
.f-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.f-links { display: grid; gap: 0.55rem; }
.f-links a { display: inline-flex; align-items: center; gap: 0.55rem; color: rgba(255, 255, 255, 0.66); font-weight: 600; font-size: 0.95rem; transition: color 0.3s, translate 0.3s var(--ease); width: fit-content; }
.f-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.5; transition: opacity 0.3s, box-shadow 0.3s; }
.f-links a:hover { color: var(--gold); translate: 0 -2px; }
.f-links a:hover::before { opacity: 1; box-shadow: 0 0 10px var(--gold); }
.f-contact { display: grid; gap: 0.9rem; }
.f-contact a, .f-contact .addr { display: flex; align-items: flex-start; gap: 0.7rem; color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; font-weight: 600; transition: color 0.3s; line-height: 1.6; }
.f-contact a:hover { color: var(--gold); }
.f-contact svg { width: 19px; height: 19px; flex: none; margin-top: 0.2rem; color: var(--gold); }
.f-bottom { border-top: 1px solid var(--dark-line); padding: 1.5rem 0 1.7rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; font-size: 0.88rem; }
.f-copy { color: rgba(255, 255, 255, 0.5); }

/* Royal gold credit */
.credit { color: rgba(255, 255, 255, 0.66); font-weight: 600; }
.gold-link {
  position: relative; font-weight: 900; font-family: inherit; padding: 0.1rem 0.15rem;
  background: linear-gradient(100deg, #8a6a1c, var(--royal-light) 30%, var(--royal) 55%, #FFF3C4 75%, var(--royal));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldShine 4s linear infinite;
  transition: filter 0.3s;
}
.gold-link:hover { filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6)); }
@keyframes goldShine { to { background-position: 200% center; } }

/* ---------- Floating widgets ---------- */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; inset-inline-end: 1.5rem; z-index: 9400;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #57D163, #25B03B); color: #fff;
  box-shadow: 0 16px 36px -10px rgba(37, 176, 59, 0.65);
  transition: transform 0.4s var(--ease); animation: waPulse 2.4s ease-out infinite;
}
.whatsapp-float svg { width: 31px; height: 31px; }
.whatsapp-float:hover { transform: scale(1.12) rotate(6deg); }
@keyframes waPulse { 0% { box-shadow: 0 16px 36px -10px rgba(37,176,59,0.65), 0 0 0 0 rgba(37,176,59,0.45); } 70% { box-shadow: 0 16px 36px -10px rgba(37,176,59,0.65), 0 0 0 18px rgba(37,176,59,0); } 100% { box-shadow: 0 16px 36px -10px rgba(37,176,59,0.65), 0 0 0 0 rgba(37,176,59,0); } }

.to-top {
  position: fixed; bottom: 1.5rem; inset-inline-start: 1.5rem; z-index: 9400;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); border: 1px solid rgba(245, 179, 36, 0.4);
  opacity: 0; visibility: hidden; translate: 0 14px; transition: all 0.4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { background: var(--gold); color: var(--ink); transform: translateY(-4px); }
.to-top svg { width: 21px; height: 21px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.rv-left { transform: translateX(-40px); }
html[dir="rtl"] .reveal.rv-left { transform: translateX(40px); }
.reveal.rv-right { transform: translateX(40px); }
html[dir="rtl"] .reveal.rv-right { transform: translateX(-40px); }
.reveal.rv-zoom { transform: scale(0.92); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Language fade */
body.lang-fading .section, body.lang-fading .hero-inner { opacity: 0.25; transition: opacity 0.25s; }

/* Anchor offset for fixed header */
section[id] { scroll-margin-top: 86px; }

/* Button arrow direction-aware */
html[dir="rtl"] .btn-primary:hover svg { transform: translateX(-4px); }
html[dir="ltr"] .btn svg.arrow { transform: scaleX(-1); }
.p-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--gold); transition: color 0.3s; }
.p-link svg { width: 18px; height: 18px; flex: none; }
.p-link:hover { color: var(--gold-2); }
.p-link:hover svg { translate: -4px 0; }
html[dir="ltr"] .p-link:hover svg { translate: 4px 0; }

/* Special OEM product card (dark) */
.product-card.p-special { background: linear-gradient(150deg, #2E2622, var(--ink)); border-color: rgba(245, 179, 36, 0.35); }
.product-card.p-special .p-name { color: #fff; }
.product-card.p-special .p-desc { color: rgba(255, 255, 255, 0.7); }
.product-card.p-special .p-num { -webkit-text-stroke-color: rgba(245, 179, 36, 0.45); }
.product-card.p-special .chip { background: rgba(245, 179, 36, 0.1); border-color: rgba(245, 179, 36, 0.3); color: var(--gold-2); }

/* Pillars band */
.pillar { text-align: center; padding: 1.6rem 1rem; position: relative; }
.pillar .gauge { width: 64px; height: 36px; display: block; margin: 0 auto 1rem; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35)); }
.pillar h3 { color: #fff; font-size: 1.18rem; margin-bottom: 0.45rem; }
.pillar p { color: rgba(255, 255, 255, 0.62); font-size: 0.93rem; max-width: 16rem; margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 560px; margin-inline: auto; width: 100%; }
  .hero { padding-top: calc(var(--header-h) + 3rem); }
  .scroll-hint { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
  .stat-box + .stat-box::before { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-inline: auto; }
  .gallery-grid { columns: 2; column-gap: 0.9rem; }
  .g-item { margin-bottom: 0.9rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .logo-img { width: 44px; height: 44px; }
  .logo-name { font-size: 1rem; }
  .hero { min-height: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; width: 100%; }
  .hero-visual { min-height: 330px; }
  .hv-1 { height: 210px; }
  .hv-2 { height: 190px; }
  .hv-badge { padding: 0.7rem 0.9rem; }
  .hv-badge strong { font-size: 1.3rem; }
  .products-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; column-gap: 0.8rem; grid-auto-rows: auto; }
  .g-item { margin-bottom: 0.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .vm-cards { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .f-bottom { justify-content: center; text-align: center; }
  .about-img-sub { inset-inline-end: 0; bottom: -1.6rem; }
  .whatsapp-float { width: 56px; height: 56px; bottom: 1.1rem; inset-inline-end: 1.1rem; }
  .to-top { bottom: 1.1rem; inset-inline-start: 1.1rem; }
  .marquee { transform: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
