/* ==========================================================================
   Rongsheng — global stylesheet
   Generated statically; no external resources.
   ========================================================================== */

:root {
  --bg: #F5F7F6;
  --bg-soft: #EDF3F0;
  --ink: #10222B;
  --ink-2: #1B313B;
  --muted: #5A6B72;
  --muted-2: #8CA0A6;
  --brand: #0E8A66;
  --brand-dark: #0A6B4F;
  --brand-tint: #E4F2EC;
  --gold: #D9A441;
  --line: #E0E8E5;
  --white: #FFFFFF;
  --dark: #0D1B21;
  --dark-2: #12242C;
  --dark-line: #1E333D;
  --wa: #25D366;
  --fb: #1877F2;
  --radius: 14px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(16, 34, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 34, 43, 0.10);
  --shadow-lg: 0 22px 50px rgba(16, 34, 43, 0.16);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai",
          "Noto Sans Arabic", "Noto Sans Devanagari", Arial, sans-serif;
  --header-h: 78px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(14, 138, 102, 0.45); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1220px; margin-inline: auto; padding-inline: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .2px;
  transition: background .25s ease, color .25s ease, border-color .25s ease,
              transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 10px 24px rgba(14, 138, 102, .3); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-on-dark { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-on-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--ink); background: #F0F5F2; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---------- toolbar ---------- */
.toolbar {
  background: var(--dark); color: #C7D3D6; font-size: 12.5px;
  position: relative; z-index: 60;
}
.toolbar-inner {
  min-height: 38px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-block: 5px;
}
.toolbar-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.toolbar a { color: #C7D3D6; display: inline-flex; align-items: center; gap: 7px; }
.toolbar a:hover { color: #fff; }
.toolbar .tb-icon { width: 14px; height: 14px; flex: none; }
.toolbar .tb-hours { color: #7F959C; }
.toolbar .tb-sep { width: 1px; height: 14px; background: var(--dark-line); }
.toolbar .tb-soc { width: 15px; height: 15px; display: inline-flex; }
.toolbar .tb-soc svg { width: 100%; height: 100%; }
.toolbar .tb-lang {
  display: inline-flex; align-items: center; gap: 6px; background: transparent;
  border: 1px solid var(--dark-line); color: #C7D3D6; border-radius: 999px;
  padding: 4px 12px; font-size: 12.5px; transition: border-color .2s ease, color .2s ease;
}
.toolbar .tb-lang:hover { border-color: var(--brand); color: #fff; }
.toolbar .tb-lang svg { width: 13px; height: 13px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(16, 34, 43, .10); }
.header-inner {
  min-height: var(--header-h); display: flex; align-items: center; gap: 26px;
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-link {
  display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); font-size: 15px; font-weight: 500; position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--brand); background: var(--brand-tint); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px;
}

/* language switcher (prominent pill) */
.lang-wrap { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--brand);
  color: #fff; border: 0; border-radius: 999px; padding: 10px 18px;
  font-size: 14px; font-weight: 600; transition: background .2s ease, box-shadow .2s ease;
}
.lang-btn:hover { background: var(--brand-dark); box-shadow: 0 6px 16px rgba(14, 138, 102, .35); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-btn .caret { width: 10px; height: 10px; transition: transform .2s ease; }
.lang-wrap.open .lang-btn .caret { transform: rotate(180deg); }

.lang-drop {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 70;
  width: 420px; max-width: calc(100vw - 32px); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 20px; display: none;
}
.lang-wrap.open .lang-drop { display: block; animation: dropIn .18s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.lang-drop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.lang-drop-head .ld-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.lang-drop-head .ld-hint { font-size: 12px; color: var(--muted-2); }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 300px; overflow: auto; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 0; background: transparent; width: 100%; text-align: start;
  padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink);
  transition: background .15s ease;
}
.lang-item:hover { background: var(--bg-soft); }
.lang-item .code { font-size: 11.5px; color: var(--muted-2); letter-spacing: .4px; text-transform: uppercase; }
.lang-item.active { background: var(--brand-tint); color: var(--brand-dark); font-weight: 700; }
.lang-item.active .code { color: var(--brand); }

.hamburger {
  display: none; margin-inline-start: auto; border: 1px solid var(--line); background: #fff;
  border-radius: 9px; width: 44px; height: 44px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); overflow: hidden; background: var(--dark); }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 20, 26, .86) 8%, rgba(9, 20, 26, .55) 48%, rgba(9, 20, 26, .28) 100%);
}
[dir="rtl"] .hero-overlay { background: linear-gradient(260deg, rgba(9, 20, 26, .86) 8%, rgba(9, 20, 26, .55) 48%, rgba(9, 20, 26, .28) 100%); }
.hero-inner {
  position: relative; z-index: 2; min-height: min(92vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 140px 120px;
}
.hero-eyebrow {
  color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 3.5px;
  text-transform: uppercase; margin: 0 0 18px;
}
.hero-title { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 700; max-width: 800px; margin: 0 0 20px; letter-spacing: .5px; }
.hero-subtitle { color: rgba(255, 255, 255, .82); font-size: clamp(15px, 1.6vw, 18px); max-width: 620px; margin: 0 0 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.hero-nav.prev { inset-inline-start: 22px; }
.hero-nav.next { inset-inline-end: 22px; }
.hero-arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(9, 20, 26, .25); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: var(--brand); border-color: var(--brand); }
.hero-arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .hero-arrow svg { transform: scaleX(-1); }
.hero-dots {
  position: absolute; z-index: 3; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); transition: background .2s ease, transform .2s ease; padding: 0; }
