@charset "UTF-8";

:root {
  --header-total-height: 118px;
}
@media (max-width: 768px) {
  :root {
    --header-total-height: 91px;
  }
}
@media (max-width: 420px) {
  :root {
    --header-total-height: 87px;
  }
}

/* UKIJ Ekran font declarations (supports both 'UKIJ Ekran' and 'UKIJEkran' aliases, local install, /font/ and /fonts/ paths, and all weights) */
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Ekran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJEkran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJEkran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJEkran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJEkran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJEkran';
  src: local('UKIJ Ekran'),
       local('UKIJEkran'),
       url('/font/UKIJEkran.ttf') format('truetype'),
       url('/fonts/UKIJEkran.ttf') format('truetype'),
       url('/fonts/ukijekran.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Tuz';
  src: local('UKIJ Tuz'),
       local('UKIJTuz'),
       url('/fonts/ukijtuz.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Tuz';
  src: local('UKIJ Tuz'),
       local('UKIJTuz'),
       url('/fonts/ukijtuz.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Tuz';
  src: local('UKIJ Tuz'),
       local('UKIJTuz'),
       url('/fonts/ukijtuz.ttf') format('truetype');
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Tuz';
  src: local('UKIJ Tuz Bold'),
       local('UKIJTuzBold'),
       url('/fonts/ukijtuzbold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Tuz';
  src: local('UKIJ Tuz Bold'),
       local('UKIJTuzBold'),
       url('/fonts/ukijtuzbold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UKIJ Tuz';
  src: local('UKIJ Tuz Bold'),
       local('UKIJTuzBold'),
       url('/fonts/ukijtuzbold.ttf') format('truetype');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Noto Naskh Arabic Font Declarations (Variable font [wght] 100-900)
   ========================================================================== */
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NotoNaskhArabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  src: local('Noto Naskh Arabic'),
       local('NotoNaskhArabic'),
       url('/font/NotoNaskhArabic.ttf') format('truetype'),
       url('/fonts/NotoNaskhArabic.ttf') format('truetype'),
       url('/font/NotoNaskhArabic[wght].ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #261e18;
  --ink-soft: #382c23;
  --ink-deep: #1b1511;
  --gold: #c5a059;
  --gold-bright: #d4af37;
  --gold-light: #f6e4be;
  --gold-deep: #9e7422;
  --gold-gradient: linear-gradient(135deg, #f7df9e 0%, #d4af37 50%, #b8871f 100%);
  --orange: #c86828;
  --orange-light: #df7c38;
  --paper: #faf7f2;
  --paper-2: #f2ede4;
  --paper-card: #ffffff;
  --text: #2d231c;
  --muted: #6b5d50;
  --line: rgba(100, 75, 45, 0.12);
  --line-gold: rgba(212, 175, 55, 0.35);
  --shadow-sm: 0 4px 14px rgba(60, 42, 20, 0.05);
  --shadow: 0 16px 42px rgba(60, 42, 20, 0.08);
  --shadow-lg: 0 28px 65px rgba(60, 42, 20, 0.11);
  --wrap: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --card-radius: 8px;
  --card-bg: #ffffff;
  --card-border-color: rgba(197, 160, 89, 0.28);
  --card-border-width: 1px;
  --card-shadow: 0 8px 24px rgba(60, 42, 20, 0.06);
  --card-hover-transform: translateY(-6px);
  --card-title-color: #261e18;
  --card-desc-color: #5c4f42;
  --card-link-color: #a87b28;
  --card-badge-color: #a87b28;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-total-height, 118px) + 16px);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-total-height, 118px);
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Aptos", Arial, 'UKIJ Ekran', 'UKIJ Tuz', 'Noto Naskh Arabic', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: opacity 0.15s ease;
}

/* Anti-FOUT: Prevent flash of unstyled/untranslated text on initial load */
html.i18n-loading body {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}

/* Seamless fade transition during active language switching */
html.is-switching-lang body {
  opacity: 0.05 !important;
  transition: opacity 0.07s ease-out !important;
  pointer-events: none !important;
}

.site-page,
main {
  max-width: 100%;
  overflow-x: hidden;
}

body, button, input, select, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, select, input, textarea {
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

[hidden] {
  display: none !important;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--gold-bright);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }


/* ==========================================================================
   Top Announcement Ticker Bar (Above Header Navbar)
   ========================================================================== */
.top-ticker-bar {
  position: relative;
  z-index: 45;
  display: flex;
  align-items: center;
  height: 38px;
  background: linear-gradient(90deg, #0e1315 0%, #171e22 50%, #0e1315 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.32);
  color: #f7f3ea;
  font-size: 13.5px;
  line-height: 1;
  overflow: hidden;
  user-select: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(184, 135, 31, 0.32) 100%);
  border-inline-end: 1px solid rgba(212, 175, 55, 0.38);
  color: #f3ca65;
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.25);
}

.ticker-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: tickerDotPulse 2s ease-in-out infinite;
}

@keyframes tickerDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: tickerScrollLTR 68s linear infinite;
  will-change: transform;
}

.top-ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #f4ede1;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: #ffffff;
}

.ticker-bullet {
  color: #dfb246;
  font-size: 11px;
  margin-inline-end: 12px;
  opacity: 0.9;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

/* RTL Marquee for Uyghur & Arabic */
html[dir="rtl"] .ticker-track {
  animation-name: tickerScrollRTL;
}

@keyframes tickerScrollLTR {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes tickerScrollRTL {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(50%, 0, 0);
  }
}

/* Uyghur & Arabic typography */
html[lang="ug"] .top-ticker-bar,
html[lang="ug"] .ticker-item,
html[lang="ug"] .ticker-badge-text {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', -apple-system, sans-serif !important;
  letter-spacing: 0 !important;
  font-size: 14px;
}

html[lang="ar"] .top-ticker-bar,
html[lang="ar"] .ticker-item,
html[lang="ar"] .ticker-badge-text {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
  font-size: 14px;
}

html[lang="ug"] .ticker-badge,
html[lang="ar"] .ticker-badge {
  font-size: 13px;
  font-weight: 700;
}

/* Dark theme styling */
html[data-theme="dark"] .top-ticker-bar {
  background: linear-gradient(90deg, #090c0e 0%, #111618 50%, #090c0e 100%);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 -1px 0 rgba(212, 175, 55, 0.1);
}

/* Mobile responsive rules */
@media (max-width: 768px) {
  .top-ticker-bar {
    height: 33px;
    font-size: 12.5px;
  }
  .ticker-badge {
    padding: 0 10px;
    font-size: 11px;
  }
  .ticker-item {
    font-size: 12.5px;
    padding: 0 10px;
  }
  .ticker-bullet {
    margin-inline-end: 8px;
    font-size: 10px;
  }
  html[lang="ug"] .top-ticker-bar,
  html[lang="ug"] .ticker-item,
  html[lang="ar"] .top-ticker-bar,
  html[lang="ar"] .ticker-item {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .ticker-badge-text {
    display: none;
  }
  .ticker-badge {
    padding: 0 8px;
  }
}

/* Fixed Header & Navbar (always stays pinned to top on scroll) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  isolation: isolate;
  background: rgba(248, 247, 243, 0.98);
  border-bottom: 1px solid rgba(20, 25, 28, 0.08);
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: visible !important;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}
.site-header.has-lang-open,
.site-header:has(.language-dropdown-menu.is-open) {
  z-index: 100000 !important;
}
.site-header.has-lang-open::before,
.site-header:has(.language-dropdown-menu.is-open)::before {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(14, 18, 20, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 28px);
  max-width: 100%;
}

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(32, 22, 6, 0.1));
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}
.brand:hover .brand-logo-img {
  transform: scale(1.05);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.brand-copy strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.brand-copy small {
  margin-top: 4px;
  color: #9e752d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  margin-inline: auto;
  min-width: 0;
}
.main-nav-links {
  display: contents;
}
.nav-arrow {
  display: none;
}
.nav-mobile-foot {
  display: none;
}
.main-nav a {
  position: relative;
  padding: 12px 0;
  color: #383e40;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 4px;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover {
  color: #9e752d;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
/* Header Actions - 3 Buttons Perfectly Equal Height (40px) */
@media (min-width: 1025px) {
  .header-actions .language-control-btn,
  .header-actions .theme-toggle-btn,
  .header-actions .header-quote {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    box-sizing: border-box !important;
  }
  .header-actions .theme-toggle-btn {
    width: 40px !important;
  }
}


/* Custom In-Place Language Dropdown (stays pinned to header on mobile & desktop) */
#languageSelect, .sr-only { display: none !important; }

/* Header Actions element ordering: Moon to the left of language selector in LTR */
.theme-toggle-btn {
  order: 1;
}
.language-control-wrap {
  order: 2;
}
.header-quote {
  order: 3;
}
.mobile-menu {
  order: 4;
}

html[dir="rtl"] .theme-toggle-btn {
  order: 1;
}
html[dir="rtl"] .language-control-wrap {
  order: 2;
}
html[dir="rtl"] .header-quote {
  order: 3;
}
html[dir="rtl"] .mobile-menu {
  order: 4;
}

.language-control-wrap {
  position: relative;
  display: inline-flex;
  width: 98px;
  flex-shrink: 0;
  z-index: 10001;
  overflow: visible !important;
}

.language-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  background: rgba(22, 27, 30, 0.05);
  border: 1px solid rgba(22, 27, 30, 0.12);
  border-radius: 6px;
  padding: 6px 7px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s ease;
}

.language-control-btn:hover,
.language-control-btn:focus-visible {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.1);
  color: #9e752d;
}

.lang-btn-lead,
.lang-option-lead {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.lang-flag {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  background: #f0f0f0;
}

.lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.language-current-label,
.lang-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.language-chevron {
  font-size: 8px;
  opacity: 0.65;
  transition: transform 0.2s ease;
  margin-inline-start: 2px;
  flex-shrink: 0;
}

.language-control-btn[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  inset-inline-start: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(30, 24, 18, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 3px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 10002;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.language-dropdown-menu.is-open {
  display: flex;
  animation: langDropdownSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes langDropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 6px;
  gap: 6px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #261e18;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: start;
  transition: background 0.15s, color 0.15s;
}

[dir="rtl"] .lang-option,
html[lang="ug"] .lang-option,
html[lang="ar"] .lang-option {
  justify-content: flex-start;
  text-align: right;
}

/* Unified typography for language names - identical 12.5px font-size for all languages */
.language-current-label,
.lang-name,
.language-dropdown-menu .lang-option .lang-name,
.language-dropdown-menu .lang-option[data-lang="ug"] .lang-name,
.language-dropdown-menu .lang-option[data-lang="ar"] .lang-name,
.language-dropdown-menu .lang-option[data-lang="en"] .lang-name,
.language-dropdown-menu .lang-option[data-lang="tr"] .lang-name,
.language-dropdown-menu .lang-option[data-lang="fr"] .lang-name,
#langCurrentLabel {
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

/* Explicit font family mapping per script */
.language-dropdown-menu .lang-option[data-lang="ug"],
.language-dropdown-menu .lang-option[data-lang="ug"] .lang-name,
.lang-option[data-lang="ug"],
.lang-option[data-lang="ug"] .lang-name,
.language-control-wrap [data-lang="ug"] .lang-name,
html[lang="ug"] .language-current-label,
.language-current-label[data-lang="ug"],
#langCurrentLabel[data-lang="ug"] {
  font-family: 'UKIJ Ekran', 'UKIJEkran', 'UKIJ Tuz', 'Alpida Unicode System', 'Microsoft Uighur', Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
}

.language-dropdown-menu .lang-option[data-lang="ar"],
.language-dropdown-menu .lang-option[data-lang="ar"] .lang-name,
.lang-option[data-lang="ar"],
.lang-option[data-lang="ar"] .lang-name,
html[lang="ar"] .language-current-label,
.language-current-label[data-lang="ar"],
#langCurrentLabel[data-lang="ar"] {
  font-family: 'UKIJ Ekran', 'UKIJEkran', 'UKIJ Tuz', 'Noto Naskh Arabic', Tahoma, sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}

.language-dropdown-menu .lang-option[data-lang="en"] .lang-name,
.language-dropdown-menu .lang-option[data-lang="tr"] .lang-name,
.language-dropdown-menu .lang-option[data-lang="fr"] .lang-name,
.language-control-wrap [data-lang="en"] .lang-name,
.language-control-wrap [data-lang="tr"] .lang-name,
.language-control-wrap [data-lang="fr"] .lang-name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  color: #9e7422;
}

.lang-option.active {
  background: rgba(212, 175, 55, 0.18);
  color: #9e7422;
}

/* Selected language checkmark removed as requested */
.lang-option .lang-check {
  display: none !important;
}

/* Dark mode for language dropdown */
html[data-theme="dark"] .language-control-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.25);
  color: #f7f4ee;
}

html[data-theme="dark"] .language-control-btn:hover,
html[data-theme="dark"] .language-control-btn:focus-visible {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.6);
  color: #f7e3ad;
}

html[data-theme="dark"] .language-dropdown-menu {
  background: #171b1f;
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

html[data-theme="dark"] .lang-option {
  color: #eae3d5;
}

html[data-theme="dark"] .lang-option:hover,
html[data-theme="dark"] .lang-option:focus-visible {
  background: rgba(212, 175, 55, 0.18);
  color: #f7e3ad;
}

html[data-theme="dark"] .lang-option.active {
  background: rgba(212, 175, 55, 0.22);
  color: #f7e3ad;
}

html[data-theme="dark"] .lang-option .lang-check {
  color: #e5c358;
}

html[data-theme="dark"] .lang-flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: #23272b;
}
.language-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 27, 30, 0.05);
  border: 1px solid rgba(22, 27, 30, 0.09);
  border-radius: 4px;
  padding: 0 10px;
  transition: border-color 0.2s, background 0.2s;
}
.language-control:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
}
.language-icon {
  font-size: 14px;
  opacity: 0.8;
}
.language-control select {
  min-width: 95px;
  padding: 8px 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.header-quote {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-quote span[aria-hidden="true"] {
  font-size: 15px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.header-quote:hover span[aria-hidden="true"] {
  transform: translateX(3px) translateY(-2px);
}
html[dir="rtl"] .header-quote:hover span[aria-hidden="true"] {
  transform: translateX(-3px) translateY(-2px);
}

/* Day / Night Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 6px;
  box-sizing: border-box;
  border: 1px solid rgba(22, 27, 30, 0.09);
  background: rgba(22, 27, 30, 0.05);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.theme-toggle-btn:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.12);
  color: #9e752d;
  transform: translateY(-1px);
}
.theme-toggle-btn:active {
  transform: translateY(0) scale(0.95);
}
.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
.theme-toggle-btn .theme-icon {
  width: 17px;
  height: 17px;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, color 0.2s;
}

/* Day Mode default (Sun hidden, Moon visible to toggle into Night mode) */
html:not([data-theme="dark"]) .theme-toggle-btn .theme-icon-sun {
  transform: rotate(90deg) scale(0);
  opacity: 0;
  pointer-events: none;
}
html:not([data-theme="dark"]) .theme-toggle-btn .theme-icon-moon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

/* Dark Mode (Moon hidden, Sun visible to toggle into Day mode) */
html[data-theme="dark"] .theme-toggle-btn .theme-icon-sun {
  transform: rotate(0deg) scale(1);
  opacity: 1;
  color: #f6e4be;
}
html[data-theme="dark"] .theme-toggle-btn .theme-icon-moon {
  transform: rotate(-90deg) scale(0);
  opacity: 0;
  pointer-events: none;
}

/* Buttons */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 750;
}
.button-gold {
  color: #1b1511;
  background: var(--gold-gradient);
  box-shadow: 0 6px 20px rgba(197, 150, 50, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.button-gold:hover {
  box-shadow: 0 10px 28px rgba(197, 150, 50, 0.42);
}
.button-ghost {
  color: #261e18;
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}
.button-ghost:hover {
  border-color: var(--gold-bright);
  background: #ffffff;
  color: #9e7422;
  box-shadow: 0 8px 24px rgba(60, 42, 20, 0.08);
}
.button-ghost-gold {
  color: #261e18;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  background: rgba(250, 244, 230, 0.7);
  backdrop-filter: blur(8px);
}
.button-ghost-gold:hover {
  border-color: var(--gold-bright);
  background: #ffffff;
  color: #9e7422;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}
.button-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.button:hover .button-arrow {
  transform: translateX(3px) translateY(-2px);
}
html[dir="rtl"] .button:hover .button-arrow {
  transform: translateX(-3px) translateY(-2px);
}
.mobile-menu {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  color: #ffffff;
  background: #111417;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero-slider, .hero-image, .hero-shade, .hero-glow {
  position: absolute;
  inset: 0;
}
.hero-slider {
  overflow: hidden;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
}
.hero-slide.active {
  transform: translate3d(0, 0, 0);
  z-index: 2;
}
.hero-image {
  background-color: #141719;
  background-position: center 38%;
  background-size: cover;
  transition: transform 1.2s var(--ease);
  opacity: 1;
}

/* Hero Carousel Navigation Controls */
.hero-slider-nav {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  background: rgba(18, 22, 25, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.hero-nav-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  margin: 0;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, transform 0.2s ease;
  outline: none;
}
.hero-nav-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}
.hero-nav-dot.active {
  width: 26px;
  background: var(--gold-bright, #d4af37);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}
.hero-shade {
  background: 
    linear-gradient(90deg, rgba(8, 11, 15, 0.62) 0%, rgba(8, 11, 15, 0.42) 34%, rgba(8, 11, 15, 0.16) 56%, transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 22%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}
html[dir="rtl"] .hero-shade {
  background: 
    linear-gradient(270deg, rgba(8, 11, 15, 0.62) 0%, rgba(8, 11, 15, 0.42) 34%, rgba(8, 11, 15, 0.16) 56%, transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 22%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}
.hero-glow {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 50px;
}
.hero-copy {
  max-width: 660px;
  position: relative;
  z-index: 2;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.hero-copy::before {
  display: none !important;
}
.eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px;
  margin: 0 0 14px;
  color: #a8781e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block !important;
  width: 36px !important;
  height: 2.5px !important;
  min-width: 36px !important;
  flex: 0 0 36px !important;
  background: #b8861d !important;
  background: linear-gradient(to left, #d4af37, #9e7422) !important;
  border-radius: 2px !important;
}

.eyebrow-gold {
  color: #a8781e;
}

.eyebrow-gold .eyebrow-line {
  background: linear-gradient(to left, #d4af37, #9e7422) !important;
}

html[dir="rtl"] .eyebrow {
  flex-direction: row;
}

html[data-theme="dark"] .eyebrow {
  color: #f0c75c;
}

html[data-theme="dark"] .eyebrow-line {
  background: #f0c75c !important;
  background: linear-gradient(to left, #f5d996, #d4af37) !important;
}

.work-section .eyebrow,
.services-section .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.work-section .eyebrow-line,
.services-section .eyebrow-line {
  display: inline-block !important;
  width: 36px !important;
  height: 2.5px !important;
  min-width: 36px !important;
  flex: 0 0 36px !important;
  background: #b8861d !important;
  background: linear-gradient(to left, #d4af37, #9e7422) !important;
  border-radius: 2px !important;
}

html[data-theme="dark"] .work-section .eyebrow-line,
html[data-theme="dark"] .services-section .eyebrow-line {
  background: #f0c75c !important;
  background: linear-gradient(to left, #f5d996, #d4af37) !important;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #e5c358;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hero .eyebrow-line {
  width: 28px;
  height: 2px;
  flex: 0 0 28px;
  background: #e5c358;
  opacity: 0.95;
}

.hero .eyebrow-light { color: #e5c358; }
.hero .eyebrow-gold { color: #f0c75c; }

.hero .eyebrow {
  color: #f0c75c;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.85);
  paint-order: stroke fill;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.72);
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #ffffff;
  -webkit-text-stroke: 0.7px rgba(0, 0, 0, 0.82);
  paint-order: stroke fill;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 4px 16px rgba(0, 0, 0, 0.88), 0 8px 34px rgba(0, 0, 0, 0.72), 0 0 24px rgba(0, 0, 0, 0.55);
}
.hero h1 em {
  display: block;
  margin-top: 8px;
  color: #f0c75c;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.65px rgba(0, 0, 0, 0.88);
  paint-order: stroke fill;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.96), 0 4px 16px rgba(0, 0, 0, 0.9), 0 8px 34px rgba(0, 0, 0, 0.74), 0 0 24px rgba(0, 0, 0, 0.58);
}
.hero-description {
  max-width: 560px;
  margin: 22px 0 0;
  color: #f5f2eb;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
  white-space: pre-line !important;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.88);
  paint-order: stroke fill;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.96), 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.72), 0 0 16px rgba(0, 0, 0, 0.55);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero .hero-cta-sub {
  color: #ffffff;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  background: rgba(18, 22, 26, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero .hero-cta-sub:hover {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.22);
  color: #f0c75c;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 500px;
  margin-top: 24px;
  color: #e5dfd5;
  font-size: 12px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 2px 12px rgba(0, 0, 0, 0.88), 0 4px 20px rgba(0, 0, 0, 0.65);
}
.hero .proof-icon {
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #1b1511;
  background: var(--gold-bright);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Hero Luxury Seal */
.hero-seal {
  position: relative;
  width: 210px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  background: rgba(18, 22, 26, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  text-align: center;
  border-radius: 8px;
  margin-top: 110px;
  flex-shrink: 0;
}
.seal-mark-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.seal-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.45));
}
.hero-seal small {
  color: #d8d0c2;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-seal strong {
  margin-top: 4px;
  color: #ffffff;
  font: 600 17px/1.3 Georgia, serif;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.seal-rule {
  width: 34px;
  height: 1px;
  margin: 10px 0 8px;
  background: var(--gold-bright);
}

/* Hero Bottom & Docked Cards */
.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid rgba(100, 75, 45, 0.12);
}
.hero-bottom-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5c4f42;
  font-size: 12px;
  font-weight: 600;
}
.mini-star {
  color: var(--gold-bright);
  font-size: 18px;
}
.hero-feature-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hero-dock-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 6px;
  color: #261e18;
  box-shadow: 0 6px 18px rgba(60, 42, 20, 0.04);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.hero-dock-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.7);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(60, 42, 20, 0.08);
}
.dock-num {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #b8871f;
  font-weight: 700;
  opacity: 0.95;
}
.dock-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dock-content strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #261e18;
}
.dock-content small {
  color: #9e7422;
  font-size: 10px;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 100px 0;
}
.section-heading {
  margin-bottom: 44px;
}
.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading h2,
.about-copy h2,
.promise-heading h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.section-heading h2 em,
.about-copy h2 em,
.promise-heading h2 em,
.contact-copy h2 em {
  color: #9e752d;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
}
.section-intro {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* Services Grid & Modern Premium Colorful Cards */
.services-section .section-heading h2 {
  font-size: clamp(23px, 2.65vw, 37px);
  line-height: 1.35;
}
@media (min-width: 769px) {
  .services-section .section-heading h2 {
    white-space: nowrap;
  }
}
html[lang="ug"] .services-section .section-heading h2 {
  font-size: clamp(23px, 2.65vw, 37px);
}

.services-section {
  position: relative;
  background: var(--paper);
  padding: 90px 0 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Palette 1: Architectural Sapphire / Imperial Blue (01 - New Home & Addition) */
.service-card--azure {
  --card-primary: #1d4ed8;
  --card-primary-dark: #1e3a8a;
  --card-primary-light: #3b82f6;
  --card-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 52%, #3b82f6 100%);
  --card-tint-bg: rgba(37, 99, 235, 0.04);
  --card-tint-soft: rgba(37, 99, 235, 0.08);
  --card-tint-hover: rgba(37, 99, 235, 0.15);
  --card-border: rgba(37, 99, 235, 0.2);
  --card-border-hover: rgba(37, 99, 235, 0.55);
  --card-glow: rgba(37, 99, 235, 0.28);
  --card-media-overlay: linear-gradient(180deg, rgba(30, 64, 175, 0.22) 0%, rgba(15, 23, 42, 0.78) 100%);
}

/* Palette 2: Luxury Emerald & Jade (02 - Renovation & Interior Decor) */
.service-card--emerald {
  --card-primary: #047857;
  --card-primary-dark: #064e3b;
  --card-primary-light: #10b981;
  --card-gradient: linear-gradient(135deg, #065f46 0%, #059669 52%, #10b981 100%);
  --card-tint-bg: rgba(5, 150, 105, 0.04);
  --card-tint-soft: rgba(5, 150, 105, 0.08);
  --card-tint-hover: rgba(5, 150, 105, 0.15);
  --card-border: rgba(5, 150, 105, 0.2);
  --card-border-hover: rgba(5, 150, 105, 0.55);
  --card-glow: rgba(5, 150, 105, 0.28);
  --card-media-overlay: linear-gradient(180deg, rgba(6, 95, 70, 0.22) 0%, rgba(15, 23, 42, 0.78) 100%);
}

/* Palette 3: Radiant Amber & Electric Gold / Sunset (03 - Electrical & Plumbing) */
.service-card--amber {
  --card-primary: #d97706;
  --card-primary-dark: #92400e;
  --card-primary-light: #f59e0b;
  --card-gradient: linear-gradient(135deg, #b45309 0%, #d97706 52%, #f59e0b 100%);
  --card-tint-bg: rgba(217, 119, 6, 0.04);
  --card-tint-soft: rgba(217, 119, 6, 0.09);
  --card-tint-hover: rgba(217, 119, 6, 0.16);
  --card-border: rgba(217, 119, 6, 0.22);
  --card-border-hover: rgba(217, 119, 6, 0.55);
  --card-glow: rgba(217, 119, 6, 0.28);
  --card-media-overlay: linear-gradient(180deg, rgba(180, 83, 9, 0.22) 0%, rgba(15, 23, 42, 0.78) 100%);
}

/* Palette 4: Rich Terracotta & Obsidian Bronze / Ruby (04 - Stucco & Stone) */
.service-card--terracotta {
  --card-primary: #c2410c;
  --card-primary-dark: #7c2d12;
  --card-primary-light: #ea580c;
  --card-gradient: linear-gradient(135deg, #9a3412 0%, #c2410c 52%, #ea580c 100%);
  --card-tint-bg: rgba(194, 65, 12, 0.04);
  --card-tint-soft: rgba(194, 65, 12, 0.09);
  --card-tint-hover: rgba(194, 65, 12, 0.16);
  --card-border: rgba(194, 65, 12, 0.2);
  --card-border-hover: rgba(194, 65, 12, 0.55);
  --card-glow: rgba(194, 65, 12, 0.28);
  --card-media-overlay: linear-gradient(180deg, rgba(154, 52, 18, 0.22) 0%, rgba(15, 23, 42, 0.78) 100%);
}

/* Master Service Card */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
  background: linear-gradient(180deg, var(--card-tint-bg, #ffffff) 0%, #ffffff 38%);
  border: 1px solid var(--card-border, rgba(0, 0, 0, 0.08));
  border-radius: var(--card-radius, 18px);
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border-hover);
  box-shadow: 0 24px 50px -12px var(--card-glow), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Top Accent Bar */
.service-card-top-bar {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--card-gradient);
  z-index: 5;
}

/* Visual Media Header */
.service-card-media {
  position: relative;
  width: 100%;
  height: 165px;
  overflow: hidden;
  background: var(--card-primary-dark, #161b1e);
  cursor: pointer;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease), filter 0.35s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
}

.service-media-overlay {
  display: none !important;
}

.service-media-badges {
  position: absolute;
  inset: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
  pointer-events: none;
}

.service-index-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  font: 800 13px 'UKIJ Tuz', sans-serif;
  letter-spacing: 0.04em;
  color: var(--card-primary);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.service-icon-pill {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--card-gradient);
  color: #ffffff;
  border-radius: 13px;
  box-shadow: 0 8px 20px -3px var(--card-glow);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover .service-icon-pill {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 26px -4px var(--card-glow);
}

.service-icon-pill svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card Body */
.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 18px 18px;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 25px;
  transition: color 0.25s ease;
}

.service-card:hover h3 {
  color: var(--card-primary);
}

.service-desc {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 12.5px;
  line-height: 1.7;
  min-height: 42px;
}

/* Features Checklist */
.service-features-box {
  margin-top: 0;
  padding-top: 11px;
  border-top: 1px dashed var(--card-border, rgba(22, 27, 30, 0.12));
}

.features-label-wrap {
  margin-bottom: 8px;
}

.features-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--card-tint-soft);
  color: var(--card-primary);
  border: 1px solid var(--card-border);
}

.features-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-primary);
  box-shadow: 0 0 0 2px var(--card-tint-soft);
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: #374151;
  line-height: 1.45;
  padding: 1px 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-feature-item > span:not(.feature-bullet) {
  font-size: 11.5px;
  line-height: 1.45;
}

html[lang="ug"] .service-features-list,
html[lang="ug"] .service-feature-item,
html[lang="ug"] .service-feature-item > span:not(.feature-bullet) {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

.service-feature-item:hover {
  color: var(--ink);
  transform: translateX(2px);
}

[dir="rtl"] .service-feature-item:hover {
  transform: translateX(-2px);
}

.feature-bullet {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--card-tint-soft);
  color: var(--card-primary);
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-card:hover .feature-bullet {
  background: var(--card-primary);
  color: #ffffff;
}

.feature-bullet svg {
  width: 10px;
  height: 10px;
}

/* Service CTA Button */
.service-card-foot {
  margin-top: 4px;
}

.service-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--card-tint-soft);
  color: var(--card-primary);
  border: 1px solid var(--card-border);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.service-cta-btn:hover {
  background: var(--card-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px -4px var(--card-glow);
  transform: translateY(-2px);
}

.service-cta-btn:active {
  transform: translateY(0);
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}

.cta-arrow svg {
  width: 15px;
  height: 15px;
}

.service-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

[dir="rtl"] .cta-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .service-cta-btn:hover .cta-arrow {
  transform: scaleX(-1) translateX(4px);
}

.service-card-rule {
  display: none;
}

/* Projects / Work Section */
.work-section {
  padding: 95px 0 105px;
  background: #f4efe6;
}
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 18px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background: #ffffff;
  border-radius: 30px;
  color: #574b40;
  font-size: 12px;
  font-weight: 750;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover {
  border-color: var(--gold-bright);
  color: #261e18;
}
.filter-btn.active {
  background: var(--gold-gradient);
  color: #1b1511;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(197, 150, 50, 0.35);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  min-width: 0;
}
.work-card-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--card-radius, 8px);
  background: #ffffff;
  color: inherit;
  text-align: start;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(60, 42, 20, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.work-card-button:hover {
  transform: var(--card-hover-transform, translateY(-6px));
  box-shadow: 0 16px 40px rgba(60, 42, 20, 0.08);
  border-color: var(--gold-bright);
}
.work-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eae3d6;
}
.work-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(40, 30, 20, 0.3) 0%, transparent 55%);
  pointer-events: none;
}
.work-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-card-button:hover .work-image-wrap img {
  transform: scale(1.06);
}
.work-category, .concept-label {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 5px 10px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-category {
  inset-inline-start: 14px;
  color: #1b1511;
  background: var(--gold-gradient);
}
.concept-label {
  inset-inline-end: 14px;
  color: #261e18;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 4px 12px rgba(60, 42, 20, 0.08);
}
.work-arrow {
  position: absolute;
  z-index: 2;
  inset-inline-end: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #1b1511;
  background: var(--gold-gradient);
  border-radius: 50%;
  font-size: 16px;
  transition: transform 0.25s;
}
.work-card-button:hover .work-arrow {
  transform: rotate(45deg);
}
html[dir="rtl"] .work-card-button:hover .work-arrow {
  transform: rotate(-45deg);
}
.work-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 20px 18px;
}
.work-info h3 {
  margin: 0 0 8px;
  color: #171c1f !important;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
}
.work-info p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #333d42 !important;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.work-open-text {
  flex-shrink: 0;
  margin-top: 4px;
  color: #8c641c !important;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
}
.illustrative-note {
  display: flex;
  gap: 10px;
  max-width: 860px;
  margin: 28px auto 0;
  color: #727a7c;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  justify-content: center;
}
.illustrative-note span:first-child { color: var(--gold-bright); }
.empty-projects {
  grid-column: 1 / -1;
  padding: 48px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

/* About Section */
.about-section {
  padding: 55px 0 60px;
  color: #261e18;
  background: #ece4d6;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}

/* Text on reading side (left in LTR, right in RTL), Visual on opposite side */
.about-copy {
  order: 1;
  max-width: 640px;
}

.about-visual {
  order: 2;
  position: relative;
  min-height: 480px;
}

.about-image-frame {
  position: relative;
  width: calc(100% - 30px);
  height: 460px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 16px 45px rgba(60, 42, 20, 0.1);
  margin-inline-start: auto;
  margin-inline-end: 0;
}

.about-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -12px 18px 32px 0;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 6px;
  pointer-events: none;
}

/* In RTL (Uyghur, Arabic): order:1 is on the right, order:2 visual is on the left */
html[dir="rtl"] .about-visual::before {
  inset: -12px 0 32px 18px;
}
.about-corner {
  position: absolute;
  z-index: 2;
  inset-inline-end: 18px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-top: 2px solid var(--gold-bright);
  border-inline-end: 2px solid var(--gold-bright);
}
.about-photo-caption {
  position: absolute;
  z-index: 3;
  inset-inline-start: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #261e18;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 8px 24px rgba(60, 42, 20, 0.1);
  font-size: 11px;
  font-weight: 750;
  border-top-right-radius: 4px;
}
html[dir="rtl"] .about-photo-caption {
  border-top-right-radius: 0;
  border-top-left-radius: 4px;
}
.caption-mark {
  color: var(--gold-bright);
  font-size: 16px;
}

.identity-tile {
  position: absolute;
  z-index: 4;
  inset-inline-end: 0;
  bottom: 0;
  width: 150px;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #ffffff;
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 40px rgba(60, 42, 20, 0.12);
  border-radius: 6px;
  text-align: center;
}
.identity-tile img {
  max-height: 84px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
}
.identity-badge {
  color: #9e7422;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.about-copy {
  max-width: 640px;
}
.about-copy h2 {
  color: #261e18;
  font-size: clamp(23px, 2.65vw, 37px);
  line-height: 1.35;
}
@media (min-width: 769px) {
  .about-copy h2 {
    white-space: nowrap;
  }
}
html[lang="ug"] .about-copy h2 {
  font-size: clamp(23px, 2.65vw, 37px);
}
.about-lead {
  margin: 16px 0 10px;
  color: #3d3126;
  font: 500 17px/1.65 Georgia, serif;
}
.about-body {
  margin: 0;
  color: #5c4f42;
  font-size: 13px;
  line-height: 1.8;
}
.value-list {
  margin-top: 22px;
  border-top: 1px solid rgba(100, 75, 45, 0.15);
}
.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(100, 75, 45, 0.15);
}
.value-number {
  color: #9e7422;
  font: 16px Georgia, serif;
}
.value-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.value-item strong {
  color: #261e18;
  font-size: 13px;
}
.value-item small {
  color: #6b5d50;
  font-size: 11px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #9e7422;
  font-size: 12px;
  font-weight: 800;
  transition: color 0.2s;
}
.text-link:hover {
  color: #d4af37;
}

/* 4-Step Process Section */
.process-section {
  padding: 95px 0 35px;
  background: var(--paper);
}
.centered-heading {
  text-align: center;
}
.centered-heading .eyebrow {
  justify-content: center;
}
.process-section .eyebrow,
.process-eyebrow {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}
html[dir="rtl"] .process-section .eyebrow,
html[dir="rtl"] .process-eyebrow {
  align-self: flex-start !important;
  justify-content: flex-start !important;
  text-align: right !important;
  margin-inline-start: 0 !important;
}
html[dir="ltr"] .process-section .eyebrow,
html[dir="ltr"] .process-eyebrow {
  align-self: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  margin-inline-start: 0 !important;
}
.process-section .eyebrow::before,
.process-section .eyebrow::after,
.process-eyebrow::before,
.process-eyebrow::after {
  display: none !important;
  content: none !important;
}
.process-eyebrow-line,
.process-section .eyebrow-line {
  display: inline-block;
  width: 44px;
  height: 2px;
  background: var(--process-eyebrow-color, linear-gradient(90deg, #d4af37, #a8781e));
  border-radius: 2px;
  flex-shrink: 0;
}
html[data-theme="dark"] .process-eyebrow-line,
html[data-theme="dark"] .process-section .eyebrow-line {
  background: var(--process-eyebrow-color, linear-gradient(90deg, #e5c358, #c99e32));
}
.centered-heading h2 {
  font-size: clamp(32px, 3.8vw, 48px);
}
.centered-heading .section-intro {
  max-width: 560px;
  margin: 16px auto 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.process-card,
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px 28px;
  background: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(45, 35, 25, 0.05), 0 2px 6px rgba(45, 35, 25, 0.03);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s;
  overflow: hidden;
}

.process-card::before,
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #dfb75c, #c59b3f);
  opacity: 0.85;
  transition: opacity 0.3s, height 0.3s;
}

.process-card:hover,
.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 18px 42px rgba(45, 35, 25, 0.1), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.process-card:hover::before,
.process-step:hover::before {
  height: 4px;
  opacity: 1;
}

/* Card Header: Badge + Directional Flow Arrow */
.process-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  width: 100%;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.06) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: #9e752d;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.process-flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  color: #9e752d;
  transition: transform 0.25s ease, background 0.25s, color 0.25s;
}

.process-flow-arrow svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[dir="rtl"] .process-flow-arrow:not(.process-final-badge) svg {
  transform: scaleX(-1);
}

.process-card:hover .process-flow-arrow:not(.process-final-badge),
.process-step:hover .process-flow-arrow:not(.process-final-badge) {
  background: var(--gold-bright, #d4af37);
  color: #1a1610;
  transform: translateX(3px);
}
html[dir="rtl"] .process-card:hover .process-flow-arrow:not(.process-final-badge),
html[dir="rtl"] .process-step:hover .process-flow-arrow:not(.process-final-badge) {
  transform: translateX(-3px);
}

.process-final-badge {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}
.process-final-badge svg {
  stroke-width: 2.5;
}

/* Icon Box - Centered horizontally inside card */
.process-icon-box,
.step-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #9e752d;
  margin: 4px auto 20px auto;
  align-self: center;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.08);
  transition: transform 0.3s ease, background 0.3s, box-shadow 0.3s;
}

.process-card:hover .process-icon-box,
.process-step:hover .step-icon {
  transform: scale(1.08) translateY(-2px);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0.12) 100%);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
}

.process-icon-box svg,
.step-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card Body & Text - Centered */
.process-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  flex: 1;
}

.process-card h3,
.process-step h3 {
  margin: 0 0 10px;
  color: var(--ink, #1c2227);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  transition: color 0.25s ease;
  text-align: center;
}

.process-card:hover h3,
.process-step:hover h3 {
  color: #9e752d;
}

.process-card p,
.process-step p {
  margin: 0;
  color: #5c5348;
  font-size: 13.5px;
  line-height: 1.75;
  text-align: center;
}

html[lang="ug"] .process-card h3,
html[lang="ug"] .process-step h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 750;
}

html[lang="ug"] .process-card p,
html[lang="ug"] .process-step p {
  font-size: 14.5px;
  line-height: 1.85;
}

html[lang="ar"] .process-card h3,
html[lang="ar"] .process-step h3 {
  font-size: 19px;
  line-height: 1.4;
}

html[lang="ar"] .process-card p,
html[lang="ar"] .process-step p {
  font-size: 14px;
  line-height: 1.8;
}

/* Why Choose Us / Values & Promise Section (Harmonized Warm Cream Palette with High-Contrast Dark Badges) */
.promise-section,
#values.promise-section {
  position: relative;
  padding: 35px 0 35px;
  background: var(--paper, #fbf8f2) !important;
  overflow: hidden;
  color: var(--text, #161b1e) !important;
  border-top: none !important;
  border-bottom: none !important;
}

.promise-section::before,
#values.promise-section::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.promise-section::after,
#values.promise-section::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.promise-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 52px;
  align-items: flex-start;
}

.promise-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promise-eyebrow,
#values .promise-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: -6px 0 24px;
  color: #a8781e !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.promise-eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: #b8861d !important;
  border-radius: 2px;
}

.promise-section .promise-heading h2,
#values .promise-heading h2,
html[lang="ug"] .promise-section .promise-heading h2 {
  margin: 0;
  color: #161b1e !important;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.promise-section .promise-heading h2 em,
#values .promise-heading h2 em,
html[lang="ug"] .promise-section .promise-heading h2 em {
  display: inline-block;
  color: #b8861d !important;
  font-style: normal !important;
  font-weight: 800;
}

html[lang="en"] .promise-section .promise-heading h2 em,
html[lang="fr"] .promise-section .promise-heading h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic !important;
  font-weight: 600;
  color: #b8861d !important;
}

.promise-section .promise-heading p,
#values .promise-heading p {
  max-width: 480px;
  margin: 20px 0 0;
  color: #555d60 !important;
  font-size: 13.5px;
  line-height: 1.8;
}

