/* ================================================================
   Sghair Company — Spices & Seasonings
   Brand: #60443E (brown) · #C89B2C (gold) · #FCDE2D (yellow) · #3E6E48 (herb)
   ================================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --primary:       #60443E;
  --primary-hover: #4A332E;
  --primary-light: rgba(96,68,62,0.10);
  --gold:          #C89B2C;
  --gold-light:    #F8EDD2;
  --yellow:        #FCDE2D;
  --herb:          #3E6E48;
  --dark:          #241815;
  --dark-2:        #3A2925;
  --brown:         #60443E;
  --cream:         #FCF7EC;
  --light:         #FAF7F3;
  --border:        #E6DACF;
  --white:         #FFFFFF;
  --muted:         #76625D;

  --shadow-sm: 0 4px 16px rgba(96,68,62,0.10);
  --shadow-md: 0 10px 40px rgba(96,68,62,0.14);
  --shadow-lg: 0 24px 72px rgba(0,0,0,0.16);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 48px;
  --ease: cubic-bezier(0.25,0.8,0.25,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.70;
  background: var(--white);
  color: var(--dark);
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.18;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Utility ───────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.78;
  max-width: 560px;
}

.btn-primary-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--white);
  padding: 13px 28px; border-radius: var(--r-xl);
  font-weight: 700; font-size: 0.90rem; letter-spacing: 0.01em;
  border: 2px solid var(--primary);
  transition: all 0.28s var(--ease);
}
.btn-primary-custom:hover {
  background: var(--primary-hover); border-color: var(--primary-hover);
  color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary);
  padding: 13px 28px; border-radius: var(--r-xl);
  font-weight: 700; font-size: 0.90rem;
  border: 2px solid var(--primary);
  transition: all 0.28s var(--ease);
}
.btn-outline-custom:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--dark);
  padding: 9px 16px; border-radius: var(--r-xl);
  font-weight: 700; font-size: 0.82rem;
  border: 2px solid rgba(96,68,62,0.25);
  cursor: pointer; transition: all 0.24s var(--ease); white-space: nowrap;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
.sg-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(96,68,62,0.10);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.sg-nav .container {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px; gap: 20px;
}
.sg-nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-mark {
  width: 44px; height: 44px;
  background: var(--primary); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: white;
}
.nav-logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--dark); line-height: 1.1;
  white-space: nowrap;
}
.nav-logo-text span {
  font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); font-weight: 700;
}

.nav-menu {
  display: flex; align-items: center;
  list-style: none; gap: 4px; margin: 0; padding: 0; flex: 1;
  justify-content: center;
}
.nav-menu a {
  font-size: 0.875rem; font-weight: 600; color: var(--dark);
  padding: 8px 14px; border-radius: 30px; transition: all 0.2s; white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary); background: var(--primary-light);
}

.nav-cta { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; background: none;
  border: 2px solid var(--primary); border-radius: 8px;
  padding: 7px 10px; cursor: pointer;
  color: var(--primary); font-size: 1rem;
}

.nav-menu-wrap { display: flex; align-items: center; gap: 16px; flex: 1; }

@media (min-width: 1200px) and (max-width: 1399px) {
  .nav-menu { gap: 0; }
  .nav-menu a { padding: 8px 10px; font-size: 0.85rem; }
  .nav-menu-wrap { gap: 12px; }
}

@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .nav-menu-wrap {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    background: white; border-bottom: 3px solid var(--primary);
    padding: 16px 20px 20px; flex-direction: column; align-items: flex-start;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  }
  .nav-menu-wrap.open { display: flex; }
  .nav-menu { flex-direction: column; align-items: flex-start; width: 100%; flex: none; }
  .nav-menu a { display: block; padding: 10px 16px; width: 100%; }
  .nav-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-cta .btn-primary-custom, .nav-cta .lang-switch { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.sg-hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; padding-top: 72px;
}

.hero-left {
  background: var(--cream);
  display: flex; align-items: center;
  padding: 80px 60px 80px 5%;
}

.hero-right {
  position: relative; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.sg-hero:hover .hero-right img { transform: scale(1.04); }
.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(96,68,62,0.12) 0%, transparent 60%);
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light); color: #7A5C14;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 16px;
  border-radius: var(--r-xl); margin-bottom: 24px;
  border: 1px solid rgba(200,155,44,0.30);
}

.hero-left h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.10; color: var(--dark); margin-bottom: 20px;
}
.hero-left h1 span { color: var(--primary); display: block; }
.hero-left h1 em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 1.02rem; color: var(--muted);
  line-height: 1.75; margin-bottom: 36px; max-width: 440px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-trust {
  display: flex; align-items: center; gap: 20px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-trust-item { display: flex; align-items: center; gap: 10px; }
.hero-trust-icon {
  width: 40px; height: 40px; background: white;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.05rem; color: var(--primary);
  box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.hero-trust-text strong { display: block; font-size: 0.87rem; font-weight: 700; color: var(--dark); }
.hero-trust-text span { font-size: 0.74rem; color: var(--muted); }

.hero-badge {
  position: absolute; bottom: 36px; left: -12px; z-index: 2;
  background: white; border-radius: var(--r-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.hero-badge-icon {
  width: 44px; height: 44px; background: var(--gold-light);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; color: var(--gold); flex-shrink: 0;
}
.hero-badge-text strong { display: block; font-size: 0.84rem; font-weight: 700; color: var(--dark); }
.hero-badge-text span { font-size: 0.72rem; color: var(--muted); }

.hero-badge-2 {
  position: absolute; top: 36px; right: 28px; z-index: 2;
  background: var(--primary); border-radius: var(--r-md);
  padding: 16px 20px; color: white; text-align: center;
  box-shadow: var(--shadow-md);
}
.hero-badge-2 strong {
  display: block; font-size: 1.6rem; font-weight: 800;
  font-family: 'Playfair Display', serif; line-height: 1; color: white;
}
.hero-badge-2 span { font-size: 0.70rem; opacity: 0.88; font-weight: 700; letter-spacing: 0.06em; }

@media (max-width: 991px) {
  .sg-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 360px; }
  .hero-left { padding: 60px 24px; }
  .hero-trust { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 575px) {
  .hero-right { height: 260px; }
  .hero-left { padding: 44px 18px; }
}

/* ════════════════════════════════════════════════════════════
   FEATURES STRIP
════════════════════════════════════════════════════════════ */
.features-strip { background: var(--primary); }
.features-strip .container { display: flex; padding: 0; max-width: 100%; }

