:root {
  --bg: #edf2f8;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --text: #0f1728;
  --muted: #4f5f7b;
  --line: #d6e0ef;
  --brand: #0065f2;
  --brand-2: #004dba;
  --accent: #00b0b9;
  --max: 1180px;
  --shadow: 0 12px 40px rgba(15, 23, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 6%, #ffffff 0%, var(--bg) 40%);
  line-height: 1.65;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(8, 26, 52, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.35;
  z-index: -1;
}

h1,
h2,
h3 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

.container {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 0.85rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.main-nav a {
  color: #1a2940;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--brand);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #1c2a40;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms linear;
  transform-origin: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 21, 40, 0.86) 5%, rgba(12, 26, 46, 0.48) 50%, rgba(8, 18, 34, 0.85) 100%),
    linear-gradient(180deg, rgba(8, 18, 34, 0.2), rgba(8, 18, 34, 0.75));
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-glow-a {
  width: 280px;
  height: 280px;
  right: 8%;
  top: 22%;
  background: #00c8e8;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-glow-b {
  width: 220px;
  height: 220px;
  left: 12%;
  bottom: 14%;
  background: #196bff;
  animation: pulseGlow 7s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  padding: 2rem 0 4.5rem;
  max-width: 920px;
  color: #eff6ff;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.06;
  max-width: 820px;
}

.hero p {
  margin: 0 0 1.2rem;
  color: #d9e7ff;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.4rem;
}

.hero-highlights article {
  background: rgba(12, 27, 48, 0.65);
  border: 1px solid rgba(172, 202, 248, 0.22);
  border-radius: 14px;
  padding: 0.9rem;
}

.hero-highlights h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.hero-highlights p {
  margin: 0;
  color: #c9dcfb;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.scroll-cue {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cae0ff;
  font-weight: 700;
  font-size: 0.9rem;
}

.scroll-cue::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(220, 236, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.74rem 1.1rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: #eff6ff;
  border-color: rgba(210, 228, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 4.8rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f6f9fd, #eef4fb);
  border-block: 1px solid var(--line);
}

.metrics {
  margin-top: -1px;
  background: #0e1a30;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.metrics-grid article {
  background: #132440;
  color: #dce9ff;
  padding: 1.1rem 1rem;
}

.metrics-grid h2 {
  margin: 0;
  font-size: 1.7rem;
  color: #fff;
}

.metrics-grid p {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
}

.section h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.section h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.section p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.card-grid,
.service-grid,
.project-grid,
.timeline-grid,
.testimonial-grid,
.capability-grid,
.featured-grid {
  display: grid;
  gap: 1rem;
}

.markets-grid,
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.service-card,
.project-card,
.video-box,
.contact-form,
.faq details,
.timeline-item,
.table-wrap,
.feature-tile,
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card,
.service-card,
.timeline-item,
.feature-tile {
  padding: 1rem;
}

.section-featured {
  padding-top: 3.8rem;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-tile h3 {
  margin-top: 0;
}

.feature-tile a {
  font-weight: 800;
}

.market-card,
.insight-card {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.market-card:hover,
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(22, 48, 90, 0.12);
  border-color: #aac3e7;
}

.market-card h3,
.insight-card h3 {
  margin-top: 0;
}

.kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10408c;
  margin: 0 0 0.6rem;
}

.feature-tile:hover,
.card:hover,
.service-card:hover,
.project-card:hover,
.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(22, 48, 90, 0.12);
  border-color: #aac3e7;
}

.city-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #091a36, #0f2c58);
}

.city-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  padding: 0.95rem 1.2rem;
  animation: moveTrack 26s linear infinite;
}

.city-track span {
  color: #dbe9ff;
  font-weight: 700;
  font-size: 0.92rem;
}

.city-track span::before {
  content: "•";
  margin-right: 0.65rem;
  color: #87d7ff;
}

@keyframes moveTrack {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-30%);
  }
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-grid,
.project-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.project-card div {
  padding: 1rem;
}