.promise-cta,
#values .promise-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 13px 26px;
  background: #e2ad23 !important;
  color: #0b0f17 !important;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px !important;
  border: none !important;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(226, 173, 35, 0.28) !important;
}

.promise-cta:hover,
#values .promise-cta:hover {
  background: #f0bc33 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 173, 35, 0.4);
  color: #0b0f17 !important;
}

.promise-btn-arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}

html[dir="rtl"] .promise-cta:hover .promise-btn-arrow {
  transform: translateX(-4px);
}

html[dir="ltr"] .promise-btn-arrow {
  transform: scaleX(-1);
}

html[dir="ltr"] .promise-cta:hover .promise-btn-arrow {
  transform: scaleX(-1) translateX(-4px);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.promise-card,
#values .promise-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  min-height: 104px;
  background: #ffffff !important;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%) !important;
  border: 1px solid rgba(197, 160, 89, 0.28) !important;
  border-radius: var(--card-radius, 14px) !important;
  box-shadow: 0 4px 18px -2px rgba(60, 42, 20, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  overflow: hidden;
}

.promise-card::before,
#values .promise-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #d4af37, #dfb75c, #c59b3f);
  opacity: 0.8;
  transition: height 0.25s ease, opacity 0.25s ease;
}

.promise-card:hover,
#values .promise-card:hover {
  background: #ffffff !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -4px rgba(60, 42, 20, 0.1), 0 0 0 1px rgba(212, 175, 55, 0.22) !important;
}

.promise-card:hover::before,
#values .promise-card:hover::before {
  height: 3.5px;
  opacity: 1;
}

.promise-card-icon,
#values .promise-card-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 2px;
  background: #fbf7ee !important;
  background: linear-gradient(135deg, #fbf7ee 0%, #f5ecd8 100%) !important;
  border: 1px solid rgba(197, 160, 89, 0.35) !important;
  border-radius: 9px !important;
  color: #a8781e !important;
  box-shadow: 0 2px 6px rgba(184, 134, 29, 0.08) !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.promise-card:hover .promise-card-icon,
#values .promise-card:hover .promise-card-icon {
  background: linear-gradient(135deg, #dfb75c 0%, #c59b3f 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(197, 155, 63, 0.28) !important;
}

.promise-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.promise-card-body {
  flex: 1;
  min-width: 0;
}

.promise-card-body h3,
#values .promise-card-body h3 {
  margin: 0 0 6px;
  color: #161b1e !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.promise-card:hover .promise-card-body h3,
#values .promise-card:hover .promise-card-body h3 {
  color: #a8781e !important;
}

.promise-card-body p,
#values .promise-card-body p {
  margin: 0;
  color: #555d60 !important;
  font-size: 12.5px;
  line-height: 1.65;
}

html[dir="rtl"] .promise-card-body {
  text-align: right;
}

html[dir="ltr"] .promise-card-body {
  text-align: left;
}

/* Dark Theme Overrides */
html[data-theme="dark"] .promise-section,
html[data-theme="dark"] #values.promise-section {
  background: #0b0f17 !important;
  color: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}
html[data-theme="dark"] .promise-eyebrow,
html[data-theme="dark"] #values .promise-eyebrow {
  color: #e2ad23 !important;
}
html[data-theme="dark"] .promise-eyebrow-line {
  background: #e2ad23 !important;
}
html[data-theme="dark"] .promise-section .promise-heading h2,
html[data-theme="dark"] #values .promise-heading h2,
html[data-theme="dark"][lang="ug"] .promise-section .promise-heading h2 {
  color: #ffffff !important;
}
html[data-theme="dark"] .promise-section .promise-heading h2 em,
html[data-theme="dark"] #values .promise-heading h2 em,
html[data-theme="dark"][lang="ug"] .promise-section .promise-heading h2 em {
  color: #e2ad23 !important;
}
html[data-theme="dark"] .promise-section .promise-heading p,
html[data-theme="dark"] #values .promise-heading p {
  color: #9aa7b8 !important;
}
html[data-theme="dark"] .promise-card,
html[data-theme="dark"] #values .promise-card {
  background: #0e1424 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .promise-card:hover,
html[data-theme="dark"] #values .promise-card:hover {
  background: #141c30 !important;
  border-color: rgba(226, 173, 35, 0.45) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme="dark"] .promise-card-icon,
html[data-theme="dark"] #values .promise-card-icon {
  background: rgba(226, 173, 35, 0.12) !important;
  border-color: rgba(226, 173, 35, 0.4) !important;
  color: #e2ad23 !important;
}
html[data-theme="dark"] .promise-card:hover .promise-card-icon,
html[data-theme="dark"] #values .promise-card:hover .promise-card-icon {
  background: linear-gradient(135deg, #dfb75c 0%, #c59b3f 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .promise-card-body h3,
html[data-theme="dark"] #values .promise-card-body h3 {
  color: #ffffff !important;
}
html[data-theme="dark"] .promise-card-body p,
html[data-theme="dark"] #values .promise-card-body p {
  color: #8f9db0 !important;
}

/* Testimonials Section */
.testimonials-section {
  background: #f4efe6;
  padding: 55px 0;
}
.testimonials-heading {
  text-align: start;
  margin-bottom: 38px;
}
html[dir="rtl"] .testimonials-heading {
  text-align: right;
}
html[dir="ltr"] .testimonials-heading {
  text-align: left;
}
.testimonials-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  margin: 0 0 14px;
}
html[dir="rtl"] .testimonials-heading .eyebrow {
  justify-content: flex-start;
}
.testimonials-heading .eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  flex: 0 0 34px;
  background: var(--reviews-eyebrow-color, linear-gradient(90deg, #d4af37, #a8781e));
  border-radius: 2px;
}
.testimonials-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: var(--card-radius, 8px);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(60, 42, 20, 0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.testimonial-card:hover {
  transform: var(--card-hover-transform, translateY(-4px));
  box-shadow: 0 16px 40px rgba(60, 42, 20, 0.08);
  border-color: var(--gold-bright);
}
.quote-mark {
  color: #d4af37;
  font: 60px/0.7 Georgia, serif;
  margin-bottom: 8px;
  opacity: 0.65;
}
.testimonial-card > p {
  margin: 0 0 20px;
  color: #4a3e33;
  font: 14px/1.75 Georgia, serif;
  flex-grow: 1;
}
.rating {
  color: #d4af37;
  letter-spacing: 0.15em;
  font-size: 14px;
  margin-bottom: 16px;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(100, 75, 45, 0.1);
}
.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #724f17;
  background: #f5e8cc;
  font: 18px Georgia, serif;
  flex-shrink: 0;
}
.testimonial-person div {
  display: flex;
  flex-direction: column;
}
.testimonial-person strong {
  color: #261e18;
  font-size: 13px;
  font-weight: 800;
}
.testimonial-person small {
  color: #7a6c5f;
  font-size: 11px;
}

/* Contact & Quote Section */
.contact-section {
  border-top: none !important;
  padding: 40px 0 95px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  gap: 24px;
}
.contact-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  width: auto;
}
html[dir="rtl"] .contact-copy .eyebrow {
  align-self: flex-start !important;
  justify-content: flex-start !important;
  margin-inline-start: 0 !important;
}
html[dir="ltr"] .contact-copy .eyebrow {
  align-self: flex-start !important;
  justify-content: flex-start !important;
  margin-inline-start: 0 !important;
}
.contact-copy .eyebrow::before,
.contact-copy .eyebrow::after {
  display: none !important;
  content: none !important;
}
.contact-eyebrow-line {
  display: inline-block;
  width: 44px;
  height: 2px;
  background: var(--contact-eyebrow-color, linear-gradient(90deg, #d4af37, #a8781e));
  border-radius: 2px;
  flex-shrink: 0;
}
html[data-theme="dark"] .contact-eyebrow-line {
  background: var(--contact-eyebrow-color, linear-gradient(90deg, #f5d996, #d4af37));
}
.contact-copy h2,
#contactHeading {
  margin: 0 auto 14px;
  white-space: nowrap;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.25;
  width: 100%;
  text-align: center !important;
}
html[dir="rtl"] .contact-copy h2,
html[dir="rtl"] #contactHeading,
html[dir="ltr"] .contact-copy h2,
html[dir="ltr"] #contactHeading {
  text-align: center !important;
}
@media (max-width: 768px) {
  .contact-copy h2,
  #contactHeading {
    white-space: normal;
  }
}
.contact-copy > p:not(.eyebrow) {
  margin: 0 auto 20px !important;
  color: #5c4f42;
  font-size: 15px;
  line-height: 1.85;
  max-width: 620px;
  text-align: center !important;
}
html[dir="rtl"] .contact-copy > p:not(.eyebrow),
html[dir="ltr"] .contact-copy > p:not(.eyebrow) {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.contact-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #444c4f;
  font-size: 12px;
  font-weight: 600;
  margin: 0 auto 16px !important;
  align-self: center !important;
}
html[dir="rtl"] .contact-trust,
html[dir="ltr"] .contact-trust {
  align-self: center !important;
  justify-content: center !important;
}
.contact-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #101415;
  background: var(--gold-gradient);
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.contact-details {
  display: none !important;
}
.contact-details a,
.contact-details p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #40484a;
  font-size: 13px;
  transition: color 0.2s;
}
.contact-details a:hover {
  color: #9e752d;
}
.detail-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: #9e752d;
  font-size: 13px;
  flex-shrink: 0;
}

/* Floating Glowing CTA trigger button */
.quote-trigger-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 8px 0 10px;
  width: 100%;
}

.btn-start-floating {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 800;
  color: #101416;
  text-decoration: none;
  background: linear-gradient(135deg, #f7df8d 0%, #d4af37 42%, #b5891b 80%, #e5c465 100%);
  background-size: 200% 200%;
  border: 1.5px solid rgba(255, 245, 205, 0.85);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.45),
              0 10px 28px rgba(18, 22, 25, 0.14),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: float-levitate 3.4s ease-in-out infinite,
             pulse-glow 2.6s ease-in-out infinite alternate,
             gradient-shift 6s ease infinite;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              background 0.3s ease;
  z-index: 2;
}

.btn-start-floating::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.55) 0%, rgba(212, 175, 55, 0) 72%);
  z-index: -1;
  filter: blur(8px);
  pointer-events: none;
  animation: pulse-halo 2.6s ease-in-out infinite alternate;
}