.feature-pill {
  flex: 1; display: flex; align-items: center; gap: 16px;
  padding: 28px 28px;
  border-right: 1px solid rgba(255,255,255,0.13);
  transition: background 0.25s;
}
.feature-pill:last-child { border-right: none; }
.feature-pill:hover { background: rgba(255,255,255,0.07); }
.feature-pill-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.16); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--yellow); flex-shrink: 0;
}
.feature-pill-text strong { display: block; color: white; font-weight: 700; font-size: 0.90rem; }
.feature-pill-text span { color: rgba(255,255,255,0.72); font-size: 0.76rem; }

@media (max-width: 767px) {
  .features-strip .container { flex-wrap: wrap; }
  .feature-pill { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.13); }
  .feature-pill:nth-child(2n) { border-right: none; }
  .feature-pill:nth-last-child(-n+2) { border-bottom: none; }
}

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════════════════════════ */
.about-section { padding: 100px 0; background: white; }

.about-visual { position: relative; }
.about-img-main {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.about-img-main img {
  width: 100%; height: 420px; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 190px; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid white;
}
.about-img-accent img { width: 100%; height: 130px; object-fit: cover; }

.about-years-badge {
  position: absolute; top: -18px; left: -18px;
  width: 90px; height: 90px; background: var(--primary);
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white; box-shadow: var(--shadow-md);
}
.about-years-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 800; line-height: 1; color: white;
}
.about-years-badge span {
  font-size: 0.58rem; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.85; text-align: center;
}

.about-content { padding-left: 40px; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature-icon {
  width: 44px; height: 44px; background: var(--primary-light);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; color: var(--primary); font-size: 1rem; flex-shrink: 0;
}
.about-feature-text strong { display: block; font-size: 0.90rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.about-feature-text span { font-size: 0.83rem; color: var(--muted); }

@media (max-width: 991px) {
  .about-content { padding-left: 0; margin-top: 56px; }
  .about-img-accent { display: none; }
}

/* ════════════════════════════════════════════════════════════
   PRODUCTS SECTION
════════════════════════════════════════════════════════════ */
.products-section { padding: 100px 0; background: var(--light); }

.product-card {
  background: white; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.32s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.product-card-img { height: 200px; overflow: hidden; position: relative; }
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.08); }

.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: white;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.product-card-badge.gold { background: var(--gold); color: var(--dark); }
.product-card-badge.herb { background: var(--herb); }

.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat {
  font-size: 0.70rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 6px;
}
.product-card-body h3 { font-size: 1.06rem; color: var(--dark); margin-bottom: 8px; }
.product-card-body p { font-size: 0.83rem; color: var(--muted); line-height: 1.62; flex: 1; }

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.product-card-origin { font-size: 0.74rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.product-card-origin i { color: var(--herb); }
.product-card-btn {
  font-size: 0.76rem; font-weight: 700; color: var(--primary);
  padding: 6px 14px; border: 1.5px solid var(--primary);
  border-radius: 20px; transition: all 0.2s;
}
.product-card-btn:hover { background: var(--primary); color: white; }

.product-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 8px 20px; border-radius: 30px; font-size: 0.83rem; font-weight: 600;
  border: 1.5px solid var(--border); background: white; color: var(--muted);
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); border-color: var(--primary); color: white;
}

/* ════════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════════ */
.stats-section {
  padding: 88px 0;
  background: linear-gradient(rgba(36,24,21,0.88), rgba(36,24,21,0.88)),
              url('../media/photos/factory/factory-02.webp') center/cover no-repeat;
}

