:root {
  --bg: #07111f;
  --bg-soft: #0d1a2d;
  --panel: rgba(10, 22, 39, 0.74);
  --panel-strong: rgba(10, 22, 39, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7fbff;
  --muted: #a6b5ca;
  --accent: #5eead4;
  --accent-strong: #22c7b8;
  --accent-soft: rgba(94, 234, 212, 0.14);
  --accent-warm: #ffd166;
  --shadow: 0 24px 80px rgba(3, 9, 18, 0.32);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(94, 234, 212, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(34, 199, 184, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(6, 16, 29, 0.92) 0%, rgba(9, 20, 37, 0.94) 34%, rgba(7, 17, 31, 0.96) 100%),
    url("../images/hero-bg.jpg") center top / cover fixed no-repeat;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.24;
  z-index: 0;
  animation: drift 18s ease-in-out infinite;
}

body::before {
  top: -10rem;
  left: -10rem;
  background: rgba(94, 234, 212, 0.22);
}

body::after {
  right: -10rem;
  bottom: 2rem;
  background: rgba(255, 209, 102, 0.14);
  animation-direction: reverse;
  animation-duration: 23s;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm), #90f9ef);
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.28);
  z-index: 120;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px);
  background: rgba(5, 12, 23, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.65), transparent);
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 15, 28, 0.72);
  max-height: 48px;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, border-color 0.25s ease;
}

.topbar-inner,
.nav-wrap,
.office-top,
.office-modal-head,
.footer-brand-row {
  display: flex;
  align-items: center;
}

.topbar-inner {
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  color: var(--muted);
  font-size: 13px;
  transition: min-height 0.25s ease;
}

.topbar-left,
.topbar-right-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-left {
  flex-wrap: wrap;
}

.top-item {
  position: relative;
}

.top-item + .top-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.login-btn:hover {
  transform: translateY(-1px);
  background: rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.4);
}

.nav-wrap {
  position: relative;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  transition: min-height 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
  display: block;
  flex-shrink: 0;
}

.brand-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
  transition: width 0.25s ease, height 0.25s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.brand-name,
.footer-brand-name {
  font-family: "Space Grotesk", sans-serif;
}

.brand-name {
  font-size: 1.08rem;
  line-height: 1.06;
  letter-spacing: -0.02em;
  transition: font-size 0.25s ease;
}

.brand-tag {
  margin-top: 0;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  transition: font-size 0.25s ease, letter-spacing 0.25s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: gap 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-item {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown > a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  order: 2;
  opacity: 0.76;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  width: min(300px, 82vw);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 16, 29, 0.98);
  box-shadow: 0 20px 56px rgba(3, 9, 18, 0.36);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #d8e4f3;
  font-size: 0.86rem;
  line-height: 1.25;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(94, 234, 212, 0.1);
}

.nav a {
  position: relative;
  color: #d8e4f3;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a {
  padding: 12px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-submenu a::after {
  display: none;
}

.nav .nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  padding: 0;
  color: #8dece2;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav .nav-login::before {
  content: "";
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.16);
}

.nav .nav-login::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav .nav-login span {
  display: inline-flex;
}

.nav .nav-login:hover,
.nav .nav-login:focus-visible {
  color: var(--accent-warm);
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  .site-header.is-scrolled {
    background: rgba(5, 12, 23, 0.9);
    box-shadow: 0 16px 38px rgba(3, 9, 18, 0.22);
  }

  .site-header.is-scrolled .topbar {
    max-height: 0;
    opacity: 0;
    border-color: transparent;
  }

  .site-header.is-scrolled .topbar-inner {
    min-height: 0;
  }

  .site-header.is-scrolled .nav-wrap {
    min-height: 64px;
  }

  .site-header.is-scrolled .brand {
    gap: 10px;
  }

  .site-header.is-scrolled .brand-logo img {
    width: 46px;
    height: 46px;
  }

  .site-header.is-scrolled .brand-name {
    font-size: 0.98rem;
  }

  .site-header.is-scrolled .brand-tag {
    font-size: 0.66rem;
    letter-spacing: 0.22em;
  }

  .site-header.is-scrolled .nav {
    gap: 24px;
  }
}