.btn-start-floating:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.035);
  box-shadow: 0 0 42px rgba(212, 175, 55, 0.8),
              0 16px 36px rgba(18, 22, 25, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-start-floating:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-start-floating.is-active {
  background: linear-gradient(135deg, #e3be4e 0%, #c49926 50%, #9e7512 100%);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6),
              0 8px 20px rgba(18, 22, 25, 0.16);
}

.btn-sparkle {
  display: inline-block;
  font-size: 19px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff, 0 0 18px #d4af37;
  animation: sparkle-spin 3.2s ease-in-out infinite;
}

.btn-start-text {
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-floating-arrow {
  display: inline-block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-start-floating.is-active .btn-floating-arrow,
.btn-start-floating[aria-expanded="true"] .btn-floating-arrow {
  transform: rotate(180deg);
}

@keyframes float-levitate {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.38),
                0 8px 24px rgba(18, 22, 25, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 38px rgba(212, 175, 55, 0.72),
                0 14px 34px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }
}

@keyframes pulse-halo {
  0% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  100% {
    opacity: 0.85;
    transform: scale(1.1);
  }
}

@keyframes sparkle-spin {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: rotate(180deg) scale(1.25);
    opacity: 1;
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Quote Request Form & Architectural Schedule Table ("چىرايلىق جەدۋەل") */
.quote-card {
  width: 100%;
  max-width: 1220px;
  margin: 18px auto 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  position: relative;
}

.quote-card.is-collapsed {
  display: none !important;
}

.quote-card.is-open {
  display: block !important;
  animation: reveal-quote-table 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes reveal-quote-table {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quote Split Container (Form + Engineers Planning Visual Scene) */
.quote-split-container {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.quote-visual-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.quote-visual-aside::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -10px 14px 24px 0;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 8px;
  pointer-events: none;
}

html[dir="rtl"] .quote-visual-aside::before {
  inset: -10px 0 24px 14px;
}

.quote-visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  border: 1.5px solid rgba(197, 160, 89, 0.42);
  box-shadow: 0 16px 44px -8px rgba(60, 42, 20, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  background: #14191c;
}

.quote-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-visual-frame:hover .quote-visual-img {
  transform: scale(1.03);
}

.quote-photo-caption {
  position: absolute;
  z-index: 3;
  inset-inline-start: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #261e18;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 8px 24px rgba(60, 42, 20, 0.1);
  font-size: 11px;
  font-weight: 750;
  border-top-right-radius: 4px;
}

html[dir="rtl"] .quote-photo-caption {
  border-top-right-radius: 0;
  border-top-left-radius: 4px;
}

.quote-identity-tile {
  position: absolute;
  z-index: 4;
  inset-inline-end: 0;
  bottom: 0;
  width: 145px;
  min-height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background: #ffffff;
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 40px rgba(60, 42, 20, 0.12);
  border-radius: 6px 0 0 0;
  text-align: center;
}

html[dir="rtl"] .quote-identity-tile {
  border-radius: 0 6px 0 0;
}

.quote-identity-tile img {
  max-height: 74px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
}

.quote-corner {
  position: absolute;
  z-index: 2;
  inset-inline-end: 18px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-top: 2px solid var(--gold-bright);
  border-inline-end: 2px solid var(--gold-bright);
}

/* Architectural Table Frame */
.quote-table {
  position: relative;
  width: 100%;
  background: var(--paper, #faf7f2);
  border: 1.5px solid rgba(197, 160, 89, 0.42);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 44px -8px rgba(60, 42, 20, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.16) 0%, rgba(197, 160, 89, 0.06) 100%);
  border-bottom: 1.5px solid rgba(197, 160, 89, 0.35);
}

.quote-table-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.quote-table-id {
  color: #8b6b38;
  font: 700 11px/1 Georgia, 'Times New Roman', serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.quote-table-dot {
  color: #c5a059;
  font-size: 8px;
  opacity: 0.7;
}

.quote-table-tag {
  color: #9e752d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-table-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: #4a3d2e;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  line-height: 1;
  padding: 0;
}

.quote-table-close:hover {
  background: #171c1f;
  color: #ffffff;
  border-color: #171c1f;
  transform: rotate(90deg);
}

.quote-table-intro-box {
  padding: 24px 28px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  background: rgba(255, 255, 255, 0.35);
}

.quote-table-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.quote-table-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Table Grid Structure */
.quote-table-grid {
  display: grid;
  gap: 0;
}

.quote-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.quote-grid-row-full {
  grid-template-columns: 1fr;
}

.quote-grid-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 22px 16px;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.22s ease;
  margin: 0;
}

.quote-grid-row:not(.quote-grid-row-full) .quote-grid-cell:first-child {
  border-inline-end: 1px solid rgba(197, 160, 89, 0.25);
}

.quote-grid-cell:hover,
.quote-grid-cell:focus-within {
  background: rgba(212, 175, 55, 0.08);
}

.cell-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #85693c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cell-num {
  font: 700 11px Georgia, serif;
  color: #c5a059;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.quote-grid-cell input,
.quote-grid-cell select,
.quote-grid-cell textarea {
  width: 100%;
  border: 1px solid rgba(197, 160, 89, 0.32);
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.quote-grid-cell textarea {
  min-height: 105px;
  resize: vertical;
}

.quote-grid-cell input:focus,
.quote-grid-cell select:focus,
.quote-grid-cell textarea:focus {
  background: #ffffff;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.quote-grid-cell input::placeholder,
.quote-grid-cell textarea::placeholder {
  color: #a4abae;
}

.quote-grid-cell input[type=email] {
  direction: ltr;
  text-align: left;
}

.quote-custom-wrap {
  display: none !important;
}

/* In-place Editable Custom Service Field */
.quote-service-field-wrap {
  position: relative;
  width: 100%;
}

.quote-service-select[hidden] {
  display: none !important;
}

.quote-service-custom-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.quote-service-custom-box[hidden] {
  display: none !important;
}

.quote-service-custom-input {
  width: 100%;
  border: 1px solid #d4af37 !important;
  border-radius: 4px;
  padding: 11px 14px;
  padding-inline-end: 42px !important;
  font-size: 14px;
  color: var(--ink);
  background: #ffffff !important;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18) !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.quote-service-custom-input:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 3.5px rgba(212, 175, 55, 0.28) !important;
}

[data-theme="dark"] .quote-service-custom-input {
  background: #171c21 !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  color: #faf7f2 !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22) !important;
}

[data-theme="dark"] .quote-service-custom-input:focus {
  background: #191f26 !important;
  border-color: var(--gold-bright, #f0c75c) !important;
  box-shadow: 0 0 0 3.5px rgba(240, 199, 92, 0.3) !important;
}

.quote-service-switch-btn {
  position: absolute;
  top: 50%;
  inset-inline-end: 6px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(197, 160, 89, 0.12);
  color: #b88a38;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 2;
}

.quote-service-switch-btn:hover {
  background: #d4af37;
  color: #111516;
  border-color: #d4af37;
}

[data-theme="dark"] .quote-service-switch-btn {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
  color: #f7d586;
}

[data-theme="dark"] .quote-service-switch-btn:hover {
  background: #f0c75c;
  color: #111516;
  border-color: #f0c75c;
}

/* Footer of the Table Schedule */
.quote-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.1) 0%, rgba(197, 160, 89, 0.03) 100%);
  margin: 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 320px;
  color: #636b6e;
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #d4af37;
}

.form-submit {
  min-height: 48px;
  padding: 12px 28px;
  white-space: nowrap;
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-message {
  min-height: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.form-message:not(:empty) {
  min-height: 24px;
  padding: 12px 18px;
  border-radius: 4px;
  margin: 10px 16px 14px;
}

.form-message.success {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Footer */
.site-footer {
  padding: 46px 0 0;
  color: #5c4f42;
  background: #e5ddd0;
  border-top: 1.5px solid rgba(197, 160, 89, 0.35);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 0.95fr;
  gap: 48px;
  padding-bottom: 42px;
}
.footer-brand-col {
  margin-top: -8px;
}
.brand-footer {
  color: #261e18;
}
.brand-footer .brand-copy small {
  color: #9e7422;
}
.footer-logo-img {
  height: 58px;
}
.footer-brand-col > p {
  max-width: 340px;
  margin: 10px 0 8px;
  color: #5c4f42;
  font-size: 14px;
  line-height: 1.85;
}
.footer-tagline {
  display: inline-block;
  color: #9e7422;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.footer-review-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(158, 116, 34, 0.28);
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}
html[dir="rtl"] .footer-review-box {
  flex-direction: row-reverse;
}
.footer-review-note {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #4f4134;
  line-height: 1.5;
  white-space: nowrap;
}
.footer-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(158, 116, 34, 0.35);
}
@media (max-width: 440px) {
  .footer-review-box {
    gap: 8px;
  }
  .footer-review-note {
    font-size: 11.5px;
  }
  .footer-review-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11.5px;
  }
}
html[data-theme="dark"] .footer-review-box {
  border-top-color: rgba(219, 176, 87, 0.22);
}
html[data-theme="dark"] .footer-review-note {
  color: #e6dfd1;
}

/* Customer Review Modal */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(16, 18, 19, 0.72);
  backdrop-filter: blur(4px);
}
.review-modal-overlay[hidden] {
  display: none !important;
}
.review-modal-dialog {
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fdfbf7;
  color: #1f2320;
  border-radius: 14px;
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 22px 22px 20px;
}
html[data-theme="dark"] .review-modal-dialog {
  background: #1b1e1f;
  color: #f4efe6;
  border-color: rgba(219, 176, 87, 0.35);
}
.review-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.review-modal-head h3 {
  margin: 0;
  font-size: 19px;
  color: inherit;
}
.review-modal-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b655c;
}
html[data-theme="dark"] .review-modal-head p {
  color: #b4ada1;
}
.review-modal-close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.review-modal-form {
  display: grid;
  gap: 12px;
}
.review-modal-field {
  display: grid;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
}
.review-modal-field input,
.review-modal-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(35, 27, 21, 0.18);
  background: #ffffff;
  color: #1f2320;
  font: inherit;
  font-weight: 400;
}
html[data-theme="dark"] .review-modal-field input,
html[data-theme="dark"] .review-modal-field textarea {
  background: #121415;
  color: #f4efe6;
  border-color: rgba(255, 255, 255, 0.16);
}
.review-star-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  justify-self: start;
}
.review-star-btn {
  border: none;
  background: transparent;
  padding: 2px 4px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #d1c8b8;
  transition: transform 0.15s ease, color 0.15s ease;
}
.review-star-btn.is-active,
.review-star-btn:hover {
  color: #d9a438;
  transform: scale(1.1);
}
.review-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}
.footer-links-col, .footer-contact-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 11px;
}
@media (min-width: 1241px) {
  .footer-main {
    align-items: start;
    padding-bottom: 36px;
  }
  .footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand-col .footer-review-box {
    margin-top: 14px;
  }
  .footer-links-col,
  .footer-contact-col {
    justify-content: flex-start;
  }
  .footer-links-col h3,
  .footer-contact-col h3 {
    margin-bottom: 6px;
  }
  .footer-contact-col .social-links {
    margin-top: 6px;
  }
}
.footer-main h3 {
  margin: 0 0 10px;
  color: #261e18;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.04em;
}
.footer-links-col a {
  color: #5c4f42;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links-col a:hover {
  color: #9e7422;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a3e33;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-contact-item:hover {
  color: #9e7422;
  transform: translateX(-2px);
}
[dir="rtl"] .footer-contact-item:hover {
  transform: translateX(2px);
}
.footer-contact-item .contact-item-icon {
  width: 17px;
  height: 17px;
  color: #9e7422;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.footer-contact-item:hover .contact-item-icon {
  color: #b8860b;
}
.footer-service-area-item {
  cursor: default;
  word-break: normal;
}
.footer-service-area-item:hover {
  transform: none !important;
  color: #4a3e33;
}
.footer-service-area-item:hover .contact-item-icon {
  color: #9e7422;
}
.footer-service-area-label {
  color: #9e7422;
  font-weight: 700;
  margin-inline-end: 4px;
}
html[data-theme="dark"] .footer-service-area-item:hover {
  color: #a49e92;
}
html[data-theme="dark"] .footer-service-area-label {
  color: #dfb75c;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.social-glow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.18) 0%, rgba(197, 160, 89, 0.05) 100%) !important;
  border: 1.5px solid rgba(197, 160, 89, 0.45) !important;
  color: #8e6822 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.14) !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, filter 0.28s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
  flex-shrink: 0;
  cursor: pointer;
}
.social-glow-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.social-glow-btn svg:not(.svg-stroke) {
  fill: currentColor;
}
.social-glow-btn svg.svg-stroke {
  fill: none !important;
  stroke: currentColor !important;
}
.social-glow-btn svg.svg-stroke * {
  fill: none !important;
  stroke: currentColor !important;
}
.social-glow-btn:hover {
  background: linear-gradient(135deg, #d4af37 0%, #9a7635 100%) !important;
  color: #ffffff !important;
  border-color: #d4af37 !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45), 0 0 12px rgba(212, 175, 55, 0.3) !important;
  filter: none !important;
}
.social-glow-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* Platform variants - aligned with website gold & architectural palette */
.social-glow-btn.social-facebook,
.social-glow-btn.social-twitter,
.social-glow-btn.social-youtube,
.social-glow-btn.social-instagram,
.social-glow-btn.social-tiktok,
.social-glow-btn.social-linkedin {
  color: #8e6822 !important;
  border: 1.5px solid rgba(197, 160, 89, 0.45) !important;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.18) 0%, rgba(197, 160, 89, 0.05) 100%) !important;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.14) !important;
}

.social-glow-btn.social-facebook:hover,
.social-glow-btn.social-twitter:hover,
.social-glow-btn.social-youtube:hover,
.social-glow-btn.social-instagram:hover,
.social-glow-btn.social-tiktok:hover,
.social-glow-btn.social-linkedin:hover {
  background: linear-gradient(135deg, #d4af37 0%, #9a7635 100%) !important;
  color: #ffffff !important;
  border-color: #d4af37 !important;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45), 0 0 12px rgba(212, 175, 55, 0.3) !important;
}

/* Dark mode theme support */
html[data-theme="dark"] .social-glow-btn,
html[data-theme="dark"] .social-glow-btn.social-facebook,
html[data-theme="dark"] .social-glow-btn.social-twitter,
html[data-theme="dark"] .social-glow-btn.social-youtube,
html[data-theme="dark"] .social-glow-btn.social-instagram,
html[data-theme="dark"] .social-glow-btn.social-tiktok,
html[data-theme="dark"] .social-glow-btn.social-linkedin {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.04) 100%) !important;
  border-color: rgba(212, 175, 55, 0.38) !important;
  color: #e5c368 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 8px rgba(212, 175, 55, 0.18) !important;
}

html[data-theme="dark"] .social-glow-btn:hover,
html[data-theme="dark"] .social-glow-btn.social-facebook:hover,
html[data-theme="dark"] .social-glow-btn.social-twitter:hover,
html[data-theme="dark"] .social-glow-btn.social-youtube:hover,
html[data-theme="dark"] .social-glow-btn.social-instagram:hover,
html[data-theme="dark"] .social-glow-btn.social-tiktok:hover,
html[data-theme="dark"] .social-glow-btn.social-linkedin:hover {
  background: linear-gradient(135deg, #f7df9e 0%, #d4af37 100%) !important;
  color: #111417 !important;
  border-color: #f7df9e !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(212, 175, 55, 0.55) !important;
}
.footer-bottom {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(100, 75, 45, 0.15);
  color: #7a6c5f;
  font-size: 13px;
  font-weight: 500;
  padding: 16px 0;
  width: 100%;
  box-sizing: border-box;
}
.footer-bottom > span:first-child {
  text-align: left;
}
.footer-privacy-link {
  color: #7a6c5f;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  justify-self: center;
  text-align: center;
}
.footer-privacy-link:hover {
  color: #c5a059;
  text-decoration: underline;
}
.footer-bottom > span:last-child {
  text-align: right;
  white-space: nowrap;
}
[dir="rtl"] .footer-bottom > span:first-child,
html[lang="ug"] .footer-bottom > span:first-child,
html[lang="ar"] .footer-bottom > span:first-child {
  text-align: right;
}
[dir="rtl"] .footer-bottom > span:last-child,
html[lang="ug"] .footer-bottom > span:last-child,
html[lang="ar"] .footer-bottom > span:last-child {
  text-align: left;
}
.footer-privacy-link:hover {
  color: #c5a059;
  text-decoration: underline;
}

/* Lightbox Modal */
.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(45, 35, 25, 0.72);
  backdrop-filter: blur(8px);
}
.project-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 800px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: auto;
  color: var(--ink);
  background: var(--paper-card);
  border-radius: 8px;
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 40px 110px rgba(60, 42, 20, 0.25);
}
.project-modal-media {
  background: #eae3d6;
  overflow: hidden;
}
.project-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.project-modal-copy {
  align-self: center;
  padding: 46px 40px;
}
.project-modal-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  color: #261e18;
}
.project-modal-copy > p:not(.eyebrow) {
  color: #5c4f42;
  font-size: 14px;
  line-height: 1.85;
}
.project-modal-copy .button {
  margin-top: 20px;
}
.modal-close {
  position: absolute;
  z-index: 10;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #261e18;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 4px 14px rgba(60, 42, 20, 0.15);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  cursor: pointer;
}
.modal-close:hover {
  background: var(--gold-bright);
  color: #1b1511;
  border-color: var(--gold-bright);
}

/* ==========================================================================
   Comprehensive Uyghur Typography (UKIJ Ekran Everywhere)
   ========================================================================== */
html[lang="ug"],
html[lang="ug"] * {
  letter-spacing: 0 !important;
}

html[lang="ug"],
html[lang="ug"] body,
html[lang="ug"] *:not(svg):not(path):not(circle):not(rect):not(polygon):not(line):not(polyline):not(g):not(code):not(pre):not(kbd),
html[lang="ug"] h1,
html[lang="ug"] h2,
html[lang="ug"] h3,
html[lang="ug"] h4,
html[lang="ug"] h5,
html[lang="ug"] h6,
html[lang="ug"] p,
html[lang="ug"] span,
html[lang="ug"] a,
html[lang="ug"] em,
html[lang="ug"] strong,
html[lang="ug"] b,
html[lang="ug"] i,
html[lang="ug"] small,
html[lang="ug"] label,
html[lang="ug"] button,
html[lang="ug"] input,
html[lang="ug"] select,
html[lang="ug"] textarea,
html[lang="ug"] li,
html[lang="ug"] td,
html[lang="ug"] th,
html[lang="ug"] div,
html[lang="ug"] .hero h1,
html[lang="ug"] .hero h1 em,
html[lang="ug"] .hero h1 span,
html[lang="ug"] .hero-description,
html[lang="ug"] .hero-seal strong,
html[lang="ug"] .hero-seal small,
html[lang="ug"] .section-heading h2,
html[lang="ug"] .section-heading h2 em,
html[lang="ug"] .service-lead-card h3,
html[lang="ug"] .service-title-wrap h3,
html[lang="ug"] .work-card h3,
html[lang="ug"] .about-copy h2,
html[lang="ug"] .about-copy h2 em,
html[lang="ug"] .about-lead,
html[lang="ug"] .about-stat strong,
html[lang="ug"] .step-num,
html[lang="ug"] .process-step strong,
html[lang="ug"] .promise-heading h2,
html[lang="ug"] .promise-heading h2 em,
html[lang="ug"] .promise-quote h3,
html[lang="ug"] .testimonial-card p,
html[lang="ug"] .testimonial-author strong,
html[lang="ug"] .contact-copy h2,
html[lang="ug"] .contact-copy h2 em,
html[lang="ug"] .modal-title,
html[lang="ug"] .quote-form *,
:lang(ug),
[data-lang="ug"],
.lang-ug,
html[dir="rtl"][lang="ug"] body {
  font-family: 'UKIJ Ekran', 'UKIJEkran', 'UKIJ Tuz', 'Alpida Unicode System', 'Microsoft Uighur', Tahoma, sans-serif !important;
  font-style: normal !important;
}

/* ==========================================================================
   Comprehensive Arabic Typography (Noto Naskh Arabic Everywhere)
   ========================================================================== */
html[lang="ar"],
html[lang="ar"] * {
  letter-spacing: 0 !important;
}

html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] *:not(svg):not(path):not(circle):not(rect):not(polygon):not(line):not(polyline):not(g):not(code):not(pre):not(kbd),
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] span,
html[lang="ar"] a,
html[lang="ar"] em,
html[lang="ar"] strong,
html[lang="ar"] b,
html[lang="ar"] i,
html[lang="ar"] small,
html[lang="ar"] label,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea,
html[lang="ar"] li,
html[lang="ar"] td,
html[lang="ar"] th,
html[lang="ar"] div,
html[lang="ar"] .hero h1,
html[lang="ar"] .hero h1 em,
html[lang="ar"] .hero h1 span,
html[lang="ar"] .hero-description,
html[lang="ar"] .hero-seal strong,
html[lang="ar"] .hero-seal small,
html[lang="ar"] .section-heading h2,
html[lang="ar"] .section-heading h2 em,
html[lang="ar"] .service-lead-card h3,
html[lang="ar"] .service-title-wrap h3,
html[lang="ar"] .work-card h3,
html[lang="ar"] .about-copy h2,
html[lang="ar"] .about-copy h2 em,
html[lang="ar"] .about-lead,
html[lang="ar"] .about-stat strong,
html[lang="ar"] .step-num,
html[lang="ar"] .process-step strong,
html[lang="ar"] .promise-heading h2,
html[lang="ar"] .promise-heading h2 em,
html[lang="ar"] .promise-quote h3,
html[lang="ar"] .testimonial-card p,
html[lang="ar"] .testimonial-author strong,
html[lang="ar"] .contact-copy h2,
html[lang="ar"] .contact-copy h2 em,
html[lang="ar"] .modal-title,
html[lang="ar"] .quote-form *,
html[lang="ar"] .projects-hero-card-title,
html[lang="ar"] .about-stat-number,
html[lang="ar"] .about-vision-heading,
html[lang="ar"] .about-designs-title,
html[lang="ar"] .contact-card-title {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', 'Traditional Arabic', Tahoma, sans-serif !important;
  font-style: normal !important;
}

html[lang="ar"] .hero h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.35;
  font-weight: 700;
}
html[lang="ar"] .hero h1 em {
  display: block;
  margin-top: 10px;
  color: #f0c75c;
  font-weight: 600;
}
html[lang="ar"] .hero-description {
  font-size: clamp(15px, 1.8vw, 17.5px);
  line-height: 1.95;
  letter-spacing: 0;
}

/* Uyghur Heading & Text Refinements */
html[lang="ug"] .hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.35;
  font-weight: 700;
  -webkit-text-stroke: 0.7px rgba(0, 0, 0, 0.82);
  paint-order: stroke fill;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 4px 16px rgba(0, 0, 0, 0.88), 0 8px 34px rgba(0, 0, 0, 0.72), 0 0 24px rgba(0, 0, 0, 0.55);
}
html[lang="ug"] .hero h1 em {
  display: block;
  margin-top: 10px;
  color: #f0c75c;
  font-weight: 600;
  line-height: 1.35;
  font-style: normal !important;
  -webkit-text-stroke: 0.65px rgba(0, 0, 0, 0.88);
  paint-order: stroke fill;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.96), 0 4px 16px rgba(0, 0, 0, 0.9), 0 8px 34px rgba(0, 0, 0, 0.74), 0 0 24px rgba(0, 0, 0, 0.58);
}
html[lang="ug"] .hero-description {
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line !important;
  color: #f5f2eb;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.88);
  paint-order: stroke fill;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.96), 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.72), 0 0 16px rgba(0, 0, 0, 0.55);
}
html[lang="ug"] .hero-seal strong {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
html[lang="ug"] .hero-seal small {
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
}
html[lang="ug"] .section-heading h2,
html[lang="ug"] .about-copy h2,
html[lang="ug"] .promise-heading h2,
html[lang="ug"] .contact-copy h2 {
  line-height: 1.4;
  font-weight: 700;
}
html[lang="ug"] .section-heading h2 em,
html[lang="ug"] .about-copy h2 em,
html[lang="ug"] .promise-heading h2 em,
html[lang="ug"] .contact-copy h2 em {
  color: #9e7422;
  font-weight: 600;
  font-style: normal !important;
}
html[lang="ug"] .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: none;
}
html[lang="ug"] .main-nav a,
html[lang="ar"] .main-nav a {
  font-size: 16px !important;
  font-weight: 700 !important;
}
html[lang="ug"] .language-control select,
html[lang="ar"] .language-control select {
  font-size: 14.5px !important;
}
html[lang="ug"] .header-quote,
html[lang="ar"] .header-quote {
  font-size: 15px !important;
  font-weight: 750 !important;
}
html[lang="ug"] .button,
html[lang="ar"] .button {
  font-weight: 650;
}

