:root {
  --site-nav-h: 5.4rem;
  --site-shell-max: min(1320px, calc(100vw - 3rem));
  --site-content-max: 1320px;
  --site-panel-bg: rgba(255, 255, 255, 0.76);
  --site-panel-bg-strong: rgba(255, 255, 255, 0.9);
  --site-panel-line: rgba(148, 163, 184, 0.2);
  --site-panel-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  --site-panel-shadow-soft: 0 18px 36px rgba(15, 23, 42, 0.08);
  --site-radius-lg: 2rem;
  --site-radius-md: 1.35rem;
  --site-radius-sm: 1rem;
}

body.site-page {
  background:
    radial-gradient(circle at top, rgba(var(--brand-primary-rgb), 0.14), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(var(--brand-secondary-rgb), 0.08), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.site-page img,
.site-page svg,
.site-page iframe {
  max-width: 100%;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.shaft-lines {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shaft-lines span {
  position: absolute;
  top: -10vh;
  bottom: -10vh;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(var(--brand-primary-rgb), 0.18), transparent);
  animation: siteShaftFloat 10s ease-in-out infinite;
}

.shaft-lines span:nth-child(1) { left: 10%; }
.shaft-lines span:nth-child(2) { left: 24%; animation-duration: 8.8s; }
.shaft-lines span:nth-child(3) { left: 50%; animation-duration: 11.6s; }
.shaft-lines span:nth-child(4) { right: 24%; animation-duration: 9.8s; }
.shaft-lines span:nth-child(5) { right: 10%; animation-duration: 12.4s; }

@keyframes siteShaftFloat {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-16px); opacity: 0.82; }
}

.site-topbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-topbar.is-hidden {
  transform: translateY(calc(-100% - 0.75rem));
  opacity: 0;
}

.site-topbar__inner {
  width: var(--site-shell-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--site-panel-shadow-soft);
  pointer-events: auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-primary);
  text-decoration: none;
  min-width: 0;
}

.site-brand__mark {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: linear-gradient(135deg, #2c318a 0%, #6a2e78 52%, #be1f2f 100%);;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  flex: 0 0 auto;
}

.site-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-brand__copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.site-brand__copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-brand__copy span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: normal;
  line-height: 1.3;
  max-width: 16rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
}

.site-nav a,
.site-mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active,
.site-mobile-menu a:hover,
.site-mobile-menu a.active {
  color: var(--primary);
  background: rgba(var(--brand-primary-rgb), 0.1);
  transform: translateY(-1px);
}

.site-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.35rem 0.25rem 0.3rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-lang-switch:hover,
.site-lang-switch:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  border-color: rgba(var(--brand-primary-rgb), 0.22);
}

.site-lang-switch__code {
  min-width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(var(--brand-primary-rgb), 0.12);
}

.site-lang-switch__text {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}

.site-lang-switch i {
  color: var(--primary);
  font-size: 0.9rem;
  margin-inline-end: 0.1rem;
}

.site-topbar__cta,
.site-menu-toggle {
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.16);
  background: linear-gradient(180deg, #ffffff, rgba(239, 246, 255, 0.96));
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(var(--brand-primary-rgb), 0.1);
}

.site-menu-toggle {
  width: 2.75rem;
  padding: 0;
  display: none;
  position: relative;
}

.site-menu-toggle span,
.site-menu-toggle::before,
.site-menu-toggle::after {
  content: '';
  position: absolute;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-menu-toggle::before { transform: translateY(-0.35rem); }
.site-menu-toggle::after { transform: translateY(0.35rem); }
.site-menu-toggle.is-open span { opacity: 0; }
.site-menu-toggle.is-open::before { transform: rotate(45deg); }
.site-menu-toggle.is-open::after { transform: rotate(-45deg); }

.site-mobile-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.45rem);
  width: var(--site-shell-max);
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--site-panel-shadow);
  opacity: 0;
  transform: translate(-50%, -10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-mobile-menu.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.site-mobile-menu__lang {
  display: grid;
  padding-top: 0.5rem;
}

.site-mobile-menu__lang-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.86));
  color: var(--text-primary);
  text-decoration: none;
}

.site-mobile-menu__lang-toggle span {
  font-size: 0.94rem;
  font-weight: 700;
}