.nav > a:not(.nav-login)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav > a:not(.nav-login):hover::after,
.nav > a:not(.nav-login):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(115deg, rgba(5, 11, 21, 0.94) 12%, rgba(5, 11, 21, 0.84) 42%, rgba(5, 11, 21, 0.46) 100%),
    radial-gradient(circle at top right, rgba(94, 234, 212, 0.18), transparent 32%);
}

.hero-grid {
  position: relative;
  width: 100%;
  padding: 72px 0 44px;
}

.hero-copy-centered {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-label,
.why-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(94, 234, 212, 0.08);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
}

.hero h1,
.section h2,
.section-head h2 {
  margin: 22px 0 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  line-height: 0.94;
}

.section h2,
.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.02;
}

.hero-highlight {
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, #b3fff1 0%, var(--accent-warm) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 40px rgba(255, 209, 102, 0.12);
}

.hero p,
.section p,
.section-head p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
}

.hero-copy > p {
  max-width: 760px;
  margin: 22px auto 0;
  text-wrap: pretty;
}

.hero-laughline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 42rem);
  margin: 24px auto 0;
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 40px rgba(4, 10, 18, 0.18);
  overflow: hidden;
}

.laughline-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.14);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-laughline .hero-rotator {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #e4efff;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hero-rotator.is-switching {
  opacity: 0.2;
  transform: translateY(8px);
}

.hero-chip-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  font-size: 0.94rem;
  color: #e7f7ff;
  box-shadow: 0 10px 24px rgba(5, 11, 21, 0.18);
}

.hero-ribbon {
  margin-top: 26px;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hero-ribbon-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.hero-ribbon-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.9rem;
  color: #dff8f3;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.12);
}

.hero-ribbon-track span:nth-child(2n) {
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.16);
  color: #fff4cd;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--accent), #a7f3d0);
  box-shadow: 0 18px 40px rgba(94, 234, 212, 0.2);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px auto 0;
}

.hero-meta-card,
.feature-card,
.service-card,
.stat-card,
.legacy-card,
.why-card,
.office-card,
.contact-form,
.profile-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-meta-card {
  border-radius: 24px;
  padding: 22px 24px;
  text-align: left;
}

.hero-meta-kicker,
.mini-eyebrow,
.mini-title,
.office-pill {
  display: inline-block;
  font-size: 0.75rem;
  color: #8dece2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.02rem;
}

.hero-meta-card p {
  margin: 10px 0 0;
  max-width: none;
  font-size: 0.96rem;
}

.feature-card {
  margin-top: 18px;
  border-radius: 32px;
  overflow: hidden;
  text-align: left;
  position: relative;
}

.hero-copy-centered .feature-card {
  margin: 40px auto 0;
  max-width: 840px;
}

.hero-copy-centered .sector-blend-card {
  max-width: 980px;
  border-color: rgba(94, 234, 212, 0.18);
  box-shadow: 0 24px 70px rgba(3, 9, 18, 0.42);
}

.feature-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center center;
}

.sector-blend-card img {
  height: clamp(240px, 34vw, 360px);
  object-position: center 42%;
  filter: saturate(1.08) contrast(1.04);
}

.sector-blend-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 8, 18, 0.28));
}

.feature-card-body {
  padding: 28px;
}

.blend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.blend-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats {
  position: relative;
  z-index: 1;
  margin-top: -10px;
}