/* Enhanced typography for Non-Uyghur, Non-Arabic locales (English, French, Turkish) */
html:not([lang="ug"]):not([lang="ar"]) .button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Aptos", Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
html:not([lang="ug"]):not([lang="ar"]) .button-small {
  font-size: 13.5px;
  font-weight: 750;
  padding: 0 20px;
}
html:not([lang="ug"]):not([lang="ar"]) .header-quote {
  font-size: 14px !important;
  font-weight: 750 !important;
  letter-spacing: 0.025em;
  padding: 0 22px !important;
  min-height: 42px;
}
html:not([lang="ug"]):not([lang="ar"]) .header-quote span[aria-hidden="true"] {
  font-size: 15px;
  font-weight: 800;
  margin-inline-start: 2px;
}
html:not([lang="ug"]):not([lang="ar"]) .hero-cta-main,
html:not([lang="ug"]):not([lang="ar"]) .hero-cta-sub {
  font-size: 15px;
  font-weight: 750;
}
html[lang="ug"] .btn-start-floating {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  padding: 16px 46px;
}
html[lang="ug"] .brand-copy strong {
  font-size: 16px;
  font-weight: 800;
}
html[lang="ug"] .brand-copy small {
  font-size: 9px;
  color: #9e752d;
}
html[lang="ug"][data-theme="dark"] .brand-copy small {
  color: #dcb360;
}
html[dir="rtl"] .quote-form input[type=email],
html[dir="rtl"] .quote-table-grid input[type="email"] {
  direction: ltr;
  text-align: right;
}
html[dir="rtl"] .quote-table-grid input[name="phone"] {
  direction: ltr;
  text-align: right;
}
html[lang="ug"] .quote-table-title {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}
html[lang="ug"] .quote-table-desc {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 13.5px !important;
}
html[lang="ug"] .cell-head {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}
html[lang="ug"] .quote-grid-cell input,
html[lang="ug"] .quote-grid-cell select,
html[lang="ug"] .quote-grid-cell textarea {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 14px !important;
}
html[lang="ug"] .consent-label {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 12px !important;
}
html[lang="ug"] .form-submit {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 15px !important;
  font-weight: 750 !important;
}
html[lang="ug"] .quote-photo-caption,
html[lang="ug"] .quote-identity-tile .identity-badge {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
}
html[lang="ug"] .footer-main h3 {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 16.5px !important;
  font-weight: 800 !important;
}
html[lang="ar"] .footer-main h3 {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 16.5px !important;
  font-weight: 800 !important;
}
html[lang="ug"] .footer-links-col a {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
html[lang="ar"] .footer-links-col a {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
html[lang="ug"] .footer-brand-col > p {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.95 !important;
}
html[lang="ar"] .footer-brand-col > p {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.95 !important;
}
html[lang="ug"] .footer-tagline {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
html[lang="ar"] .footer-tagline {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
html[lang="ug"] .footer-contact-item,
html[lang="ar"] .footer-contact-item {
  font-size: 14.5px !important;
}
html[lang="ug"] .footer-bottom,
html[lang="ug"] .footer-privacy-link {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 13.5px !important;
}
html[lang="ar"] .footer-bottom,
html[lang="ar"] .footer-privacy-link {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 13.5px !important;
}

/* Responsive Media Queries */
@media (max-width: 1240px) {
  .wrap { width: min(var(--wrap), calc(100% - 40px)); }
  .header-inner { gap: 14px; }
  .main-nav { gap: clamp(10px, 1.4vw, 18px); }
  .main-nav a { font-size: 14px; }
  html[lang="ug"] .main-nav a,
  html[lang="ar"] .main-nav a { font-size: 14.5px !important; }
  .header-quote, .header-cta, #headerCtaBtn { display: none !important; }
  .hero-seal { width: 180px; min-height: 190px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-feature-dock { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr 0.8fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; max-width: 400px; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 68px; }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  /* Header */
  .header-inner { min-height: 64px; gap: 10px; justify-content: space-between; }
  .brand-logo-img { height: 42px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 8px; }
  .header-actions { gap: 8px; display: inline-flex; align-items: center; }
  .header-quote, .header-cta, #headerCtaBtn { display: none !important; }
  .language-control-btn {
    height: 34px !important;
    padding: 0 6px !important;
    font-size: 12.5px !important;
    gap: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
  }
  .language-control-wrap { width: 98px !important; }
  .language-dropdown-menu { width: 100% !important; min-width: 100% !important; max-width: 100% !important; inset-inline-start: 0 !important; }
  .theme-toggle-btn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
  }
  .theme-toggle-btn .theme-icon { width: 16px; height: 16px; }
  
  /* Mobile Menu Button - Equal 34px height */
  .mobile-menu {
    position: relative;
    z-index: 50;
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(22, 27, 30, 0.12);
    border-radius: 6px;
    background: rgba(22, 27, 30, 0.05);
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s;
  }
  .mobile-menu:hover,
  .mobile-menu:focus-visible {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
  }
  .mobile-menu span {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.2s;
  }
  .mobile-menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Mobile Nav Drawer */
  .main-nav {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
    background: #faf7f2;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 24px 48px rgba(60, 42, 20, 0.1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease), padding 0.25s var(--ease);
  }
  .main-nav.nav-open {
    max-height: 85vh;
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
    padding: 12px 20px 24px;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(100, 75, 45, 0.1);
    color: #261e18;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s, padding-inline-start 0.15s;
  }
  .main-nav a::after {
    display: none;
  }
  .main-nav a:hover,
  .main-nav a:active {
    color: #9e752d;
    padding-inline-start: 6px;
  }
  .nav-arrow {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    opacity: 0.45;
    transition: transform 0.2s, opacity 0.2s;
  }
  html[dir="rtl"] .nav-arrow {
    transform: scaleX(-1);
  }
  .main-nav a:hover .nav-arrow {
    opacity: 1;
    color: #9e752d;
  }
  .nav-mobile-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(100, 75, 45, 0.12);
  }
  .nav-mobile-cta {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    font-weight: 800;
  }
  .nav-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .nav-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #261e18;
    font-size: 13px;
    font-weight: 600;
  }
  .nav-contact-pill:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
  }
  .nav-contact-pill .detail-icon {
    color: #c59b3f;
    font-size: 15px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-content {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .hero-copy { max-width: 100%; }
  .hero h1 {
    font-size: clamp(28px, 7.5vw, 42px);
    line-height: 1.25;
  }
  .hero-description {
    font-size: 14.5px;
    line-height: 1.8;
    margin-top: 14px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 22px;
  }
  .hero-cta-main,
  .hero-cta-sub {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }
  .hero-proof {
    margin-top: 18px;
    font-size: 12px;
  }
  .hero-seal {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 14px 18px;
    text-align: start;
    border-radius: 6px;
    border-color: rgba(212, 175, 55, 0.4);
  }
  .seal-mark-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hero-seal-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-seal-text strong {
    margin-top: 2px;
    font-size: 15px;
  }
  .seal-rule { display: none; }
  .hero-seal-text small {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .hero-feature-dock {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-dock-card {
    padding: 12px 14px;
  }

  /* Section Headings & Spacing */
  .section { padding: 56px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .section-heading h2,
  .promise-heading h2,
  .contact-copy h2 {
    font-size: clamp(26px, 6.5vw, 36px);
    line-height: 1.3;
  }
  .about-copy h2,
  html[lang="ug"] .about-copy h2,
  .services-section .section-heading h2,
  html[lang="ug"] .services-section .section-heading h2 {
    font-size: clamp(21px, 2.8vw, 31px);
    line-height: 1.35;
  }
  .section-intro { max-width: 100%; font-size: 13.5px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 0 !important; }
  .service-card-body { padding: 20px 18px 22px; }

  /* Work / Projects */
  .work-section { padding: 60px 0 70px; }
  .work-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    max-width: 100%;
    padding-inline: 2px;
    padding-bottom: 8px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .work-filters::-webkit-scrollbar { display: none; }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 38px;
    padding: 8px 16px;
    font-size: 12px;
  }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* About */
  .about-section { padding: 40px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { min-height: auto; }
  .about-image-frame { width: 100%; height: 320px; }
  .about-visual::before { display: none; }
  .identity-tile {
    width: 112px;
    min-height: 92px;
    padding: 8px 8px;
    border-radius: 6px;
  }
  .identity-tile img {
    max-height: 52px;
    margin-bottom: 3px;
  }
  .identity-badge {
    font-size: 8px;
    line-height: 1.2;
  }
  .about-lead { font-size: 16px; margin: 16px 0 12px; }

  /* Process & Promises */
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
  .promise-layout { grid-template-columns: 1fr; gap: 36px; }
  .promise-intro { max-width: 600px; }
  
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contact & Form */
  .contact-layout { gap: 24px; max-width: 100%; }
  .btn-start-floating {
    padding: 14px 28px;
    font-size: 15px;
    width: auto;
    max-width: 100%;
  }
  .quote-table-wrap { padding: 0 !important; }
  .quote-split-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .quote-visual-aside {
    min-height: 360px;
  }
  .quote-visual-aside::before {
    display: none;
  }
  .quote-visual-frame {
    min-height: 360px;
    height: 360px;
  }
  .quote-table-header { padding: 11px 16px; }
  .quote-table-id { font-size: 10px; letter-spacing: 0.1em; }
  .quote-table-intro-box { padding: 18px 16px 14px; }
  .quote-table-title { font-size: 20px; }
  .quote-grid-row { grid-template-columns: 1fr; }
  .quote-grid-row:not(.quote-grid-row-full) .quote-grid-cell:first-child {
    border-inline-end: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  }
  html[data-theme="dark"] .quote-grid-row:not(.quote-grid-row-full) .quote-grid-cell:first-child {
    border-bottom-color: rgba(212, 175, 55, 0.22);
  }
  .quote-grid-cell { padding: 12px 16px; }
  .quote-grid-cell input,
  .quote-grid-cell select,
  .quote-grid-cell textarea {
    font-size: 16px !important;
    min-height: 48px;
  }
  .quote-grid-cell textarea { min-height: 110px; }
  .quote-grid-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }
  .consent-label { max-width: 100%; font-size: 11px; }
  .form-submit { width: 100%; min-height: 48px; }

  /* Footer */
  .site-footer { padding: 50px 0 0; }
  .footer-logo-img { height: 50px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-bottom {
    gap: 16px;
    padding: 16px 0;
  }
  
  /* Modal */
  .modal-backdrop { padding: 16px; }
  .project-modal { grid-template-columns: 1fr; max-height: 88vh; }
  .project-modal-media img { height: 260px; min-height: 0; }
  .project-modal-copy { padding: 26px 20px; }
  .modal-close {
    width: 38px;
    height: 38px;
    inset-block-start: 12px;
    inset-inline-end: 12px;
  }
}

@media (max-width: 768px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }

  /* Header */
  .header-inner { min-height: 58px; gap: 8px; }
  .brand-logo-img { height: 38px; }
  .brand-copy strong { font-size: 13px; letter-spacing: 0.02em; }
  .brand-copy small { font-size: 7.5px; }
  .header-actions { gap: 6px; }

  /* Mobile Nav Drawer */
  .main-nav {
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  }
  .main-nav.nav-open {
    max-height: calc(100vh - 58px);
    padding: 12px 18px 24px;
  }
  .main-nav a {
    padding: 13px 4px;
    font-size: 15.5px;
  }

  /* Header on Mobile — Compact and comfortably inset from screen edges */
  .site-header .header-inner {
    min-height: 58px;
    width: 100% !important;
    max-width: 100% !important;
    padding-inline-start: 10px !important;
    padding-inline-end: 10px !important;
    box-sizing: border-box !important;
    gap: 8px !important;
    justify-content: space-between !important;
    overflow: visible !important;
  }
  .brand {
    min-width: 0;
    flex-shrink: 0 !important;
    gap: 7px !important;
    transform: none;
  }
  [dir="rtl"] .brand,
  html[lang="ug"] .brand,
  html[lang="ar"] .brand {
    transform: translateX(-6px) !important;
  }
  .brand-logo-img { height: 36px !important; flex-shrink: 0; }
  .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.05 !important;
  }
  .brand-copy strong {
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    color: var(--ink) !important;
  }
  .brand-copy small {
    display: block !important;
    font-size: 7px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    color: #9e752d !important;
    line-height: 1 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    opacity: 0.95 !important;
  }
  html[data-theme="dark"] .brand-copy strong {
    color: #ffffff !important;
  }
  html[data-theme="dark"] .brand-copy small {
    color: #dcb360 !important;
  }
  html[lang="ug"] .brand-copy strong {
    font-size: 13px !important;
  }
  html[lang="ug"] .brand-copy small {
    display: block !important;
    font-size: 7px !important;
    letter-spacing: 0.1em !important;
    color: #9e752d !important;
    margin-top: 2px !important;
  }
  html[lang="ug"][data-theme="dark"] .brand-copy small {
    color: #dcb360 !important;
  }
  .site-header {
    z-index: 10000 !important;
    overflow: visible !important;
  }
  .site-header.has-lang-open,
  .site-header:has(.language-dropdown-menu.is-open) {
    z-index: 100000 !important;
  }
  .site-header.has-lang-open::before,
  .site-header:has(.language-dropdown-menu.is-open)::before {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .header-actions {
    gap: 6px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
  }
  .language-control-wrap {
    width: 98px !important;
    z-index: 10001 !important;
    overflow: visible !important;
  }
  .language-dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    inset-inline-start: 0 !important;
    box-sizing: border-box !important;
    z-index: 10002 !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
  }
  .language-control-btn {
    width: 100% !important;
    height: 34px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
    gap: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }
  .theme-toggle-btn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }
  .mobile-menu {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border-radius: 6px !important;
  }
  .mobile-menu span {
    width: 17px !important;
    height: 2px !important;
  }

  /* Hero on Mobile — Warm Cream Background & Complete 16:9 Photo Showcase */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0;
    padding-bottom: 32px;
    padding-inline: 0 !important;
    margin: 0 !important;
    background: #fbf9f4 !important;
    color: #1a1e20 !important;
    position: relative;
    border-bottom: 1px solid rgba(197, 160, 89, 0.22);
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .hero-slider {
    position: relative !important;
    inset: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    /* 56.25vw is exact 16:9 aspect ratio matching the 1376x768 photos! */
    height: clamp(210px, 56.25vw, 310px);
    overflow: hidden !important;
    z-index: 1 !important;
    order: 1;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    box-sizing: border-box !important;
  }
  .hero-slider::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 38px;
    background: linear-gradient(180deg, transparent 0%, rgba(251, 249, 244, 0.95) 100%) !important;
    pointer-events: none;
    z-index: 3;
  }
  .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .hero-shade,
  .hero-glow {
    display: none !important;
  }
  .hero-slider-nav {
    position: absolute;
    top: calc(clamp(210px, 56.25vw, 310px) - 34px);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    padding: 4px 10px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    box-shadow: 0 4px 12px rgba(60, 42, 20, 0.12) !important;
  }
  .hero-nav-dot {
    background: rgba(30, 25, 20, 0.28) !important;
  }
  .hero-nav-dot.active {
    background: #c59b3f !important;
  }
  .hero-content {
    order: 2;
    padding-top: 20px;
    padding-bottom: 8px;
    gap: 20px;
  }
  .hero-copy { padding: 0 !important; }
  .hero-copy::before { display: none !important; }

  /* REMOVE ALL TEXT SHADOWS on mobile — 100% clean, crisp typography on cream */
  .hero,
  .hero *,
  .hero .eyebrow,
  .hero .eyebrow-line,
  .hero h1,
  .hero h1 *,
  .hero h1 span,
  .hero h1 em,
  .hero-description,
  #heroDescription,
  .hero-actions,
  .hero-cta-main,
  .hero-cta-main *,
  .hero-cta-sub,
  .hero-cta-sub *,
  .hero-proof,
  .hero-proof *,
  .hero-seal,
  .hero-seal *,
  html[lang="ug"] .hero h1,
  html[lang="ug"] .hero h1 *,
  html[lang="ug"] .hero-description,
  html[lang="ug"] .hero-seal strong {
    text-shadow: none !important;
    filter: none !important;
    -webkit-text-stroke: 0 !important;
  }
  .hero h1,
  .hero h1 em,
  .hero .eyebrow,
  .hero-description {
    -webkit-text-stroke: 0 !important;
  }

  .hero .eyebrow {
    color: #9e7422 !important;
    font-weight: 750 !important;
  }
  .hero .eyebrow-line {
    background: #b8871f !important;
  }
  .hero h1,
  .hero h1 #heroTitleMain,
  .hero h1 span {
    color: #1a1e21 !important;
    font-size: clamp(23px, 6.8vw, 32px) !important;
    font-weight: 850 !important;
    line-height: 1.34 !important;
  }
  .hero h1 em,
  .hero h1 #heroTitleAccent {
    color: #a8781e !important;
    font-style: normal !important;
  }
  .hero-description,
  #heroDescription {
    color: #4b5356 !important;
    font-size: 14.5px !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
    margin-top: 12px;
  }
  .hero-proof {
    color: #555d60 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    margin-top: 16px;
  }
  .hero-proof .proof-icon {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #16a34a !important;
    border-radius: 50%;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
  }
  .hero-cta-main {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    font-weight: 850 !important;
    background: var(--gold-gradient) !important;
    color: #1b1511 !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 6px 20px rgba(197, 150, 50, 0.28) !important;
  }
  .hero-cta-sub {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    font-weight: 750 !important;
    background: #ffffff !important;
    color: #261e18 !important;
    border: 1.5px solid rgba(197, 160, 89, 0.45) !important;
    box-shadow: 0 4px 14px rgba(60, 42, 20, 0.06) !important;
  }
  .hero-seal {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #ffffff !important;
    border: 1.5px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 4px 16px rgba(60, 42, 20, 0.06) !important;
  }
  .hero-seal strong {
    color: #161b1e !important;
  }
  .hero-seal small {
    color: #9e7422 !important;
  }
  .hero-seal span {
    color: #555d60 !important;
  }
  .seal-mark-wrap {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  /* Dark Mode Mobile Hero Alignment */
  html[data-theme="dark"] .hero {
    background: #111417 !important;
    border-bottom-color: rgba(212, 175, 55, 0.25) !important;
  }
  html[data-theme="dark"] .hero-slider::after {
    background: linear-gradient(180deg, transparent 0%, rgba(17, 20, 23, 0.96) 100%) !important;
  }
  html[data-theme="dark"] .hero-slider-nav {
    background: rgba(18, 22, 26, 0.88) !important;
    border-color: rgba(212, 175, 55, 0.42) !important;
  }
  html[data-theme="dark"] .hero-nav-dot {
    background: rgba(255, 255, 255, 0.32) !important;
  }
  html[data-theme="dark"] .hero .eyebrow,
  html[data-theme="dark"] .hero h1 em,
  html[data-theme="dark"] .hero h1 #heroTitleAccent {
    color: #f0c75c !important;
  }
  html[data-theme="dark"] .hero h1,
  html[data-theme="dark"] .hero h1 #heroTitleMain,
  html[data-theme="dark"] .hero h1 span {
    color: #faf7f2 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
  }
  html[data-theme="dark"] .hero-description,
  html[data-theme="dark"] #heroDescription {
    color: #d6cfc4 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45) !important;
  }
  html[data-theme="dark"] .hero-proof {
    color: #d0c8bc !important;
  }
  html[data-theme="dark"] .hero-cta-sub {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #faf7f2 !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
  }
  html[data-theme="dark"] .hero-seal {
    background: rgba(24, 29, 34, 0.92) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
  }
  html[data-theme="dark"] .hero-seal strong { color: #faf7f2 !important; }
  html[data-theme="dark"] .hero-seal small { color: #f0c75c !important; }
  html[data-theme="dark"] .hero-seal span { color: #c7bfb2 !important; }

  /* Section Spacing & Headings */
  .section { padding: 48px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2,
  .promise-heading h2,
  .contact-copy h2 {
    font-size: clamp(24px, 6.2vw, 32px);
    line-height: 1.32;
  }
  .about-copy h2,
  .services-section .section-heading h2 {
    font-size: clamp(17px, 4.6vw, 23px);
    line-height: 1.32;
  }
  .section-intro {
    font-size: 13.5px;
    line-height: 1.7;
  }

  /* Services Grid - 1 column on phones */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin-inline: auto;
  }
  .service-card {
    border-radius: 10px !important;
  }
  .service-card-media {
    height: 190px;
  }
  .service-card-body {
    padding: 18px 16px 20px;
  }
  .service-card h3 {
    font-size: 18.5px;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  .service-desc {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 12px;
  }
  .service-features-box {
    padding-top: 11px;
    margin-top: 2px;
  }
  .features-label {
    font-size: 11.5px;
    padding: 4px 12px;
    margin-bottom: 8px;
  }
  .service-features-list {
    gap: 7px;
  }
  .service-feature-item {
    font-size: 13px;
    line-height: 1.55;
    padding: 2px 0;
  }
  html[lang="ug"] .service-features-list,
  html[lang="ug"] .service-feature-item,
  html[lang="ug"] .service-feature-item > span:not(.feature-bullet) {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }
  .feature-bullet {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }

  /* Work / Projects */
  .work-section { padding: 48px 0 56px; }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 480px;
    margin-inline: auto;
  }
  .work-image-wrap { height: 220px; }
  .work-info { padding: 16px 14px; }

  /* About */
  .about-section { padding: 36px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-image-frame { height: 270px; }
  .identity-tile {
    width: 88px;
    min-height: 72px;
    padding: 6px 6px;
    border-radius: 6px;
    border-width: 1px;
    box-shadow: 0 8px 24px rgba(60, 42, 20, 0.12);
  }
  .identity-tile img {
    max-height: 38px;
    margin-bottom: 2px;
  }
  .identity-badge {
    font-size: 7px;
    line-height: 1.15;
  }
  .about-photo-caption {
    padding: 6px 10px;
    font-size: 9px;
    max-width: calc(100% - 96px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
    margin-inline: auto;
  }
  .process-card,
  .process-step { padding: 20px 18px; }

  /* Promise / Values */
  .promise-section { padding: 32px 0 24px; }
  .promise-grid { grid-template-columns: 1fr; gap: 12px; }
  .promise-card,
  #values .promise-card {
    padding: 16px 14px;
    gap: 14px;
  }
  .promise-card-icon,
  #values .promise-card-icon { width: 36px; height: 36px; }
  .promise-cta { width: 100%; justify-content: center; }

  /* Contact & Form */
  .contact-section { padding: 36px 0 60px; }
  .contact-layout { gap: 20px; }
  .quote-split-container { grid-template-columns: 1fr; gap: 20px; }
  .quote-table { border-radius: 8px; }
  .quote-table-header { padding: 10px 14px; }
  .quote-table-intro-box { padding: 16px 14px 12px; }
  .quote-table-title { font-size: 18px; }
  .quote-grid-row { grid-template-columns: 1fr; }
  .quote-grid-row:not(.quote-grid-row-full) .quote-grid-cell:first-child {
    border-inline-end: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  }
  .quote-grid-cell { padding: 11px 14px; }
  .quote-grid-cell input,
  .quote-grid-cell select,
  .quote-grid-cell textarea {
    font-size: 16px !important;
    min-height: 46px;
    padding: 8px 12px;
  }
  .quote-grid-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
  }
  .form-submit { width: 100%; min-height: 48px; font-size: 14.5px; }
  .consent-label { font-size: 12px; line-height: 1.55; }
  .quote-visual-aside,
  .quote-visual-frame {
    min-height: 260px;
    height: 260px;
  }
  .quote-photo-caption { padding: 8px 12px; font-size: 10.5px; }

  /* Footer */
  .site-footer { padding: 44px 0 0; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer-contact-col {
    max-width: 100%;
    width: 100%;
  }
  .footer-logo-img { height: 44px; }
  .footer-contact-item {
    font-size: 14px;
    padding: 9px 13px;
    border-radius: 6px;
    background: rgba(197, 160, 89, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .footer-email-item .contact-text {
    word-break: break-all;
  }
  .social-links {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    align-self: center;
    gap: 12px;
    margin-top: 14px;
    margin-inline: auto;
    flex-wrap: wrap;
    text-align: center;
  }
  [dir="rtl"] .social-links,
  html[lang="ug"] .social-links,
  html[lang="ar"] .social-links {
    justify-content: center !important;
  }
  .social-glow-btn { width: 40px; height: 40px; }
  .social-glow-btn svg { width: 18px; height: 18px; }
  .footer-bottom {
    min-height: auto;
    padding: 16px 10px calc(24px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    font-size: 12.5px;
    width: 100%;
    box-sizing: border-box;
  }
  .footer-bottom > span:first-child {
    text-align: left;
    font-size: 12.5px;
    line-height: 1.35;
  }
  .footer-bottom .footer-privacy-link {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
    font-size: 12.5px;
    padding: 2px 4px;
  }
  .footer-bottom .footer-privacy-link::after {
    display: none !important;
  }
  .footer-bottom > span:last-child {
    text-align: right;
    font-size: 12.5px;
    line-height: 1.35;
    white-space: normal;
  }
  [dir="rtl"] .footer-bottom > span:first-child,
  html[lang="ug"] .footer-bottom > span:first-child,
  html[lang="ar"] .footer-bottom > span:first-child {
    text-align: right !important;
    font-size: 12.5px !important;
  }
  [dir="rtl"] .footer-bottom .footer-privacy-link,
  html[lang="ug"] .footer-bottom .footer-privacy-link,
  html[lang="ar"] .footer-bottom .footer-privacy-link {
    font-size: 12.5px !important;
  }
  [dir="rtl"] .footer-bottom > span:last-child,
  html[lang="ug"] .footer-bottom > span:last-child,
  html[lang="ar"] .footer-bottom > span:last-child {
    text-align: left !important;
    font-size: 12.5px !important;
  }

  /* Uyghur Typography on Mobile */
  html[lang="ug"] .hero h1 {
    font-size: clamp(23px, 6.8vw, 32px) !important;
    line-height: 1.35 !important;
  }
  html[lang="ug"] .section-heading h2,
  html[lang="ug"] .promise-heading h2,
  html[lang="ug"] .contact-copy h2 {
    font-size: clamp(21px, 6.2vw, 29px) !important;
    line-height: 1.35 !important;
  }
  html[lang="ug"] .about-copy h2,
  html[lang="ug"] .services-section .section-heading h2 {
    font-size: clamp(16px, 4.4vw, 22px) !important;
    line-height: 1.35 !important;
  }
  html[lang="ug"] .hero-description {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }
}

/* Extra small mobile screens (<= 420px: iPhone SE, older Android) */
@media (max-width: 420px) {
  .wrap { width: min(var(--wrap), calc(100% - 20px)); }
  .header-inner { min-height: 54px; gap: 6px; }
  .brand-logo-img { height: 33px; }
  .brand-copy strong { font-size: 11.5px; }
  .brand-copy small {
    display: block !important;
    font-size: 6.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: #9e752d !important;
    line-height: 1 !important;
    margin-top: 1.5px !important;
    white-space: nowrap !important;
  }
  html[lang="ug"] .brand-copy small {
    font-size: 6.5px !important;
  }
  .header-actions { gap: 5px; display: inline-flex; align-items: center; }
  .language-control-wrap { width: 90px !important; }
  .language-dropdown-menu { width: 100% !important; min-width: 100% !important; max-width: 100% !important; inset-inline-start: 0 !important; }
  .language-control-btn {
    width: 100% !important;
    justify-content: space-between !important;
    height: 32px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
  }
  .language-current-label,
  .language-dropdown-menu .lang-name { font-size: 11px !important; }
  .language-control-wrap .lang-flag { width: 16px !important; height: 16px !important; min-width: 16px !important; }
  .theme-toggle-btn {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
  }
  .theme-toggle-btn .theme-icon {
    width: 15px !important;
    height: 15px !important;
  }
  .mobile-menu {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    gap: 3.5px !important;
    border-radius: 6px !important;
  }
  .mobile-menu span { width: 15px !important; height: 2px !important; }
  .hero h1 { font-size: clamp(22px, 6.5vw, 28px); }
  .hero-seal { padding: 10px 12px; gap: 10px; }
  .seal-mark-wrap { width: 34px; height: 34px; }
  .service-card-media { height: 165px; }
  .service-card-body { padding: 16px 13px 18px; }
  .identity-tile {
    width: 76px !important;
    min-height: 62px !important;
    padding: 5px 4px !important;
    border-radius: 5px !important;
  }
  .identity-tile img {
    max-height: 30px !important;
    margin-bottom: 2px !important;
  }
  .identity-badge {
    font-size: 6.5px !important;
    line-height: 1.1 !important;
  }
  .about-photo-caption {
    padding: 5px 8px !important;
    font-size: 8px !important;
    max-width: calc(100% - 84px) !important;
  }
  html[lang="ug"] .about-copy h2,
  html[lang="ug"] .services-section .section-heading h2 { font-size: clamp(14px, 4.2vw, 17px) !important; }
}

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

/* ==========================================================================
   Dark (Night) Mode Styles — Luxury Obsidian & Radiant Gold Palette
   ========================================================================== */
html[data-theme="dark"] {
  --ink: #f7f4ee;
  --ink-soft: #eae3d5;
  --ink-deep: #ffffff;
  --gold: #d4af37;
  --gold-bright: #e5c358;
  --gold-light: #3a3220;
  --gold-deep: #f6dfa5;
  --gold-gradient: linear-gradient(135deg, #f7e3ad 0%, #d4af37 50%, #b8871f 100%);
  --paper: #111417;
  --paper-2: #161b1f;
  --paper-card: #1c2227;
  --text: #e2ddd3;
  --muted: #a49e92;
  --line: rgba(212, 175, 55, 0.16);
  --line-gold: rgba(212, 175, 55, 0.4);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 28px 65px rgba(0, 0, 0, 0.7);
  --card-bg: #1c2227 !important;
  --card-title-color: #faf7f2 !important;
  --card-desc-color: #cac2b5 !important;
  --card-link-color: #e5c358 !important;
  --card-badge-color: #e5c358 !important;
  --card-border-color: rgba(212, 175, 55, 0.24) !important;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] body {
  background: var(--paper);
  color: var(--text);
}

/* Header */
html[data-theme="dark"] .site-header {
  background: rgba(17, 20, 23, 0.92);
  border-bottom-color: rgba(212, 175, 55, 0.2);
}
html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(17, 20, 23, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(212, 175, 55, 0.35);
}
html[data-theme="dark"] .main-nav a {
  color: #eae3d5;
}
html[data-theme="dark"] .main-nav a:hover {
  color: #e5c358;
}
html[data-theme="dark"] .language-control,
html[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.22);
  color: #f7f4ee;
}
html[data-theme="dark"] .language-control:hover,
html[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.55);
  color: #f7e3ad;
}
html[data-theme="dark"] .language-control select {
  color: #f7f4ee;
}
html[data-theme="dark"] .language-control select option {
  background: #171b1f;
  color: #f7f4ee;
}
html[data-theme="dark"] .brand-copy strong {
  color: #faf7f2;
}

/* Mobile Header & Nav Drawer */
html[data-theme="dark"] .mobile-menu {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.05);
}
html[data-theme="dark"] .mobile-menu span {
  background: #faf7f2;
}
@media (max-width: 1024px) {
  html[data-theme="dark"] .main-nav {
    background: #15191d;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  }
  html[data-theme="dark"] .main-nav a {
    border-bottom-color: rgba(212, 175, 55, 0.14);
  }
}
@media (min-width: 1025px) {
  html[data-theme="dark"] .main-nav {
    background: transparent;
    box-shadow: none;
  }
}
html[data-theme="dark"] .main-nav a {
  color: #faf5ed;
}
html[data-theme="dark"] .main-nav a:hover {
  color: #d4af37;
}
html[data-theme="dark"] .nav-mobile-foot {
  border-top-color: rgba(212, 175, 55, 0.16);
}
html[data-theme="dark"] .nav-contact-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #e2ddd3;
}
html[data-theme="dark"] .nav-contact-pill:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #e5c358;
}

/* Hero Section */
html[data-theme="dark"] .hero {
  background: #111417 !important;
  color: #faf7f2 !important;
}
html[data-theme="dark"] .hero-image,
html[data-theme="dark"] .hero-slide.active {
  opacity: 1;
}
html[data-theme="dark"] .hero-copy {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html[data-theme="dark"] .hero-shade {
  background: 
    linear-gradient(90deg, rgba(8, 11, 15, 0.62) 0%, rgba(8, 11, 15, 0.42) 34%, rgba(8, 11, 15, 0.16) 56%, transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 22%, rgba(0, 0, 0, 0.24) 100%);
}
html[data-theme="dark"][dir="rtl"] .hero-shade {
  background: 
    linear-gradient(270deg, rgba(8, 11, 15, 0.62) 0%, rgba(8, 11, 15, 0.42) 34%, rgba(8, 11, 15, 0.16) 56%, transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 22%, rgba(0, 0, 0, 0.24) 100%);
}
/* Smooth day-to-night theme transition */
body,
.site-header,
.hero,
.services-section,
.work-section,
.about-section,
.process-section,
.promise-section,
.promise-card,
.testimonials-section,
.contact-section,
.site-footer,
.service-card,
.work-card-button,
.testimonial-card,
.quote-card {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

html[data-theme="dark"] .hero h1 {
  color: #faf7f2;
}
html[data-theme="dark"] .hero-description {
  color: #cac2b5;
}
html[data-theme="dark"] .button-ghost-gold {
  color: #faf7f2;
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .button-ghost-gold:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-bright);
  color: #f7e3ad;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .hero-proof {
  color: #cac2b5;
}
html[data-theme="dark"] .hero-dock-card {
  background: rgba(28, 34, 39, 0.85);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .hero-dock-card:hover {
  background: #1c2227;
  border-color: var(--gold-bright);
}
html[data-theme="dark"] .dock-content strong {
  color: #faf7f2;
}
html[data-theme="dark"] .dock-content small {
  color: #e5c358;
}
html[data-theme="dark"] .hero-seal {
  background: rgba(28, 34, 39, 0.9);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .hero-seal strong {
  color: #faf7f2;
}
html[data-theme="dark"] .hero-seal small,
html[data-theme="dark"] .hero-seal span {
  color: #cac2b5;
}
html[data-theme="dark"] .hero-feature-dock {
  background: #111417;
}

/* Sections & Headings */
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .about-copy h2,
html[data-theme="dark"] .contact-copy h2 {
  color: #faf7f2;
}
html[data-theme="dark"] .section-heading h2 em,
html[data-theme="dark"] .about-copy h2 em,
html[data-theme="dark"] .contact-copy h2 em {
  color: #e5c358;
}
html[data-theme="dark"] .section-intro {
  color: #a49e92;
}

/* Services */
html[data-theme="dark"] .services-section {
  background: #111417;
}
html[data-theme="dark"] .service-card {
  background: linear-gradient(180deg, var(--card-tint-bg, #1c2227) 0%, #171c21 40%) !important;
  border-color: var(--card-border, rgba(212, 175, 55, 0.22));
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .service-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 24px 50px -10px var(--card-glow), 0 0 0 1px var(--card-border-hover);
}
html[data-theme="dark"] .service-card h3 {
  color: #f8fafc;
}
html[data-theme="dark"] .service-desc {
  color: #94a3b8;
}
html[data-theme="dark"] .service-feature-item {
  color: #cbd5e1;
}
html[data-theme="dark"] .service-index-pill {
  background: rgba(17, 20, 24, 0.92);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--card-primary-light);
}
html[data-theme="dark"] .service-cta-btn {
  background: var(--card-tint-soft);
  border-color: var(--card-border);
  color: var(--card-primary-light);
}
html[data-theme="dark"] .service-cta-btn:hover {
  background: var(--card-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px -4px var(--card-glow);
}

/* Work / Projects */
html[data-theme="dark"] .work-section {
  background: #14181c;
}
html[data-theme="dark"] .filter-btn {
  background: #1c2227;
  color: #cac2b5;
  border-color: rgba(212, 175, 55, 0.25);
}
html[data-theme="dark"] .filter-btn:hover {
  color: #faf7f2;
  border-color: var(--gold-bright);
}
html[data-theme="dark"] .filter-btn.active {
  background: var(--gold-gradient);
  color: #111417;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}
html[data-theme="dark"] .work-card-button {
  background: #1c2227;
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .work-card-button:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .work-image-wrap {
  background: #101316;
}
html[data-theme="dark"] .concept-label {
  background: rgba(28, 34, 39, 0.94);
  color: #faf7f2;
  border-color: rgba(212, 175, 55, 0.35);
}
html[data-theme="dark"] .work-info h3 {
  color: #faf7f2 !important;
}
html[data-theme="dark"] .work-info p {
  color: #cac2b5 !important;
}
html[data-theme="dark"] .work-open-text {
  color: #e5c358 !important;
}

/* About Section */
html[data-theme="dark"] .about-section {
  background: #161a1e;
  color: #faf7f2;
}
html[data-theme="dark"] .about-body {
  color: #cac2b5;
}
html[data-theme="dark"] .about-lead {
  color: #e2ddd3;
}
html[data-theme="dark"] .value-item strong {
  color: #faf7f2;
}
html[data-theme="dark"] .value-item span {
  color: #cac2b5;
}
html[data-theme="dark"] .about-photo-caption {
  background: rgba(28, 34, 39, 0.95);
  color: #faf7f2;
  border-color: rgba(212, 175, 55, 0.3);
}

/* Process Section */
html[data-theme="dark"] .process-section {
  background: var(--paper, #0e1215);
}

html[data-theme="dark"] .process-card,
html[data-theme="dark"] .process-step {
  background: #151921;
  background: linear-gradient(180deg, #181d26 0%, #12151d 100%);
  border-color: rgba(212, 175, 55, 0.24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .process-card:hover,
html[data-theme="dark"] .process-step:hover {
  border-color: rgba(240, 199, 92, 0.65);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(240, 199, 92, 0.25);
}

html[data-theme="dark"] .process-badge {
  background: linear-gradient(135deg, rgba(240, 199, 92, 0.2) 0%, rgba(240, 199, 92, 0.08) 100%);
  border-color: rgba(240, 199, 92, 0.4);
  color: #f0c75c;
}

html[data-theme="dark"] .process-flow-arrow:not(.process-final-badge) {
  background: rgba(240, 199, 92, 0.12);
  color: #f0c75c;
}

html[data-theme="dark"] .process-card:hover .process-flow-arrow:not(.process-final-badge),
html[data-theme="dark"] .process-step:hover .process-flow-arrow:not(.process-final-badge) {
  background: #f0c75c;
  color: #12161f;
}

html[data-theme="dark"] .process-final-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

html[data-theme="dark"] .process-icon-box,
html[data-theme="dark"] .step-icon {
  background: linear-gradient(135deg, rgba(240, 199, 92, 0.18) 0%, rgba(240, 199, 92, 0.06) 100%);
  border-color: rgba(240, 199, 92, 0.35);
  color: #f0c75c;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .process-card:hover .process-icon-box,
html[data-theme="dark"] .process-step:hover .step-icon {
  background: linear-gradient(135deg, rgba(240, 199, 92, 0.3) 0%, rgba(240, 199, 92, 0.14) 100%);
  box-shadow: 0 8px 24px rgba(240, 199, 92, 0.25);
}

html[data-theme="dark"] .process-card h3,
html[data-theme="dark"] .process-step h3 {
  color: #faf7f2;
}

html[data-theme="dark"] .process-card:hover h3,
html[data-theme="dark"] .process-step:hover h3 {
  color: #f0c75c;
}

html[data-theme="dark"] .process-card p,
html[data-theme="dark"] .process-step p {
  color: #cac2b5;
}

/* Promise Section — Stays warm cream and white porcelain cards across all themes and refreshes */
html[data-theme="dark"] .promise-section,
html[data-theme="dark"] #values.promise-section {
  background: #fbf9f4 !important;
  color: #191e20 !important;
  border-color: rgba(197, 160, 89, 0.25) !important;
  border-bottom: none !important;
}
html[data-theme="dark"] .promise-card,
html[data-theme="dark"] #values .promise-card {
  background: #ffffff !important;
  border: 1px solid rgba(197, 160, 89, 0.28) !important;
  box-shadow: 0 4px 18px -2px rgba(60, 42, 20, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}
html[data-theme="dark"] .promise-card:hover,
html[data-theme="dark"] #values .promise-card:hover {
  background: #ffffff !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
  box-shadow: 0 16px 36px -8px rgba(60, 42, 20, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.25) !important;
}
html[data-theme="dark"] .promise-card-body h3,
html[data-theme="dark"] #values .promise-card-body h3 {
  color: #161b1e !important;
}
html[data-theme="dark"] .promise-card:hover .promise-card-body h3,
html[data-theme="dark"] #values .promise-card:hover .promise-card-body h3 {
  color: #a8781e !important;
}
html[data-theme="dark"] .promise-card-body p,
html[data-theme="dark"] #values .promise-card-body p {
  color: #555d60 !important;
}
html[data-theme="dark"] .promise-card-icon,
html[data-theme="dark"] #values .promise-card-icon {
  background: rgba(212, 175, 55, 0.1) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #a8781e !important;
}
html[data-theme="dark"] .promise-card:hover .promise-card-icon,
html[data-theme="dark"] #values .promise-card:hover .promise-card-icon {
  background: linear-gradient(135deg, #dfb75c 0%, #c59b3f 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(197, 155, 63, 0.3) !important;
}
html[data-theme="dark"] .promise-section .promise-heading h2,
html[data-theme="dark"] #values .promise-heading h2 {
  color: #0e1214 !important;
}
html[data-theme="dark"] .promise-section .promise-heading h2 em,
html[data-theme="dark"] #values .promise-heading h2 em {
  color: #b8861d !important;
}
html[data-theme="dark"] .promise-section .promise-heading p,
html[data-theme="dark"] #values .promise-heading p {
  color: #555d60 !important;
}

/* Testimonials */
html[data-theme="dark"] .testimonials-section {
  background: #14181c;
}
html[data-theme="dark"] .testimonial-card {
  background: #1c2227;
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .testimonial-card:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .testimonial-card p {
  color: #cac2b5;
}
html[data-theme="dark"] .testimonial-person strong {
  color: #faf7f2;
}
html[data-theme="dark"] .testimonial-person small {
  color: #a49e92;
}

/* Contact Section & Quote Card */
html[data-theme="dark"] .contact-section {
  background: #161a1e;
}
html[data-theme="dark"] .contact-copy > p:not(.eyebrow) {
  color: #cac2b5;
}
html[data-theme="dark"] .contact-trust {
  color: #cac2b5;
}
html[data-theme="dark"] .contact-details {
  border-top-color: rgba(212, 175, 55, 0.16);
}
html[data-theme="dark"] .contact-details a,
html[data-theme="dark"] .contact-details p {
  color: #cac2b5;
}
html[data-theme="dark"] .contact-details a:hover {
  color: #e5c358;
}
html[data-theme="dark"] .detail-icon {
  background: rgba(212, 175, 55, 0.15);
  color: #e5c358;
}
html[data-theme="dark"] .contact-section {
  background: var(--paper, #0e1215);
}
html[data-theme="dark"] .quote-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .quote-table {
  background: var(--paper, #0e1215);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(212, 175, 55, 0.14);
}
html[data-theme="dark"] .quote-table-header {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-bottom-color: rgba(212, 175, 55, 0.28);
}
html[data-theme="dark"] .quote-table-id {
  color: #e5c358;
}
html[data-theme="dark"] .quote-table-tag {
  color: #f0c75c;
}
html[data-theme="dark"] .quote-table-close {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2ddd3;
}
html[data-theme="dark"] .quote-table-close:hover {
  background: #ffffff;
  color: #111417;
  border-color: #ffffff;
}
html[data-theme="dark"] .quote-table-intro-box {
  background: rgba(255, 255, 255, 0.015);
  border-bottom-color: rgba(212, 175, 55, 0.22);
}
html[data-theme="dark"] .quote-table-title {
  color: #faf7f2;
}
html[data-theme="dark"] .quote-table-desc {
  color: #cac2b5;
}
html[data-theme="dark"] .quote-grid-row {
  border-bottom-color: rgba(212, 175, 55, 0.22);
}
html[data-theme="dark"] .quote-grid-cell {
  background: rgba(255, 255, 255, 0.02);
}
html[data-theme="dark"] .quote-grid-row:not(.quote-grid-row-full) .quote-grid-cell:first-child {
  border-inline-end-color: rgba(212, 175, 55, 0.22);
}
html[data-theme="dark"] .quote-grid-cell:hover,
html[data-theme="dark"] .quote-grid-cell:focus-within {
  background: rgba(212, 175, 55, 0.08);
}
html[data-theme="dark"] .cell-head {
  color: #e5c358;
}
html[data-theme="dark"] .cell-num {
  color: #f0c75c;
  opacity: 0.9;
}
html[data-theme="dark"] .quote-grid-cell input,
html[data-theme="dark"] .quote-grid-cell select,
html[data-theme="dark"] .quote-grid-cell textarea {
  background: #13171b;
  border-color: rgba(212, 175, 55, 0.25);
  color: #faf7f2;
}
html[data-theme="dark"] .quote-grid-cell input:focus,
html[data-theme="dark"] .quote-grid-cell select:focus,
html[data-theme="dark"] .quote-grid-cell textarea:focus {
  background: #161b20;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(240, 199, 92, 0.2);
}
html[data-theme="dark"] .quote-grid-cell input::placeholder,
html[data-theme="dark"] .quote-grid-cell textarea::placeholder {
  color: #727a7c;
}
html[data-theme="dark"] .quote-grid-footer {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.03) 100%);
}
html[data-theme="dark"] .consent-label {
  color: #cac2b5;
}

html[data-theme="dark"] .quote-visual-frame {
  background: #0e1215;
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(212, 175, 55, 0.14);
}
html[data-theme="dark"] .quote-visual-aside::before {
  border-color: rgba(212, 175, 55, 0.28);
}
html[data-theme="dark"] .quote-photo-caption {
  background: rgba(20, 25, 29, 0.95);
  color: #faf7f2;
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .identity-tile,
html[data-theme="dark"] .quote-identity-tile {
  background: #171c20;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .identity-tile .identity-badge,
html[data-theme="dark"] .quote-identity-tile .identity-badge {
  color: #dfb75c;
}

/* Footer */
html[data-theme="dark"] .site-footer {
  background: #0d1012;
}
html[data-theme="dark"] .brand-footer {
  color: #faf7f2;
}
html[data-theme="dark"] .footer-main h3 {
  color: #faf7f2;
}
html[data-theme="dark"] .footer-brand-col > p,
html[data-theme="dark"] .footer-links-col a,
html[data-theme="dark"] .footer-contact-col p,
html[data-theme="dark"] .footer-contact-item,
html[data-theme="dark"] .footer-bottom,
html[data-theme="dark"] .footer-privacy-link {
  color: #a49e92;
}
html[data-theme="dark"] .footer-contact-item .contact-item-icon {
  color: #dfb75c;
}
html[data-theme="dark"] .footer-links-col a:hover,
html[data-theme="dark"] .footer-contact-item:hover,
html[data-theme="dark"] .footer-privacy-link:hover {
  color: #e5c358;
}
html[data-theme="dark"] .social-links a:not(.social-glow-btn) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.25);
  color: #e5c358;
}
html[data-theme="dark"] .social-links a:not(.social-glow-btn):hover {
  background: var(--gold-bright);
  color: #111417;
  border-color: var(--gold-bright);
}
html[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(212, 175, 55, 0.16);
}

/* Modal */
html[data-theme="dark"] .modal-backdrop {
  background: rgba(8, 10, 12, 0.82);
}
html[data-theme="dark"] .project-modal {
  background: #181d22;
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.7);
  color: #faf7f2;
}
html[data-theme="dark"] .project-modal-copy h2 {
  color: #faf7f2;
}
html[data-theme="dark"] .project-modal-copy > p:not(.eyebrow) {
  color: #cac2b5;
}
html[data-theme="dark"] .modal-close {
  background: #232a31;
  color: #faf7f2;
  border-color: rgba(212, 175, 55, 0.3);
}
html[data-theme="dark"] .modal-close:hover {
  background: var(--gold-bright);
  color: #111417;
}


/* Global Mobile Containment & Typography — Eliminates horizontal overflow, edge-cropping, and formats paragraphs cleanly like a book */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
  }

  /* Book-like neat paragraph justification across all pages */
  p,
  .about-copy p,
  .about-lead,
  .about-body,
  .about-text-block p,
  .about-vision-text p,
  .about-history-content p,
  .privacy-page p,
  .project-detail-desc p,
  .service-card-body p,
  .process-step p,
  .promise-card p {
    text-align: justify;
    text-justify: inter-word;
    text-align-last: start;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
  }

  /* Responsive image containment */
  img {
    max-width: 100%;
    height: auto;
  }
  
  .hero,
  .services-section,
  .featured-projects-section,
  .work-section,
  .about-section,
  .about-who-section,
  .about-vision-section,
  .about-history-section,
  .about-designs-section,
  .about-help-section,
  .process-section,
  .promise-section,
  .testimonials-section,
  .contact-section,
  .quote-section,
  .site-footer,
  main,
  section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .site-header {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .wrap {
    width: min(var(--wrap), calc(100% - 24px)) !important;
    max-width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
  }
  .work-grid,
  .services-grid,
  .process-grid,
  .promise-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .work-card-button,
  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .work-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .work-image-wrap img,
  .service-card-media img {
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }
  .concept-label,
  .work-category {
    max-width: calc(50% - 14px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}


/* =========================================================
   Featured Completed Projects Section (ئەڭ يېڭى پۈتكەن قۇرۇلۇش تۈرلىرىمىز)
   ========================================================= */
.featured-projects-section {
  scroll-margin-top: 96px;
  padding: 38px 0 95px;
  background: #faf7f2;
  border-top: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  position: relative;
}

.featured-top-bar {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.featured-heading-col .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  color: #9e7527;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.featured-heading-col .eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(to left, #d4af37, #9e7527);
  border-radius: 2px;
}

.featured-main-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 850;
  letter-spacing: -0.025em;
  color: #1a2024;
  margin: 0;
  line-height: 1.3;
}

html[lang="ug"] .featured-main-title {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
}
html[lang="ar"] .featured-main-title {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
}

.featured-filter-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.featured-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feat-pill {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 750;
  border: 1.5px solid rgba(100, 75, 45, 0.15);
  background: #eee8de;
  color: #55483c;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

html[lang="ug"] .feat-pill {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 13.5px;
}
html[lang="ar"] .feat-pill {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 13.5px;
}

.feat-pill:hover {
  background: #e2d8c9;
  color: #1c1611;
  border-color: rgba(197, 160, 89, 0.45);
  transform: translateY(-1px);
}

.feat-pill.active {
  background: #d4af37 !important;
  color: #141719 !important;
  border-color: #d4af37 !important;
  font-weight: 850 !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.38) !important;
  transform: translateY(-1px);
}

.featured-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  color: #171c1f;
  background: linear-gradient(135deg, #dfc26e 0%, #c5a059 50%, #ad8330 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

html[lang="ug"] .featured-all-link {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 14px;
}
html[lang="ar"] .featured-all-link {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 14px;
}

.featured-all-link:hover {
  background: linear-gradient(135deg, #e8cf82 0%, #d4af37 50%, #b8860b 100%);
  color: #121619;
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.38), 0 0 16px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.featured-all-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.feat-link-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.featured-all-link:hover .feat-link-arrow {
  transform: translateX(-4px);
}

html[dir="ltr"] .featured-all-link:hover .feat-link-arrow {
  transform: translateX(4px);
}

html[dir="ltr"] .feat-link-arrow svg {
  transform: scaleX(-1);
}

/* 4 Cards Grid */
.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.featured-showcase-card {
  background: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(35, 26, 16, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.featured-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(180, 140, 60, 0.18), 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: #d4af37;
}

.featured-showcase-card.is-hidden {
  display: none !important;
}

.featured-card-top {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #e6dfd5;
}

.featured-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-showcase-card:hover .featured-card-top img {
  transform: scale(1.04);
}

.featured-price-pill {
  display: none !important;
}

.featured-card-bottom {
  padding: 18px 18px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.featured-card-details {
  flex: 1;
  min-width: 0;
}

.featured-card-details h3 {
  font-size: 15.5px;
  font-weight: 850;
  color: #1c2226;
  margin: 0 0 7px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[lang="ug"] .featured-card-details h3 {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 15.5px;
}
html[lang="ar"] .featured-card-details h3 {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 15.5px;
}

.featured-card-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  color: #8c641c;
}

html[lang="ug"] .featured-card-cat {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 12px;
}
html[lang="ar"] .featured-card-cat {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 12px;
}

.feat-marker-icon {
  color: #b8860b;
  flex-shrink: 0;
}

.featured-round-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  background: #fdfaf4;
  color: #7f5518;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.featured-round-btn:hover {
  background: #d4af37;
  color: #15181a;
  border-color: #d4af37;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

html[dir="ltr"] .featured-round-btn svg {
  transform: scaleX(-1);
}

/* Dark Mode Support */
html[data-theme="dark"] .featured-projects-section {
  background: #111518;
  border-top: none;
  border-bottom-color: rgba(212, 175, 55, 0.16);
}

html[data-theme="dark"] .featured-main-title {
  color: #ffffff;
}

html[data-theme="dark"] .feat-pill {
  background: #1a2026;
  color: #b8b0a2;
  border-color: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"] .feat-pill:hover {
  background: #232b33;
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.4);
}

html[data-theme="dark"] .feat-pill.active {
  background: #d4af37 !important;
  color: #141719 !important;
  border-color: #d4af37 !important;
}

html[data-theme="dark"] .featured-all-link {
  background: linear-gradient(135deg, #dfc26e 0%, #c5a059 50%, #a87e28 100%);
  color: #121719;
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] .featured-all-link:hover {
  background: linear-gradient(135deg, #f0d88c 0%, #d4af37 50%, #b8860b 100%);
  color: #0b0f11;
  border-color: #f0d88c;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .featured-showcase-card {
  background: #181d22;
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .featured-showcase-card:hover {
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.16);
  border-color: #d4af37;
}

html[data-theme="dark"] .featured-card-details h3 {
  color: #ffffff;
}

html[data-theme="dark"] .featured-card-cat {
  color: #dcb360;
}

html[data-theme="dark"] .featured-round-btn {
  background: #232b31;
  color: #f2cf78;
  border-color: rgba(212, 175, 55, 0.3);
}

html[data-theme="dark"] .featured-round-btn:hover {
  background: #d4af37;
  color: #15181a;
  border-color: #d4af37;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .featured-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 50px 0 24px;
  }
  .featured-projects-section {
    padding: 24px 0 60px;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .featured-top-bar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .featured-filter-actions-row {
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding-top: 0;
  }
  .featured-filter-tabs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }
  .featured-filter-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .feat-pill {
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .featured-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto;
    box-sizing: border-box !important;
  }
  .featured-card-top {
    height: 200px;
  }
}


/* === Enhanced High-Clarity Brand Logo Overrides === */
.brand {
  gap: 14px;
}
.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(32, 22, 6, 0.1));
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}
.brand:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 4px rgba(160, 118, 28, 0.16));
}
html[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
}
.footer-logo-img {
  height: 68px !important;
  filter: drop-shadow(0 1px 2px rgba(32, 22, 6, 0.1));
}
html[data-theme="dark"] .footer-logo-img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
}
.seal-mark-wrap {
  width: 86px;
  height: 58px;
}
.seal-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.25));
}
@media (min-width: 901px) {
  .identity-tile {
    width: 154px;
    min-height: 138px;
    padding: 14px 12px;
  }
  .identity-tile img {
    max-height: 86px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(32, 22, 6, 0.1));
  }
}
.quote-identity-tile {
  width: 162px;
  min-height: 138px;
  padding: 12px 10px;
}
.quote-identity-tile img {
  max-height: 88px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(32, 22, 6, 0.1));
}
html[data-theme="dark"] .identity-tile img,
html[data-theme="dark"] .quote-identity-tile img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
}