.project-card h3 {
  margin-top: 0;
}

.timeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 0.3rem;
  color: var(--brand);
  font-weight: 800;
}

.table-wrap {
  overflow: auto;
  padding: 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.85rem;
  font-size: 0.94rem;
}

th {
  color: #163e7d;
  font-weight: 800;
}

.check-list {
  padding-left: 1.1rem;
}

.video-box {
  overflow: hidden;
  min-height: 360px;
}

.video-box iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.testimonial-grid .card h3 {
  margin-bottom: 0;
  color: #2e4465;
  font-size: 0.95rem;
}

.faq details {
  margin-bottom: 0.8rem;
  padding: 0.8rem 1rem;
}

.faq details[open] {
  border-color: #b8cdec;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.contact-form {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: #355274;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bfd0ea;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  background: #f9fbff;
  color: #10213d;
  font: inherit;
}

.section-cta {
  padding-top: 1rem;
}

.cta-panel {
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f5f8fc;
}

.footer-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #264166;
  font-weight: 700;
  font-size: 0.9rem;
}

.filter-bar {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.search-panel {
  margin-top: 0.9rem;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.search-panel label {
  display: block;
  margin-bottom: 0.4rem;
  color: #355274;
  font-weight: 700;
}

.search-panel input {
  width: 100%;
  border: 1px solid #bfd0ea;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  background: #f9fbff;
  color: #10213d;
  font: inherit;
}

.filter-chip {
  border: 1px solid #c3d3ea;
  background: #fff;
  color: #274164;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
}

.project-list-section {
  padding-top: 0.8rem;
}

.inline-link {
  display: inline-flex;
  margin-top: 0.35rem;
  font-weight: 800;
}

.mini-tag {
  display: inline-flex;
  margin-top: 0.35rem;
  margin-right: 0.45rem;
  border: 1px solid #c7d8ee;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #355b8c;
  background: #f7fbff;
}

.all-tags {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag-pill {
  border: 1px solid #c3d3ea;
  background: #fff;
  color: #274164;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.tag-pill.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
}

.tag-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.page-btn {
  border: 1px solid #c3d3ea;
  background: #fff;
  color: #274164;
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.page-btn.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
}

.global-search-btn {
  border: 1px solid #c3d3ea;
  background: #fff;
  color: #274164;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}

.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 38, 0.52);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 7vh 1rem 1rem;
  z-index: 100;
}

.search-modal.open {
  display: flex;
}

.search-modal-inner {
  width: min(100%, 760px);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 65px rgba(16, 34, 63, 0.2);
  padding: 1rem;
}

.search-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-modal-head h3 {
  margin: 0;
}

.search-close {
  border: 1px solid #c3d3ea;
  background: #fff;
  color: #274164;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.search-modal-input {
  width: 100%;
  margin-top: 0.7rem;
  border: 1px solid #bfd0ea;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  background: #f9fbff;
  color: #10213d;
  font: inherit;
}

.search-results {
  margin-top: 0.8rem;
  max-height: 55vh;
  overflow: auto;
  display: grid;
  gap: 0.45rem;
}

.search-hit {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  color: #183357;
  background: #fbfdff;
}

.search-hit small {
  color: #57759d;
  font-weight: 700;
}

.related-section {
  border-top: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-layout {
  max-width: 920px;
}

.breadcrumb {
  font-size: 0.9rem;
  margin: 0 0 0.6rem;
}

.article-lead {
  font-size: 1.08rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.stats-row div {
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
}

.stats-row strong {
  display: block;
  margin-bottom: 0.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.4;
  }
}

@media (max-width: 1020px) {
  .hero-highlights,
  .featured-grid,
  .project-grid,
  .capability-grid,
  .testimonial-grid,
  .markets-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .tag-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 1rem;
    display: none;
    flex-direction: column;
    min-width: 190px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .service-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-glow {
    display: none;
  }
}