.stats-grid,
.sectors-grid,
.services-grid,
.projects-grid,
.legacy-grid,
.why-grid,
.offices-grid,
.form-grid,
.footer-clean,
.contact-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 2.55rem);
  color: var(--accent);
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section {
  position: relative;
  padding: clamp(56px, 6vw, 74px) 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-dark::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

#sectors::before,
#projects::before,
#why-agmor::before,
#contact::before {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.72), rgba(8, 17, 31, 0.82)),
    radial-gradient(circle at top left, rgba(94, 234, 212, 0.08), transparent 32%);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 860px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.section-head p {
  margin: 10px auto 0;
}

.about-left-inner {
  max-width: 960px;
  margin: 0 auto;
}

.about-title-center {
  text-align: center;
}

.about-copy {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.about-copy p {
  text-align: justify;
  text-align-last: left;
}

.profile-panel {
  margin-top: 20px;
  border-radius: 24px;
  padding: 22px 24px;
}

.chairman-panel {
  position: relative;
  overflow: hidden;
  text-align: justify;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.08), transparent 38%),
    var(--panel);
}

.chairman-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(94, 234, 212, 0.2) 42%, transparent 72%);
  transform: translateX(-120%);
  animation: chairmanSweep 5.5s ease-in-out infinite;
}

.chairman-panel .mini-title,
.chairman-panel .chairman-name {
  position: relative;
  z-index: 1;
}

.chairman-name {
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: justify;
}

.about-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(94, 234, 212, 0.35);
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--accent-warm);
}

.sectors-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.sector-card,
.service-card,
.project-card {
  position: relative;
  overflow: hidden;
}

.sector-card,
.service-card {
  min-height: 320px;
  border-radius: 30px;
}

.sector-card img,
.service-card img,
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-card-overlay,
.service-card::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.12), rgba(3, 8, 18, 0.9));
}

.sector-card-body,
.service-card span,
.project-card span,
.project-card em {
  position: absolute;
  z-index: 1;
}

.sector-card-body,
.service-card span,
.project-card span {
  left: 22px;
  right: 22px;
}

.sector-card-body,
.service-card span {
  bottom: 22px;
}

.sector-card-body h3,
.why-card h3,
.office-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.sector-card-body h3 {
  font-size: clamp(1.3rem, 2vw, 1.52rem);
}

.sector-card-body p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: #d7e5f6;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.service-card {
  min-height: 280px;
  border-radius: 28px;
}

.service-card span {
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 700;
  line-height: 1.2;
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.project-card {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.project-card span {
  bottom: 76px;
  font-size: clamp(1.18rem, 2vw, 1.38rem);
  font-weight: 700;
  line-height: 1.18;
}

.project-card em {
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-style: normal;
  color: var(--text);
}

.legacy-grid,
.why-grid,
.offices-grid {
  margin-top: 22px;
}

.legacy-grid,
.why-grid,
.offices-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legacy-card,
.why-card,
.office-card {
  border-radius: 28px;
}

.legacy-card,
.why-card {
  padding: 26px;
}

.legacy-card {
  min-height: 148px;
  display: flex;
  align-items: center;
}

.legacy-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.legacy-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.why-card p,
.office-card p,
.contact-list,
.footer p {
  color: var(--muted);
  line-height: 1.8;
}

.office-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(94, 234, 212, 0.14), transparent 38%),
    var(--panel);
}

.office-flag {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.08);
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.office-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.16);
  background: rgba(94, 234, 212, 0.08);
  color: #8dece2;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.office-card h3 {
  margin: 4px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.38rem);
  line-height: 1.14;
  color: var(--accent);
}

.office-top {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.office-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.office-card p strong {
  color: #eef6ff;
}

.office-card:hover .office-pill {
  border-color: rgba(94, 234, 212, 0.4);
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.22), rgba(255, 209, 102, 0.16));
  color: #eafffb;
  box-shadow: 0 10px 24px rgba(94, 234, 212, 0.18);
  transform: translateY(-1px);
}

.office-card:hover .office-flag {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.22), rgba(94, 234, 212, 0.08));
  color: #dffef9;
  box-shadow: 0 10px 24px rgba(94, 234, 212, 0.16);
  transform: translateY(-1px);
}