@media (max-width: 1120px) {
  .brand-logo-img {
    height: 54px;
  }
}

@media (max-width: 768px) {
  .site-header .brand-logo-img,
  .brand-logo-img {
    height: 45px !important;
  }
  .footer-logo-img {
    height: 56px !important;
  }
  .seal-mark-wrap {
    width: 66px;
    height: 46px;
  }
}

@media (max-width: 420px) {
  .site-header .brand-logo-img,
  .brand-logo-img {
    height: 41px !important;
  }
  .seal-mark-wrap {
    width: 56px;
    height: 38px;
  }
}

.brand-copy { display: none !important; }


/* === Ultra-Smooth Scroll-Reveal Float-Up Animations === */
.sr-reveal:not(.is-visible) {
  opacity: 0 !important;
  transform: translate3d(0, 42px, 0) !important;
  transition-property: opacity, transform !important;
  transition-duration: 0.88s, 0.98s !important;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1), cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: var(--sr-delay, 0ms), var(--sr-delay, 0ms) !important;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.sr-reveal.is-visible:not(.sr-done) {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  transition-property: opacity, transform !important;
  transition-duration: 0.88s, 0.98s !important;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1), cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: var(--sr-delay, 0ms), var(--sr-delay, 0ms) !important;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.sr-reveal.is-visible.sr-done {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .sr-reveal:not(.is-visible),
  .sr-reveal.is-visible:not(.sr-done),
  .sr-reveal.is-visible.sr-done {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Single-line Services Intro Text */
.services-section .section-intro {
  max-width: none !important;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .services-section .section-intro {
    white-space: normal;
  }
}


/* =========================================================
   PHASE 1: BEFORE & AFTER TRANSFORMATION SHOWCASE
   ========================================================= */
.before-after-section {
  position: relative;
  background: var(--paper);
  padding: 95px 0 105px;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.before-after-section .section-heading {
  margin-bottom: 32px;
}

.ba-nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.ba-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: #ffffff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(60, 42, 20, 0.04);
}

.ba-pill:hover {
  border-color: var(--gold-bright);
  background: #fdfaf3;
  transform: translateY(-2px);
}

.ba-pill.active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #121618;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.32);
}

.ba-stage-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.ba-slider-container {
  --ba-pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  max-height: 620px;
  border-radius: 14px;
  overflow: hidden;
  background: #141719;
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 18px 50px rgba(35, 27, 21, 0.16);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba-img-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  clip-path: polygon(0 0, var(--ba-pos) 0, var(--ba-pos) 100%, 0 100%);
  will-change: clip-path;
}

html[dir="rtl"] .ba-before-wrap {
  clip-path: polygon(var(--ba-pos) 0, 100% 0, 100% 100%, var(--ba-pos) 100%);
}

.ba-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-badge {
  position: absolute;
  top: 20px;
  z-index: 4;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ba-badge-before {
  left: 20px;
  background: rgba(18, 23, 26, 0.82);
  color: #f7f3eb;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

html[dir="rtl"] .ba-badge-before {
  left: auto;
  right: 20px;
}

.ba-badge-after {
  right: 20px;
  background: #d4af37;
  color: #121719;
  border: 1px solid #ffd700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
}

html[dir="rtl"] .ba-badge-after {
  right: auto;
  left: 20px;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  transform: translateX(-50%);
  width: 44px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: auto;
  outline: none;
}

html[dir="rtl"] .ba-handle {
  left: var(--ba-pos) !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  background: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8), 0 0 2px rgba(0, 0, 0, 0.8);
}

.ba-handle-circle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #d4af37;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.38), 0 0 0 4px rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e7422;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ba-handle:hover .ba-handle-circle,
.ba-handle.is-active .ba-handle-circle {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(212, 175, 55, 0.35);
  background: #fefcf7;
}

.ba-handle-arrows {
  width: 20px;
  height: 20px;
}

.ba-instruction {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

/* Dark Mode for Before & After */
html[data-theme="dark"] .before-after-section {
  background: #111518;
  border-bottom-color: rgba(212, 175, 55, 0.16);
}

html[data-theme="dark"] .ba-pill {
  background: #192024;
  color: #eee8d9;
  border-color: rgba(212, 175, 55, 0.25);
}

html[data-theme="dark"] .ba-pill.active {
  background: #d4af37;
  color: #121719;
  border-color: #d4af37;
}

html[data-theme="dark"] .ba-slider-container {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .before-after-section {
    padding: 60px 0 70px;
  }
  .ba-slider-container {
    min-height: 260px;
    border-radius: 10px;
  }
  .ba-pill {
    padding: 8px 16px;
    font-size: 12px;
  }
  .ba-handle-circle {
    width: 36px;
    height: 36px;
  }
}

/* =========================================================
   PHASE 1: INTERACTIVE RENOVATION COST ESTIMATOR
   ========================================================= */
.cost-estimator-section {
  position: relative;
  background: var(--paper-2);
  padding: 100px 0 110px;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.estimator-card {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.32);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 20px 55px rgba(60, 42, 20, 0.08);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.est-step-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.est-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.est-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #181d1f;
  font-size: 13px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.est-step-head strong {
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Step 1: Type Grid */
.est-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
}

.est-type-card {
  padding: 18px 14px;
  border-radius: 10px;
  border: 1px solid rgba(100, 75, 45, 0.16);
  background: #fbf9f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.est-type-card:hover {
  border-color: var(--gold);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(60, 42, 20, 0.06);
}

.est-type-card.active {
  border-color: var(--gold-bright);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.24);
  outline: 2px solid var(--gold-bright);
}

.est-type-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 4px;
}

.est-type-card strong {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.35;
}

.est-type-card small {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.25;
}

/* Step 2: Range Slider */
.est-range-box {
  background: #fcfaf5;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.est-range-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.est-area-number {
  font-size: 38px;
  font-weight: 850;
  color: #9e7422;
  font-feature-settings: "tnum";
  line-height: 1;
}

.est-area-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.est-slider {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #e6ddce;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.est-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #d4af37;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.est-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.est-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #d4af37;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.est-range-markers {
  display: flex;
  justify-content: space-between;
  color: #8c7e70;
  font-size: 11.5px;
  font-weight: 650;
}

/* Step 3: Tiers */
.est-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.est-tier-btn {
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(100, 75, 45, 0.16);
  background: #fbf9f4;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

html[dir="rtl"] .est-tier-btn {
  text-align: right;
}

.est-tier-btn:hover {
  border-color: var(--gold);
  background: #ffffff;
  transform: translateY(-2px);
}

.est-tier-btn.active {
  border-color: var(--gold-bright);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.22);
  outline: 2px solid var(--gold-bright);
}

.tier-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(100, 75, 45, 0.35);
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}

.est-tier-btn.active .tier-dot {
  border-color: #d4af37;
  background: #d4af37;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.est-tier-btn strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.35;
}

.est-tier-btn small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

/* Live Output Banner */
.est-result-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 14px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.est-result-col {
  flex: 1;
  min-width: 280px;
}

.est-result-label {
  display: block;
  font-size: 12px;
  font-weight: 850;
  color: #9e7422;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.est-result-price {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 850;
  color: var(--ink);
  font-feature-settings: "tnum";
  line-height: 1.1;
}

.est-result-note {
  display: block;
  font-size: 11px;
  color: #7a6e60;
  margin-top: 8px;
  line-height: 1.45;
}

.est-apply-btn {
  padding: 14px 28px !important;
  font-size: 14px !important;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* Dark Mode for Estimator */
html[data-theme="dark"] .cost-estimator-section {
  background: #0d1012;
  border-color: rgba(212, 175, 55, 0.16);
}

html[data-theme="dark"] .estimator-card {
  background: #14181b;
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .est-step-head strong,
html[data-theme="dark"] .est-type-card strong,
html[data-theme="dark"] .est-tier-btn strong,
html[data-theme="dark"] .est-result-price {
  color: #f7f3eb;
}

html[data-theme="dark"] .est-type-card,
html[data-theme="dark"] .est-range-box,
html[data-theme="dark"] .est-tier-btn {
  background: #1a2024;
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .est-type-card.active,
html[data-theme="dark"] .est-tier-btn.active {
  background: #21292e;
}

html[data-theme="dark"] .est-slider {
  background: #2d363d;
}

@media (max-width: 768px) {
  .cost-estimator-section {
    padding: 60px 0 70px;
  }
  .estimator-card {
    padding: 24px 18px;
    gap: 26px;
  }
  .est-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .est-tiers-grid {
    grid-template-columns: 1fr;
  }
  .est-result-banner {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .est-apply-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* =========================================================
   PHASE 1: MOBILE STICKY DIRECT ACTION BAR
   ========================================================= */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 19, 23, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(212, 175, 55, 0.36);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.36);
    box-sizing: border-box;
  }

  .mob-bar-btn {
    width: 100%;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
    box-sizing: border-box;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
  }

  .mob-bar-btn:active {
    transform: scale(0.97);
    filter: brightness(1.05);
  }

  .mob-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  .mob-bar-icon svg {
    width: 17px;
    height: 17px;
    display: block;
  }

  .mob-bar-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mob-bar-call {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    color: #f7e6b7;
    border: 1px solid rgba(212, 175, 55, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.24);
  }

  .mob-bar-call .mob-bar-icon {
    color: #f0c75c;
  }

  .mob-bar-whatsapp {
    background: linear-gradient(180deg, #21b85b 0%, #15803d 100%);
    color: #ffffff;
    border: 1px solid rgba(110, 231, 160, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 14px rgba(21, 128, 61, 0.35);
  }

  .mob-bar-estimate {
    background: linear-gradient(180deg, #ecd078 0%, #c99c2c 100%);
    color: #141719;
    border: 1px solid rgba(255, 232, 160, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 4px 14px rgba(212, 175, 55, 0.28);
  }
}

/* =========================================================
   ONTARIO TRUST & COMPLIANCE ACCREDITATION STRIP
   ========================================================= */
.trust-strip-section {
  position: relative;
  background: #141719;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  padding: 18px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  z-index: 10;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(var(--trust-cols, 5), minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.16);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: default;
}

.trust-strip-item:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.trust-strip-item:hover .trust-icon-box {
  transform: scale(1.08);
  color: #f7d586;
  border-color: #ffd700;
}

.trust-icon-svg {
  width: 22px;
  height: 22px;
}

.trust-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trust-title {
  font-size: 13px;
  font-weight: 800;
  color: #f7f3eb;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-sub {
  font-size: 11px;
  font-weight: 600;
  color: #a49989;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1200px) {
  .trust-strip-inner {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

@media (max-width: 768px) {
  .trust-strip-section {
    padding: 14px 0;
  }
  .trust-strip-inner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .trust-strip-inner::-webkit-scrollbar {
    display: none;
  }
  .trust-strip-item {
    flex: 0 0 240px;
    scroll-snap-align: start;
    padding: 9px 11px;
  }
}

/* =========================================================
   INTERACTIVE FAQ ACCORDION SECTION
   ========================================================= */
.faq-section {
  position: relative;
  background: var(--paper);
  padding: 100px 0 110px;
  border-top: 1px solid rgba(197, 160, 89, 0.22);
}

.faq-container {
  max-width: 920px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.26);
  border-radius: 12px;
  transition: border-color 0.26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.26s cubic-bezier(0.16, 1, 0.3, 1), background 0.26s ease;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(60, 42, 20, 0.04);
}

.faq-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(60, 42, 20, 0.07);
}

.faq-item.is-open {
  border-color: var(--gold-bright);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.16);
  background: #ffffff;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: color 0.2s ease;
}

html[dir="rtl"] .faq-question-btn {
  text-align: right;
}

.faq-q-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.faq-q-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.06) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #9e7422;
  font-size: 13px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-q-badge {
  background: var(--gold-bright);
  color: #121719;
  border-color: var(--gold-bright);
  transform: scale(1.05);
}

.faq-q-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.faq-item.is-open .faq-q-title {
  color: #9e7422;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(100, 75, 45, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8c7e70;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}

.faq-chevron-svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-chevron {
  background: rgba(212, 175, 55, 0.2);
  color: #9e7422;
}

.faq-item.is-open .faq-chevron-svg {
  transform: rotate(180deg);
}

.faq-answer-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.26s ease;
  opacity: 0;
}

.faq-item.is-open .faq-answer-collapse {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 26px 24px calc(26px + 32px + 14px);
  font-size: 14.5px;
  line-height: 1.75;
  color: #55483a;
}

html[dir="rtl"] .faq-answer-inner {
  padding: 0 calc(26px + 32px + 14px) 24px 26px;
}

/* Dark Mode for FAQ */
html[data-theme="dark"] .faq-section {
  background: #101416;
  border-color: rgba(212, 175, 55, 0.16);
}

html[data-theme="dark"] .faq-item {
  background: #171d21;
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .faq-item.is-open {
  background: #1b2227;
  border-color: rgba(212, 175, 55, 0.55);
}

html[data-theme="dark"] .faq-q-title {
  color: #f7f3eb;
}

html[data-theme="dark"] .faq-item.is-open .faq-q-title {
  color: #f7d586;
}

html[data-theme="dark"] .faq-answer-inner {
  color: #d1c6b5;
}

html[data-theme="dark"] .faq-chevron {
  background: rgba(255, 255, 255, 0.06);
  color: #c5bba8;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0 70px;
  }
  .faq-container {
    margin-top: 30px;
    gap: 10px;
  }
  .faq-question-btn {
    padding: 16px 18px;
    gap: 12px;
  }
  .faq-q-badge {
    width: 26px;
    height: 26px;
    font-size: 11.5px;
  }
  .faq-q-title {
    font-size: 14px;
  }
  .faq-answer-inner {
    padding: 0 18px 18px 18px;
    font-size: 13.5px;
  }
  html[dir="rtl"] .faq-answer-inner {
    padding: 0 18px 18px 18px;
  }
}

/* =========================================================
   QUOTE CALCULATOR CARD (MATCHES WEBSITE CREAM ARCHITECTURAL PALETTE)
   ========================================================= */
.quote-split-container {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

html[dir="ltr"] .quote-split-container {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}
html[dir="ltr"] .quote-calculator-aside {
  order: 2;
}
html[dir="ltr"] .quote-table {
  order: 1;
}

.quote-calculator-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  height: 100%;
}

.quote-calc-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper, #faf7f2);
  border: 1.5px solid rgba(197, 160, 89, 0.42);
  border-radius: 8px;
  padding: 28px 26px;
  box-shadow: 0 16px 44px -8px rgba(60, 42, 20, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-calc-card:hover {
  border-color: rgba(197, 160, 89, 0.65);
  box-shadow: 0 20px 48px -6px rgba(60, 42, 20, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Quote Aside Showcase Image Card */
.quote-aside-image-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  background: var(--paper, #171c1f);
  border: 1.5px solid rgba(197, 160, 89, 0.42);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 44px -8px rgba(60, 42, 20, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-aside-image-card:hover {
  border-color: rgba(197, 160, 89, 0.7);
  box-shadow: 0 20px 48px -6px rgba(60, 42, 20, 0.18);
}

.quote-aside-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0d1114;
}

.quote-aside-backdrop {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(32px) brightness(0.38);
  opacity: 0.85;
  transform: scale(1.15);
  pointer-events: none;
  transition: background-image 0.4s ease;
  z-index: 0;
}

.quote-aside-image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-aside-image-frame img.is-contained {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100%;
  height: 100%;
}

.quote-aside-image-card:hover .quote-aside-image-frame img:not(.is-contained) {
  transform: scale(1.04);
}

.quote-aside-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  background: linear-gradient(
    180deg,
    rgba(14, 18, 22, 0.08) 0%,
    rgba(14, 18, 22, 0.42) 50%,
    rgba(12, 16, 19, 0.94) 100%
  );
  box-sizing: border-box;
  pointer-events: none;
}

.quote-aside-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4af37;
  background: rgba(18, 23, 26, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.quote-aside-title {
  margin: 0 0 8px 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.quote-aside-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(240, 240, 240, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .quote-aside-image-card {
    min-height: 380px;
  }
}

.calc-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.calc-eyebrow-bar {
  width: 24px;
  height: 2.5px;
  background: #b5892e;
  border-radius: 2px;
}

.calc-eyebrow {
  font-size: 11px;
  font-weight: 850;
  color: #9e7422;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-title {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 850;
  color: var(--ink, #161b1e);
  line-height: 1.3;
  margin: 0 0 5px 0;
}

.calc-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted, #5a646a);
  margin: 0;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field-label {
  font-size: 11px;
  font-weight: 850;
  color: #6a747d;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc-field-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.calc-area-val {
  font-size: 14.5px;
  font-weight: 850;
  color: #9e7422;
  font-feature-settings: "tnum";
}

.calc-select-wrap {
  position: relative;
  width: 100%;
}

.calc-select {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.38);
  border-radius: 6px;
  color: var(--ink, #161b1e);
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 14px;
  padding-inline-end: 34px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 2px 5px rgba(60, 42, 20, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-select:focus {
  border-color: #b5892e;
  box-shadow: 0 0 0 3px rgba(181, 137, 46, 0.16);
}

.calc-select-arrow {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e7422;
  pointer-events: none;
  font-size: 13px;
}

.calc-slider-wrap {
  width: 100%;
  padding: 4px 0 2px;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: rgba(197, 160, 89, 0.24);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e3ba59, #b8860b);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(181, 137, 46, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e3ba59, #b8860b);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(181, 137, 46, 0.4);
  cursor: pointer;
}

.calc-presets-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.calc-preset-pill {
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 12px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #555e65;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calc-preset-pill:hover {
  border-color: #b5892e;
  color: #9e7422;
}

.calc-preset-pill.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: #b5892e;
  color: #8c6418;
  font-weight: 850;
}

.calc-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.calc-tier-btn {
  background: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.32);
  border-radius: 6px;
  color: #2c353b;
  padding: 9px 5px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(60, 42, 20, 0.03);
}

.calc-tier-btn:hover {
  border-color: #b5892e;
  color: #9e7422;
  background: rgba(212, 175, 55, 0.05);
}

.calc-tier-btn.active {
  border: 1.5px solid #b5892e;
  color: #8c6418;
  background: rgba(212, 175, 55, 0.16);
  box-shadow: 0 0 10px rgba(181, 137, 46, 0.2);
  font-weight: 850;
}

.calc-result-box {
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0.04) 100%);
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 3px 12px rgba(181, 137, 46, 0.06);
}

.calc-result-label {
  font-size: 11px;
  font-weight: 850;
  color: #8c6418;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calc-price-display {
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 900;
  color: #8c6418;
  line-height: 1.15;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}

.calc-result-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #5a646a;
  line-height: 1.35;
}

.calc-apply-btn {
  width: 100%;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.calc-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(184, 134, 11, 0.35);
}

.calc-applied-note {
  color: #278838;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  margin: 3px 0 0;
}

/* Dark mode overrides for quote calculator */
html[data-theme="dark"] .quote-calc-card {
  background: #12181d !important;
  border-color: rgba(197, 160, 89, 0.3) !important;
  box-shadow: 0 16px 44px -8px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .calc-title {
  color: #ffffff !important;
}

html[data-theme="dark"] .calc-desc {
  color: #a49e93 !important;
}

html[data-theme="dark"] .calc-select {
  background: #172026 !important;
  color: #ffffff !important;
  border-color: rgba(197, 160, 89, 0.35) !important;
}

html[data-theme="dark"] .calc-tier-btn {
  background: #172026 !important;
  color: #c4ccd3 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .calc-preset-pill {
  background: #172026 !important;
  color: #c4ccd3 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .calc-result-box {
  background: linear-gradient(180deg, rgba(226, 179, 71, 0.15) 0%, rgba(18, 25, 30, 0.6) 100%) !important;
  border-color: rgba(226, 179, 71, 0.45) !important;
}

html[data-theme="dark"] .calc-price-display {
  color: #e2b347 !important;
}

html[data-theme="dark"] .calc-result-sub {
  color: #d0c5b4 !important;
}

@media (max-width: 900px) {
  .quote-split-container {
    grid-template-columns: 1fr !important;
  }
  .quote-calculator-aside {
    min-height: auto;
  }
}

/* =========================================================
   FEATURED PROJECTS: 3 CARDS PER ROW & INTERACTIVE B/A SLIDER
   ========================================================= */
.featured-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
}

@media (max-width: 1040px) {
  .featured-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px !important;
  }
}

@media (max-width: 640px) {
  .featured-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

.featured-card-top.card-ba-slider {
  --cba-pos: 50%;
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #ebe6dc 0%, #ded7ca 50%, #ebe6dc 100%);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

html[data-theme="dark"] .featured-card-top.card-ba-slider {
  background: linear-gradient(135deg, #1b2022 0%, #252b2e 50%, #1b2022 100%);
}

.cba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.featured-showcase-card:hover .cba-img {
  filter: contrast(1.04) saturate(1.03);
}

.cba-img-after {
  z-index: 1;
}

.cba-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(0 0, var(--cba-pos) 0, var(--cba-pos) 100%, 0 100%);
  will-change: clip-path;
}

html[dir="rtl"] .cba-before-wrap {
  clip-path: polygon(var(--cba-pos) 0, 100% 0, 100% 100%, var(--cba-pos) 100%);
}

.cba-badge {
  position: absolute;
  top: 12px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.15s ease;
  will-change: opacity;
}

.cba-badge-before {
  left: 12px;
  background: rgba(18, 23, 26, 0.88);
  color: #f7f3eb;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

html[dir="rtl"] .cba-badge-before {
  left: auto;
  right: 12px;
}

.cba-badge-after {
  right: 12px;
  background: #d4af37;
  color: #121719;
  border: 1px solid #ffd700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

html[dir="rtl"] .cba-badge-after {
  right: auto;
  left: 12px;
}

.cba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cba-pos);
  transform: translateX(-50%);
  width: 38px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: auto;
  outline: none;
}

html[dir="rtl"] .cba-handle {
  left: var(--cba-pos) !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

.cba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
}

.cba-handle-pill {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d4af37;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e7422;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card-ba-slider:hover .cba-handle-pill,
.cba-handle.is-active .cba-handle-pill {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(212, 175, 55, 0.35);
  background: #fdfcf7;
}

.cba-arrow-svg {
  width: 15px;
  height: 15px;
}


/* ==========================================================================
   Dedicated Construction Projects Page Hero Banner Card (/projects)
   Matches reference card style with site's signature cream palette (قايماق رەڭ)
   ========================================================================== */
.projects-hero-section {
  padding: 1.25rem 0 1.75rem;
  position: relative;
}

.projects-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 135px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem 3rem;
  
  /* Website signature cream color palette (قايماق رەڭ) */
  background: linear-gradient(135deg, #fdfbf7 0%, #f6efe3 45%, #ede2ce 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 12px 36px rgba(180, 150, 100, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.projects-hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 160, 89, 0.7);
  box-shadow: 0 18px 48px rgba(180, 150, 100, 0.22), 0 4px 14px rgba(0, 0, 0, 0.06);
}

.projects-hero-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 65%;
}

/* Breadcrumbs inside the card */
.projects-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.projects-hero-breadcrumb a {
  color: #946d23; /* warm gold/amber */
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.projects-hero-breadcrumb a:hover {
  color: #b8871f;
  text-decoration: underline;
}

.projects-hero-breadcrumb .bc-sep {
  color: rgba(148, 109, 35, 0.5);
  font-weight: 400;
  user-select: none;
  flex-shrink: 0;
  margin: 0 1px;
}

.projects-hero-breadcrumb .bc-current {
  color: #554433; /* warm dark cream ink */
  font-weight: 600;
  line-height: 1.3;
}

/* Card main title */
.projects-hero-card-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #1c1510; /* deep rich luxury ink */
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Media (image) on the end side of the card */
.projects-hero-card-media {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  max-width: 540px;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.projects-hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-hero-card:hover .projects-hero-card-img {
  transform: scale(1.035);
}

.projects-hero-card-fade {
  position: absolute;
  inset: 0;
}

/* RTL Layout (Uyghur & Arabic) */
html[dir="rtl"] .projects-hero-card-content,
html[lang="ug"] .projects-hero-card-content,
html[lang="ar"] .projects-hero-card-content {
  align-items: flex-start;
  text-align: right;
}

html[dir="rtl"]:not([lang="ar"]) .projects-hero-card-title,
html[lang="ug"] .projects-hero-card-title {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  text-align: right;
}

html[lang="ar"] .projects-hero-card-title {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  text-align: right;
}

html[dir="rtl"] .projects-hero-card-media,
html[lang="ug"] .projects-hero-card-media,
html[lang="ar"] .projects-hero-card-media {
  left: 0;
  right: auto;
  -webkit-mask-image: linear-gradient(to right, black 25%, transparent 95%);
  mask-image: linear-gradient(to right, black 25%, transparent 95%);
}

html[dir="rtl"] .projects-hero-card-fade,
html[lang="ug"] .projects-hero-card-fade,
html[lang="ar"] .projects-hero-card-fade {
  background: linear-gradient(to right, transparent 0%, rgba(246, 239, 227, 0.3) 35%, #f6efe3 92%);
}

/* LTR Layout (English, French, Turkish) */
html[dir="ltr"] .projects-hero-card-content,
html[lang="en"] .projects-hero-card-content,
html[lang="fr"] .projects-hero-card-content,
html[lang="tr"] .projects-hero-card-content {
  align-items: flex-start;
  text-align: left;
}

html[dir="ltr"] .projects-hero-card-title,
html[lang="en"] .projects-hero-card-title,
html[lang="fr"] .projects-hero-card-title,
html[lang="tr"] .projects-hero-card-title {
  text-align: left;
}

html[dir="ltr"] .projects-hero-card-media,
html[lang="en"] .projects-hero-card-media,
html[lang="fr"] .projects-hero-card-media,
html[lang="tr"] .projects-hero-card-media {
  right: 0;
  left: auto;
  -webkit-mask-image: linear-gradient(to left, black 25%, transparent 95%);
  mask-image: linear-gradient(to left, black 25%, transparent 95%);
}

html[dir="ltr"] .projects-hero-card-fade,
html[lang="en"] .projects-hero-card-fade,
html[lang="fr"] .projects-hero-card-fade,
html[lang="tr"] .projects-hero-card-fade {
  background: linear-gradient(to left, transparent 0%, rgba(246, 239, 227, 0.3) 35%, #f6efe3 92%);
}

/* Dark Theme Support */
html[data-theme="dark"] .projects-hero-card {
  background: linear-gradient(135deg, #1c1813 0%, #16130f 45%, #100d0a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .projects-hero-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.14);
}

html[data-theme="dark"] .projects-hero-card-title {
  color: #faf5ed;
}

html[data-theme="dark"] .projects-hero-breadcrumb a {
  color: #d4af37;
}

html[data-theme="dark"] .projects-hero-breadcrumb .bc-sep {
  color: rgba(212, 175, 55, 0.5);
}

html[data-theme="dark"] .projects-hero-breadcrumb .bc-current {
  color: #c9bea9;
}

html[data-theme="dark"][dir="rtl"] .projects-hero-card-fade,
html[data-theme="dark"][lang="ug"] .projects-hero-card-fade,
html[data-theme="dark"][lang="ar"] .projects-hero-card-fade {
  background: linear-gradient(to right, transparent 0%, rgba(22, 19, 15, 0.4) 35%, #16130f 92%);
}

html[data-theme="dark"][dir="ltr"] .projects-hero-card-fade,
html[data-theme="dark"][lang="en"] .projects-hero-card-fade,
html[data-theme="dark"][lang="fr"] .projects-hero-card-fade,
html[data-theme="dark"][lang="tr"] .projects-hero-card-fade {
  background: linear-gradient(to left, transparent 0%, rgba(22, 19, 15, 0.4) 35%, #16130f 92%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .projects-hero-section {
    padding: 1rem 0 1.25rem;
  }
  .projects-hero-card {
    padding: 1.2rem 1.25rem;
    border-radius: 16px;
    min-height: auto;
  }
  .projects-hero-card-content {
    max-width: 100%;
    width: 100%;
    gap: 0.45rem;
  }
  .projects-hero-card-media {
    width: 50%;
    opacity: 0.35;
  }
  .projects-hero-breadcrumb {
    font-size: 0.82rem;
    gap: 6px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
  .projects-hero-breadcrumb .bc-current {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 185px;
    display: inline-block;
    vertical-align: bottom;
  }
  .projects-hero-card-title {
    font-size: clamp(1.15rem, 4.4vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .projects-hero-card {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    min-height: auto;
  }
  .projects-hero-card-content {
    max-width: 100%;
    width: 100%;
    gap: 0.35rem;
  }
  .projects-hero-card-title {
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  .projects-hero-breadcrumb {
    font-size: 0.75rem;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    flex-wrap: nowrap;
  }
  .projects-hero-breadcrumb .bc-current {
    max-width: 135px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .projects-hero-card-media {
    width: 45%;
    opacity: 0.28;
  }
}

.projects-content-section {
  padding: 3rem 0 2.5rem;
}

.projects-cta-section {
  padding: 2.25rem 0 3.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.projects-cta-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.02) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 1.75rem 2.5rem 2.25rem;
  text-align: center;
  position: relative;
}
.projects-cta-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.projects-cta-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.projects-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (max-width: 640px) {
  .projects-cta-box {
    padding: 1.35rem 1.25rem 1.75rem;
  }
}

.main-nav-links a.active {
  color: var(--gold);
  font-weight: 600;
  position: relative;
}
.main-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ==========================================================================
   Dedicated "About Us" Page Styles (Tawarruk Construction Inc.)
   ========================================================================== */

.about-hero-banner-section {
  padding: 1.4rem 0 0.8rem;
}

.about-page-hero {
  padding: 2rem 0 3.5rem;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}

.about-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.about-hero-badge-wrap {
  margin-bottom: 1rem;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.badge-sparkle {
  color: var(--gold);
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.about-hero-title {
  width: 100%;
  max-width: 1020px;
  margin: 0.2rem auto 1.2rem;
  font-family: var(--font-title);
  line-height: 1.45;
}

.about-title-main {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.about-title-accent {
  display: block;
  font-size: clamp(1.15rem, 1.85vw, 1.7rem);
  font-weight: 600;
  color: #9e752d;
  font-style: normal;
}

html[data-theme="dark"] .about-title-accent {
  color: var(--gold);
}

.about-hero-lead {
  max-width: 820px;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted);
  margin: 0 auto 1.8rem;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

/* 4 Trust Metrics Cards */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
  margin-top: 1rem;
}

.about-stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
}

.stat-number {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-title);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.stat-plus, .stat-star {
  font-size: 0.75em;
  color: var(--gold);
}

.stat-label {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.stat-sub {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Company Story Section */
.about-story-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.about-story-visual {
  position: relative;
}

.story-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-soft);
}

.story-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.story-image-wrap:hover .story-image {
  transform: scale(1.03);
}

.story-overlay-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  background: rgba(18, 23, 25, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.story-overlay-badge .badge-icon {
  font-size: 1.6rem;
}

.story-overlay-badge strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.story-overlay-badge small {
  font-size: 0.8rem;
  color: var(--gold);
}

.story-floating-tile {
  position: absolute;
  top: -18px;
  right: -18px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: floatSubtle 4s ease-in-out infinite;
}

[dir="rtl"] .story-floating-tile {
  right: auto;
  left: -18px;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.story-floating-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.story-floater-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.story-floater-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.about-story-content .section-title {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.story-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.story-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.story-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s ease;
}

.story-pillar-item:hover {
  border-color: var(--border-gold);
}

.pillar-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-title);
  min-width: 30px;
  line-height: 1.2;
}

.story-pillar-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.story-pillar-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Compliance & Licenses Section */
.about-compliance-section {
  padding: 4.5rem 0;
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-soft);
}

.compliance-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.compliance-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.compliance-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.1);
}

.comp-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.comp-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.compliance-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.65rem;
  line-height: 1.45;
}

.compliance-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1.2rem;
  flex-grow: 1;
}

.comp-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* Core Values Section */
.about-values-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-value-box {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-value-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.val-icon-wrap {
  font-size: 2.2rem;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.about-value-box h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.about-value-box p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Process Timeline Section */
.about-process-section {
  padding: 4.5rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}

.about-process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}

.proc-step-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem 1.4rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.proc-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.proc-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-title);
  line-height: 1;
  margin-bottom: 0.8rem;
  opacity: 0.85;
}

.proc-step-icon {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}

.proc-step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.65rem;
  line-height: 1.45;
}

.proc-step-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Services Summary Grid */
.about-services-summary {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.about-serv-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-serv-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.serv-card-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.serv-card-info {
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.serv-card-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.serv-card-info p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.serv-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.serv-card-link:hover {
  gap: 10px;
}

/* GTA Coverage Section */
.about-coverage-section {
  padding: 4.5rem 0;
}

.coverage-box {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.coverage-copy h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0.3rem 0 0.6rem;
}

.cov-lead {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.cities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.coverage-side-callout {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
  border: 1px dashed var(--border-gold);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
}

.callout-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.coverage-side-callout h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.coverage-side-callout p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.2rem;
}

.about-cta-wrapper {
  margin-top: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .about-stats-grid,
  .compliance-cards-grid,
  .about-process-timeline,
  .about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .story-image {
    height: 380px;
  }
  .coverage-box {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-stats-grid,
  .compliance-cards-grid,
  .about-process-timeline,
  .about-services-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .story-image {
    height: 280px;
  }
  .story-floating-tile {
    position: static;
    margin-top: 1rem;
  }
  .coverage-box {
    padding: 1.5rem 1.2rem;
  }
}



/* ==========================================================================
   FEATURED PROJECT CARDS: LOCATION BADGE & VIEW DETAILS BUTTON
   ========================================================================== */
.featured-card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8b6508;
  margin-top: 0.2rem;
  letter-spacing: 0.01em;
}

html[lang="ug"] .featured-card-location {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
  font-size: 13px;
}
html[lang="ar"] .featured-card-location {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
  font-size: 13px;
}

.featured-card-location .feat-pin-icon {
  width: 14px;
  height: 14px;
  stroke: #c5a059;
  flex-shrink: 0;
}

[data-theme="dark"] .featured-card-location {
  color: #dfbf75;
}

[data-theme="dark"] .featured-card-location .feat-pin-icon {
  stroke: #dfbf75;
}

/* Featured View Details Button */
.featured-view-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7f5518;
  background: linear-gradient(180deg, #fefcf8 0%, #f7f0df 100%);
  border: 1.2px solid rgba(197, 160, 89, 0.45);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(127, 85, 24, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-view-detail-btn:hover {
  background: linear-gradient(135deg, #c5a059 0%, #d4af37 100%);
  color: #121517 !important;
  border-color: #c5a059;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.32);
}

.featured-view-detail-btn .feat-btn-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.4;
  transition: transform 0.25s ease;
}

/* In RTL (Uyghur / Arabic), indicator points to the left (←) */
html[dir="rtl"] .featured-view-detail-btn .feat-btn-arrow,
[dir="rtl"] .featured-view-detail-btn .feat-btn-arrow {
  transform: rotate(0deg);
}

html[dir="rtl"] .featured-view-detail-btn:hover .feat-btn-arrow,
[dir="rtl"] .featured-view-detail-btn:hover .feat-btn-arrow {
  transform: translateX(-3px);
}

/* In LTR (English, etc.), indicator points to the right (→) */
html[dir="ltr"] .featured-view-detail-btn .feat-btn-arrow,
[dir="ltr"] .featured-view-detail-btn .feat-btn-arrow {
  transform: rotate(180deg);
}

html[dir="ltr"] .featured-view-detail-btn:hover .feat-btn-arrow,
[dir="ltr"] .featured-view-detail-btn:hover .feat-btn-arrow {
  transform: rotate(180deg) translateX(-3px);
}

[data-theme="dark"] .featured-view-detail-btn {
  background: linear-gradient(180deg, #22252a 0%, #1a1d22 100%);
  border-color: rgba(212, 175, 55, 0.35);
  color: #f1d479;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .featured-view-detail-btn:hover {
  background: linear-gradient(135deg, #d4af37 0%, #e6ca65 100%);
  color: #0d1013 !important;
  border-color: #d4af37;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   PROJECT DETAIL PAGE (PORTFOLIO CASE STUDY)
   ========================================================================== */
.project-detail-hero-section {
  padding: 1.25rem 0 1.5rem;
  position: relative;
}

.detail-hero-card {
  min-height: 160px;
  padding: 2.2rem 3rem;
  align-items: center;
}

.detail-hero-card .projects-hero-card-content {
  max-width: 68%;
  gap: 0.65rem;
  width: 100%;
}

.detail-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.detail-hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8b6508;
  text-decoration: none;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.4);
  transition: all 0.25s ease;
  line-height: 1.2;
}

.detail-hero-back-link:hover {
  background: #c5a059;
  color: #1c1510;
  border-color: #c5a059;
  transform: translateY(-1px);
}

html[dir="rtl"] .detail-hero-back-link .back-arrow-icon {
  transform: rotate(0deg);
}
html[dir="ltr"] .detail-hero-back-link .back-arrow-icon {
  transform: rotate(180deg);
}

.detail-hero-card .detail-main-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0;
  color: #1c1510;
  line-height: 1.25;
}

.detail-hero-card .detail-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.15rem 0;
}

.detail-hero-card .detail-lead-subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #554433;
  margin: 0;
  max-width: 780px;
}

/* Dark theme overrides for detail-hero-card */
[data-theme="dark"] .detail-hero-back-link {
  color: #e5c378;
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.35);
}

[data-theme="dark"] .detail-hero-back-link:hover {
  background: #d4af37;
  color: #100d0a;
}

[data-theme="dark"] .detail-hero-card .detail-main-title {
  color: #faf5ed;
}

[data-theme="dark"] .detail-hero-card .detail-lead-subtitle {
  color: #c9bea9;
}

@media (max-width: 768px) {
  .detail-hero-card {
    padding: 1.15rem 1.15rem;
    min-height: auto;
    border-radius: 16px;
  }
  .detail-hero-card .projects-hero-card-content {
    max-width: 100%;
    width: 100%;
    gap: 0.45rem;
  }
  .detail-hero-top-row {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  .detail-hero-card .detail-main-title {
    font-size: clamp(1.15rem, 4.4vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
  }
}

@media (max-width: 480px) {
  .detail-hero-card {
    padding: 0.9rem 0.95rem;
    border-radius: 14px;
    min-height: auto;
  }
  .detail-hero-card .projects-hero-card-content {
    max-width: 100%;
    width: 100%;
    gap: 0.35rem;
  }
  .detail-hero-card .detail-main-title {
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
  }
}

.project-detail-hero {
  padding: 2.5rem 0 1.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08), transparent 60%);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.detail-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #7f8a96;
}

.detail-breadcrumb a {
  color: #63707d;
  text-decoration: none;
  transition: color 0.2s;
}

.detail-breadcrumb a:hover {
  color: #c5a059;
}

.detail-breadcrumb .bc-current {
  color: #c5a059;
  font-weight: 600;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c5a059;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.25);
  transition: all 0.25s ease;
}

.detail-back-link:hover {
  background: #c5a059;
  color: #111;
  border-color: #c5a059;
}

html[dir="rtl"] .detail-back-link .back-arrow-icon {
  transform: rotate(0deg);
}
html[dir="ltr"] .detail-back-link .back-arrow-icon {
  transform: rotate(180deg);
}

.detail-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.detail-badge-location {
  background: rgba(197, 160, 89, 0.12);
  color: #8b6508;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.detail-badge-cat {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.detail-badge-status {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .detail-badge-location {
  color: #dfbf75;
}

[data-theme="dark"] .detail-badge-cat {
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .detail-badge-status {
  color: #34d399;
}

.detail-main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  color: #171d24;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

[data-theme="dark"] .detail-main-title {
  color: #f1f4f8;
}

.detail-lead-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: #556270;
  max-width: 900px;
  margin: 0;
}

[data-theme="dark"] .detail-lead-subtitle {
  color: #a6b4c3;
}

/* Before / After Slider Section */
.section.detail-slider-section,
.detail-slider-section {
  padding: 0.5rem 0 2rem;
}

.detail-slider-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.28);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* Portrait Gallery Mode (9:16 Vertical Phone Photo Layout) */
.detail-slider-card.is-portrait {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  width: 100%;
  box-sizing: border-box;
}

[data-theme="dark"] .detail-slider-card.is-portrait {
  background: #171a1f;
}

/* Vertical thumbnail sidebar beside the main photo */
.detail-slider-card.is-portrait .detail-gallery-strip {
  display: flex;
  flex-direction: column;
  width: 150px;
  min-width: 130px;
  max-width: 170px;
  height: 640px;
  max-height: 660px;
  gap: 12px;
  padding: 0;
  border-top: none;
  background: transparent;
  order: 1;
  flex-shrink: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.detail-slider-card.is-portrait .gallery-thumb-item {
  flex: 1 1 0;
  width: 100%;
  min-height: 96px;
  border-radius: 12px;
  aspect-ratio: auto;
  overflow: hidden;
  flex-shrink: 0;
}

/* Portrait Main Photo Viewport - fits container width flush to lateral edges */
.detail-slider-card.is-portrait .detail-ba-viewport {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 640px;
  min-height: 520px;
  max-height: 660px;
  aspect-ratio: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  order: 2;
}

.detail-slider-card.is-portrait .detail-main-photo {
  width: 100%;
  height: 100%;
  max-height: 660px;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 768px) {
  .detail-slider-card.is-portrait {
    gap: 12px;
    padding: 14px;
  }
  .detail-slider-card.is-portrait .detail-gallery-strip {
    width: 110px;
    min-width: 90px;
    height: 520px;
    max-height: 520px;
    gap: 8px;
  }
  .detail-slider-card.is-portrait .detail-ba-viewport {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 520px;
    min-height: 520px;
    max-height: 520px;
  }
}

@media (max-width: 520px) {
  .detail-slider-card.is-portrait {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }
  .detail-slider-card.is-portrait .detail-ba-viewport {
    order: 1;
    width: 100%;
    height: 480px;
    min-height: 440px;
    max-height: 520px;
    aspect-ratio: 9 / 14;
  }
  .detail-slider-card.is-portrait .detail-gallery-strip {
    order: 2;
    flex-direction: row;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    min-width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    gap: 8px;
  }
  .detail-slider-card.is-portrait .gallery-thumb-item {
    aspect-ratio: 3 / 4;
    min-height: auto;
  }
}

/* 2x2 Portrait Grid Gallery Mode (4 portrait images, 2 per row across 2 rows) */
.detail-slider-card.is-grid {
  display: block;
  padding: 16px;
  background: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.28);
  border-radius: 20px;
}

[data-theme="dark"] .detail-slider-card.is-grid {
  background: #171a1f;
  border-color: rgba(212, 175, 55, 0.25);
}

.detail-slider-card.is-grid .detail-ba-viewport {
  display: none !important;
}

.detail-slider-card.is-grid .detail-gallery-strip {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  padding: 0 !important;
  border-top: none !important;
  background: transparent !important;
  width: 100% !important;
}

.detail-slider-card.is-grid .gallery-thumb-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4 !important;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  border: 2px solid rgba(197, 160, 89, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  background: #0d1014;
  padding: 0;
}

[data-theme="dark"] .detail-slider-card.is-grid .gallery-thumb-item {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.detail-slider-card.is-grid .gallery-thumb-item.is-active {
  border-color: rgba(197, 160, 89, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: none;
}

[data-theme="dark"] .detail-slider-card.is-grid .gallery-thumb-item.is-active {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transform: none;
}

.detail-slider-card.is-grid .gallery-thumb-item:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: #d4af37 !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25) !important;
}

.detail-slider-card.is-grid .gallery-thumb-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.35s ease, filter 0.35s ease;
  display: block;
}

.detail-slider-card.is-grid .gallery-thumb-item:hover img {
  filter: contrast(1.05) saturate(1.04);
}

.detail-slider-card.is-grid .gallery-grid-expand-hint {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  background: rgba(15, 18, 22, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 20px;
  color: #f7d586;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.detail-slider-card.is-grid .gallery-thumb-item:hover .gallery-grid-expand-hint,
.detail-slider-card.is-grid .gallery-thumb-item:focus-visible .gallery-grid-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .detail-slider-card.is-grid {
    padding: 10px;
  }
  .detail-slider-card.is-grid .detail-gallery-strip {
    gap: 10px !important;
  }
  .detail-slider-card.is-grid .gallery-thumb-item {
    border-radius: 10px;
    aspect-ratio: 3 / 4 !important;
  }
  .detail-slider-card.is-grid .gallery-grid-expand-hint {
    top: 8px;
    inset-inline-end: 8px;
    padding: 4px 8px;
    font-size: 10px;
  }
}

[data-theme="dark"] .detail-slider-card {
  background: #171a1f;
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.detail-ba-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 400px;
  max-height: 660px;
  overflow: hidden;
  background: #090c0f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.detail-photo-backdrop {
  position: absolute;
  inset: -35px;
  background-size: cover;
  background-position: center;
  filter: blur(36px) brightness(0.38);
  opacity: 0.88;
  transform: scale(1.15);
  pointer-events: none;
  transition: background-image 0.35s ease;
}

.detail-main-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 660px;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s ease, opacity 0.22s ease;
  cursor: zoom-in;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.03) saturate(1.02);
}

.detail-ba-viewport:hover .detail-main-photo {
  transform: scale(1.008);
}

.detail-expand-hint {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 18, 22, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  color: #f7d586;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.detail-ba-viewport:hover .detail-expand-hint {
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 960px) {
  .detail-slider-card {
    border-radius: 16px;
  }
  .detail-ba-viewport {
    min-height: 320px;
    max-height: 520px;
  }
  .detail-main-photo {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center center;
  }
}

@media (max-width: 600px) {
  .detail-ba-viewport {
    min-height: 260px;
    max-height: 420px;
    aspect-ratio: 4 / 3;
  }
  .detail-main-photo {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center center;
  }
  .detail-expand-hint {
    font-size: 10px;
    padding: 4px 9px;
  }
}

/* Fullscreen Lightbox for Project Detail Gallery */
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(8, 10, 13, 0.94);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}

.project-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.project-lightbox-wrap {
  position: relative;
  max-width: 94vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.project-lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  display: block;
}

.project-lightbox-close {
  position: absolute;
  top: -16px;
  inset-inline-end: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d4af37;
  color: #121719;
  border: 2px solid #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-lightbox-close:hover {
  transform: scale(1.1);
  background: #f2cf78;
}

.project-lightbox-caption {
  margin-top: 12px;
  color: #f7d586;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

/* 4-Thumbnail Strip Underneath Cinema Viewport */
.detail-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 0.6rem 0.75rem 0.75rem;
  background: var(--surface);
  border-top: 1px solid rgba(197, 160, 89, 0.18);
}

[data-theme="dark"] .detail-gallery-strip {
  background: #171a1f;
  border-top-color: rgba(212, 175, 55, 0.2);
}

.gallery-thumb-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #0f1216;
  cursor: pointer;
  padding: 0;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-thumb-item:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.gallery-thumb-item.is-active {
  border-color: #c5a059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.35), 0 6px 18px rgba(197, 160, 89, 0.25);
  transform: translateY(-2px);
}

[data-theme="dark"] .gallery-thumb-item.is-active {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.4), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.03) saturate(1.02);
}

.gallery-thumb-item:hover img {
  filter: contrast(1.05) saturate(1.04);
}

.gallery-thumb-badge {
  position: absolute;
  bottom: 6px;
  inset-inline-end: 6px;
  padding: 2px 8px;
  background: rgba(15, 18, 22, 0.85);
  color: #f7eed7;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .detail-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0.55rem 0.65rem 0.65rem;
  }
}

@media (max-width: 520px) {
  .detail-gallery-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    padding: 0.45rem 0.5rem 0.5rem;
  }
  .gallery-thumb-item {
    border-radius: 8px;
  }
}

/* Specs Matrix */
.detail-specs-section {
  padding: 1rem 0 2rem;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

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

@media (max-width: 580px) {
  .detail-specs-grid {
    grid-template-columns: 1fr;
  }
}

.spec-card {
  background: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.22);
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

[data-theme="dark"] .spec-card {
  background: #181b20;
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.spec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.12);
}

.spec-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(197, 160, 89, 0.12);
  color: #c5a059;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8c98a4;
  font-weight: 600;
}

.spec-val {
  font-size: 1.02rem;
  font-weight: 700;
  color: #171d24;
  line-height: 1.35;
}

[data-theme="dark"] .spec-val {
  color: #f1f4f8;
}

/* Narrative Section */
.detail-narrative-section {
  padding: 1.5rem 0 3rem;
}

.detail-content-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .detail-content-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

.detail-main-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  height: 100%;
}

.narrative-card {
  background: linear-gradient(180deg, #fefcf8 0%, #faf5eb 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .narrative-card {
  background: linear-gradient(180deg, #1b1e24 0%, #15181c 100%);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.narrative-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}

.narrative-accent-tag {
  color: #c5a059;
  font-size: 1.2rem;
  line-height: 1;
}

[data-theme="dark"] .narrative-accent-tag {
  color: #d4af37;
}

.narrative-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #c5a059;
  font-family: monospace, serif;
  line-height: 1;
}

.narrative-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

[data-theme="dark"] .narrative-heading {
  color: #f3f4f6;
}

.narrative-lead {
  font-size: 1.08rem;
  font-weight: 600;
  color: #b3852b;
  line-height: 1.8;
  margin: 0 0 1.1rem;
}

[data-theme="dark"] .narrative-lead {
  color: #d4af37;
}

.narrative-p {
  font-size: 1.04rem;
  line-height: 1.95;
  color: #4a5568;
  margin: 0;
}

[data-theme="dark"] .narrative-p {
  color: #cbd5e1;
}

/* Sidebar Column */
.detail-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  height: 100%;
}

.detail-review-card {
  background: linear-gradient(180deg, #fefcf8 0%, #faf5eb 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .detail-review-card {
  background: linear-gradient(180deg, #1b1e24 0%, #15181c 100%);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.review-stars-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.star-gold {
  color: #d4af37;
  font-size: 1.25rem;
  margin-right: 2px;
}

.review-verified-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.review-quote-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: #2d3748;
  margin: 0 0 1.4rem;
}

[data-theme="dark"] .review-quote-text {
  color: #e2e8f0;
}

.review-author-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
}

.author-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c5a059, #e6ca65);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.3);
}

.author-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #171d24;
  line-height: 1.3;
}

[data-theme="dark"] .author-name {
  color: #f1f4f8;
}

.author-role {
  font-size: 0.84rem;
  color: #718096;
  line-height: 1.3;
}

[data-theme="dark"] .author-role {
  color: #94a3b8;
}

.detail-features-checklist {
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 18px;
  padding: 1.8rem;
}

[data-theme="dark"] .detail-features-checklist {
  background: #171a1f;
  border-color: rgba(212, 175, 55, 0.2);
}

.checklist-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 1.2rem;
}

[data-theme="dark"] .checklist-heading {
  color: #f3f4f6;
}

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4a5568;
}

[data-theme="dark"] .checklist-items li {
  color: #cbd5e1;
}

.check-svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Callout Card */
.detail-cta-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(184, 134, 11, 0.06) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  text-align: center;
}