.stat-box { text-align: center; padding: 20px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800; color: var(--yellow);
  display: block; line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 0.84rem; color: rgba(255,255,255,0.60);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.10em;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════ */
.testimonials-section { padding: 100px 0; background: var(--cream); }

.testimonial-card {
  background: white; border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { color: var(--gold); font-size: 0.88rem; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-card blockquote {
  font-size: 0.93rem; color: var(--muted); line-height: 1.74;
  flex: 1; font-style: italic; margin: 0;
  position: relative; padding-left: 24px;
}
.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 3.5rem; color: var(--primary); position: absolute;
  left: -4px; top: -12px; font-family: 'Playfair Display', serif;
  font-weight: 700; line-height: 1; opacity: 0.35;
}

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--primary); font-weight: 700;
  font-family: 'Playfair Display', serif; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.testimonial-author span { font-size: 0.76rem; color: var(--muted); }

/* ════════════════════════════════════════════════════════════
   CTA
════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #3A2925 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  top: -80px; right: -80px; width: 420px; height: 420px;
  background: rgba(255,255,255,0.04); border-radius: 50%;
}
.cta-section::after {
  content: ''; position: absolute;
  bottom: -100px; left: -80px; width: 380px; height: 380px;
  background: rgba(255,255,255,0.04); border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); color: white; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.78); font-size: 1rem; }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--primary);
  padding: 14px 28px; border-radius: var(--r-xl);
  font-weight: 700; font-size: 0.90rem; border: 2px solid white;
  transition: all 0.28s var(--ease);
}
.btn-white:hover {
  background: var(--yellow); border-color: var(--yellow);
  color: var(--dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  padding: 14px 28px; border-radius: var(--r-xl);
  font-weight: 700; font-size: 0.90rem;
  border: 2px solid rgba(255,255,255,0.55);
  transition: all 0.28s var(--ease);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12); border-color: white;
  color: white; transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.sg-footer { background: var(--dark); }
.footer-main { padding: 72px 0 40px; }

.footer-logo-text strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: white;
}
.footer-logo-text span {
  font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
}

.footer-desc { font-size: 0.86rem; color: rgba(255,255,255,0.52); line-height: 1.78; }

.footer-socials { display: flex; gap: 10px; }
.footer-social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: all 0.2s;
}
.footer-social-link:hover {
  background: var(--primary); color: white; transform: translateY(-2px);
}

.footer-widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: white; font-weight: 700;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary); display: inline-block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.52); font-size: 0.84rem;
  transition: all 0.2s; display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--primary); font-weight: 700; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-icon {
  width: 34px; height: 34px; background: rgba(96,68,62,0.16);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: var(--primary); flex-shrink: 0; font-size: 0.84rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.80rem; color: rgba(255,255,255,0.38);
}
.footer-bottom-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom-links a { color: rgba(255,255,255,0.38); font-size: 0.80rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--primary); }

.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; background: var(--primary);
  color: white; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0;
  transform: translateY(20px); transition: all 0.3s; border: none; z-index: 999;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--primary-hover); transform: translateY(-4px); }

/* ════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 120px 0 56px;
  background: var(--dark); background-size: cover; background-position: center;
  position: relative; min-height: 280px; display: flex; align-items: flex-end;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(36,24,21,0.88) 0%, rgba(96,68,62,0.35) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); color: white; margin-bottom: 12px; }

.breadcrumb-custom {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.83rem; list-style: none; padding: 0; margin: 0;
  color: rgba(255,255,255,0.50);
}
.breadcrumb-custom a { color: rgba(255,255,255,0.60); transition: color 0.2s; }
.breadcrumb-custom a:hover { color: var(--yellow); }
.breadcrumb-custom .active { color: var(--yellow); }
.breadcrumb-custom li + li::before { content: '/'; margin-right: 8px; }

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE — Values & Timeline
════════════════════════════════════════════════════════════ */
.value-card {
  background: white; border-radius: var(--r-lg); padding: 32px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  text-align: center; transition: all 0.3s var(--ease); height: 100%;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.value-icon {
  width: 64px; height: 64px; background: var(--primary-light);
  border-radius: 18px; display: flex; align-items: center;
  justify-content: center; font-size: 1.55rem; color: var(--primary); margin: 0 auto 20px;
}
.value-card h4 { font-size: 1.02rem; color: var(--dark); margin-bottom: 10px; }
.value-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--gold));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -31px; top: 6px;
  width: 14px; height: 14px; background: var(--primary);
  border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 3px var(--primary);
}
.timeline-year {
  font-size: 0.70rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 4px;
}
.timeline-item h4 { font-size: 1rem; color: var(--dark); margin-bottom: 6px; }
.timeline-item p { font-size: 0.84rem; color: var(--muted); line-height: 1.62; }

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════════════════════ */
.contact-info-card {
  background: white; border-radius: var(--r-lg); padding: 28px 24px;
  text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: all 0.3s var(--ease); height: 100%;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.contact-info-card .ci-icon {
  width: 60px; height: 60px; background: var(--primary-light);
  border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; color: var(--primary); margin: 0 auto 16px;
}
.contact-info-card h4 { font-size: 0.98rem; color: var(--dark); margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a {
  font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0;
}
.contact-info-card a:hover { color: var(--primary); }

.contact-form-wrap {
  background: white; border-radius: var(--r-lg); padding: 40px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 0.83rem; font-weight: 700;
  color: var(--dark); margin-bottom: 7px;
}
.form-control {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 16px;
  font-size: 0.90rem; color: var(--dark); background: var(--light);
  font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px rgba(96,68,62,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
════════════════════════════════════════════════════════════ */
.sg-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.sg-reveal.visible { opacity: 1; transform: translateY(0); }
.sg-reveal-delay-1 { transition-delay: 0.10s; }
.sg-reveal-delay-2 { transition-delay: 0.22s; }
.sg-reveal-delay-3 { transition-delay: 0.34s; }
.sg-reveal-delay-4 { transition-delay: 0.46s; }

@media (max-width: 767px) {
  .footer-main { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* ════════════════════════════════════════════════════════════
   VIDEO HERO SLIDER
════════════════════════════════════════════════════════════ */
.video-hero {
  position: relative;
  width: 100%; height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--dark);
}

.video-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
}
.video-slide.active { opacity: 1; pointer-events: auto; }

.video-slide video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(36,24,21,0.72) 0%,
    rgba(36,24,21,0.45) 60%,
    rgba(96,68,62,0.20) 100%
  );
}

.video-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding-top: 72px;
}

.video-slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,155,44,0.22);
  border: 1px solid rgba(200,155,44,0.45);
  color: var(--yellow); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 40px; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.video-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: white; line-height: 1.10;
  margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.video-content h1 span { color: var(--yellow); display: block; }
.video-content h1 em { font-style: italic; color: rgba(255,255,255,0.82); }

.video-content p {
  font-size: 1.05rem; color: rgba(255,255,255,0.78);
  line-height: 1.72; margin-bottom: 36px; max-width: 520px;
}

.video-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.video-trust {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.video-trust-item { display: flex; align-items: center; gap: 10px; }
.video-trust-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1rem; color: var(--yellow);
  border: 1px solid rgba(255,255,255,0.15); flex-shrink: 0;
}
.video-trust-text strong { display: block; font-size: 0.87rem; font-weight: 700; color: white; }
.video-trust-text span { font-size: 0.73rem; color: rgba(255,255,255,0.55); }

/* slider controls */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; z-index: 10;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: white; font-size: 1rem;
  cursor: pointer; transition: all 0.25s;
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: all 0.3s; border: none; padding: 0;
}
.slider-dot.active {
  background: var(--yellow); width: 28px; border-radius: 4px;
}

.slider-counter {
  position: absolute; bottom: 30px; right: 28px;
  font-size: 0.80rem; color: rgba(255,255,255,0.55); z-index: 10;
  font-weight: 700; letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .video-hero { height: 88vh; min-height: 500px; }
  .video-content h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .slider-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
}

/* ════════════════════════════════════════════════════════════
   EXHIBITION GALLERY
════════════════════════════════════════════════════════════ */
.gallery-section { padding: 80px 0; background: var(--light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--r-md); cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 260px; object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
.gallery-item.tall img { height: 534px; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,24,21,0.65) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 18px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: white; font-size: 0.84rem; font-weight: 600;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-mosaic .g-main {
  grid-row: 1 / 3;
}
.gallery-mosaic .g-main img { height: 100%; min-height: 420px; }
.gallery-mosaic .g-side img { height: 200px; }

/* Factory film — wide video panel under the gallery */
.factory-film {
  position: relative; overflow: hidden;
  margin-top: 28px;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;
  background: var(--dark);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.factory-film::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(200,155,44,0.35);
}
.factory-film video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.factory-film-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(36,24,21,0.72) 0%, rgba(36,24,21,0.30) 55%, transparent 100%),
    linear-gradient(to top, rgba(36,24,21,0.35) 0%, transparent 30%);
}
.factory-film-caption {
  position: absolute; left: 28px; top: 26px;
  max-width: 340px; color: white;
}
.factory-film-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; margin-bottom: 10px;
  border-radius: 999px;
  background: var(--yellow); color: var(--dark);
  font-size: 0.64rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.factory-film-caption h3 {
  color: white; font-size: clamp(1rem, 1.6vw, 1.3rem);
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.factory-film-caption p {
  color: rgba(255,255,255,0.82); font-size: 0.82rem; line-height: 1.55; margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.factory-film-controls {
  position: absolute; right: 24px; bottom: 24px;
  display: flex; gap: 10px;
}
.factory-film-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: white; font-size: 0.95rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.factory-film-btn:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.factory-film-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 767px) {
  .factory-film { border-radius: var(--r-md); }
  .factory-film-caption { left: 16px; top: 14px; max-width: 70%; }
  .factory-film-tag { margin-bottom: 6px; font-size: 0.58rem; padding: 3px 9px; }
  .factory-film-caption p { display: none; }
  .factory-film-controls { right: 12px; bottom: 12px; gap: 8px; }
  .factory-film-btn { width: 36px; height: 36px; font-size: 0.8rem; }
}

@media (max-width: 767px) {
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gallery-mosaic .g-main { grid-row: auto; }
  .gallery-mosaic .g-main img { min-height: auto; height: 260px; }
}

/* ════════════════════════════════════════════════════════════
   FOUNDERS SECTION
════════════════════════════════════════════════════════════ */
.founders-section { padding: 100px 0; background: white; }

.founder-card {
  background: white; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease); height: 100%;
}
.founder-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }

.founder-photo {
  height: 260px; overflow: hidden; position: relative;
  background: var(--light);
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.5s var(--ease);
}
.founder-card:hover .founder-photo img { transform: scale(1.05); }

.founder-photo-placeholder {
  height: 260px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.founder-photo-placeholder i { font-size: 4rem; color: var(--primary); opacity: 0.4; }

.founder-role {
  display: inline-block;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-light); padding: 4px 12px;
  border-radius: 20px; margin-bottom: 10px;
}
.founder-card-body { padding: 22px 20px; }
.founder-card-body h4 { font-size: 1.05rem; color: var(--dark); margin-bottom: 6px; }
.founder-card-body p { font-size: 0.83rem; color: var(--muted); line-height: 1.64; }

/* ════════════════════════════════════════════════════════════
   MISSION SECTION
════════════════════════════════════════════════════════════ */
.mission-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative; overflow: hidden;
}
.mission-section::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(96,68,62,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.mission-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(200,155,44,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.mission-section .container { position: relative; z-index: 1; }

.mission-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: all 0.3s var(--ease); height: 100%;
  backdrop-filter: blur(8px);
}
.mission-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(96,68,62,0.40);
  transform: translateY(-4px);
}
.mission-icon {
  width: 56px; height: 56px;
  background: rgba(96,68,62,0.18);
  border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; color: var(--yellow);
  margin-bottom: 18px;
}
.mission-card h4 { font-size: 1rem; color: white; margin-bottom: 10px; }
.mission-card p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.68; margin: 0; }

/* ════════════════════════════════════════════════════════════
   BRANDS / TRADEMARKS STRIP
════════════════════════════════════════════════════════════ */
.brands-strip {
  padding: 44px 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: white; border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.brand-pill:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.brand-pill-icon {
  width: 44px; height: 44px; background: var(--primary-light);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0;
}
.brand-pill-logo {
  width: 110px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.brand-pill-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-pill-text strong { display: block; font-size: 0.90rem; font-weight: 700; color: var(--dark); }
.brand-pill-text span { font-size: 0.74rem; color: var(--muted); }

/* ????????????????????????????????????????????????????????????
   RTL OVERRIDES  (Arabic � dir=rtl / body.lang-ar)
???????????????????????????????????????????????????????????? */
[dir=rtl] body,
body.lang-ar {
  font-family: 'Tahoma', 'Segoe UI', system-ui, sans-serif;
}

/* Headings in Arabic � use a more natural Arabic weight */
[dir=rtl] h1,
[dir=rtl] h2,
[dir=rtl] h3,
[dir=rtl] h4,
[dir=rtl] h5,
[dir=rtl] h6 {
  font-family: 'Tahoma', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
}

/* ?? Navbar ?? */
[dir=rtl] .nav-menu { padding-right: 0; }
[dir=rtl] .nav-logo-text { text-align: right; }
[dir=rtl] .nav-menu li a { text-align: right; }

/* ?? Page hero breadcrumb ?? */
[dir=rtl] .breadcrumb-custom { flex-direction: row-reverse; justify-content: flex-end; }
[dir=rtl] .breadcrumb-custom li::before { content: '/'; margin: 0 4px 0 8px; }
[dir=rtl] .breadcrumb-custom li:first-child::before { display: none; }

/* ?? Section label flex row ?? */
[dir=rtl] .section-label { flex-direction: row-reverse; }

/* ?? Feature strip ?? */
[dir=rtl] .feature-pill { flex-direction: row-reverse; text-align: right; }
[dir=rtl] .feature-pill-text { text-align: right; }

/* ?? About features ?? */
[dir=rtl] .about-feature { flex-direction: row-reverse; text-align: right; }
[dir=rtl] .about-feature-text { text-align: right; }

/* ?? Brand pills ?? */
[dir=rtl] .brand-pill { flex-direction: row-reverse; text-align: right; }
[dir=rtl] .brand-pill-text { text-align: right; }

/* ?? Product card ?? */
[dir=rtl] .product-card-footer { flex-direction: row-reverse; }
[dir=rtl] .product-card-cat { text-align: right; }

/* ?? About years badge (flip text) ?? */
[dir=rtl] .about-years-badge { text-align: center; }

/* ?? About image � swap main/accent position ?? */
[dir=rtl] .about-visual { direction: rtl; }

/* ?? Stat boxes ?? */
[dir=rtl] .stat-box { direction: rtl; }

/* ?? Gallery overlay text ?? */
[dir=rtl] .gallery-overlay span { text-align: right; }

/* ?? Video hero trust items ?? */
[dir=rtl] .video-trust { flex-wrap: wrap; justify-content: flex-end; }
[dir=rtl] .video-trust-item { flex-direction: row-reverse; text-align: right; }
[dir=rtl] .video-trust-text { text-align: right; }

/* ?? Footer layout ?? */
[dir=rtl] .footer-links { padding-right: 0; text-align: right; }
[dir=rtl] .footer-links li::before { content: none; }
[dir=rtl] .footer-contact-item { flex-direction: row-reverse; }
[dir=rtl] .footer-bottom { flex-direction: row-reverse; }
[dir=rtl] .footer-bottom-links { flex-direction: row-reverse; }
[dir=rtl] .footer-desc { text-align: right; }

/* ?? Mission / value cards ?? */
[dir=rtl] .mission-card { text-align: right; }
[dir=rtl] .value-card { text-align: right; }

/* ?? Buttons with arrows � flip icon side ?? */
[dir=rtl] .btn-primary-custom,
[dir=rtl] .btn-outline-custom,
[dir=rtl] .btn-white,
[dir=rtl] .btn-outline-white { flex-direction: row-reverse; }

/* Flip fa-arrow-right icons in RTL context */
[dir=rtl] .fa-arrow-right { transform: scaleX(-1); }

/* ?? Contact form ?? */
[dir=rtl] .contact-form-wrap .section-label { flex-direction: row-reverse; }
[dir=rtl] .form-label { text-align: right; display: block; }
[dir=rtl] .form-control,
[dir=rtl] .form-group input,
[dir=rtl] .form-group select,
[dir=rtl] .form-group textarea { text-align: right; direction: rtl; }
[dir=rtl] .contact-info-card { text-align: right; }
[dir=rtl] .contact-info-card .ci-icon { margin: 0 auto 12px; }

/* ?? Search input on products page ?? */
[dir=rtl] .search-wrap input { padding: 10px 18px 10px 44px; text-align: right; direction: rtl; }
[dir=rtl] .search-wrap i { left: 16px; right: auto; }

/* ?? Filter buttons row ?? */
[dir=rtl] .product-filter { flex-direction: row-reverse; }

/* ?? Founder cards ?? */
[dir=rtl] .founder-role { text-align: right; display: block; }

/* ?? CTA section ?? */
[dir=rtl] .cta-section { direction: rtl; text-align: right; }
[dir=rtl] .cta-section .col-lg-5,
[dir=rtl] .cta-section .col-lg-4 { text-align: left; }

/* ?? Nav CTA mobile RTL ?? */
@media (max-width: 1199px) {
  [dir=rtl] .nav-menu li a { text-align: right; }
  [dir=rtl] .nav-cta { align-items: flex-end; }
}

/* Factory film — RTL */
[dir=rtl] .factory-film-shade {
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(36,24,21,0.72) 0%, rgba(36,24,21,0.30) 55%, transparent 100%),
    linear-gradient(to top, rgba(36,24,21,0.35) 0%, transparent 30%);
}
[dir=rtl] .factory-film-caption { left: auto; right: 28px; text-align: right; }
[dir=rtl] .factory-film-controls { right: auto; left: 24px; }
@media (max-width: 767px) {
  [dir=rtl] .factory-film-caption { right: 16px; }
  [dir=rtl] .factory-film-controls { left: 12px; }
}

/* ════════════════════════════════════════════════════════════
   PHOTO GALLERY PAGE
════════════════════════════════════════════════════════════ */
.pg-count {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 7px 16px;
  border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
}
.pg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 14px;
}
.pg-item {
  position: relative; overflow: hidden;
  padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--r-md);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