.site-mobile-menu__lang-toggle small {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-main {
  position: relative;
  z-index: 1;
}

.site-main--home {
  padding-top: 0;
}

.site-page .container,
.site-page .row,
.site-page .col,
.site-page .glass-card,
.site-page .service-card,
.site-page .project-card,
.site-page .testimonial-card,
.site-page .logo-card,
.site-page .info-card,
.site-page .contact-panel,
.site-page .card-body,
.site-page .article-card,
.site-page .project-item,
.site-page .hero-content,
.site-page .site-footer__grid > * {
  min-width: 0;
}

.home-journey {
  position: relative;
  z-index: 1;
}

.home-floor {
  min-height: var(--home-floor-min, min(calc(100vh - 0.75rem), 54rem));
  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(0.85rem, 2vw, 1.5rem);
  scroll-snap-align: start;
  scroll-margin-top: calc(var(--site-nav-h) + 0.75rem);
  isolation: isolate;
}

.page-home {
  scroll-snap-type: y proximity;
  --home-floor-min: min(calc(100vh - 0.75rem), 54rem);
  --home-floor-min-lobby: min(calc(100vh - 0.75rem), 58rem);
  --home-floor-pad-top: calc(var(--site-nav-h) + clamp(1rem, 2.2vw, 2rem));
  --home-floor-pad-bottom: clamp(1.6rem, 2.8vw, 2.5rem);
  --home-hero-focus-x: 68%;
  --home-hero-focus-y: center;
}

@supports (height: 100svh) {
  .page-home {
    --home-floor-min: min(calc(100svh - 0.75rem), 54rem);
    --home-floor-min-lobby: min(calc(100svh - 0.75rem), 58rem);
  }
}

.floor-lobby {
  min-height: var(--home-floor-min-lobby, min(calc(100vh - 0.75rem), 58rem));
}

.home-floor::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.78), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(29, 78, 216, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 30%, rgba(255, 255, 255, 0.2));
}

.floor-lobby::before {
  background-image:
    linear-gradient(90deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.84) 24%, rgba(248, 250, 252, 0.58) 52%, rgba(248, 250, 252, 0.34) 100%),
    radial-gradient(circle at 82% 18%, rgba(191, 219, 254, 0.4), transparent 18%),
    url('../images/hero-home-bg.png');
  background-position: center, 82% 18%, var(--home-hero-focus-x) var(--home-hero-focus-y);
  background-repeat: no-repeat;
  background-size: cover, 30rem 30rem, cover;
}

.home-floor:not(.floor-lobby)::before {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.92), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(191, 219, 254, 0.42), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18) 34%, rgba(255, 255, 255, 0.36));
}

.home-floor::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 9rem), rgba(29, 78, 216, 0.03) calc(50% - 9rem), rgba(29, 78, 216, 0.03) calc(50% - 8.9rem), transparent calc(50% - 8.9rem), transparent calc(50% + 8.9rem), rgba(29, 78, 216, 0.03) calc(50% + 8.9rem), rgba(29, 78, 216, 0.03) calc(50% + 9rem), transparent calc(50% + 9rem));
  z-index: -1;
  opacity: 0.84;
  transform: translateY(var(--floor-shift, 0px));
}

.floor-inner {
  width: var(--site-shell-max);
  margin: 0 auto;
  padding-top: var(--home-floor-pad-top, calc(var(--site-nav-h) + 2rem));
  padding-bottom: var(--home-floor-pad-bottom, 2.5rem);
  display: grid;
  gap: 1.8rem;
  align-items: center;
  text-align: start;
}

.home-floor:not(.floor-lobby) .floor-inner {
  position: relative;
  align-content: center;
}

.home-floor:not(.floor-lobby) .floor-inner::before,
.home-floor:not(.floor-lobby) .floor-inner::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.home-floor:not(.floor-lobby) .floor-inner::before {
  inset: auto -3.5rem 8% auto;
  width: min(18rem, 24vw);
  aspect-ratio: 1;
  border-radius: 2rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(219, 234, 254, 0.18)),
    linear-gradient(180deg, rgba(148, 163, 184, 0.08), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 60px rgba(29, 78, 216, 0.08);
  transform: rotate(11deg);
}