.detail-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #171d24;
  margin: 0 0 0.6rem;
}

[data-theme="dark"] .detail-cta-title {
  color: #f1d479;
}

.detail-cta-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #556270;
  margin: 0 0 1.4rem;
}

[data-theme="dark"] .detail-cta-desc {
  color: #a6b4c3;
}

.detail-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Bottom Nav */
.detail-bottom-nav-section {
  padding: 1.5rem 0 3.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
}

.detail-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-all-projects-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2.4rem;
  min-height: 48px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  color: #1a1510;
  background: linear-gradient(135deg, #dfb845 0%, #fae69e 50%, #c59724 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 18px rgba(197, 150, 50, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease;
  letter-spacing: 0.01em;
}

.detail-all-projects-btn:hover {
  color: #100c08;
  background: linear-gradient(135deg, #e8c352 0%, #fff0b8 50%, #d4a732 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(197, 150, 50, 0.5), 0 3px 8px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.detail-all-projects-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(197, 150, 50, 0.28);
}

.detail-all-projects-btn .back-arrow-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* In RTL (default for Uyghur / Arabic), arrow points right */
html[dir="rtl"] .detail-all-projects-btn .back-arrow-icon,
[dir="rtl"] .detail-all-projects-btn .back-arrow-icon {
  transform: rotate(0deg);
}

html[dir="rtl"] .detail-all-projects-btn:hover .back-arrow-icon,
[dir="rtl"] .detail-all-projects-btn:hover .back-arrow-icon {
  transform: translateX(4px);
}

/* In LTR (English, French, Turkish), rotate arrow to point left */
html[dir="ltr"] .detail-all-projects-btn .back-arrow-icon,
[dir="ltr"] .detail-all-projects-btn .back-arrow-icon {
  transform: rotate(180deg);
}

html[dir="ltr"] .detail-all-projects-btn:hover .back-arrow-icon,
[dir="ltr"] .detail-all-projects-btn:hover .back-arrow-icon {
  transform: rotate(180deg) translateX(4px);
}

/* ==========================================================================
   Image 2 Layout: Project Detail Presentation
   (Title -> Big Showcase -> 4 Gallery Thumbs -> Meta Bar -> Narrative -> Related Projects)
   ========================================================================== */
.project-detail-header-wrap {
  padding: 1.8rem 0 1rem;
}

.project-detail-title-block {
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
}

.project-detail-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 850;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.8rem;
  font-family: var(--font-title);
  letter-spacing: -0.015em;
}