/* Large tiles, chosen per screen size so the grid fills with no gaps (set for 13 photos; photo 11 is portrait, so it gets a tall tile).
   Adding or removing a photo means re-picking these positions. */
.pg-item:nth-child(1), .pg-item:nth-child(12) { grid-column: span 2; grid-row: span 2; }
.pg-item:nth-child(11) { grid-row: span 2; }
.pg-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.pg-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,24,21,0.55) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.pg-zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--dark); font-size: 0.85rem;
  opacity: 0; transform: translateY(8px) scale(0.9);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.pg-item:hover img, .pg-item:focus-visible img { transform: scale(1.07); }
.pg-item:hover::after, .pg-item:focus-visible::after { opacity: 1; }
.pg-item:hover .pg-zoom, .pg-item:focus-visible .pg-zoom { opacity: 1; transform: none; }
.pg-item:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 991px) {
  .pg-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
  .pg-item:nth-child(12) { grid-column: auto; grid-row: auto; }
  .pg-item:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 575px) {
  .pg-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; }
  .pg-item:nth-child(5) { grid-column: auto; }
  .pg-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
  .pg-zoom { display: none; }
}

/* Lightbox */
.pg-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 80px;
  background: rgba(28,18,16,0.94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: pgFade 0.25s ease;
}
.pg-lightbox[hidden] { display: none; }
@keyframes pgFade { from { opacity: 0; } to { opacity: 1; } }
.pg-lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.pg-lb-figure img {
  max-width: 100%; max-height: calc(100vh - 160px);
  object-fit: contain; border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.pg-lb-counter {
  margin-top: 16px; color: rgba(255,255,255,0.7);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
}
.pg-lb-btn {
  position: absolute; z-index: 1;
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10); color: white; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.25s;
}
.pg-lb-btn:hover { background: var(--primary); border-color: var(--primary); }
.pg-lb-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.pg-lb-close { top: 20px; right: 20px; }
.pg-lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.pg-lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
  .pg-lightbox { padding: 70px 12px 90px; }
  .pg-lb-prev, .pg-lb-next { top: auto; bottom: 20px; transform: none; }
  .pg-lb-prev { left: calc(50% - 64px); }
  .pg-lb-next { right: calc(50% - 64px); }
}
[dir=rtl] .pg-zoom { right: auto; left: 14px; }
[dir=rtl] .pg-lb-close { right: auto; left: 20px; }
[dir=rtl] .pg-lb-prev i, [dir=rtl] .pg-lb-next i { transform: scaleX(-1); }
[dir=rtl] .pg-lb-prev { left: auto; right: 20px; }
[dir=rtl] .pg-lb-next { right: auto; left: 20px; }
@media (max-width: 767px) {
  [dir=rtl] .pg-lb-prev { right: calc(50% - 64px); left: auto; }
  [dir=rtl] .pg-lb-next { left: calc(50% - 64px); right: auto; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — tablets & phones
   (some sections set padding inline, hence the attribute selectors)
════════════════════════════════════════════════════════════ */
.founder-row-photo { width: 200px; flex-shrink: 0; }

@media (max-width: 991px) {
  .about-section, .products-section, .testimonials-section, .founders-section { padding: 80px 0; }
  section[style*="padding:100px 0"] { padding: 80px 0 !important; }
}

@media (max-width: 767px) {
  /* section rhythm */
  .about-section, .products-section, .testimonials-section, .founders-section { padding: 60px 0; }
  .gallery-section, .mission-section, .cta-section { padding: 56px 0; }
  .stats-section { padding: 44px 0; }
  section[style*="padding:100px 0"] { padding: 60px 0 !important; }
  section[style*="padding:80px 0"] { padding: 56px 0 !important; }
  section[style*="padding:80px 0 0"] { padding: 48px 0 0 !important; }
  section[style*="padding:60px 0 100px"] { padding: 40px 0 64px !important; }
  .mb-5 { margin-bottom: 2rem !important; }

  /* type */
  .section-title { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
  .section-desc { font-size: 0.93rem; }
  .page-hero { padding: 104px 0 36px; min-height: 220px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }

  /* about visual */
  .about-img-main img { height: 280px; }
  .about-years-badge { top: -14px; left: 10px; width: 76px; height: 76px; }
  .about-years-badge strong { font-size: 1.4rem; }

  /* founders: photo on top, text below */
  .founder-row { flex-direction: column; }
  .founder-row-photo { width: 100%; height: 260px; }
  .founder-row-photo img { object-position: center 20%; }
  .founder-row-photo > i { font-size: 3rem; }
  .founders-section video { min-height: 240px !important; }

  /* stats */
  .stat-box { padding: 12px 4px; }
  .stat-label { font-size: 0.72rem; letter-spacing: 0.06em; }

  /* cards */
  .mission-card { padding: 26px 22px; }
  .testimonial-card { padding: 24px; }
  .value-card { padding: 26px 20px; }
  .brand-pill { padding: 12px 16px; }
  .brand-pill-logo { width: 84px; height: 56px; }

  /* home slider */
  .video-content p { font-size: 0.95rem; margin-bottom: 24px; }
  .video-slide-tag { margin-bottom: 14px; }
  .video-btns { gap: 10px; margin-bottom: 28px; }
  .video-trust { gap: 14px 20px; padding-top: 20px; }
  .slider-counter { right: 16px; bottom: 24px; }
  .slider-dots { bottom: 26px; }

  /* CTA buttons */
  .cta-section .btn-white, .cta-section .btn-outline-white { width: 100%; justify-content: center; }

  /* misc */
  .footer-bottom-links { justify-content: center; }
  .back-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}

@media (max-width: 575px) {
  /* trust badges repeat the strip directly below the slider — hide so slide content fits */
  .video-trust { display: none; }
  .video-btns { margin-bottom: 0; }
  .video-btns .btn-primary-custom, .video-btns .btn-outline-white { padding: 12px 22px; font-size: 0.86rem; }
  .filter-btn { padding: 7px 14px; font-size: 0.8rem; }
  .contact-info-card { padding: 22px 18px; }
}

@media (max-width: 575px) {
  .nav-logo { gap: 8px; }
  .nav-logo-mark { width: 38px; height: 38px; }
  .nav-logo-text strong { font-size: 0.9rem; }
}

@media (max-width: 380px) {
  .nav-logo-text strong { font-size: 0.8rem; }
  .btn-primary-custom, .btn-outline-custom, .btn-white, .btn-outline-white { padding: 12px 20px; }
}

[dir=rtl] .back-top { right: auto; left: 28px; }
@media (max-width: 767px) {
  [dir=rtl] .back-top { left: 16px; }
  [dir=rtl] .about-years-badge { left: auto; right: 10px; }
}

/* ════════════════════════════════════════════════════════════
   YELLOW ACCENTS (#FCDE2D) — used as fills/highlights, never as text on white
════════════════════════════════════════════════════════════ */
/* highlighter stroke under the coloured words in headings */
.section-title span {
  background: linear-gradient(transparent 62%, rgba(252,222,45,0.75) 62%, rgba(252,222,45,0.75) 92%, transparent 92%);
  padding: 0 4px; margin: 0 -2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section-label::before { background: var(--yellow); height: 3px; box-shadow: 0 0 0 1px rgba(200,155,44,0.35); }

/* navbar */
.nav-menu a.active { box-shadow: inset 0 -3px 0 var(--yellow); }
.nav-cta .btn-primary-custom { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }
.nav-cta .btn-primary-custom:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* buttons: yellow on hover */
.btn-primary-custom:hover, .btn-outline-custom:hover {
  background: var(--yellow); border-color: var(--yellow); color: var(--dark);
}
.btn-outline-white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }
.filter-btn:hover:not(.active) { background: rgba(252,222,45,0.35); border-color: var(--yellow); color: var(--dark); }
.product-card-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }

/* call-to-action band */
.cta-section .btn-white { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }
.cta-section .btn-white:hover { background: white; border-color: white; color: var(--primary); }

/* inner-page headers: yellow bar under the title */
.page-hero h1::after {
  content: ''; display: block;
  width: 64px; height: 4px; border-radius: 4px;
  background: var(--yellow); margin-top: 14px;
}
[dir=rtl] .page-hero h1::after { margin-right: 0; margin-left: auto; }

/* icon tiles get a soft yellow wash */
.value-icon, .contact-info-card .ci-icon, .about-feature-icon {
  background: rgba(252,222,45,0.32); color: var(--primary);
}
.value-card:hover .value-icon, .contact-info-card:hover .ci-icon { background: var(--yellow); }
.timeline-item::before { background: var(--yellow); box-shadow: 0 0 0 3px var(--primary); }

/* footer */
.footer-widget-title { border-bottom-color: var(--yellow); }
.footer-links a::before { color: var(--yellow); }
.footer-links a:hover { color: var(--yellow); }
.footer-contact-icon { background: rgba(252,222,45,0.14); color: var(--yellow); }
.footer-social-link:hover { background: var(--yellow); color: var(--dark); }
.footer-bottom-links a:hover { color: var(--yellow); }

/* misc */
.back-top { background: var(--yellow); color: var(--dark); }
.back-top:hover { background: var(--primary); color: white; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--gold)); }
::selection { background: var(--yellow); color: var(--dark); }