.home-floor:not(.floor-lobby) .floor-inner::after {
  inset: 6% auto auto -2.4rem;
  width: min(11rem, 18vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.48), rgba(255, 255, 255, 0));
  filter: blur(8px);
  opacity: 0.8;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(18rem, 0.96fr);
  gap: clamp(1.8rem, 4vw, 4rem);
}

.hero-copy,
.section-head {
  display: grid;
  gap: 1rem;
  justify-items: start;
  text-align: start;
}

.hero-copy {
  max-width: 40rem;
}

.site-page h1,
.site-page h2,
.site-page h3 {
  margin: 0;
  text-wrap: balance;
}

.site-page p {
  margin: 0;
  font-size: clamp(0.98rem, 0.42vw + 0.9rem, 1.08rem);
  line-height: 1.72;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 2.4rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

[dir='rtl'] .eyebrow {
  flex-direction: row-reverse;
}

.section-head h1,
.section-head h2 {
  letter-spacing: -0.05em;
  font-weight: 800;
}


.section-head .accent {
  color: var(--primary);
}

.section-head p {
  max-width: 44rem;
  margin-inline: 0;
  font-size: clamp(1rem, 0.42vw + 0.92rem, 1.08rem);
}

.floor-lobby .section-head h1 {
  font-size: clamp(2.5rem, 4.25vw + 0.65rem, 4.5rem);
  line-height: 0.97;
  margin-inline: 0 auto;
}

.floor-lobby .section-head p {
  max-width: 32rem;
  margin-inline: 0 auto 0 0;
  font-size: clamp(1rem, 0.28vw + 0.94rem, 1.1rem);
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-inline {
  margin-top: 1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 41rem;
}

.metric,
.glass-card,
.service-card,
.project-card,
.testimonial-card,
.logo-card,
.info-card,
.contact-panel {
  border-radius: var(--site-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--site-panel-bg);
  backdrop-filter: blur(18px);
  box-shadow: var(--site-panel-shadow-soft);
}

.metric {
  padding: 1.15rem;
}

.metric strong {
  display: block;
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.05em;
}

.metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.hero-media {
  position: relative;
  margin: 0;
  min-height: min(68vh, 42rem);
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-media__glow {
  position: absolute;
  inset: 11% -5% -7% 12%;
  z-index: -1;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 74% 18%, rgba(59, 130, 246, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12), rgba(var(--brand-secondary-rgb), 0.08));
  filter: blur(24px);
  opacity: 0.72;
}

.hero-media__frame {
  position: relative;
  width: min(100%, 43rem);
  aspect-ratio: 1280 / 853;
  margin-inline: auto;
  padding: clamp(0.45rem, 0.8vw, 0.7rem);
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.78)),
    linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12), rgba(255, 255, 255, 0.6), rgba(var(--brand-secondary-rgb), 0.1));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--site-panel-shadow);
}

.hero-media__frame::before,
.hero-media__frame::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.hero-media__frame::before {
  inset: clamp(0.45rem, 0.8vw, 0.7rem);
  border-radius: 1.25rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -4.5rem 5.5rem rgba(15, 23, 42, 0.08);
}

.hero-media__frame::after {
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(var(--brand-primary-rgb), 0.05));
  mix-blend-mode: screen;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
  object-position: center;
  border-radius: 1.25rem;
}

.stats-strip,
.project-showcase,
.contact-layout,
.testimonials-layout {
  display: grid;
  gap: 1.25rem;
}

.trust-floor {
  align-content: start;
}

.trust-split {
  display: grid;
  gap: 2.25rem;
}

.trust-block {
  display: grid;
  gap: 1.35rem;
}

.stats-strip,
.project-showcase,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.glass-card,
.project-card,
.contact-panel {
  padding: 1.5rem;
}

.project-card.list-card {
  align-self: start;
}

.project-showcase--sticky {
  align-items: start;
}

.story-card,
.spec-card {
  min-height: 100%;
}

.kicker,
.project-meta,
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.82);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glass-card h3,
.service-card h3,
.project-card h3,
.contact-panel h3 {
  margin: 0.95rem 0 0.7rem;
  font-size: clamp(1.22rem, 1.1vw + 1rem, 1.72rem);
  line-height: 1.2;
  color: var(--text-primary);
}

