body {
  overflow-x: hidden;
}

body:not(.loaded) {
  overflow: hidden;
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: radial-gradient(circle at 20% 10%, #eef8f8 0%, #f8f9fb 45%, #eef2f8 100%);
  display: grid;
  place-items: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.loaded #page-loader {
  opacity: 0;
  visibility: hidden;
}

body.is-leaving #page-loader {
  opacity: 1;
  visibility: visible;
}

.loader-box {
  text-align: center;
}

.loader-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  animation: pulse 1.4s infinite ease-in-out;
}

.pwa-install-card {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 32px));
  z-index: 95;
  border: 1px solid #d8e4ef;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 36, 54, 0.24);
  background: linear-gradient(160deg, #ffffff 0%, #edf6f6 100%);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.pwa-install-card.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-install-content {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.pwa-install-content strong {
  font-size: 1.02rem;
}

.pwa-install-content p {
  margin: 0;
  color: #4e6072;
  font-size: 0.9rem;
}

.pwa-install-actions {
  display: flex;
  gap: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 14px;
  position: relative;
}

.branding {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 900;
}

.branding img {
  width: 38px;
  height: 38px;
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.site-header-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #364050;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: #e2f1f1;
  color: #0d6e6e;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: var(--border);
  background: #f6f9fd;
  color: #2a3e52;
  font-size: 1.35rem;
  cursor: pointer;
  place-items: center;
}

.filter-tabs {
  border-top: var(--border);
}

.filter-tabs-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filter-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  border: var(--border);
  background: #fff;
  color: #394252;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.25s ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: #0d6e6e;
  color: #fff;
  border-color: #0d6e6e;
}

.single-page {
  padding-bottom: 10px;
}

.section {
  padding: 56px 0 8px;
  scroll-margin-top: 140px;
}

.footer {
  margin-top: 8px;
}

.section-hero {
  min-height: calc(100vh - 72px);
  padding: 20px 0;
}

.section-about {
  min-height: calc(100vh - 72px);
  padding: 20px 0;
}

.hero-screen {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
}

.hero-minimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-radius: 24px;
  border: 1px solid #d9e1ea;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 250, 0.92) 100%);
  padding: clamp(20px, 4vw, 42px);
  box-shadow: 0 18px 45px rgba(13, 44, 64, 0.12);
}

.hero-minimal-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.hero-minimal-copy h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  line-height: 1.35;
}

.hero-minimal-copy p {
  margin: 0;
  max-width: 42ch;
}