/* ════════════════════════════════════════════════════════════
   EVENTS PAGE — exhibitions
════════════════════════════════════════════════════════════ */
.events-section { padding: 90px 0 100px; background: var(--light); }

.event-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  position: relative; overflow: hidden;
}
.event-block + .event-block { margin-top: 32px; }
.event-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--gold) 60%, var(--primary));
}

.event-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 0.82rem; font-weight: 700; color: var(--muted);
  margin-bottom: 10px;
}
.event-meta i { color: var(--gold); margin-right: 4px; }
.event-chip {
  background: var(--yellow); color: var(--dark);
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.event-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--dark); margin-bottom: 14px;
}
.event-title span {
  background: linear-gradient(transparent 62%, rgba(252,222,45,0.75) 62%, rgba(252,222,45,0.75) 92%, transparent 92%);
  padding: 0 4px;
}
.event-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.78; margin-bottom: 24px; max-width: 620px; }

/* event photos reuse the gallery tile + lightbox, but in portrait */
.event-photo { width: 100%; aspect-ratio: 3 / 4; display: block; }

/* vertical video reel */
.event-reel {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; max-height: 640px; margin: 0 auto;
  border-radius: 28px;
  background: var(--dark);
  box-shadow: var(--shadow-lg), 0 0 0 6px white, 0 0 0 8px var(--yellow);
}
.event-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-reel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(36,24,21,0.45) 0%, transparent 22%, transparent 75%, rgba(36,24,21,0.55) 100%);
}
.event-reel-tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow); color: var(--dark);
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.event-reel-tag .fa-circle { font-size: 0.45rem; color: #D93025; animation: reelPulse 1.6s ease-in-out infinite; }
@keyframes reelPulse { 50% { opacity: 0.25; } }
.event-reel-controls {
  position: absolute; right: 16px; bottom: 16px; z-index: 1;
  display: flex; gap: 10px;
}

@media (min-width: 992px) {
  .event-reel { max-width: 360px; }
}
@media (max-width: 991px) {
  .event-reel { max-width: 340px; }
}
@media (max-width: 767px) {
  .events-section { padding: 56px 0 64px; }
  .event-block { padding: 26px 18px; border-radius: var(--r-md); }
  .event-block + .event-block { margin-top: 22px; }
  .event-reel { max-width: 300px; border-radius: 22px; }
}

[dir=rtl] .event-meta i { margin-right: 0; margin-left: 4px; }
[dir=rtl] .event-reel-tag { left: auto; right: 16px; }
[dir=rtl] .event-reel-controls { right: auto; left: 16px; }

/* Gulfood photos: two justified rows, every photo shown whole.
   Each tile's flex-grow and aspect-ratio come from its real width/height, so tiles in a row share one height. */
.event-justified { display: flex; flex-direction: column; gap: 12px; }
.event-justified .ej-row { display: flex; gap: 12px; }
.event-photo-fit {
  flex: calc(var(--w) / var(--h)) 1 0;
  min-width: 0;
  aspect-ratio: var(--w) / var(--h);
}
@media (max-width: 575px) {
  .event-justified, .event-justified .ej-row { gap: 10px; }
}

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE — hours, social, map
════════════════════════════════════════════════════════════ */
.contact-details { padding: 48px 0 100px; background: var(--light); }

.cd-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: 28px 28px 22px;
  position: relative; overflow: hidden;
}
.cd-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--gold) 60%, var(--primary));
}
.cd-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cd-card-head h4 { font-size: 1.1rem; color: var(--dark); margin: 0; flex: 1; }
.cd-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(252,222,45,0.32); color: var(--primary); font-size: 1.05rem;
}

