/* ==========================================================================
   Batavia Decorative Paints Trading — style.css
   Palette pulled from logo rainbow: coral, amber, gold, emerald, teal
   ========================================================================== */

:root {
  --c-ink: #0d1520;
  --c-ink-2: #1a2332;
  --c-muted: #5b6472;
  --c-line: #e6e9ee;
  --c-bg: #ffffff;
  --c-bg-2: #f7f5f1;
  --c-bg-3: #f2ede4;

  /* Brand — pulled from logo rainbow */
  --c-coral: #e74c3c;
  --c-amber: #f39c1f;
  --c-gold: #f4c430;
  --c-emerald: #2ecc71;
  --c-teal: #1abc9c;
  --c-sky: #56a8d8;
  --c-plum: #7d4a99;

  --c-primary: #b8863b;   /* refined gold, catalog cover */
  --c-primary-dk: #8f6425;
  --c-accent: #c9a15a;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(20, 25, 35, 0.06);
  --shadow: 0 20px 60px rgba(20, 25, 35, 0.10);
  --shadow-lg: 0 30px 80px rgba(20, 25, 35, 0.16);

  --f-serif: "Playfair Display", "Times New Roman", serif;
  --f-sans: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-arabic: "Cairo", "Segoe UI", "Tahoma", sans-serif;

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--f-arabic); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  font-family: var(--f-arabic); font-weight: 700; letter-spacing: 0;
}
p { margin: 0 0 1em; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--c-primary); color: #fff; }

.skip-link {
  position: absolute; top: -100px; left: 0; padding: 10px 16px;
  background: var(--c-ink); color: #fff; z-index: 999;
}
.skip-link:focus { top: 0; }

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

/* -- Eyebrow / helpers -- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding: 6px 12px;
  border: 1px solid rgba(184, 134, 59, 0.3);
  border-radius: 999px;
  background: rgba(184, 134, 59, 0.06);
  margin-bottom: 20px;
}
html[lang="ar"] .eyebrow { font-family: var(--f-arabic); letter-spacing: 0; }

.section { padding: 110px 0; position: relative; }
.section__head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section__title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
.section__lead { font-size: 18px; color: var(--c-muted); margin-top: 18px; }
.section__body { color: var(--c-muted); }

/* -- Buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dk));
  color: #fff;
  box-shadow: 0 10px 30px rgba(143, 100, 37, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(143, 100, 37, 0.45); }
.btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--wide { width: 100%; padding: 16px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
  background: rgba(13, 21, 32, 0.15);
  backdrop-filter: saturate(160%) blur(8px);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.site-header:not(.is-scrolled) .nav__menu a { color: #fff; }
.site-header:not(.is-scrolled) .nav__menu a:hover { color: var(--c-accent); }
.site-header:not(.is-scrolled) .lang-switch {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}
.site-header:not(.is-scrolled) .lang-btn { color: #fff; }
.site-header:not(.is-scrolled) .lang-btn:hover { background: rgba(255, 255, 255, 0.14); }
.site-header:not(.is-scrolled) .lang-btn.is-active { background: #fff; color: var(--c-ink); }
.site-header:not(.is-scrolled) .nav__toggle span { background: #fff; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; position: relative; }
.brand__logo { height: 72px; width: auto; display: block; transition: opacity 0.3s var(--ease), height 0.3s var(--ease); }
.brand__logo--light { position: relative; }
.brand__logo--dark {
  position: absolute; top: 0; left: 0; opacity: 0;
}
html[dir="rtl"] .brand__logo--dark { left: auto; right: 0; }
.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }
.site-header.is-scrolled .brand__logo { height: 56px; }
@media (max-width: 900px) {
  .brand__logo { height: 60px; }
  .site-header.is-scrolled .brand__logo { height: 48px; }
}
@media (max-width: 600px) {
  .brand__logo { height: 48px; }
  .site-header.is-scrolled .brand__logo { height: 40px; }
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__menu { display: flex; gap: 32px; align-items: center; }
.nav__menu a {
  font-weight: 500; font-size: 14.5px; color: var(--c-ink); position: relative;
  padding: 6px 0; transition: color 0.2s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--c-primary); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
html[dir="rtl"] .nav__menu a::after { transform-origin: right; }
.nav__menu a:hover { color: var(--c-primary); }
.nav__menu a:hover::after { transform: scaleX(1); }

/* Language switcher */
.lang-switch { display: inline-flex; gap: 6px; padding: 4px; background: var(--c-bg-2); border-radius: 999px; border: 1px solid var(--c-line); }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 6px; border: none; background: transparent; border-radius: 999px;
  color: var(--c-ink); font-weight: 600; font-size: 12px; letter-spacing: 0.06em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