.glass-card p,
.service-card p,
.project-card p,
.contact-panel p,
.info-card p {
  font-size: clamp(0.96rem, 0.24vw + 0.91rem, 1.02rem);
  line-height: 1.72;
}

.spec-card h3 {
  margin-top: 0;
}

.spec-row {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-row .label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-row strong {
  color: var(--text-primary);
  font-size: 1.02rem;
}

.panel-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  padding: 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.category-card .card-media {
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 1.2 / 0.92;
}

.category-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover .card-media img {
  transform: scale(1.05);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.86);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.16), rgba(217, 119, 6, 0.12));
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.project-list,
.article-stack,
.contact-stack {
  display: grid;
  gap: 0.85rem;
}

.project-item,
.article-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.14);
  text-decoration: none;
}

.project-item strong,
.article-card strong {
  color: var(--text-primary);
  font-size: clamp(1rem, 0.34vw + 0.94rem, 1.08rem);
  line-height: 1.35;
}

.project-item p,
.article-card span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-level,
.project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.86);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
}

.article-card {
  grid-template-columns: 5rem 1fr;
  align-items: center;
  gap: 0.85rem;
}

.article-card img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 1rem;
}

.testimonials-layout {
  gap: 1.4rem;
}

.testimonial-card {
  padding: 1.35rem;
  display: grid;
  gap: 0.95rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.35rem;
  color: #fbbf24;
}

.testimonial-stars .muted {
  opacity: 0.35;
}

.testimonial-card blockquote {
  color: var(--text-primary);
  font-size: clamp(0.98rem, 0.24vw + 0.93rem, 1.06rem);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
}

.testimonial-author span {
  display: block;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.logo-card {
  padding: 1rem;
  text-align: start;
}

.logo-card a {
  color: inherit;
  text-decoration: none;
}

.logo-card img,
.client-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0.75rem;
  background: #939ca7;
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: var(--site-radius-sm);
  box-sizing: border-box;
}

.logo-card strong {
  display: block;
  margin-top: 0.8rem;
  color: var(--text-primary);
  font-size: 0.92rem;
}

[dir='rtl'] .page-home .floor-inner,
[dir='rtl'] .page-home .hero-copy,
[dir='rtl'] .page-home .section-head,
[dir='rtl'] .page-home .glass-card,
[dir='rtl'] .page-home .service-card,
[dir='rtl'] .page-home .project-card,
[dir='rtl'] .page-home .testimonial-card,
[dir='rtl'] .page-home .logo-card,
[dir='rtl'] .page-home .info-card,
[dir='rtl'] .page-home .contact-panel,
[dir='rtl'] .page-home .project-item,
[dir='rtl'] .page-home .article-card {
  text-align: right;
}

[dir='ltr'] .page-home .floor-inner,
[dir='ltr'] .page-home .hero-copy,
[dir='ltr'] .page-home .section-head,
[dir='ltr'] .page-home .glass-card,
[dir='ltr'] .page-home .service-card,
[dir='ltr'] .page-home .project-card,
[dir='ltr'] .page-home .testimonial-card,
[dir='ltr'] .page-home .logo-card,
[dir='ltr'] .page-home .info-card,
[dir='ltr'] .page-home .contact-panel,
[dir='ltr'] .page-home .project-item,
[dir='ltr'] .page-home .article-card {
  text-align: left;
}

[dir='rtl'] .page-home .hero-layout,
[dir='rtl'] .page-home .stats-strip,
[dir='rtl'] .page-home .panel-grid-3,
[dir='rtl'] .page-home .project-showcase,
[dir='rtl'] .page-home .testimonials-layout,
[dir='rtl'] .page-home .logo-strip,
[dir='rtl'] .page-home .contact-layout {
  direction: rtl;
}

[dir='ltr'] .page-home .hero-layout,
[dir='ltr'] .page-home .stats-strip,
[dir='ltr'] .page-home .panel-grid-3,
[dir='ltr'] .page-home .project-showcase,
[dir='ltr'] .page-home .testimonials-layout,
[dir='ltr'] .page-home .logo-strip,
[dir='ltr'] .page-home .contact-layout {
  direction: ltr;
}

[dir='rtl'] .page-home .floor-lobby .section-head p {
  font-weight: 700;
}

/* [dir='rtl'] .page-home .section-head,
[dir='rtl'] .page-home .hero-copy {
  justify-items: end;
} */