.hero-dot.active { background: #fff; transform: scale(1.25); }
.hero-scroll {
  position: absolute; z-index: 3; inset-inline-end: 30px; bottom: 26px;
  display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}
.hero-scroll svg { width: 14px; height: 14px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--white { background: #fff; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--brand);
  font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  margin: 0 0 14px;
}
.sec-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-head.center .sec-eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin: 0 0 16px; letter-spacing: .3px; }
.sec-subtitle { color: var(--muted); font-size: 16.5px; margin: 0; }

/* ---------- quick ---------- */
.quick { position: relative; z-index: 5; margin-top: -72px; padding: 0 0 24px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card {
  background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.quick-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.quick-card .qc-title { font-size: 17.5px; font-weight: 700; margin: 0; }
.quick-card .qc-desc { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; }
.quick-card .qc-cta {
  display: inline-flex; align-items: center; gap: 8px; color: var(--brand);
  font-weight: 600; font-size: 14px; margin-top: 6px;
}
.quick-card .qc-cta .arrow { transition: transform .25s ease; }
.quick-card:hover .qc-cta .arrow { transform: translateX(4px); }
[dir="rtl"] .quick-card:hover .qc-cta .arrow { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .quick-card .qc-cta .arrow { transform: scaleX(-1); }
.qc-arrow { width: 16px; height: 16px; }

/* ---------- solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.sol-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sol-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.sol-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s ease, transform .45s ease;
}
.sol-media .sol-img-hover { opacity: 0; }
.sol-card:hover .sol-media img { transform: scale(1.07); }
.sol-card:hover .sol-media .sol-img-hover { opacity: 1; }
.sol-card:hover .sol-media .sol-img-base { opacity: 0; }
.sol-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.sol-label { font-size: 18px; font-weight: 700; margin: 0; }
.sol-desc { color: var(--muted); font-size: 14px; margin: 0; }
.sol-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
.sol-link .arrow { width: 15px; height: 15px; transition: transform .25s ease; }
.sol-card:hover .sol-link .arrow { transform: translateX(4px); }
[dir="rtl"] .sol-card:hover .sol-link .arrow { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .sol-link .arrow { transform: scaleX(-1); }

/* ---------- spaces ---------- */
.spaces-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.space-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark);
  grid-column: span 2; min-height: 300px; display: block;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s ease;
}
.space-card:nth-child(-n+2) { grid-column: span 3; min-height: 360px; }
.space-card:hover { box-shadow: var(--shadow-lg); }
.space-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.space-card:hover img { transform: scale(1.07); }
.space-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,20,26,0) 42%, rgba(9,20,26,.86) 100%);
  transition: background .3s ease;
}
.space-card:hover .space-shade { background: linear-gradient(180deg, rgba(9,20,26,.12) 30%, rgba(9,20,26,.9) 100%); }
.space-body { position: absolute; inset-inline: 24px; bottom: 22px; color: #fff; }
.space-label { font-size: 21px; font-weight: 700; margin: 0 0 4px; color: #fff; }
.space-label::after {
  content: ""; display: block; width: 30px; height: 2.5px; background: var(--gold);
  margin-top: 8px; border-radius: 2px; transition: width .3s ease;
}
.space-card:hover .space-label::after { width: 56px; }
.space-desc { font-size: 13.5px; color: rgba(255,255,255,.78); margin: 0; }

/* ---------- stats ---------- */
.stats-band { background: var(--dark); padding: 84px 0; color: #fff; }
.stats-band .sec-title { color: #fff; }
.stats-band .sec-subtitle { color: #8FA3AA; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; }
.stat { text-align: center; padding: 8px 10px; }
.stat-num {
  font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; color: #fff; line-height: 1.1;
  font-variant-numeric: tabular-nums; letter-spacing: 1px;
}
.stat-num .suffix { color: var(--gold); font-size: .55em; margin-inline-start: 2px; }
.stat-label { color: #8FA3AA; font-size: 14.5px; margin-top: 8px; }

/* ---------- featured projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.proj-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 3.6; background: var(--dark); box-shadow: var(--shadow-sm);
}
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.proj-card:hover img { transform: scale(1.08); }
.proj-tag {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: rgba(9,20,26,.55);
  color: #fff; font-size: 11.5px; letter-spacing: .8px; padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(3px);
}
.proj-overlay {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 22px; color: #fff;
  background: linear-gradient(180deg, rgba(9,20,26,0) 30%, rgba(9,20,26,.92) 100%);
  transition: background .35s ease;
}
.proj-overlay .po-title { font-size: 19px; font-weight: 700; margin: 0 0 4px; color: #fff; }
.proj-overlay .po-cat { font-size: 12.5px; color: var(--gold); letter-spacing: .8px; margin: 0; }
.po-more {
  position: absolute; z-index: 3; top: 14px; inset-inline-end: 14px; width: 42px; height: 42px;
  border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease;
}
.po-more svg { width: 17px; height: 17px; }
[dir="rtl"] .po-more svg { transform: scaleX(-1); }
.proj-card:hover .po-more { opacity: 1; transform: translateY(0); }
.proj-card:hover .proj-overlay { background: linear-gradient(180deg, rgba(14,138,102,.16) 0%, rgba(9,20,26,.94) 100%); }

/* ---------- insights ---------- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.insight-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.insight-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insight-card:hover .insight-media img { transform: scale(1.06); }
.insight-tag {
  position: absolute; top: 12px; inset-inline-start: 12px; background: var(--brand); color: #fff;
  font-size: 11.5px; letter-spacing: .6px; padding: 4px 11px; border-radius: 999px;
}
.insight-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.insight-date { color: var(--muted-2); font-size: 12.5px; letter-spacing: .4px; margin: 0; }
.insight-title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.4; }
.insight-title a { color: var(--ink); }
.insight-title a:hover { color: var(--brand); }
.insight-summary { color: var(--muted); font-size: 13.8px; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insight-more { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--brand); margin-top: 4px; }
.insight-more svg { width: 14px; height: 14px; transition: transform .25s ease; }
.insight-card:hover .insight-more svg { transform: translateX(4px); }
[dir="rtl"] .insight-card:hover .insight-more svg { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .insight-more svg { transform: scaleX(-1); }

/* ---------- video section ---------- */
.video-band {
  position: relative; overflow: hidden; padding: 110px 0; text-align: center;
  background: var(--dark);
}
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.video-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(9,20,26,.2) 0%, rgba(9,20,26,.78) 100%); }
.video-inner { position: relative; z-index: 2; }
.video-title { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; margin: 0 0 12px; }
.video-subtitle { color: #AFC0C6; font-size: 16px; max-width: 560px; margin: 0 auto 30px; }
.play-btn {
  width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--brand);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 14px rgba(14, 138, 102, .22), 0 14px 34px rgba(0,0,0,.35);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.play-btn:hover { transform: scale(1.07); background: var(--brand-dark); }
.play-btn svg { width: 30px; height: 30px; margin-inline-start: 5px; }
[dir="rtl"] .play-btn svg { margin-inline-start: 0; transform: scaleX(-1); }
.video-cta { display: inline-block; margin-top: 30px; color: #AFC0C6; font-size: 14px; font-weight: 600; letter-spacing: .5px; }
.video-cta:hover { color: #fff; }

/* ---------- service ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint); }
.svc-icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--brand-tint); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.svc-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; margin: 0 0 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- contact band ---------- */
.contact-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, #17A87F); padding: 72px 0; }
.cb-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cb-text .cb-title { color: #fff; font-size: 30px; font-weight: 700; margin: 0 0 6px; }
.cb-text .cb-subtitle { color: rgba(255,255,255,.85); font-size: 15.5px; margin: 0; }
.cb-phone { display: flex; align-items: center; gap: 14px; color: #fff; }
.cb-phone .cb-icon { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.cb-phone .cb-icon svg { width: 24px; height: 24px; }
.cb-phone .cb-label { font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0; }
.cb-phone .cb-num { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #fff; margin: 0; line-height: 1.15; }
.cb-phone a.cb-num { display: block; }
.cb-phone a.cb-num:hover { color: #fff; text-decoration: underline; }
.cb-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #A9B8BD; }
.footer-top { padding: 72px 0 46px; display: grid; grid-template-columns: 1.25fr 2.2fr; gap: 56px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-about { font-size: 14px; color: #8FA3AA; max-width: 340px; margin: 0; line-height: 1.75; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h4 {
  color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col h4::after { content: ""; display: block; width: 26px; height: 2px; background: var(--gold); margin-top: 10px; border-radius: 2px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #8FA3AA; font-size: 13.8px; transition: color .2s ease, padding .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact {
  border-top: 1px solid var(--dark-line); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
}
.fc-item { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8FA3AA; }
.fc-item svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.fc-item a { color: #8FA3AA; font-size: 12.5px; }
.fc-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--dark-line); padding: 20px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  font-size: 12.5px; color: #6E848C;
}
.footer-bottom .fb-left { margin: 0; }
.footer-bottom .fb-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0; }
.footer-bottom a { color: #6E848C; font-size: 12.5px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- floating bar (stays right in RTL too) ---------- */
.float-bar {
  position: fixed; inset-inline-end: 18px; bottom: 90px; z-index: 80;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
[dir="rtl"] .float-bar { inset-inline-end: 18px; inset-inline-start: auto; }
.float-btn {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 0; box-shadow: var(--shadow-md); transition: transform .2s ease, box-shadow .2s ease;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.float-btn svg { width: 20px; height: 20px; }
.float-btn--wa { background: var(--wa); color: #fff; width: 54px; height: 54px; }
.float-btn--wa svg { width: 26px; height: 26px; }
.float-btn--fb { background: var(--fb); color: #fff; }
.float-btn--phone { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.float-btn--consult {
  width: auto; height: auto; border-radius: 999px; background: var(--brand); color: #fff;
  padding: 13px 20px; font-size: 13.5px; font-weight: 700; letter-spacing: .3px;
  display: inline-flex; gap: 8px;
}
.float-btn--consult svg { width: 16px; height: 16px; }
.float-btn--top { background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.float-btn--top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 120; background: rgba(9, 20, 26, .62);
  backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.consult-modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 480px; max-height: calc(100vh - 40px);
  overflow: auto; padding: 34px 32px; position: relative;
  transform: translateY(14px); transition: transform .25s ease;
}
.modal-overlay.open .consult-modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--bg-soft); color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--line); }
.modal-close svg { width: 15px; height: 15px; }
.consult-modal h3 { font-size: 22px; margin: 0 0 6px; }
.consult-modal .cm-sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%; border: 1.5px solid #D5E0DC; border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #FBFCFC;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,138,102,.14); outline: none; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-success {
  display: none; background: var(--brand-tint); border: 1px solid #BEE3D3; color: var(--brand-dark);
  border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin-top: 14px;
}
.form-success.show { display: block; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin: 14px 0 0; }

/* ---------- page hero (subpages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 86px 0; background: var(--bg-soft); }
.page-hero.has-bg { background: var(--dark); }
.page-hero.has-bg .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.page-hero.has-bg .ph-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,20,26,.55), rgba(9,20,26,.8)); }
.ph-inner { position: relative; z-index: 2; }
.ph-eyebrow { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 12px; }
.page-hero.has-bg .ph-eyebrow { color: var(--gold); }
.ph-title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin: 0 0 12px; }
.page-hero.has-bg .ph-title { color: #fff; }
.ph-subtitle { color: var(--muted); font-size: 16.5px; max-width: 680px; margin: 0; }
.page-hero.has-bg .ph-subtitle { color: rgba(255,255,255,.82); }

/* ---------- filters / cards ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 9px 22px; font-size: 14px; font-weight: 600; transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(14,138,102,.3); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pj-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pj-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pj-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.pj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pj-card:hover .pj-media img { transform: scale(1.06); }
.pj-cat {
  position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(9,20,26,.6); color: #fff;
  font-size: 11.5px; letter-spacing: .6px; padding: 4px 11px; border-radius: 999px;
}
.pj-body { padding: 18px 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pj-title { font-size: 17px; font-weight: 700; margin: 0; color: var(--ink); }
.pj-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; transition: background .2s ease, color .2s ease; }
.pj-arrow svg { width: 15px; height: 15px; }
[dir="rtl"] .pj-arrow svg { transform: scaleX(-1); }
.pj-card:hover .pj-arrow { background: var(--brand); color: #fff; }
.pj-card.hidden { display: none; }

/* ---------- project detail ---------- */
.pd-cover { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8.2; background: var(--dark); margin-bottom: 30px; }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-head { max-width: 860px; }
.pd-cat { display: inline-block; background: var(--brand-tint); color: var(--brand-dark); font-size: 12.5px; font-weight: 700; letter-spacing: 1px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.pd-title { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 16px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 22px; }
.pd-meta .m-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.pd-meta .m-item svg { width: 15px; height: 15px; color: var(--brand); }
.pd-meta .m-item b { color: var(--ink); font-weight: 600; }
.pd-summary { font-size: 16.5px; color: var(--ink-2); margin-bottom: 18px; }
.pd-desc p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 34px; }
.pd-tag { background: #fff; border: 1px solid #E7D3A6; color: #9A7420; font-size: 13px; padding: 6px 15px; border-radius: 999px; }
.pd-gallery-title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.pd-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pd-thumb { border: 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark); cursor: zoom-in; position: relative; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.pd-thumb:hover img { transform: scale(1.06); opacity: .92; }
.pd-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pd-nav .pn-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.pd-nav .pn-link svg { width: 15px; height: 15px; }
.pd-nav .pn-prev svg { transform: scaleX(-1); }
[dir="rtl"] .pd-nav .pn-prev svg { transform: none; }
[dir="rtl"] .pd-nav .pn-next svg { transform: scaleX(-1); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 130; background: rgba(5, 12, 16, .94);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage { max-width: min(1120px, 92vw); max-height: 76vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 76vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lb-btn:hover { background: var(--brand); border-color: var(--brand); }
.lb-btn svg { width: 19px; height: 19px; }
.lb-close { position: absolute; top: 22px; inset-inline-end: 22px; }
.lb-side { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-side.prev { inset-inline-start: 22px; }
.lb-side.next { inset-inline-end: 22px; }
[dir="rtl"] .lb-side.prev svg { transform: scaleX(-1); }
[dir="rtl"] .lb-side.next svg { transform: scaleX(-1); }
.lb-count { color: #9FB0B6; font-size: 13px; letter-spacing: 1px; }

/* ---------- news ---------- */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-media { aspect-ratio: 16 / 9.5; overflow: hidden; display: block; position: relative; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-2); }
.news-meta .n-cat { background: var(--brand-tint); color: var(--brand-dark); font-weight: 700; font-size: 11.5px; letter-spacing: .6px; padding: 3px 11px; border-radius: 999px; }
.news-title { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.4; }
.news-summary { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.news-more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent;
  color: var(--brand); font-weight: 700; font-size: 14px; padding: 0;
}
.news-more svg { width: 14px; height: 14px; transition: transform .25s ease; }
.news-card:hover .news-more svg { transform: translateX(4px); }
[dir="rtl"] .news-card:hover .news-more svg { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .news-more svg { transform: scaleX(-1); }

/* news detail */
.news-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.nd-media { aspect-ratio: 16 / 8; overflow: hidden; }
.nd-media img { width: 100%; height: 100%; object-fit: cover; }
.nd-body { padding: 34px 38px 40px; max-width: 860px; margin-inline: auto; }
.nd-title { font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; }
.nd-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted-2); margin-bottom: 18px; }
.nd-meta .n-cat { background: var(--brand-tint); color: var(--brand-dark); font-weight: 700; font-size: 12px; letter-spacing: .6px; padding: 3px 12px; border-radius: 999px; }
.nd-summary { font-size: 16px; color: var(--ink-2); font-weight: 500; margin-bottom: 8px; }
.nd-body .nd-p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }

/* ---------- about ---------- */
.story-body { max-width: 800px; }
.story-body p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-num { font-size: 44px; font-weight: 700; color: var(--brand-tint); position: absolute; top: 14px; inset-inline-end: 20px; line-height: 1; }
.value-card h3 { font-size: 19px; margin: 0 0 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.timeline { position: relative; max-width: 820px; margin-inline-start: 8px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-inline-start: 44px; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; inset-inline-start: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.tl-year { display: inline-block; background: var(--gold); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 3px 13px; border-radius: 999px; margin-bottom: 9px; }
.tl-item h3 { font-size: 18.5px; margin: 0 0 6px; }
.tl-item p { color: var(--muted); font-size: 14.5px; margin: 0; }
.team-block { text-align: center; max-width: 640px; margin-inline: auto; }
.team-block p { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 34px 32px;
}
.form-card h3 { font-size: 22px; margin: 0 0 22px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 30px 28px; margin-bottom: 24px;
}
.info-card h3 { font-size: 18px; margin: 0 0 18px; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ir-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.info-row .ir-icon svg { width: 18px; height: 18px; }
.info-row .ir-label { font-size: 12px; color: var(--muted-2); letter-spacing: .6px; text-transform: uppercase; margin: 0 0 3px; }
.info-row .ir-value { font-size: 14.5px; color: var(--ink); margin: 0; font-weight: 500; }
.info-row .ir-value a { color: var(--ink); }
.info-row .ir-value a:hover { color: var(--brand); }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--dark); }
.map-card img { width: 100%; height: auto; display: block; }
.map-note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(9, 20, 26, .45); color: #fff; font-size: 14px; text-align: center; padding: 20px;
}

/* ---------- state / toast / reveal ---------- */
.state-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 56px 32px; text-align: center; max-width: 640px; margin-inline: auto;
}
.state-box .sb-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.state-box .sb-icon svg { width: 26px; height: 26px; }
.state-box h2 { font-size: 24px; margin: 0 0 10px; }
.state-box p { color: var(--muted); font-size: 15px; margin: 0 0 24px; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 16px); z-index: 140;
  background: var(--dark); color: #fff; border-radius: 999px; padding: 12px 26px; font-size: 14px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 0; inset-inline-end: 0; z-index: 90; height: 100vh; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px; padding: 90px 22px 30px;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s ease; margin-inline-start: 0;
  }
  [dir="rtl"] .main-nav { transform: translateX(-100%); }
  body.nav-open .main-nav { transform: translateX(0); }
  .nav-link { padding: 13px 14px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hamburger { display: inline-flex; }
  .lang-btn { padding: 8px 13px; }
  .lang-btn .lb-text { display: none; }
  .space-card, .space-card:nth-child(-n+2) { grid-column: span 6; min-height: 260px; }
  .service-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .pd-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .quick-grid, .sol-grid, .proj-grid, .cards-grid, .stats-grid { grid-template-columns: 1fr; }
  .quick { margin-top: -56px; }
  .hero-nav { display: none; }
  .hero-inner { padding-block: 120px 140px; }
  .hero-scroll { display: none; }
  .cb-inner { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pd-gallery { grid-template-columns: repeat(2, 1fr); }
  .lang-grid { grid-template-columns: 1fr; }
  .nd-body { padding: 24px 22px 30px; }
  .toolbar-inner { justify-content: center; }
}

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

/* ---------- RTL ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .toolbar .tb-hours { direction: ltr; }

/* ---------- AI assistant chat (gold #D9A441; rendered only when site.ai.enabled) ---------- */
.float-btn--ai { background: var(--gold); color: #fff; width: 50px; height: 50px; }
.float-btn--ai:hover { background: #C08A2E; }
.float-btn--ai svg { width: 22px; height: 22px; }
.ai-panel {
  position: fixed; z-index: 135; inset-inline-end: 88px; bottom: 18px;
  width: min(360px, calc(100vw - 40px)); height: 480px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.ai-head { background: var(--gold); color: #fff; padding: 13px 16px; display: flex; align-items: center; gap: 10px; flex: none; }
.ai-head .ai-icon { width: 20px; height: 20px; flex: none; }
.ai-head .ai-title { font-weight: 700; font-size: 14.5px; flex: 1; margin: 0; }
.ai-close {
  background: transparent; border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ai-close:hover { background: rgba(0, 0, 0, .16); }
.ai-close svg { width: 14px; height: 14px; }
.ai-messages { flex: 1; overflow: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.ai-msg {
  max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word;
}
.ai-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-start-start-radius: 4px; }
.ai-msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-start-end-radius: 4px; }
.ai-msg.error { align-self: flex-start; background: #FBE9E7; border: 1px solid #F0C4BC; color: #8C2F22; }
.ai-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.ai-input textarea {
  flex: 1; border: 1.5px solid #D5E0DC; border-radius: 10px; padding: 10px 12px;
  font-family: inherit; font-size: 14px; resize: none; height: 44px; color: var(--ink);
}
.ai-input textarea:focus { border-color: var(--gold); outline: none; }
.ai-send { border: 0; background: var(--gold); color: #fff; border-radius: 10px; padding: 0 18px; font-weight: 700; font-size: 14px; }
.ai-send:hover { background: #C08A2E; }
.ai-send:disabled { opacity: .55; cursor: default; }
@media (max-width: 620px) {
  .ai-panel { inset-inline-end: 12px; bottom: 12px; }
}