.open-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(62,110,72,0.12); color: var(--herb);
}
.open-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(62,110,72,0.18);
}
.open-badge.is-closed { background: rgba(96,68,62,0.10); color: var(--muted); }
.open-badge.is-closed::before { box-shadow: none; }

.hours-list { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.hours-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 12px; margin: 0 -12px; border-radius: 10px;
  border-bottom: 1px dashed var(--border);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li > span { color: var(--muted); }
.hours-list li > span .fa-whatsapp { color: var(--herb); }
.hours-list strong { color: var(--primary); font-weight: 800; text-align: end; }
.hours-list strong.is-closed { color: var(--muted); font-weight: 600; }
.hours-list strong.is-always { color: var(--herb); }
.hours-list li.is-today { background: rgba(252,222,45,0.28); border-bottom-color: transparent; }
.hours-list li.is-today > span { color: var(--dark); font-weight: 700; }

.cd-card-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-2) 100%);
  border-color: transparent; color: white;
  flex: 1;
}
.cd-card-dark h4 { color: white; font-size: 1.1rem; margin-bottom: 8px; }
.cd-card-dark p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-bottom: 18px; }
.cd-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.cd-socials a {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: white; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.cd-socials a:hover { background: var(--yellow); color: var(--dark); transform: translateY(-3px); }

.cd-map {
  position: relative; height: 100%; min-height: 440px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  background: var(--cream);
}
.cd-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: saturate(1.1);
}
.cd-map-bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.cd-map-bar strong { display: block; color: var(--dark); font-size: 0.95rem; }
.cd-map-bar span { color: var(--muted); font-size: 0.8rem; }
.cd-map-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 10px 18px; border-radius: 999px;
  background: var(--yellow); color: var(--dark);
  font-weight: 800; font-size: 0.84rem;
  transition: background 0.25s, color 0.25s;
}
.cd-map-btn span { color: inherit; font-size: inherit; }
.cd-map-btn:hover { background: var(--primary); color: white; }

@media (max-width: 991px) {
  .cd-map { min-height: 380px; height: 380px; }
}
@media (max-width: 575px) {
  .contact-details { padding: 32px 0 64px; }
  .cd-card { padding: 22px 18px 16px; border-radius: var(--r-md); }
  .cd-map { min-height: 340px; height: 340px; border-radius: var(--r-md); }
  .cd-map-bar { left: 10px; right: 10px; bottom: 10px; padding: 12px; }
  .cd-map-btn { padding: 9px 14px; font-size: 0.8rem; }
}

/* Home slider — photo slide (slow zoom while active) */
.video-slide-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1); transition: transform 9s ease-out;
}
.video-slide.active .video-slide-img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .video-slide-img, .video-slide.active .video-slide-img { transform: none; transition: none; }
}