/* [dir='rtl'] .page-home .floor-lobby .section-head h1,
[dir='rtl'] .page-home .floor-lobby .section-head p {
  margin-inline: auto 0;
} */

.contact-stack {
  min-width: 0;
}

.info-card {
  padding: 1.15rem 1.25rem;
}

.info-card .row {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.16), rgba(217, 119, 6, 0.12));
  color: var(--primary);
}

.contact-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-card strong {
  display: block;
  margin: 0.18rem 0 0.35rem;
  color: var(--text-primary);
}

.contact-panel {
  display: grid;
  align-content: center;
}

.floor-rail {
  position: fixed;
  --rail-label-track: clamp(4.4rem, 8vw, 6rem);
  right: clamp(0.8rem, 1.9vw, 1.7rem);
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: max-content;
  pointer-events: none;
}

html[dir='ltr'] .floor-rail {
  left: auto;
  right: clamp(0.8rem, 1.9vw, 1.7rem);
  justify-items: center;
}

html[dir='rtl'] .floor-rail {
  right: auto;
  left: clamp(0.8rem, 1.9vw, 1.7rem);
  justify-items: center;
}

.floor-rail::before {
  content: '';
  position: absolute;
  left: calc(50% - 1px);
  top: 0.95rem;
  bottom: 0.95rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.14), rgba(29, 78, 216, 0.28), rgba(148, 163, 184, 0.14));
}

html[dir='rtl'] .floor-rail::before {
  right: auto;
  left: calc(50% - 1px);
}

.rail-cabin {
  position: absolute;
    left: calc(50% - 0.75rem);
    right: auto;
    top: 0;
    width: 1.5rem;
    height: 1.8rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.96), rgba(96, 165, 250, 0.94));
    border: 1px solid rgba(96, 165, 250, 0.22);
    box-shadow: 0 10px 22px rgba(29, 78, 216, 0.22), 0 0 0 0.34rem rgba(219, 234, 254, 0.26);
    transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

html[dir='rtl'] .rail-cabin {
    left: calc(50% - 0.75rem);
    right: auto;
}

.rail-stop {
  position: relative;
  z-index: 2;
  width: max-content;
  min-height: 2.95rem;
  display: inline-grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 0.34rem;
  padding: 0.22rem 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.25s ease;
}

.rail-stop__badge {
  display: none;
}