.office-card:hover {
  background:
    radial-gradient(circle at top right, rgba(94, 234, 212, 0.2), transparent 38%),
    rgba(10, 22, 39, 0.84);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-item span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-item strong {
  color: #eef6ff;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
}

.contact-form {
  border-radius: 30px;
  padding: 28px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea {
  min-height: 168px;
  margin-top: 18px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(94, 234, 212, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.08);
}

.contact-submit-full {
  width: 100%;
  margin-top: 18px;
}

.footer {
  padding: 0 0 26px;
  background: rgba(4, 10, 18, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-clean {
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 0 32px;
}

.footer-brand-row {
  align-items: flex-start;
  gap: 14px;
}

.footer-logo-image {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 1.28rem;
  line-height: 1.05;
}

.footer-heading {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  text-align: center;
  color: #7f8da3;
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(3, 7, 16, 0.6);
  backdrop-filter: blur(12px);
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 999;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
}

.modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-body {
  max-height: calc(88vh - 280px);
  overflow-y: auto;
  padding: 28px;
}

.modal-body h3 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.modal-body p {
  margin-top: 16px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 11, 21, 0.72);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.related-panel,
.office-box,
.office-map-wrap {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.related-panel {
  margin-top: 24px;
  padding: 20px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.related-item {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.16);
  color: #e8fffb;
}

.office-details {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 22px;
}

.office-box {
  padding: 20px;
}

.office-map-wrap {
  overflow: hidden;
}

.office-map-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.86);
  box-shadow: 0 0 28px rgba(94, 234, 212, 0.32);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  z-index: 1001;
}

.cursor.visible {
  opacity: 1;
}

.cursor.hover {
  width: 24px;
  height: 24px;
  background: rgba(94, 234, 212, 0.16);
  border: 1px solid rgba(94, 234, 212, 0.56);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.sector-card:hover,
.service-card:hover,
.project-card:hover,
.legacy-card:hover,
.why-card:hover,
.office-card:hover,
.stat-card:hover,
.feature-card:hover,
.hero-meta-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.18);
  box-shadow: 0 28px 60px rgba(2, 10, 18, 0.34);
}

.sector-card:hover img,
.service-card:hover img,
.project-card:hover img {
  transform: scale(1.04);
}

.service-card,
.project-card,
.legacy-card,
.why-card,
.office-card,
.stat-card,
.feature-card,
.hero-meta-card,
.sector-card {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (max-width: 1199px) {
  .sectors-grid,
  .projects-grid,
  .legacy-grid,
  .why-grid,
  .offices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 1024px) and (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 16, 29, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav-links {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .nav .nav-login {
    width: 100%;
    min-height: 42px;
    margin-left: 0;
    padding: 0 14px;
    border: 1px solid rgba(94, 234, 212, 0.18);
    border-radius: 14px;
    background: rgba(94, 234, 212, 0.08);
    color: var(--text);
    justify-content: space-between;
  }

  .nav .nav-login::before {
    display: none;
  }
}

@media (max-width: 1120px) {
  .nav-item,
  .nav-dropdown,
  .nav-dropdown > a {
    display: grid;
  }

  .nav-dropdown > a {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-submenu {
    position: static;
    width: auto;
    margin-top: 6px;
    padding: 6px 0 0 12px;
    border: 0;
    border-left: 1px solid rgba(94, 234, 212, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    transform: none;
  }
}

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

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

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 16, 29, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav-links {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .nav .nav-login {
    width: 100%;
    min-height: 42px;
    margin-left: 0;
    padding: 0 14px;
    border: 1px solid rgba(94, 234, 212, 0.18);
    border-radius: 14px;
    background: rgba(94, 234, 212, 0.08);
    color: var(--text);
    justify-content: space-between;
  }

  .nav .nav-login::before {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero-meta-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .office-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 58vw);
    align-items: center;
    gap: 8px 12px;
    padding: 10px 0;
    font-size: 12px;
  }

  .topbar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
  }

  .topbar-right-flex {
    width: auto;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
  }

  .topbar-right-flex span,
  .topbar-left a {
    white-space: nowrap;
  }

  .topbar-right-flex span {
    display: inline-block;
    font-size: 11px;
    max-width: 35vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 76px;
    gap: 6px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-text {
    overflow: hidden;
  }

  .brand-logo {
    width: auto;
    height: auto;
    border-radius: 0;
  }

  .brand-logo img {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: clamp(0.62rem, 3.1vw, 0.86rem);
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .brand-tag {
    font-size: clamp(0.47rem, 2.15vw, 0.58rem);
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .login-btn {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-copy > p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-grid,
  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-laughline {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 14px;
  }

  .hero-laughline .hero-rotator {
    font-size: 0.92rem;
  }

  .hero-ribbon {
    padding: 12px 0;
  }

  .hero-meta-grid,
  .stats-grid,
  .sectors-grid,
  .services-grid,
  .projects-grid,
  .legacy-grid,
  .why-grid,
  .offices-grid,
  .form-grid,
  .contact-grid,
  .footer-clean {
    grid-template-columns: 1fr;
  }

  .feature-card img,
  .modal-panel img {
    height: 220px;
  }

  .project-card {
    min-height: 360px;
  }

  .project-card span,
  .service-card span {
    font-size: 1.14rem;
  }

  .hero-chip {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .hero-ribbon-track {
    animation-duration: 20s;
  }

  .modal {
    padding: 12px;
    align-items: flex-end;
  }

  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }

  .modal-body {
    max-height: calc(92vh - 220px);
    padding: 22px 18px 24px;
  }

  .related-list {
    flex-direction: column;
  }

  .related-item {
    border-radius: 16px;
  }

  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-ribbon-track {
    animation: none;
  }

  body::before,
  body::after,
  .hero-bg img {
    animation: none;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(2rem, -1rem, 0) scale(1.08);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes chairmanSweep {
  0%,
  28% {
    transform: translateX(-120%);
  }

  58%,
  100% {
    transform: translateX(120%);
  }
}
.project-card em {
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.15);
  border: 1px solid rgba(94, 234, 212, 0.3);
}
body {
  font-family: "Manrope", system-ui, -apple-system, Arial, sans-serif;
}
h1, h2, h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
}
/* Premium UI Polish */
body {
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero h1 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy > p {
  color: #c8d6e8;
}

.section-head p {
  max-width: 720px;
}

.project-card {
  isolation: isolate;
}

.project-card::after {
  background:
    linear-gradient(180deg, rgba(3, 8, 18, 0.08), rgba(3, 8, 18, 0.78)),
    radial-gradient(circle at top, rgba(94, 234, 212, 0.14), transparent 45%);
}

.project-card span {
  text-align: center;
}

.project-card em {
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  justify-content: center;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 20px;
  background: rgba(94, 234, 212, 0.16);
  border: 1px solid rgba(94, 234, 212, 0.34);
  box-shadow: 0 12px 28px rgba(94, 234, 212, 0.14);
}

.project-card:hover em {
  background: linear-gradient(135deg, var(--accent), #a7f3d0);
  color: #04111d;
  border-color: transparent;
}

.sector-card,
.service-card,
.project-card,
.stat-card,
.why-card,
.office-card,
.contact-form {
  box-shadow: 0 20px 60px rgba(2, 8, 18, 0.28);
}

.sector-card:hover,
.service-card:hover,
.project-card:hover,
.stat-card:hover,
.why-card:hover,
.office-card:hover {
  transform: translateY(-8px);
}

.btn-primary {
  box-shadow:
    0 18px 40px rgba(94, 234, 212, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (max-width: 767px) {
  .hero-copy-centered {
    text-align: center;
  }

  .project-card span {
    left: 18px;
    right: 18px;
    bottom: 82px;
  }

  .project-card em {
    bottom: 24px;
  }

  .section-head.center {
    max-width: 100%;
  }
}