.hero-scroll {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d6e6e;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.hero-scroll:hover {
  transform: translateY(2px);
}

.hero-svg-wrap {
  border-radius: 18px;
  border: 1px solid #dbe5ef;
  background: linear-gradient(160deg, #fbfdff 0%, #edf2f9 100%);
  padding: 8px;
  display: grid;
}

.hero-building-svg {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.hero-building-svg .build-core {
  animation: build-rise 1.8s ease both;
  transform-origin: 50% 100%;
}

.hero-building-svg .crane-arm {
  transform-origin: 63% 30%;
  animation: crane-swing 3.2s ease-in-out infinite;
}

.hero-building-svg .cloud-left,
.hero-building-svg .cloud-right {
  animation: cloud-move 9s linear infinite;
}

.hero-building-svg .cloud-right {
  animation-delay: -4.5s;
}

.hero-building-svg .window {
  animation: window-glow 2.8s ease-in-out infinite;
}

.hero-building-svg .window.w2 {
  animation-delay: 0.4s;
}

.hero-building-svg .window.w3 {
  animation-delay: 0.9s;
}

.hero-building-svg .window.w4 {
  animation-delay: 1.3s;
}

.about-screen {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
}

.about-story {
  position: relative;
  border-radius: 24px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid #d7e2eb;
  background: linear-gradient(150deg, #fbfdff 0%, #f1f6fb 42%, #edf4f1 100%);
  box-shadow: 0 20px 46px rgba(16, 33, 49, 0.12);
  overflow: hidden;
}

.about-story::before {
  content: "";
  position: absolute;
  inset: auto -100px -100px auto;
  width: 270px;
  height: 270px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(13, 110, 110, 0.18) 0%, rgba(13, 110, 110, 0) 70%);
}

.about-story-layout {
  position: relative;
  z-index: 1;
  display: grid;
}

.about-intro {
  display: grid;
  gap: 18px;
}

.about-intro-horizontal {
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 16px;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-building-inline {
  width: 100%;
  height: auto;
}

.about-building-inline rect:nth-child(4),
.about-building-inline rect:nth-child(5),
.about-building-inline rect:nth-child(6),
.about-building-inline rect:nth-child(7) {
  animation: window-glow 3s ease-in-out infinite;
}

.about-intro h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.4;
}

.about-intro p {
  margin: 0;
  max-width: 62ch;
  line-height: 2;
}

.about-scroll-next {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #e1f3f3;
  color: #0d6e6e;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}

.about-scroll-next:hover {
  transform: translateY(2px);
  background: #d3ecec;
}

.slider-wrap {
  display: grid;
  gap: 12px;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.slider-buttons {
  display: flex;
  gap: 8px;
}

.slider-button {
  border: var(--border);
  background: #fff;
  min-width: 92px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c3c4c;
}

.slider-track {
  overflow: hidden;
  border-radius: 16px;
}

.slider-row {
  display: grid;
}

.project-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(10px) scale(0.995);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.project-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.project-spotlight {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: stretch;
  background: #fff;
  border: var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
  min-height: 360px;
}

.project-spotlight-media {
  border-radius: 14px;
  overflow: hidden;
  border: var(--border);
  height: 320px;
  min-height: 320px;
  max-height: 320px;
}

.project-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-spotlight-body {
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto auto auto auto 1fr auto;
}

.project-spotlight-body h3 {
  margin: 0;
  font-size: 1.3rem;
}

.project-stage-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #138a46;
  background: #e6f8ee;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
}

.live-ping {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.35);
  right: 11px;
  animation: live-pulse 1.8s ease-out infinite;
}

.project-facts {
  display: grid;
  gap: 8px;
}

.project-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #304357;
  font-size: 0.93rem;
}

.project-fact-live {
  color: #10693a;
  font-weight: 700;
}

.project-fact-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #edf4f9;
  font-size: 0.86rem;
}

.project-description {
  margin: 0;
  line-height: 1.9;
}

.project-slide-actions {
  margin-top: 2px;
}

.construction-gallery {
  overflow: hidden;
  border-radius: 16px;
  border: var(--border);
  background: linear-gradient(160deg, #fbfdff 0%, #f2f7fb 100%);
  box-shadow: var(--shadow);
  padding: 14px 0;
  direction: ltr;
}

.construction-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: gallery-scroll var(--gallery-duration, 32s) linear infinite;
}

.construction-gallery:hover .construction-track {
  animation-play-state: paused;
}

.construction-group {
  display: flex;
  gap: 12px;
  padding: 0 14px;
  flex-shrink: 0;
  direction: ltr;
}

.construction-card {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  border: var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.construction-card-media {
  height: 220px;
  min-height: 220px;
  overflow: hidden;
}

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

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

.construction-card-body {
  display: grid;
  gap: 4px;
  padding: 10px;
  direction: rtl;
  text-align: right;
}

.construction-card-body strong {
  font-size: 0.9rem;
}

.construction-card-body small {
  font-size: 0.78rem;
}

.progress-line {
  height: 10px;
  border-radius: 999px;
  background: #e5ebf2;
  overflow: hidden;
}

.progress-line span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #0d6e6e 0%, #33a2a2 100%);
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 14px;
}

.map-box {
  border-radius: 14px;
  border: var(--border);
  overflow: hidden;
  min-height: 280px;
}

.map-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-locations {
  display: grid;
  gap: 8px;
}

.section-contact {
  min-height: calc(100vh - 72px);
  padding: 20px 0 8px;
}

.contact-screen {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
}

.contact-ending {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.contact-modern {
  background: #fff;
  border: var(--border);
  border-radius: 16px;
  padding: 16px;
}

.contact-details-box h2 {
  margin: 0 0 10px;
}

.contact-details-box {
  display: grid;
  align-content: start;
  border-left: 1px solid #e3e9f0;
  padding-left: 18px;
}

.contact-modern h3 {
  margin: 0 0 10px;
}

.contact-line {
  border-bottom: 1px solid #edf1f5;
  padding: 10px 0;
}

.contact-line:last-child {
  border: none;
}

.contact-map-box {
  display: grid;
  align-content: start;
}

.office-map {
  border: var(--border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  max-height: 360px;
}

.office-map img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes build-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scaleY(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes crane-swing {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes cloud-move {
  0% {
    transform: translateX(8px);
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-8px);
    opacity: 0.8;
  }
}

@keyframes window-glow {
  0%,
  100% {
    fill: #d6e3f0;
  }
  50% {
    fill: #8fc8ff;
  }
}

@keyframes live-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--loop-width, 0px)));
  }
}

@media (max-width: 1100px) {
  .hero-minimal,
  .about-intro-horizontal,
  .project-spotlight,
  .map-layout,
  .contact-ending {
    grid-template-columns: 1fr;
  }

  .contact-details-box {
    border-left: 0;
    padding-left: 0;
  }

  .project-spotlight-media {
    height: 230px;
    min-height: 230px;
    max-height: 230px;
  }

  .hero-building-svg {
    min-height: 250px;
  }

  .about-copy {
    text-align: center;
    margin-inline: auto;
  }

  .about-scroll-next {
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .site-header-inner {
    min-height: 64px;
    padding: 10px 0;
  }

  .filter-tabs-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .site-header-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(92vw, 360px);
    background: #fff;
    border: var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(15, 34, 52, 0.16);
    padding: 12px;
    display: none;
    z-index: 35;
  }

  .site-header.menu-open .site-header-menu {
    display: grid;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    display: grid;
    gap: 6px;
  }

  .main-nav a {
    white-space: normal;
    text-align: right;
  }

  .header-actions {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .header-actions .btn {
    width: 100%;
    text-align: center;
  }

  .filter-row {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .section {
    padding-top: 44px;
    scroll-margin-top: 160px;
  }

  .section-hero {
    min-height: calc(100dvh - 64px);
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-screen {
    min-height: calc(100dvh - 64px);
  }
}