html[lang="ug"] .project-detail-title {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
}
html[lang="ar"] .project-detail-title {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
}

[data-theme="dark"] .project-detail-title {
  color: #f1f4f8;
}

.project-detail-showcase-wrap {
  margin-bottom: 1.2rem;
}

.detail-showcase-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #0f1216;
  border: 1.5px solid var(--border-soft);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .detail-showcase-container {
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.detail-showcase-img-view {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  object-fit: cover;
  display: block;
}

/* 4-Thumbnail Strip (Image 2 style) */
.detail-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
  width: 100%;
}

.detail-thumb-btn {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid transparent;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.detail-thumb-btn:hover img {
  transform: scale(1.06);
}

.detail-thumb-btn.is-active {
  border-color: #c5a059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .detail-thumb-btn.is-active {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.4);
}

.detail-thumb-tag {
  position: absolute;
  bottom: 6px;
  inset-inline-start: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Metadata Bar (Image 2 style) */
.detail-meta-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.4rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.meta-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9e752d;
  font-weight: 700;
}

[data-theme="dark"] .meta-label {
  color: #dfbf75;
}

.meta-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

/* Project Description & Narrative (Image 2 style) */
.detail-narrative-block {
  padding: 2.5rem 0 3.5rem;
}

.detail-lead-p {
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.85;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2.2rem;
}

.detail-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.detail-body-card {
  background: var(--surface);
  border: 1.5px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .detail-body-card {
  background: #171a1f;
  border-color: rgba(212, 175, 55, 0.22);
}

.detail-section-subtitle {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 0.85rem;
  font-family: var(--font-title);
}

.detail-body-p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.detail-testimonial-quote-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.09) 0%, rgba(212, 175, 55, 0.02) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  padding: 2rem 2.4rem;
  margin-top: 1.5rem;
}

[data-theme="dark"] .detail-testimonial-quote-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(20, 24, 30, 0.7) 100%);
}

.testimonial-stars {
  color: #d4af37;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.detail-testimonial-quote-box blockquote {
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 1rem;
}

.testimonial-author {
  font-size: 0.95rem;
  color: var(--gold);
}

.testimonial-author strong {
  color: var(--ink);
}

/* Related Projects Section (Image 2 style) */
.detail-related-section {
  padding: 2.25rem 0 4.5rem;
  border-top: 1px solid var(--border-soft);
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}

.related-section-title {
  text-align: center;
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  font-weight: 850;
  color: var(--ink);
  margin: 0 0 0.5rem;
  font-family: var(--font-title);
  letter-spacing: -0.015em;
}

html[lang="ug"] .related-section-title {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
}
html[lang="ar"] .related-section-title {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
}

.related-section-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.related-project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] .related-project-card {
  background: #171a1f;
  border-color: rgba(212, 175, 55, 0.22);
}

.related-project-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.18);
}

.related-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #161c24;
}

.related-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.related-project-card:hover .related-card-img-wrap img {
  transform: scale(1.08);
}

.related-card-info {
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.related-card-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
  font-family: var(--font-title);
}

html[lang="ug"] .related-card-title {
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', sans-serif !important;
}
html[lang="ar"] .related-card-title {
  font-family: 'Noto Naskh Arabic', 'NotoNaskhArabic', Tahoma, sans-serif !important;
}

.related-card-cat {
  font-size: 0.84rem;
  color: var(--muted);
}

/* Detail CTA Banner */
.detail-cta-banner {
  padding: 0.8rem 0 2rem;
}

.detail-cta-inner {
  text-align: center;
  padding: 2.8rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.13) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .detail-cta-inner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(20, 26, 33, 0.8) 100%);
}

.detail-cta-inner h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.8rem;
  font-family: var(--font-title);
}

.detail-cta-inner p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
}

.detail-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .detail-thumbs-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-meta-table {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-body-grid {
    grid-template-columns: 1fr;
  }
  .related-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .detail-thumbs-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .detail-meta-table {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .related-cards-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   Dedicated About Page Styles (/about)
   Structured according to user layout reference & authentic materials
   ========================================================================== */

/* Who We Are Section */
.about-who-section {
  padding: 2.2rem 0;
  background: transparent;
  border: none;
  position: relative;
}

.about-who-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.75rem 2.6rem 1.85rem 1.5rem;
  
  /* Website signature cream color palette (قايماق رەڭ) */
  background: linear-gradient(135deg, #fdfbf7 0%, #f6efe3 45%, #ede2ce 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 14px 42px rgba(180, 150, 100, 0.14), 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

html[dir="ltr"] .about-who-card,
[dir="ltr"] .about-who-card {
  padding: 1.75rem 1.5rem 1.85rem 2.6rem;
}

.about-who-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.75);
  box-shadow: 0 22px 52px rgba(180, 150, 100, 0.22), 0 5px 16px rgba(0, 0, 0, 0.06);
}

.about-who-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.6rem;
  align-items: stretch;
}