.rail-stop .dot {
  width: 0.74rem;
  height: 0.74rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(148, 163, 184, 0.42);
  box-shadow: 0 0 0 0.28rem rgba(255, 255, 255, 0.16);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.rail-stop .label {
  display: block;
  max-width: none;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 0.63rem;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.86;
  white-space: nowrap;
  text-align: center;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.rail-stop.is-active .dot {
  background: var(--primary);
  box-shadow: 0 0 0 0.38rem rgba(219, 234, 254, 0.32);
  transform: scale(1.14);
}

.rail-stop.is-active .label {
  color: var(--primary);
  opacity: 1;
  font-weight: 700;
  transform: translateY(-0.06rem);
}

.site-footer {
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr 0.8fr;
  gap: 1.5rem;
  padding: 3rem 0;
}

.site-footer__brand-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.site-footer__brand-mark {
  width: 3.15rem;
  height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #2c318a 0%, #6a2e78 52%, #be1f2f 100%);
}

.site-footer__brand-mark--full {
  border-radius: 1.2rem;
}

.site-footer__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__brand-subtitle {
  margin: 0;
  color: rgba(248, 250, 252, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer h4,
.site-footer h5 {
  margin: 0 0 1rem;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(248, 250, 252, 0.82);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__links,
.site-footer__social {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-footer__bar p {
  margin: 0;
}

.site-footer__bar-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .page-home {
    --home-floor-min: auto;
    --home-floor-min-lobby: min(calc(100vh - 0.75rem), 52rem);
    --home-floor-pad-top: calc(var(--site-nav-h) + 1.35rem);
    --home-floor-pad-bottom: 1.9rem;
  }

  @supports (height: 100svh) {
    .page-home {
      --home-floor-min-lobby: min(calc(100svh - 0.75rem), 52rem);
    }
  }

  .section-head h1,
  .section-head h2 {
    max-width: 15ch;
  }

  .section-head p {
    max-width: 40rem;
  }

  .hero-layout,
  .stats-strip,
  .project-showcase,
  .contact-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .panel-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floor-inner {
    padding-top: calc(var(--site-nav-h) + 1.5rem);
    padding-bottom: 2rem;
  }

  .hero-media {
    width: min(100%, 40rem);
    margin-inline: auto;
  }

  .home-floor:not(.floor-lobby) .floor-inner::before {
    inset-inline-end: -2rem;
    width: min(14rem, 26vw);
  }

  .home-floor:not(.floor-lobby) .floor-inner::after {
    inset-inline-start: -1.5rem;
    width: min(9rem, 17vw);
  }
}

@media (min-width: 1200px) {
  .page-home {
    --project-showcase-sticky-top: calc(var(--site-nav-h) + 1.25rem);
  }

  .project-showcase--sticky .project-card.list-card {
    position: sticky;
    top: var(--project-showcase-sticky-top);
  }
}

@media (min-width: 992px) {
  .site-page .container {
    max-width: var(--site-content-max);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .site-topbar__inner,
  .floor-inner,
  .site-mobile-menu {
    width: min(var(--site-content-max), calc(100vw - 3rem));
  }

  .site-main:not(.site-main--home) .container {
    width: min(var(--site-content-max), calc(100vw - 3rem));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
    gap: clamp(2rem, 3vw, 3.25rem);
  }

  .site-footer__grid {
    gap: 1.35rem;
  }
}

@media (min-width: 1400px) {
  .site-page .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .hero-layout {
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  .page-home {
    --home-floor-pad-top: calc(var(--site-nav-h) + 1rem);
    --home-floor-pad-bottom: 1.55rem;
    --home-hero-focus-x: 72%;
  }

  .floor-inner {
    gap: 1.45rem;
  }

  .section-head h1,
  .section-head h2 {
    max-width: 100%;
  }



  .glass-card h3,
  .service-card h3,
  .project-card h3,
  .contact-panel h3 {
    font-size: clamp(1.16rem, 0.7vw + 1rem, 1.45rem);
  }

  .site-page p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .site-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
  }

  .site-nav,
  .site-topbar__cta {
    display: none;
  }

  .site-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 7rem);
  }

  .site-topbar__actions {
    flex: 0 0 auto;
    margin-inline-start: auto;
  }

  html[dir='ltr'] .site-topbar__actions {
    flex-direction: row;
  }

  html[dir='rtl'] .site-topbar__actions {
    flex-direction: row-reverse;
  }

  .site-lang-switch {
    gap: 0.45rem;
    padding-inline: 0.28rem 0.32rem;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-mobile-menu {
    width: min(var(--site-shell-max), calc(100vw - 2rem));
  }

  .floor-rail {
    display: none;
  }

  .hero-media {
    min-height: auto;
  }

  .home-floor:not(.floor-lobby) .floor-inner::before,
  .home-floor:not(.floor-lobby) .floor-inner::after {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --site-shell-max: min(1320px, calc(100vw - 1.5rem));
  }

  .page-home {
    --home-floor-min-lobby: auto;
    --home-floor-pad-top: calc(var(--site-nav-h) + 0.85rem);
    --home-floor-pad-bottom: 1.35rem;
    --home-hero-focus-x: 74%;
  }

  .site-topbar {
    padding-top: 0.7rem;
  }

  .site-topbar__inner {
    padding: 0.8rem 0.85rem;
  }

  .site-brand {
    max-width: calc(100% - 6.4rem);
  }

  .site-brand__copy span {
    display: none;
  }

  .site-topbar__actions {
    gap: 0.5rem;
  }

  .site-lang-switch {
    min-height: 2.55rem;
  }

  .site-menu-toggle {
    width: 2.55rem;
    height: 2.55rem;
  }

  .floor-inner {
    padding-top: calc(var(--site-nav-h) + 0.85rem);
    padding-bottom: 1.5rem;
    gap: 1.25rem;
  }

  .home-floor {
    min-height: auto;
    padding-block: 0.65rem;
    scroll-margin-top: calc(var(--site-nav-h) + 0.5rem);
  }

  .floor-lobby::before {
    background-position: center, 84% 14%, 74% center;
    background-size: cover, 21rem 21rem, cover;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: 0.65rem;
    align-items: stretch;
    width: min(100%, 22rem);
    max-width: 100%;
    margin: 0 auto;
  }

  .metric {
    min-height: 5.6rem;
    padding: 0.95rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 1.15rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.84)),
      linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.08), rgba(var(--brand-secondary-rgb), 0.06));
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  }

  .metric strong,
  .metric span {
    width: 100%;
    text-align: center;
  }

  .metric strong {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.18rem, 4.3vw, 1.55rem);
  }

  .metric span {
    margin-top: 0.28rem;
    font-size: 0.68rem;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
  }

  .panel-grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-head {
    gap: 0.8rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  

  .glass-card h3,
  .service-card h3,
  .project-card h3,
  .contact-panel h3 {
    font-size: clamp(1.08rem, 4.2vw, 1.38rem);
    line-height: 1.24;
  }

  .site-page p,
  .glass-card p,
  .service-card p,
  .project-card p,
  .contact-panel p,
  .info-card p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .floor-lobby .section-head h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 8vw, 3.4rem);
  }

  .hero-media__frame {
    width: min(100%, 36rem);
    border-radius: 1.35rem;
  }

  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card img {
    width: 100%;
    height: 10rem;
  }

  .site-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-page .btn {
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .metric,
  .glass-card,
  .project-card,
  .contact-panel,
  .testimonial-card,
  .logo-card,
  .service-card,
  .info-card {
    padding: 1rem;
  }
}