html[dir="rtl"] .lang-btn { padding: 6px 6px 6px 10px; }
.lang-btn:hover { background: rgba(0, 0, 0, 0.04); }
.lang-btn.is-active { background: var(--c-ink); color: #fff; }
.flag {
  width: 20px; height: 14px; border-radius: 3px; overflow: hidden; display: inline-flex;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.flag svg { width: 100%; height: 100%; display: block; }

/* Mobile toggle */
.nav__toggle { display: none; background: transparent; border: 0; padding: 8px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px;
  margin: 4px 0; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

@media (max-width: 900px) {
  .nav__toggle { display: block; order: 2; }
  .lang-switch { order: 1; }
  .nav { gap: 8px; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--c-line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);
  }
  .nav__menu.is-open { max-height: 400px; }
  .nav__menu li { border-bottom: 1px solid var(--c-line); }
  .nav__menu a { display: block; padding: 16px 24px; }
  /* Mobile dropdown has a white background — force dark text regardless of
     the header's over-hero state, so links stay legible. */
  .site-header:not(.is-scrolled) .nav__menu a { color: var(--c-ink); }
  .site-header:not(.is-scrolled) .nav__menu a:hover { color: var(--c-primary); }
  .brand__sub { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh; padding-top: var(--header-h); position: relative; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 15% 20%, rgba(231, 76, 60, 0.35), transparent 60%),
    radial-gradient(1000px 700px at 85% 80%, rgba(46, 204, 113, 0.28), transparent 55%),
    radial-gradient(900px 600px at 60% 40%, rgba(243, 156, 31, 0.22), transparent 60%),
    linear-gradient(160deg, #0d1520 0%, #1a2332 50%, #0d1520 100%);
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.hero__blob--1 { top: -80px; left: -80px; width: 480px; height: 480px; background: var(--c-coral); animation-delay: 0s; }
.hero__blob--2 { bottom: -120px; right: -100px; width: 520px; height: 520px; background: var(--c-gold); animation-delay: -6s; }
.hero__blob--3 { top: 40%; left: 55%; width: 380px; height: 380px; background: var(--c-teal); animation-delay: -12s; opacity: 0.4; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}
.hero__grain {
  position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; padding: 120px 0 80px; }
.hero__copy { max-width: 780px; }
.hero__copy .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.hero__title {
  font-size: clamp(38px, 6vw, 74px);
  letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #fff 40%, #d8c9a0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.82);
  max-width: 620px; margin-bottom: 36px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 30px; height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  display: flex; justify-content: center;
  padding-top: 8px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  animation: scrollFrame 2.4s ease-in-out infinite;
}
.hero__scroll-line {
  display: block; width: 4px; height: 10px;
  background: #fff;
  border-radius: 999px;
  animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(18px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes scrollFrame {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

/* ==========================================================================
   WELCOME — warm intro (replaces old About)
   ========================================================================== */
.welcome {
  background:
    radial-gradient(700px 400px at 90% 20%, rgba(184, 134, 59, 0.08), transparent 60%),
    var(--c-bg-2);
}
.welcome__container { max-width: 820px; }
.welcome__inner { text-align: center; }
.welcome__title {
  font-size: clamp(32px, 4.5vw, 54px);
  margin: 12px 0 32px;
  background: linear-gradient(180deg, var(--c-ink) 20%, var(--c-primary-dk) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[lang="ar"] .welcome__title { background: none; color: var(--c-ink); }
.welcome__p {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--c-ink-2);
  margin: 0 0 20px;
}
.welcome__p--lead { font-size: 19px; color: var(--c-muted); }
.welcome__p--emphasis {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--c-primary-dk);
  margin: 30px 0;
}
html[lang="ar"] .welcome__p--emphasis { font-family: var(--f-arabic); font-style: normal; font-weight: 600; }
.welcome__closing {
  margin-top: 36px;
  padding: 14px 30px;
  display: inline-block;
  border: 1px solid var(--c-primary);
  border-radius: 999px;
  font-weight: 600;
  color: var(--c-primary-dk);
  letter-spacing: 0.02em;
  background: rgba(184, 134, 59, 0.06);
}

/* ==========================================================================
   STORY / OUR JOURNEY — editorial long-form brand section
   ========================================================================== */
.story {
  background:
    radial-gradient(1200px 600px at 90% 10%, rgba(184, 134, 59, 0.06), transparent 60%),
    radial-gradient(900px 500px at 5% 95%, rgba(46, 204, 113, 0.05), transparent 60%),
    var(--c-bg-2);
  padding: 130px 0;
}
.story__container { max-width: 900px; }
.story__head { text-align: center; margin-bottom: 56px; }
.story__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; margin: 0 0 22px; }
.story__lead { font-size: 19px; color: var(--c-muted); max-width: 720px; margin: 0 auto; }

/* Timeline chip row */
.story__timeline {
  display: flex; align-items: stretch; justify-content: center; gap: 18px;
  margin: 56px auto 72px;
  padding: 0; list-style: none;
  flex-wrap: wrap;
}
.milestone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 22px 28px;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.milestone:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.milestone__year {
  font-family: var(--f-serif); font-weight: 700;
  font-size: 26px; color: var(--c-primary); line-height: 1;
}
html[lang="ar"] .milestone__year { font-family: var(--f-arabic); }
.milestone__place {
  margin-top: 8px;
  font-size: 13px; color: var(--c-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
html[lang="ar"] .milestone__place { text-transform: none; letter-spacing: 0; font-size: 14px; }
.milestone--new {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dk));
  border-color: transparent;
}
.milestone--new .milestone__year,
.milestone--new .milestone__place { color: #fff; }
.milestone--new .milestone__place { opacity: 0.85; }
.milestone--connector {
  min-width: 0; padding: 0;
  background: none; border: none; box-shadow: none;
  align-self: center;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--c-line), var(--c-primary), var(--c-line));
  border-radius: 2px;
}
.milestone--connector:hover { transform: none; box-shadow: none; }

/* Long-form prose */
.story__prose { margin: 0 auto; max-width: 720px; }
.story__prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink-2);
  margin: 0 0 24px;
}
.story__prose p:last-child { margin-bottom: 0; }

/* Pull quote */
.story__quote {
  margin: 48px 0;
  padding: 32px 40px;
  border-inline-start: 3px solid var(--c-primary);
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  line-height: 1.35;
  color: var(--c-ink);
  background: rgba(184, 134, 59, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  quotes: "\201C" "\201D";
}
html[dir="rtl"] .story__quote { border-radius: var(--radius) 0 0 var(--radius); }
html[lang="ar"] .story__quote { font-family: var(--f-arabic); font-style: normal; font-weight: 600; }
.story__quote::before {
  content: open-quote;
  font-size: 1.6em; color: var(--c-primary); line-height: 0;
  vertical-align: -0.25em; margin-inline-end: 0.15em;
}
.story__quote::after {
  content: close-quote;
  font-size: 1.6em; color: var(--c-primary); line-height: 0;
  vertical-align: -0.4em; margin-inline-start: 0.15em;
}

/* Story: three pillars (Every market...) */
.story__pillars {
  margin: 40px auto;
  padding: 0; list-style: none;
  display: grid; gap: 12px;
  max-width: 620px;
}
.story__pillars li {
  padding: 16px 22px;
  background: rgba(184, 134, 59, 0.06);
  border-inline-start: 3px solid var(--c-primary);
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--c-ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
html[dir="rtl"] .story__pillars li { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
html[lang="ar"] .story__pillars li { font-family: var(--f-arabic); font-style: normal; font-weight: 600; }

/* Story: single commitment paragraph, gold emphasis */
.story__commitment {
  margin: 40px auto 0;
  padding: 22px 30px;
  max-width: 720px;
  text-align: center;
  font-family: var(--f-serif);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--c-primary-dk);
  font-style: italic;
  line-height: 1.4;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
html[lang="ar"] .story__commitment { font-family: var(--f-arabic); font-style: normal; font-weight: 600; }

@media (max-width: 700px) {
  .story { padding: 90px 0; }
  .story__quote { padding: 24px 24px; margin: 36px 0; }
}

/* ==========================================================================
   FOUNDATION — Why BATAVIA + Vision + Mission (3 cards)
   ========================================================================== */
.foundation { background: #fff; }
.foundation__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 60px;
}
.foundation__card {
  padding: 40px 32px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.foundation__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.foundation__card--why {
  background: linear-gradient(135deg, #fdfbf6, #f6ede0);
  border-color: rgba(184, 134, 59, 0.2);
}
.foundation__card--mission {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dk));
  color: #fff;
  border-color: transparent;
}
.foundation__card--mission .foundation__label { color: rgba(255, 255, 255, 0.8); }
.foundation__card--mission .foundation__title { color: #fff; }
.foundation__card--mission .foundation__body { color: rgba(255, 255, 255, 0.9); }
.foundation__label {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-primary); font-weight: 700; margin-bottom: 18px;
}
html[lang="ar"] .foundation__label { text-transform: none; letter-spacing: 0.05em; font-size: 14px; }
.foundation__title {
  font-family: var(--f-serif); font-weight: 600; font-size: 22px;
  line-height: 1.25; margin: 0 0 16px; color: var(--c-ink);
}
html[lang="ar"] .foundation__title { font-family: var(--f-arabic); font-weight: 700; }
.foundation__body {
  font-size: 15px; line-height: 1.7; color: var(--c-muted);
  margin: 0 0 12px;
}
.foundation__body:last-child { margin-bottom: 0; }

@media (max-width: 900px) { .foundation__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PHILOSOPHY — poetic composition
   ========================================================================== */
.philosophy {
  background:
    radial-gradient(800px 400px at 10% 20%, rgba(184, 134, 59, 0.06), transparent 60%),
    radial-gradient(700px 400px at 90% 90%, rgba(46, 204, 113, 0.05), transparent 60%),
    var(--c-bg-2);
}
.philosophy__container { max-width: 820px; }
.philosophy__inner { text-align: center; }
.philosophy__title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0 40px;
  line-height: 1.15;
}
.philosophy__lines {
  list-style: none; padding: 0; margin: 40px auto;
  max-width: 640px;
  display: grid; gap: 18px;
}
.philosophy__line {
  padding: 18px 28px;
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--c-ink);
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.philosophy__line:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
html[lang="ar"] .philosophy__line { font-family: var(--f-arabic); font-style: normal; font-weight: 600; }
.philosophy__closing {
  font-family: var(--f-serif); font-size: clamp(17px, 1.8vw, 20px);
  color: var(--c-ink); line-height: 1.6;
  max-width: 620px; margin: 12px auto;
}
html[lang="ar"] .philosophy__closing { font-family: var(--f-arabic); font-weight: 500; }

/* ==========================================================================
   VALUES — 6 core value cards (replaces old Features)
   ========================================================================== */
.values { background: #fff; }
.values__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 60px;
}
.value {
  padding: 32px 28px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.value__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dk));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.value__title { font-size: 20px; margin: 0 0 10px; }
.value__desc { color: var(--c-muted); font-size: 14.5px; margin: 0; line-height: 1.6; }

@media (max-width: 900px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WHY INDONESIA — compact impact block
   ========================================================================== */
.why-id {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  color: #fff; overflow: hidden;
  position: relative;
}
.why-id::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(231, 0, 17, 0.15), transparent 60%),
    radial-gradient(600px 400px at 20% 80%, rgba(184, 134, 59, 0.18), transparent 60%);
  pointer-events: none;
}
.why-id__container { max-width: 820px; position: relative; z-index: 1; }
.why-id__inner { text-align: center; }
.why-id .eyebrow {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.why-id__title {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  background: linear-gradient(180deg, #fff 30%, #d8c9a0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
html[lang="ar"] .why-id__title { background: none; color: #fff; }
.why-id__subtitle {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--c-accent);
  margin: 0 0 32px;
}
html[lang="ar"] .why-id__subtitle { font-family: var(--f-arabic); font-style: normal; font-weight: 600; }
.why-id__body {
  font-size: 17px; line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 16px;
  max-width: 640px;
}

/* ==========================================================================
   PORTFOLIO strip inside Products section
   ========================================================================== */
.portfolio {
  margin-top: 80px;
  padding: 48px 40px;
  background: linear-gradient(135deg, #fdfbf6, #f6ede0);
  border: 1px solid rgba(184, 134, 59, 0.2);
  border-radius: var(--radius-lg);
}
.portfolio__head { text-align: center; margin-bottom: 32px; }
.portfolio__title {
  font-family: var(--f-serif); font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 10px; color: var(--c-ink);
}
html[lang="ar"] .portfolio__title { font-family: var(--f-arabic); font-weight: 700; }
.portfolio__subtitle {
  color: var(--c-muted); font-size: 15px;
  max-width: 560px; margin: 0 auto;
}
.portfolio__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.portfolio__item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--c-ink-2);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.portfolio__item:hover { transform: translateY(-2px); border-color: var(--c-primary); }
.portfolio__bullet { color: var(--c-primary); font-size: 10px; }
.portfolio__note {
  margin-top: 24px;
  text-align: center;
  font-style: italic;
  color: var(--c-muted);
  font-size: 14px;
}

@media (max-width: 1000px) { .portfolio__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .portfolio__grid { grid-template-columns: 1fr; } .portfolio { padding: 32px 20px; } }

/* ==========================================================================
   CHOOSE — Why Choose BATAVIA checklist
   ========================================================================== */
.choose { background: var(--c-bg-2); }
.choose__grid {
  list-style: none; padding: 0; margin: 60px auto 0;
  max-width: 1000px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.choose__item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.choose__item:hover {
  transform: translateY(-3px); border-color: var(--c-primary);
  background: linear-gradient(135deg, #fff, #fdfbf6);
}
.choose__check {
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dk));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  margin-top: 1px;
}
.choose__label {
  font-size: 15px; font-weight: 500; color: var(--c-ink);
  line-height: 1.4;
}

@media (max-width: 900px) { .choose__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .choose__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SUSTAINABILITY + INNOVATION — 2 large panels
   ========================================================================== */
.susinno { background: #fff; }
.susinno__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 60px;
}
.susinno__card {
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.susinno__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.susinno__card--sus {
  background: linear-gradient(135deg, #f0f7f2, #d9ecdf);
  color: var(--c-ink);
}
.susinno__card--inn {
  background: linear-gradient(135deg, #0d1520, #1a2332);
  color: #fff;
}
.susinno__card--inn .susinno__label { color: var(--c-accent); }
.susinno__card--inn .susinno__title { color: #fff; }
.susinno__card--inn .susinno__body { color: rgba(255, 255, 255, 0.85); }
.susinno__label {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-primary); font-weight: 700;
  margin-bottom: 20px; display: inline-block;
}
html[lang="ar"] .susinno__label { text-transform: none; letter-spacing: 0.05em; font-size: 14px; }
.susinno__title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2; margin: 0 0 20px;
  color: var(--c-ink);
}
html[lang="ar"] .susinno__title { font-family: var(--f-arabic); font-weight: 700; }
.susinno__body {
  font-size: 16px; line-height: 1.7;
  color: var(--c-ink-2);
  margin: 0 0 14px;
}
.susinno__body:last-child { margin-bottom: 0; }

@media (max-width: 900px) { .susinno__grid { grid-template-columns: 1fr; } .susinno__card { padding: 36px 28px; } }

/* ==========================================================================
   CLOSING — Promise + Looking Ahead + Thank You + Signature
   ========================================================================== */
.closing {
  background:
    radial-gradient(1000px 500px at 10% 20%, rgba(184, 134, 59, 0.28), transparent 60%),
    radial-gradient(900px 500px at 90% 90%, rgba(46, 204, 113, 0.2), transparent 60%),
    linear-gradient(160deg, #0d1520 0%, #1a2332 50%, #0d1520 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.4; mix-blend-mode: overlay;
  pointer-events: none;
}
.closing__container { max-width: 900px; position: relative; z-index: 1; }
.closing .eyebrow {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.closing__promise { text-align: center; margin-bottom: 80px; }
.closing__promise-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  color: #fff; margin: 12px 0 32px;
}
html[lang="ar"] .closing__promise-title { font-family: var(--f-arabic); font-weight: 700; }
.promise__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 680px; margin: 0 auto;
}
.promise__item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.promise__item:hover { background: rgba(184, 134, 59, 0.15); border-color: var(--c-accent); }
.promise__num {
  flex: none;
  font-family: var(--f-serif); font-weight: 700;
  font-size: 24px; color: var(--c-accent);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
}
html[lang="ar"] .promise__num { font-family: var(--f-arabic); }
.promise__label { font-size: 16px; font-weight: 500; color: #fff; }

.closing__ahead {
  text-align: center; margin-bottom: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.closing__ahead-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  color: #fff; margin: 12px 0 24px;
}
html[lang="ar"] .closing__ahead-title { font-family: var(--f-arabic); font-weight: 700; }
.closing__ahead-body {
  font-size: 17px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px; margin: 0 auto 16px;
}
.closing__ahead-body--emphasis {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--c-accent);
  margin-top: 24px;
}
html[lang="ar"] .closing__ahead-body--emphasis { font-family: var(--f-arabic); font-style: normal; font-weight: 600; }

.closing__thanks {
  text-align: center; margin-bottom: 70px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.closing__thanks-eyebrow { margin-bottom: 24px; }
.closing__thanks-body {
  font-family: var(--f-serif);
  font-size: clamp(19px, 2vw, 24px);
  color: #fff;
  line-height: 1.5;
  margin: 0 auto 12px;
  max-width: 600px;
}
html[lang="ar"] .closing__thanks-body { font-family: var(--f-arabic); font-weight: 500; }

.closing__signature {
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.closing__brand {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #fff 20%, var(--c-accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 20px;
}
html[lang="ar"] .closing__brand { font-family: var(--f-arabic); }
.closing__tagline {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid rgba(184, 134, 59, 0.5);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-accent);
  margin: 0;
  background: rgba(184, 134, 59, 0.1);
  font-size: clamp(13px, 1.4vw, 16px);
}

@media (max-width: 700px) {
  .promise__list { grid-template-columns: 1fr; }
  .closing__promise, .closing__ahead, .closing__thanks { margin-bottom: 56px; }
  .closing__ahead, .closing__thanks, .closing__signature { padding-top: 40px; }
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products {
  background: linear-gradient(180deg, var(--c-bg-2) 0%, #fff 100%);
}
.products__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-3);
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px; background: rgba(13, 21, 32, 0.85); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px; backdrop-filter: blur(6px);
}
html[dir="rtl"] .product-card__badge { left: auto; right: 16px; }
.product-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 24px; margin-bottom: 6px; }
.product-card__tag {
  font-size: 13px; color: var(--c-primary); font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.product-card__desc { color: var(--c-muted); font-size: 14.5px; flex: 1; margin-bottom: 20px; }
.product-card__cta {
  align-self: flex-start; font-weight: 600; color: var(--c-ink);
  border-bottom: 1px solid var(--c-primary); padding-bottom: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.product-card__cta:hover { color: var(--c-primary); }
.product-card__cta .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
html[dir="rtl"] .product-card__cta .arrow { transform: scaleX(-1); }
.product-card__cta:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .product-card__cta:hover .arrow { transform: scaleX(-1) translateX(4px); }

@media (max-width: 960px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--c-ink); color: #fff; }
.contact .section__title,
.contact .section__lead { color: #fff; }
.contact .section__lead { color: rgba(255, 255, 255, 0.78); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}
.contact__info { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact__info li { display: flex; flex-direction: column; gap: 6px; }
.contact__label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 600;
}
.contact__value { color: rgba(255, 255, 255, 0.9); font-size: 15px; }
.contact__email-link {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  word-break: break-all;
}
.contact__email-link:hover { color: #fff; border-bottom-color: var(--c-accent); }
.site-footer .contact__email-link { color: rgba(255, 255, 255, 0.85); }
.site-footer .contact__email-link:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }

.contact__form {
  background: #fff; color: var(--c-ink); padding: 40px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 15px;
  color: var(--c-ink); background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
html[lang="ar"] .field input, html[lang="ar"] .field textarea { font-family: var(--f-arabic); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(184, 134, 59, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field--split > div { margin: 0; }

.form-status {
  margin-top: 14px; font-size: 14px; color: var(--c-primary);
  opacity: 0; transform: translateY(-4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.form-status.is-visible { opacity: 1; transform: none; }
.form-status.is-error { color: #c8102e; }

/* Honeypot — invisible to humans, present in DOM for bots to fill.
   Use several signals so screen readers also ignore it. */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__info { grid-template-columns: 1fr; }
  .contact__form { padding: 28px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060a10; color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 24px;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__logo { height: 44px; width: auto; display: block; margin-bottom: 4px; }
.site-footer__brand p { margin-top: 16px; max-width: 340px; font-size: 14.5px; }
.site-footer h4 {
  font-family: var(--f-sans); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700;
}
html[lang="ar"] .site-footer h4 { font-family: var(--f-arabic); }
.site-footer__links li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer__links a { transition: color 0.2s var(--ease); }
.site-footer__links a:hover { color: var(--c-accent); }
.site-footer__baseline {
  padding-top: 24px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); text-align: center;
}

@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   PRODUCT CARD — clickable, count badge
   ========================================================================== */
.product-card { cursor: pointer; outline: none; }
.product-card:focus-visible { box-shadow: 0 0 0 3px rgba(184, 134, 59, 0.55); }
.product-card__count {
  position: absolute; top: 16px;
  padding: 6px 10px; background: rgba(184, 134, 59, 0.95); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 999px;
  right: 16px;
}
html[dir="rtl"] .product-card__count { right: auto; left: 16px; }
.product-card__cta { user-select: none; }

/* ==========================================================================
   LIGHTBOX — album viewer
   ========================================================================== */
body.no-scroll { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 10, 16, 0.92);
  backdrop-filter: blur(10px);
}
.lightbox__frame {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__stage {
  position: relative;
  width: min(94vw, 1400px);
  height: min(88vh, 900px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}
.lightbox__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform-origin: center center;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__img.is-zoomed { cursor: grab; transition: none; }
.lightbox__img.is-loading { opacity: 0.3; }
.lightbox__img:active.is-zoomed { cursor: grabbing; }

.lightbox__btn {
  position: absolute; z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 25, 35, 0.7);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  backdrop-filter: blur(6px);
}
.lightbox__btn:hover { background: rgba(184, 134, 59, 0.9); transform: scale(1.06); }
.lightbox__btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.lightbox__btn--close { top: 24px; right: 24px; }
html[dir="rtl"] .lightbox__btn--close { right: auto; left: 24px; }
.lightbox__btn--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev:hover, .lightbox__btn--next:hover { transform: translateY(-50%) scale(1.06); }
/* RTL: swap positions so left button = next (reading-forward), right button = prev.
   Chevrons stay pointing outward (‹ on left, › on right) — visually intuitive. */
html[dir="rtl"] .lightbox__btn--prev { left: auto; right: 24px; }
html[dir="rtl"] .lightbox__btn--next { right: auto; left: 24px; }
html[dir="rtl"] .lightbox__btn--prev svg { transform: scaleX(-1); }
html[dir="rtl"] .lightbox__btn--next svg { transform: scaleX(-1); }

.lightbox__hud {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 25, 35, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  max-width: 92vw;
}
.lightbox__title { font-weight: 600; letter-spacing: 0.02em; }
.lightbox__counter { color: var(--c-accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__hint { color: rgba(255, 255, 255, 0.55); font-size: 12px; }

@media (max-width: 700px) {
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__btn--close { top: 14px; right: 14px; }
  html[dir="rtl"] .lightbox__btn--close { right: auto; left: 14px; }
  .lightbox__btn--prev { left: 10px; }
  .lightbox__btn--next { right: 10px; }
  .lightbox__hud { bottom: 14px; padding: 8px 14px; font-size: 12px; gap: 12px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .lightbox__hint { display: none; }
}

/* ==========================================================================
   RTL — Arabic-specific tweaks
   ========================================================================== */
html[dir="rtl"] .hero__title { letter-spacing: 0; }
html[dir="rtl"] .brand { flex-direction: row-reverse; }
html[dir="rtl"] .brand__text { align-items: flex-end; }
html[dir="rtl"] .contact__form { text-align: right; }
html[dir="rtl"] .site-footer__brand p { margin-inline-start: 0; }