/* Home slider — shorter and tighter on phones / small tablets */
@media (max-width: 767px) {
  .video-hero { height: 72vh; height: 72svh; min-height: 480px; max-height: 640px; }
}
@media (max-width: 575px) {
  .video-hero { height: 68vh; height: 68svh; min-height: 430px; max-height: 580px; }
  .video-content { padding-top: 64px; }
  .video-slide-tag { font-size: 0.6rem; padding: 5px 12px; margin-bottom: 10px; letter-spacing: 0.1em; }
  .video-content h1 { font-size: clamp(1.4rem, 6.8vw, 1.85rem); line-height: 1.15; margin-bottom: 10px; }
  .video-content p {
    font-size: 0.85rem; line-height: 1.55; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .video-btns { gap: 8px; }
  .video-btns .btn-primary-custom, .video-btns .btn-outline-white { padding: 10px 18px; font-size: 0.8rem; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 16px; }
  .slider-counter { bottom: 13px; right: 14px; font-size: 0.72rem; }
}

/* ════════════════════════════════════════════════════════════
   PAGE CHANGES — smooth cross-fade, header stays put
════════════════════════════════════════════════════════════ */
@view-transition { navigation: auto; }
.sg-nav { view-transition-name: site-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
.sg-reveal.sg-instant { transition: none; }

/* Home slider on phones/tablets: smaller text at the bottom, so the video/photo is visible */
@media (max-width: 767px) {
  .video-content { align-items: flex-end; padding: 72px 0 52px; }
  .video-overlay {
    background: linear-gradient(to top, rgba(36,24,21,0.85) 0%, rgba(36,24,21,0.55) 38%, rgba(36,24,21,0.08) 70%, transparent 100%);
  }
  .video-content h1 { font-size: clamp(1.3rem, 4.6vw, 1.75rem); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
  .video-content h1 em { font-size: 0.8em; }
  .video-content p { font-size: 0.84rem; margin-bottom: 14px; max-width: 460px; }
}
@media (max-width: 575px) {
  .video-content { padding: 64px 0 44px; }
  .video-slide-tag { font-size: 0.56rem; padding: 4px 10px; margin-bottom: 8px; }
  .video-content h1 { font-size: clamp(1.05rem, 5.2vw, 1.3rem); line-height: 1.2; margin-bottom: 6px; }
  .video-content h1 em { font-size: 0.78em; }
  .video-content p { font-size: 0.76rem; line-height: 1.5; margin-bottom: 12px; -webkit-line-clamp: 2; }
  .video-btns .btn-primary-custom, .video-btns .btn-outline-white { padding: 8px 14px; font-size: 0.74rem; gap: 6px; }
}

/* Home "about" image is a tall poster: show it whole (natural shape), centred at a sensible width */
.about-visual-poster { max-width: 420px; margin: 0 auto; }
.about-img-poster img { height: auto; aspect-ratio: 548 / 1029; object-fit: contain; }
.about-img-poster:hover img { transform: none; }
.about-visual-poster .about-img-accent { display: none; }
@media (max-width: 767px) { .about-visual-poster { max-width: 340px; } }

/* Home slider on tablets / small laptops (768–1199px): smaller text so the video and photo show */
@media (min-width: 768px) and (max-width: 1199px) {
  /* text block sits in the bottom-left corner (bottom-right in Arabic) */
  .video-content { align-items: flex-end; padding: 72px 0 64px; }
  .video-content .row { justify-content: flex-start; }
  .video-overlay {
    background: linear-gradient(to top, rgba(36,24,21,0.82) 0%, rgba(36,24,21,0.45) 40%, rgba(36,24,21,0.08) 75%, transparent 100%),
                linear-gradient(to right, rgba(36,24,21,0.35) 0%, transparent 60%);
  }
  [dir=rtl] .video-overlay {
    background: linear-gradient(to top, rgba(36,24,21,0.82) 0%, rgba(36,24,21,0.45) 40%, rgba(36,24,21,0.08) 75%, transparent 100%),
                linear-gradient(to left, rgba(36,24,21,0.35) 0%, transparent 60%);
  }
  .video-slide-tag { font-size: 0.64rem; padding: 6px 14px; margin-bottom: 14px; }
  .video-content h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
  .video-content p { font-size: 0.9rem; max-width: 440px; margin-bottom: 22px; }
  .video-btns { gap: 10px; margin-bottom: 26px; }
  .video-btns .btn-primary-custom, .video-btns .btn-outline-white { padding: 11px 22px; font-size: 0.84rem; }
  .video-trust { gap: 16px; padding-top: 20px; }
  .video-trust-icon { width: 34px; height: 34px; font-size: 0.85rem; }
  .video-trust-text strong { font-size: 0.8rem; }
  .video-trust-text span { font-size: 0.68rem; }
}

/* Home slider photo slide: show the whole photo, blurred copy fills the rest */
.video-slide-bg {
  position: absolute; inset: -30px;
  background-size: cover; background-position: center;
  filter: blur(22px) brightness(0.6) saturate(1.1);
}
.video-slide-img.is-contained { position: relative; object-fit: contain; }
.video-slide.active .video-slide-img.is-contained { transform: scale(1.03); }

/* Trademarks: equal-height cards, logo on top, text centred (same at every screen size) */
.brands-strip .row > [class*="col-"] { display: flex; }
.brand-pill {
  flex: 1; height: 100%;
  flex-direction: column; justify-content: center; text-align: center;
  gap: 10px; padding: 22px 18px;
}
.brand-pill-logo { width: 120px; height: 76px; }
.brand-pill-text strong { font-size: 1rem; margin-bottom: 2px; }
.brand-pill-text span { display: block; font-size: 0.8rem; line-height: 1.45; }
[dir=rtl] .brand-pill { flex-direction: column; text-align: center; }
[dir=rtl] .brand-pill-text { text-align: center; }

/* Features strip (under the home slider) on phones / small tablets: clean 2 × 2 grid,
   icon above text, centred. Logical borders so Arabic (RTL) lines up too. */
@media (max-width: 767px) {
  .features-strip .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-pill,
  [dir=rtl] .feature-pill {
    flex: none; flex-direction: column; justify-content: flex-start; text-align: center;
    gap: 10px; padding: 22px 12px;
    border: 0;
    border-inline-end: 1px solid rgba(255,255,255,0.13);
    border-bottom: 1px solid rgba(255,255,255,0.13);
  }
  .feature-pill:nth-child(2n) { border-inline-end: 0; }
  .feature-pill:nth-last-child(-n+2) { border-bottom: 0; }
  .feature-pill-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .feature-pill-text, [dir=rtl] .feature-pill-text { text-align: center; }
  .feature-pill-text strong { font-size: 0.88rem; line-height: 1.3; }
  .feature-pill-text span { display: block; font-size: 0.74rem; line-height: 1.4; margin-top: 3px; }
}
@media (max-width: 360px) {
  .feature-pill, [dir=rtl] .feature-pill { padding: 18px 8px; gap: 8px; }
  .feature-pill-icon { width: 38px; height: 38px; font-size: 0.95rem; }
  .feature-pill-text strong { font-size: 0.8rem; }
  .feature-pill-text span { font-size: 0.7rem; }
}

/* Home slider has no text now: show the video/photo in full colour,
   with only a faint bottom shade so the dots and counter stay visible */
.video-hero .video-overlay {
  background: linear-gradient(to top, rgba(36,24,21,0.4) 0%, rgba(36,24,21,0) 22%) !important;
}

/* Header: small "Jordan, Amman" line under the company name */
.nav-logo-text span {
  display: block; margin-top: 3px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); line-height: 1;
}
@media (max-width: 575px) { .nav-logo-text span { font-size: 0.54rem; letter-spacing: 0.1em; } }