@media (max-width: 575px) {
  :root {
    --site-shell-max: min(1320px, calc(100vw - 1rem));
  }

  .page-home {
    --home-floor-pad-top: calc(var(--site-nav-h) + 0.6rem);
    --home-floor-pad-bottom: 1.05rem;
    --home-hero-focus-x: 76%;
  }

  .site-topbar {
    padding-top: 0.5rem;
  }

  .site-topbar__inner {
    padding: 0.72rem 0.75rem;
    gap: 0.6rem;
  }

  .site-mobile-menu {
    width: calc(100vw - 1rem);
    padding: 0.85rem;
  }

  .site-brand {
    max-width: calc(100% - 5.8rem);
    gap: 0.65rem;
  }

  .site-brand__mark {
    width: 2.6rem;
    height: 2.6rem;
  }

  .site-brand__copy strong {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .site-lang-switch {
    min-height: 2.4rem;
    padding-inline: 0.22rem 0.28rem;
  }

  .site-lang-switch__code {
    min-width: 1.9rem;
    height: 1.9rem;
    font-size: 0.68rem;
  }

  .site-menu-toggle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .floor-inner {
    padding-top: calc(var(--site-nav-h) + 0.55rem);
    padding-bottom: 1.2rem;
    gap: 1rem;
  }

  .home-floor {
    padding-block: 0.45rem;
  }

  .floor-lobby::before {
    background-position: center, 86% 12%, 76% center;
    background-size: cover, 16rem 16rem, cover;
  }

  .floor-lobby .section-head h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: 0.5rem;
    width: min(100%, 20rem);
  }

  .metric {
    min-height: 5rem;
    padding: 0.82rem 0.55rem;
    border-radius: 1rem;
  }

  .metric strong {
    font-size: clamp(1.02rem, 4.5vw, 1.3rem);
  }

  .metric span {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .hero-media__frame,
  .hero-media img {
    border-radius: 1rem;
  }

  .logo-strip {
    grid-template-columns: 1fr;
  }

  .project-item,
  .article-card,
  .site-mobile-menu a,
  .site-mobile-menu__lang-toggle {
    padding: 0.85rem;
  }

  .site-footer__bar-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
}

@media (max-width: 399px) {
  .site-brand {
    max-width: calc(100% - 5.2rem);
  }

  .site-brand__copy strong {
    font-size: 0.76rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: 0.35rem;
    width: 100%;
  }

  .metric {
    min-height: 4.6rem;
    padding: 0.72rem 0.42rem;
    border-radius: 0.95rem;
  }

  .metric strong {
    font-size: 0.94rem;
  }

  .metric span {
    font-size: 0.56rem;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shaft-lines span,
  .reveal,
  .rail-cabin {
    animation: none !important;
    transition: none !important;
  }
}