.about-who-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-who-visual {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-who-card .about-section-heading {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #1c1510;
  line-height: 1.25;
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.about-who-card .about-text-block p {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.85;
  color: #4a3e35;
  margin-bottom: 1.2rem;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: start;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

.about-who-card .about-text-block strong {
  color: #1c1510;
  font-weight: 700;
}

.about-who-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  background: var(--surface);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  cursor: pointer;
}

.about-who-image-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(180, 140, 60, 0.22), 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(212, 175, 55, 0.7);
}

.about-who-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-who-image-frame:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   About Stats Cards Section (3 Professional Luxury Cards)
   ========================================================================== */
.about-stats-strip-section {
  padding: 1.8rem 0 2.2rem;
  background: transparent;
  border: none;
}

.about-stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.about-stat-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #faf6ee 45%, #f4ede0 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(180, 150, 100, 0.12), 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.75);
  box-shadow: 0 16px 42px rgba(180, 150, 100, 0.2), 0 4px 14px rgba(0, 0, 0, 0.05);
}

html[data-theme="dark"] .about-stat-card {
  background: linear-gradient(145deg, #1c1813 0%, #16120e 45%, #100d0a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .about-stat-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.65), 0 0 22px rgba(212, 175, 55, 0.14);
}

.stat-card-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.stat-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0.08) 100%);
  border: 1.2px solid rgba(197, 160, 89, 0.45);
  color: #8e6822;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.stat-card-icon svg {
  width: 17px;
  height: 17px;
}

.about-stat-card:hover .stat-card-icon {
  transform: scale(1.08);
}

html[data-theme="dark"] .stat-card-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.06) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  color: #e5c368;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.stat-card-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #8e6822;
  background: rgba(197, 160, 89, 0.14);
  border: 1.2px solid rgba(197, 160, 89, 0.35);
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.015em;
  line-height: 1;
}

html[data-theme="dark"] .stat-card-badge {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.3);
}

.about-stat-number {
  font-size: clamp(2.4rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.55rem 0;
  letter-spacing: -0.02em;
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1c1510;
  background: linear-gradient(135deg, #1c1510 0%, #8e6822 55%, #c5a059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .about-stat-number {
  background: linear-gradient(135deg, #ffffff 0%, #f0d588 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card-divider {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.6), transparent);
  margin: 0 auto 0.65rem;
  border-radius: 2px;
}

html[data-theme="dark"] .stat-card-divider {
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

.about-stat-desc {
  font-size: 0.92rem;
  font-weight: 550;
  color: #4a3b2c;
  line-height: 1.55;
  max-width: 290px;
  margin: 0 auto;
  flex-grow: 1;
}

html[data-theme="dark"] .about-stat-desc {
  color: #d5c8b5;
}

@media (max-width: 980px) {
  .about-stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .about-stats-strip-section {
    padding: 1.5rem 0;
  }
  .about-stat-card {
    padding: 1.35rem 1.2rem;
    border-radius: 16px;
  }
  .about-stat-number {
    font-size: 2.3rem;
  }
}

/* Our History Section */
.about-history-section {
  padding: 3.5rem 0 4rem;
}

.about-history-content {
  max-width: 960px;
  margin-bottom: 2.5rem;
}

.about-history-banner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--border-soft);
  max-height: 480px;
}

.about-history-banner img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Our Vision Section */
.about-vision-section {
  padding: 3rem 0;
  background: transparent;
  color: var(--text);
  border: none;
  position: relative;
}

.about-vision-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.75rem 2.6rem 1.85rem 1.5rem;
  
  /* Website signature cream color palette (قايماق رەڭ) */
  background: linear-gradient(135deg, #fdfbf7 0%, #f6efe3 45%, #ede2ce 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 14px 42px rgba(180, 150, 100, 0.14), 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

html[dir="ltr"] .about-vision-card,
[dir="ltr"] .about-vision-card {
  padding: 1.75rem 1.5rem 1.85rem 2.6rem;
}

.about-vision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.75);
  box-shadow: 0 22px 52px rgba(180, 150, 100, 0.22), 0 5px 16px rgba(0, 0, 0, 0.06);
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.6rem;
  align-items: stretch;
}

.about-vision-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-vision-visual {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-vision-heading {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #1c1510;
  line-height: 1.25;
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.about-vision-tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 600;
  color: #a67c2e; /* Warm amber gold, crisp on cream */
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.about-vision-text p {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.85;
  color: #4a3e35;
  margin-bottom: 1.2rem;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: start;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

.about-vision-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1.4rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #2b2118;
  margin-top: 0.8rem;
  line-height: 1.6;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(180, 150, 100, 0.08);
  max-width: 100%;
  box-sizing: border-box;
}

.about-vision-pill span.about-pill-star,
.about-vision-pill > span:first-child {
  color: #b8871f;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.about-vision-pill span.about-pill-text,
.about-vision-pill span[data-i18n] {
  color: #2b2118;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.about-who-pill {
  margin-top: 0.8rem;
  max-width: 100%;
  box-sizing: border-box;
}

.about-vision-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(60, 42, 20, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  background: var(--surface);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  cursor: pointer;
}

.about-vision-image-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(180, 140, 60, 0.22), 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(212, 175, 55, 0.7);
}

.about-vision-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-vision-image-frame:hover img {
  transform: scale(1.04);
}

/* Dark mode override for Our Vision Section */
html[data-theme="dark"] .about-vision-section {
  background: transparent;
  border: none;
  color: #eae3d5;
}

html[data-theme="dark"] .about-vision-card {
  background: linear-gradient(135deg, #1c1813 0%, #16130f 45%, #100d0a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .about-vision-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.14);
}

html[data-theme="dark"] .about-vision-heading {
  color: #ffffff;
}

html[data-theme="dark"] .about-vision-tagline {
  color: #d4af37;
}

html[data-theme="dark"] .about-vision-text p {
  color: #cfc8be;
}

html[data-theme="dark"] .about-vision-pill {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: #f5eedf;
}

html[data-theme="dark"] .about-vision-pill span.about-pill-star,
html[data-theme="dark"] .about-vision-pill > span:first-child {
  color: #d4af37;
}

html[data-theme="dark"] .about-vision-pill span.about-pill-text,
html[data-theme="dark"] .about-vision-pill span[data-i18n] {
  color: #f5eedf;
}

/* Dark mode override for Who We Are Section & Card */
html[data-theme="dark"] .about-who-section {
  background: transparent;
  border: none;
}

html[data-theme="dark"] .about-who-card {
  background: linear-gradient(135deg, #1c1813 0%, #16130f 45%, #100d0a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .about-who-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.14);
}

html[data-theme="dark"] .about-who-card .about-section-heading {
  color: #ffffff;
}

html[data-theme="dark"] .about-who-card .about-text-block p {
  color: #cfc8be;
}

html[data-theme="dark"] .about-who-card .about-text-block strong {
  color: #ffffff;
}

html[data-theme="dark"] .about-who-image-frame {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .about-who-image-frame:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.18);
}

html[data-theme="dark"] .about-vision-image-frame {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
  border-color: rgba(212, 175, 55, 0.3);
}

html[data-theme="dark"] .about-vision-image-frame:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.18);
}

/* Services Detail Scope Grid */
.about-services-detail-section {
  padding: 4rem 0 3.5rem;
}

.about-services-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.about-service-scope-card {
  background: var(--surface);
  border: 1.5px solid var(--border-soft);
  border-radius: 18px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-service-scope-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 14px 36px rgba(180, 150, 100, 0.12);
}

.scope-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-soft);
}

.scope-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.scope-card-header h3 {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}

.scope-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.scope-feature-list li {
  position: relative;
  padding-inline-start: 1.6rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

.scope-feature-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.scope-feature-list li strong {
  color: var(--ink);
  font-weight: 650;
}

/* How can we help with your next project? */
.about-help-section {
  padding: 3rem 0 5rem;
}

.about-help-card {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 2.5rem;
  background: var(--surface);
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  align-items: stretch;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.about-help-card:hover {
  box-shadow: 0 22px 55px rgba(180, 140, 60, 0.16), 0 4px 14px rgba(0, 0, 0, 0.06);
  border-color: rgba(212, 175, 55, 0.6);
}

.about-help-visual {
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

/* Image fills the column but never stretches the card height (no empty top/bottom space) */
.about-help-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-help-card:hover .about-help-visual img {
  transform: scale(1.04);
}

html[data-theme="dark"] .about-help-card {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  border-color: rgba(212, 175, 55, 0.28);
}

html[data-theme="dark"] .about-help-card:hover {
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.6);
}

.about-help-content {
  padding: 1.75rem 2.5rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html[dir="rtl"] .about-help-content,
html[lang="ug"] .about-help-content,
html[lang="ar"] .about-help-content {
  padding: 1.75rem 1.5rem 1.75rem 2.5rem;
}

.about-help-title {
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.about-help-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.about-quote-table {
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(60, 42, 20, 0.06);
  background: var(--paper, #faf7f2);
  width: 100%;
}

.about-quote-table .quote-table-intro-box {
  padding: 12px 18px 10px;
  background: rgba(197, 160, 89, 0.08);
  border-bottom: 1px solid rgba(197, 160, 89, 0.22);
  text-align: start;
}

.about-quote-table .quote-table-desc {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}

.about-quote-table .quote-grid-cell {
  padding: 11px 18px 13px;
}

.about-quote-table .quote-grid-footer {
  padding: 14px 18px;
}

.about-help-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.2rem;
}

.help-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.help-item-icon {
  font-size: 1.35rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.help-contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 2px;
}

.help-contact-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.help-contact-item a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.help-contact-item a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.about-help-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .about-who-card,
  .about-vision-card,
  html[dir="ltr"] .about-who-card,
  [dir="ltr"] .about-who-card,
  html[dir="ltr"] .about-vision-card,
  [dir="ltr"] .about-vision-card {
    padding: 1.8rem 1.4rem !important;
    border-radius: 18px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .about-who-grid,
  .about-vision-grid,
  .about-help-card {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.8rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .about-who-content,
  .about-who-visual,
  .about-vision-content,
  .about-vision-visual,
  .about-help-content,
  .about-help-visual,
  .about-text-block,
  .about-vision-text {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .about-who-image-frame,
  .about-vision-image-frame {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    height: auto;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .about-services-split-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .about-help-content {
    padding: 2rem !important;
  }
  .about-help-visual {
    min-height: 260px;
    max-height: 320px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .about-who-card,
  .about-vision-card,
  .about-designs-card,
  .about-help-card,
  html[dir="ltr"] .about-who-card,
  [dir="ltr"] .about-who-card,
  html[dir="ltr"] .about-vision-card,
  [dir="ltr"] .about-vision-card,
  html[dir="ltr"] .about-help-card,
  [dir="ltr"] .about-help-card {
    padding: 1.5rem 1.1rem !important;
    border-radius: 16px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .about-who-section,
  .about-history-section,
  .about-vision-section,
  .about-services-detail-section,
  .about-help-section {
    padding: 2rem 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .about-who-image-frame,
  .about-vision-image-frame,
  .about-help-visual {
    aspect-ratio: 16 / 10 !important;
    min-height: 200px !important;
    max-height: 260px !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
  }
  .about-service-scope-card {
    padding: 1.4rem 1.1rem;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  .about-vision-pill,
  .about-who-pill {
    padding: 0.65rem 0.95rem !important;
    font-size: 0.88rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .about-vision-pill span.about-pill-text,
  .about-who-pill span.about-pill-text {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    min-width: 0 !important;
  }
  .about-who-card .about-section-heading,
  .about-vision-heading {
    font-size: clamp(1.6rem, 5vw, 2rem) !important;
    margin-bottom: 0.9rem !important;
  }
  .about-who-card .about-text-block p,
  .about-vision-text p {
    font-size: 0.95rem !important;
    line-height: 1.85 !important;
    margin-bottom: 1rem !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: start !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}

@media (max-width: 420px) {
  .about-who-card,
  .about-vision-card,
  .about-designs-card,
  .about-help-card,
  html[dir="ltr"] .about-who-card,
  [dir="ltr"] .about-who-card,
  html[dir="ltr"] .about-vision-card,
  [dir="ltr"] .about-vision-card,
  html[dir="ltr"] .about-help-card,
  [dir="ltr"] .about-help-card {
    padding: 1.25rem 0.85rem !important;
    border-radius: 14px !important;
  }
  .about-who-image-frame,
  .about-vision-image-frame,
  .about-help-visual {
    aspect-ratio: 16 / 10 !important;
    min-height: 175px !important;
    max-height: 220px !important;
    border-radius: 12px !important;
  }
  .about-vision-pill,
  .about-who-pill {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.82rem !important;
    gap: 6px !important;
  }
  .about-vision-pill span.about-pill-text,
  .about-who-pill span.about-pill-text {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }
  .about-who-card .about-text-block p,
  .about-vision-text p {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
  }
}

/* ==========================================================================
   About Page: Explore Our Designs Showcase (3-per-row + Load More)
   ========================================================================== */
.about-designs-section {
  padding: 2.5rem 0;
}
.about-designs-card {
  position: relative;
  border-radius: 22px;
  padding: 2rem 2.6rem 2.2rem 2.6rem;
  background: linear-gradient(135deg, #fdfbf7 0%, #f6efe3 45%, #ede2ce 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 14px 42px rgba(180, 150, 100, 0.14), 0 3px 12px rgba(0, 0, 0, 0.04);
}
.about-designs-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: start;
}
.about-designs-header .eyebrow {
  margin: 0;
  flex-shrink: 0;
}
.about-designs-title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #1c1510;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.about-designs-subtitle {
  display: none;
}
.about-designs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.about-designs-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(197, 160, 89, 0.38);
  cursor: pointer;
  background: linear-gradient(110deg, #efe7da 25%, #f9f4eb 45%, #efe7da 65%);
  background-size: 200% 100%;
  animation: aboutDesignShimmer 1.6s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.about-designs-item.is-loaded,
.about-designs-item.is-error {
  animation: none;
  background: #f4ede1;
}
@keyframes aboutDesignShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.about-designs-item.is-hidden {
  display: none !important;
}
.about-designs-item.is-revealed {
  animation: aboutDesignFadeIn 0.42s ease forwards;
}
@keyframes aboutDesignFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-designs-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;
  font-size: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.about-designs-item.is-error img {
  display: none;
}
.about-designs-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b5635;
}
.about-designs-item:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.85);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.about-designs-item:hover img {
  transform: scale(1.06);
}
.about-designs-caption {
  display: none !important;
}
.about-designs-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.about-designs-more-btn {
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
}
.about-design-modal {
  max-width: 780px !important;
  grid-template-columns: 1fr !important;
}
.about-design-modal .project-modal-media {
  max-height: 70vh;
}
.about-design-modal .project-modal-media img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #111417;
}
html[data-theme="dark"] .about-designs-card {
  background: linear-gradient(135deg, #1c1813 0%, #16130f 45%, #100d0a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .about-designs-title {
  color: #ffffff;
}
html[data-theme="dark"] .about-designs-subtitle {
  color: #cfc8be;
}
@media (max-width: 960px) {
  .about-designs-card {
    padding: 1.8rem 1.4rem;
    border-radius: 18px;
  }
}
@media (max-width: 900px) {
  .about-designs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .about-designs-section {
    padding: 2rem 0;
  }
  .about-designs-card {
    padding: 1.8rem 1.25rem;
    border-radius: 16px;
  }
  .about-designs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   Contact Page Layout (Signature Luxury Cream Cards & Table Design)
   ========================================================================== */
.contact-hero-section {
  padding-bottom: 0.5rem;
}

.contact-page-section {
  padding: 1rem 0 6.5rem;
  background: radial-gradient(ellipse at 50% 0%, #fdfbf7 0%, #f7f2e7 55%, #ede3cf 100%);
  min-height: 60vh;
  transition: background 0.35s ease;
}

html[data-theme="dark"] .contact-page-section {
  background: radial-gradient(ellipse at 50% 0%, #1c1813 0%, #14100c 55%, #0b0907 100%);
}

.contact-page-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.2rem;
  align-items: stretch;
}

/* Luxury Cream Card Base */
.contact-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #faf6ee 45%, #f4ede0 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(180, 150, 100, 0.12), 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-card:hover {
  border-color: rgba(197, 160, 89, 0.7);
  box-shadow: 0 18px 48px rgba(180, 150, 100, 0.18), 0 4px 14px rgba(0, 0, 0, 0.05);
}

html[data-theme="dark"] .contact-card {
  background: linear-gradient(145deg, #1c1813 0%, #16120e 45%, #100d0a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .contact-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.12);
}

/* Card Header */
.contact-card-header {
  margin-bottom: 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.95rem;
  background: rgba(197, 160, 89, 0.14);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8e6822;
  margin-bottom: 0.85rem;
  width: fit-content;
}

html[data-theme="dark"] .contact-card-badge {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #d4af37;
}

.contact-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5a059;
  box-shadow: 0 0 8px #c5a059;
}

.contact-card-title {
  font-size: clamp(1.6rem, 2.3vw, 2.05rem);
  font-weight: 800;
  font-family: 'UKIJ Ekran', 'UKIJ Tuz', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1c1510;
  line-height: 1.3;
  margin: 0 0 0.55rem 0;
}

html[data-theme="dark"] .contact-card-title {
  color: #faf5ed;
}

.contact-card-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #665544;
  margin: 0;
}

html[data-theme="dark"] .contact-card-desc {
  color: #b0a596;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-field-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #3b2d1f;
  margin-bottom: 0.45rem;
  font-family: inherit;
}

html[data-theme="dark"] .contact-field-label {
  color: #e5dacb;
}

.contact-field-icon {
  color: #c5a059;
  flex-shrink: 0;
}

.contact-req-mark {
  color: #c5a059;
  font-weight: 700;
  margin-inline-start: 2px;
}

.contact-input,
.contact-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1.15rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1c1510;
  background-color: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.38);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

html[data-theme="dark"] .contact-input,
html[data-theme="dark"] .contact-textarea {
  color: #faf5ed;
  background-color: #14110e;
  border-color: rgba(212, 175, 55, 0.3);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #9f9180;
  font-weight: 400;
}

html[data-theme="dark"] .contact-input::placeholder,
html[data-theme="dark"] .contact-textarea::placeholder {
  color: #7d7265;
}

.contact-input:hover,
.contact-textarea:hover {
  border-color: rgba(197, 160, 89, 0.65);
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 3.5px rgba(197, 160, 89, 0.22);
  background-color: #ffffff;
}

html[data-theme="dark"] .contact-input:focus,
html[data-theme="dark"] .contact-textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3.5px rgba(212, 175, 55, 0.25);
  background-color: #161310;
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 0.5rem;
}

.contact-form-footer .consent-label {
  flex: 1 1 auto;
  max-width: none;
  margin: 0;
}

/* Signature Luxury Gold Submit Button */
.contact-submit-btn {
  flex-shrink: 0;
  align-self: center;
  background: linear-gradient(135deg, #d4af37 0%, #c5a059 45%, #9a7635 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.95rem 2.4rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.38);
}

.contact-btn-arrow {
  transition: transform 0.25s ease;
}

/* In RTL: arrow flips horizontally for natural direction */
html[dir="rtl"] .contact-btn-arrow,
html[lang="ug"] .contact-btn-arrow,
html[lang="ar"] .contact-btn-arrow {
  transform: scaleX(-1);
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.5);
  filter: brightness(1.04);
}

html[dir="rtl"] .contact-submit-btn:hover .contact-btn-arrow,
html[lang="ug"] .contact-submit-btn:hover .contact-btn-arrow,
html[lang="ar"] .contact-submit-btn:hover .contact-btn-arrow {
  transform: scaleX(-1) translate(-2px, -2px);
}

html[dir="ltr"] .contact-submit-btn:hover .contact-btn-arrow {
  transform: translate(3px, -3px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

html[data-theme="dark"] .contact-submit-btn {
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

html[data-theme="dark"] .contact-submit-btn:hover {
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

/* Feedback message */
.contact-form-feedback {
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 0.98rem;
  margin-top: 0.5rem;
  display: none;
}

.contact-form-feedback:not([hidden]) {
  display: block;
}

.contact-form-feedback.success {
  background-color: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

html[data-theme="dark"] .contact-form-feedback.success {
  background-color: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

.contact-form-feedback.error {
  background-color: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

html[data-theme="dark"] .contact-form-feedback.error {
  background-color: rgba(239, 68, 68, 0.16);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   Contact Information Spec-Table (Beautiful Table Format)
   ========================================================================== */
.contact-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(197, 160, 89, 0.3);
  border-radius: 16px;
  padding: 0.65rem;
  box-shadow: inset 0 2px 6px rgba(197, 160, 89, 0.05);
}

html[data-theme="dark"] .contact-table-wrap {
  background: rgba(16, 13, 10, 0.6);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.contact-table-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.05rem 1.15rem;
  border-radius: 12px;
  transition: background-color 0.25s ease, transform 0.25s ease;
  border-bottom: 1px solid rgba(197, 160, 89, 0.16);
  position: relative;
}

.contact-table-row:last-child {
  border-bottom: none;
}

.contact-table-row:hover {
  background-color: rgba(197, 160, 89, 0.1);
}

html[dir="rtl"] .contact-table-row:hover,
html[lang="ug"] .contact-table-row:hover,
html[lang="ar"] .contact-table-row:hover {
  transform: translateX(-3px);
}

html[dir="ltr"] .contact-table-row:hover {
  transform: translateX(3px);
}

html[data-theme="dark"] .contact-table-row {
  border-bottom-color: rgba(212, 175, 55, 0.14);
}

html[data-theme="dark"] .contact-table-row:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

.contact-row-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0.08) 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  color: #8e6822;
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.12);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

html[data-theme="dark"] .contact-row-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.06) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  color: #e5c368;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.contact-table-row:hover .contact-row-icon {
  transform: scale(1.06);
}

.contact-whatsapp-icon {
  color: #128c7e;
  border-color: rgba(18, 140, 126, 0.35);
  background: linear-gradient(135deg, rgba(18, 140, 126, 0.18) 0%, rgba(18, 140, 126, 0.06) 100%);
}

html[data-theme="dark"] .contact-whatsapp-icon {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.22) 0%, rgba(37, 211, 102, 0.06) 100%);
}

.contact-row-content {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  flex-grow: 1;
  min-width: 0;
}

.contact-row-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #8e6822;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

html[data-theme="dark"] .contact-row-label {
  color: #d4af37;
}

.contact-row-value {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1c1510;
  line-height: 1.45;
  word-break: break-word;
}

html[data-theme="dark"] .contact-row-value {
  color: #faf5ed;
}

.contact-row-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.contact-row-link:hover {
  color: #b8871f;
  text-decoration: underline;
}

html[data-theme="dark"] .contact-row-link:hover {
  color: #ffd566;
}

.contact-row-action {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #8e6822;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  opacity: 0.75;
}

html[data-theme="dark"] .contact-row-action {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.3);
  color: #d4af37;
}

.contact-table-row:hover .contact-row-action {
  opacity: 1;
  background: #c5a059;
  color: #ffffff;
  transform: scale(1.12);
}

/* Social media row inside table */
.contact-social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.3rem;
}

.contact-social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(197, 160, 89, 0.06) 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  color: #8e6822;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  box-shadow: 0 3px 8px rgba(197, 160, 89, 0.1);
}

.contact-social-circle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-social-circle:hover {
  background: linear-gradient(135deg, #d4af37 0%, #9a7635 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}

html[data-theme="dark"] .contact-social-circle {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  color: #e5c368;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 600px) {
  .contact-page-section {
    padding: 1rem 0 4.5rem;
  }
  .contact-card {
    padding: 2rem 1.35rem;
    border-radius: 18px;
  }
  .contact-card-title {
    font-size: 1.6rem;
  }
  .contact-form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }
  .contact-table-row {
    padding: 0.9rem 0.8rem;
    gap: 0.85rem;
  }
  .contact-row-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}

/* Launch accessibility and privacy additions */
.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.privacy-footer{text-align:center;padding:16px;margin:0;font-size:14px}
.privacy-link{display:inline-block;margin:10px 0;font-size:14px;text-decoration:underline}
.privacy-page{max-width:850px;margin-inline:auto;padding:60px 24px;min-height:60vh}
.privacy-page p{font-size:18px;line-height:2;white-space:pre-line}
[hidden]{display:none!important}
@media(max-width:600px){html[lang="ug"] .hero-proof,html[lang="ug"] .trust-title,html[lang="ug"] .trust-sub{font-size:14px!important;line-height:1.8}.consent-label{font-size:14px!important;line-height:1.8}}

/* Admin-controlled hero slide zoom (pseudo layer scaled from chosen focal point) */
.hero-slide { overflow: hidden; }
.hero-slide.has-zoom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: scale(var(--slide-zoom, 1));
  transform-origin: var(--slide-pos, center);
  pointer-events: none;
}

/* Projects Page - Load More Construction Projects Button */
.projects-load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 42px;
  margin-bottom: 24px;
  width: 100%;
}

.projects-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 40px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #5c3f10;
  background: linear-gradient(180deg, #ffffff 0%, #fcf9f2 100%);
  border: 1.8px solid #c5a059;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  outline: none;
}

.projects-load-more-btn:hover {
  background: linear-gradient(135deg, #c5a059 0%, #ab853b 100%);
  color: #ffffff;
  border-color: #ab853b;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(171, 133, 59, 0.35), 0 4px 10px rgba(0, 0, 0, 0.06);
}

.projects-load-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(171, 133, 59, 0.22);
}

.projects-load-more-btn .projects-load-more-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  color: currentColor;
  flex-shrink: 0;
}

.projects-load-more-btn:hover .projects-load-more-icon {
  transform: translateY(3px);
}

@media (max-width: 640px) {
  .projects-load-more-wrap {
    margin-top: 28px;
    padding: 0 16px;
  }
  .projects-load-more-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.96rem;
  }
}

/* =========================================================================
   VISITOR IMAGE DOWNLOAD & RIGHT-CLICK PROTECTION
   ========================================================================= */
img,
picture,
canvas,
[data-protected-img],
.about-designs-item,
.featured-showcase-card,
.gallery-item,
.card-ba-slider,
.hero-slide,
.hero-slide-bg,
.projects-hero-card-img,
.about-hero-banner-wrap,
.project-card,
.project-detail-hero,
.project-gallery-grid,
.about-designs-modal-content img,
#aboutDesignModalImage,
#projectModalImage {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
}

/* Modal lightbox protection overlay */
.project-modal-media {
  position: relative !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.project-modal-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  background: transparent;
}

/* Protected Image Toast Notification */
.img-protect-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(22, 18, 14, 0.94);
  color: #f7ecd5;
  border: 1px solid rgba(197, 160, 89, 0.7);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(197, 160, 89, 0.2);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.img-protect-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

