/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
  padding-top: 72px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  --header-bg-rgb: 15, 25, 35;
  --hero-parallax-offset: 0px;
  --hero-text-offset: 0px;
  --mission-parallax-offset: 0px;
}

body:not(.admin-body):not(.admin-login-page) p {
  line-height: 1.64 !important;
}

body.mobile-menu-open {
  overflow: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(var(--header-bg-rgb), 1);
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease,
    -webkit-backdrop-filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header.is-scrolled {
  background: rgba(15, 25, 35, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
}

.home-page {
  padding-top: 0;
}

.home-page .header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.mobile-menu-active {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg {
  width: 28px;
  height: 28px;
}

.logo-image {
  display: block;
  height: 47px;
  width: auto;
}

.logo-image-dark {
  display: none;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #fff;
  text-transform: uppercase;
}

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

.nav a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav a:hover {
  color: #fff;
}

body:not(.home-page):not(.imprint-page) .nav a:not(.is-active) {
  color: rgba(255, 255, 255, 0.55);
}

body:not(.home-page):not(.imprint-page) .nav a.is-active {
  color: #fff;
}

body:not(.home-page):not(.imprint-page) .nav a:hover {
  color: #fff;
}

body.company-page section:not(.company-hero) h3,
body.services-page section:not(.services-hero) h3,
body.news-page section:not(.news-hero) h3,
body.esg-page section:not(.esg-hero) h3,
body.contact-page section:not(.contact-hero) h3,
body.careers-page section:not(.careers-hero) h3,
body.workwithus-page section:not(.wwu-hero) h3,
body.press-page section h3 {
  font-size: 24px;
}

body.company-page section:not(.company-hero) p,
body.company-page section:not(.company-hero) li,
body.services-page section:not(.services-hero) p,
body.services-page section:not(.services-hero) li,
body.news-page section:not(.news-hero) p,
body.news-page section:not(.news-hero) li,
body.esg-page section:not(.esg-hero) p,
body.esg-page section:not(.esg-hero) li,
body.contact-page section:not(.contact-hero) p,
body.contact-page section:not(.contact-hero) li,
body.careers-page section:not(.careers-hero) p,
body.careers-page section:not(.careers-hero) li,
body.workwithus-page section:not(.wwu-hero) p,
body.workwithus-page section:not(.wwu-hero) li,
body.press-page section p,
body.press-page section li {
  font-size: 17px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

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

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at top, rgba(146, 169, 151, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(24, 38, 54, 0.92) 0%, rgba(17, 24, 39, 0.88) 52%, rgba(34, 58, 49, 0.86) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 88px 24px 28px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.18s ease;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  will-change: opacity;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.mobile-menu,
.mobile-menu * {
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
}

.mobile-menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
  line-height: 1.2;
  padding: 10px 0;
}

.mobile-menu-nav a.is-active,
.mobile-menu-nav a:hover {
  color: #fff;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  padding-bottom: 0;
  transform: translateY(-40px);
}

.btn-investors.mobile-menu-investors {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 172px;
  height: 44px;
  margin: 0 auto;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
}

.mobile-menu-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border: none;
  background: transparent;
  color: #fff;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin: 0 auto;
  padding: 11px 0;
  line-height: 1;
  cursor: pointer;
}

.lang-toggle {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-investors {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}

.btn-investors:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-investors.is-active {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f1923;
  min-height: clamp(620px, 92vh, 920px);
}

.hero-media {
  position: absolute;
  inset: -60px 0 0;
  height: calc(100% + 120px);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--hero-parallax-offset), 0) scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(16, 24, 40, 0.3) 0%,
    rgba(16, 24, 40, 0.05) 45%,
    rgba(16, 24, 40, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 40px 0;
}

.hero-text {
  width: 100%;
  text-align: center;
  color: #fff;
  transform: translate3d(0, var(--hero-text-offset), 0);
  will-change: transform;
}

.hero-text h1 {
  font-size: 69px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.5px;
  text-shadow: 0 28px 70px rgba(0, 0, 0, 0.58), 0 10px 28px rgba(0, 0, 0, 0.38);
}

/* ===== CONTENT REVEALS ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(8px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* ===== OVERVIEW / MONTIBOR — DARK BACKGROUND ===== */
.overview {
  padding: 48px 0 56px;
  background: #111827;
  color: #fff;
}

.overview-heading {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.overview-text {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 980px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: #1b4332;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: #143728;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: transparent;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid #1a1a1a;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-home-company,
.btn-home-services,
.btn-home-news,
.btn-home-mission {
  border-radius: 16px;
}

.btn-home-company {
  background: #eef2f5;
  color: #1a2332;
}

.btn-home-company:hover {
  background: #e2e8ee;
}

.btn-home-services {
  background: #1a2332;
  color: #fff;
  border-color: #1a2332;
}

.btn-home-services:hover {
  background: #111827;
  border-color: #111827;
}

.btn-home-news {
  background: #1a2332;
}

.btn-home-news:hover {
  background: #111827;
}

/* Blue accent bar between overview and track record */
.hero-accent-bar {
  display: none;
}

/* ===== TRACK RECORD SECTION ===== */
.track-record {
  padding: 72px 0 80px;
  background: #fafafa;
}

.track-record-header {
  margin-bottom: 48px;
}

.track-record-header h2 {
  font-size: 44px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.track-record-header p {
  font-size: 14px;
  color: #777;
  font-weight: 400;
}

/* Stats Grid */
.stats-grid {
  margin-bottom: 56px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f0f0f0;
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.track-record .stat-number[data-count-to] {
  visibility: hidden;
}

.track-record .stat-number[data-count-to].is-count-ready {
  visibility: visible;
}

.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: #777;
  line-height: 1.4;
}

.stat-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}

.btn-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  background: #1a2332;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  line-height: 1.5;
}

.btn-cta strong {
  font-weight: 700;
  font-size: 14px;
}

.btn-cta:hover {
  background: #111827;
}

/* ===== MOSAIC IMAGE GRID =====
   Two columns with white gap between them.
   Each column: image → ribbon(s) → image
   White gaps between ribbons and images.
   Left: blueprints BIG, construction SMALL
   Right: keys SMALL, charts BIG
*/
.track-images-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.track-images-mosaic-mobile {
  display: none;
}

.mosaic-mobile-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mosaic-mobile-card-reverse {
  flex-direction: column-reverse;
}

.mosaic-left,
.mosaic-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mosaic-image {
  overflow: hidden;
}

.mosaic-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Project Development + Investment Management: force full-bleed across card width */
.track-images-mosaic-mobile .mosaic-mobile-card:nth-child(1) .mosaic-image img,
.track-images-mosaic-mobile .mosaic-mobile-card:nth-child(4) .mosaic-image img {
  width: 104%;
  max-width: 104%;
  margin-left: -2%;
}

/* Left column: blueprints VERY BIG, construction smaller */
.mosaic-left .mosaic-image:first-child img {
  height: 560px;
}

.mosaic-left .mosaic-image:last-child img {
  height: 240px;
}

/* Right column: keys smaller, charts VERY BIG */
.mosaic-right .mosaic-image:first-child img {
  height: 240px;
}

.mosaic-right .mosaic-image:last-child img {
  height: 560px;
}

.mosaic-ribbon {
  background: #1e293b;
  color: #fff;
  font-size: 18.4px;
  font-weight: 400;
  padding: 12px 20px;
  letter-spacing: 0.2px;
  margin: 0 4px;
}

.mosaic-ribbon-right {
  text-align: right;
}

/* ===== AREAS OF EXPERTISE ===== */
.expertise {
  padding: 72px 0 80px;
  background: #fff;
}

.expertise .section-heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.expertise-text {
  font-size: 17px;
  color: #555;
  line-height: 1.66;
  margin-bottom: 36px;
  max-width: 900px;
}

/* ===== NEWS SECTION ===== */
.news {
  padding: 80px 0 60px;
  background: #fff;
}

.news .section-heading {
  font-size: 44px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.news-subtext {
  font-size: 16.1px;
  color: #777;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 48px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 2px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.03);
}

.news-card-tag {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}

.news-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.news-btn-wrap {
  margin-bottom: 0;
}

/* ===== MISSION IMAGE + GREEN BAR ===== */
.mission-spacer {
  height: 100px;
  background: #fff;
}

/* Full width mission section */
.mission-image-section {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
}

.mission-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: translate3d(0, var(--mission-parallax-offset), 0) scale(1.08);
  will-change: transform;
}

.mission-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 0 0;
}

.mission-image-overlay .container {
  padding-bottom: 0;
}

.mission-image-overlay h2 {
  font-size: 57px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  padding-bottom: 0;
  margin-bottom: 20px;
}

/* Green bar glued directly under image, no gap */
.mission-green-bar {
  background: #1b4332;
  padding: 32px 0 40px;
  color: #fff;
}

.mission-green-bar h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.mission-green-bar p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 880px;
}

.btn-esg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  color: #1b4332;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-esg:hover {
  background: #f0f0f0;
}

.btn-home-mission {
  background: #eef2f5;
  color: #1a2332;
}

.btn-home-mission:hover {
  background: #e2e8ee;
}

.home-page .btn-primary,
.home-page .btn-outline,
.home-page .btn-esg,
.home-page .btn-cta {
  border-radius: 16px;
}

/* ===== FOOTER ===== */
.footer-top-bar {
  height: 4px;
  background: #1b4332;
}

.footer {
  background: #fff;
  padding: 48px 0 48px;
  color: #1a1a1a;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) max-content max-content max-content;
  justify-content: space-between;
  gap: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo svg {
  width: 28px;
  height: 28px;
}

.footer-logo-image {
  display: block;
  height: 40px;
  width: auto;
}

.footer-logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-social-row {
  width: 100%;
  padding: 0;
}

.footer-social a {
  color: #555;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: #1a1a1a;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social.reveal-on-scroll,
.footer-social.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
}

.footer-copyright {
  margin-top: 40px;
  padding-top: 20px;
}

.footer-copyright p {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.2px;
  margin: 0;
  text-align: left;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.footer-col {
  justify-self: end;
}

.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #1a1a1a;
}

.footer-col p {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  line-height: 1.6;
  padding-bottom: 20px;
}

.footer-bottom-bar {
  height: 4px;
  background: #1b4332;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    display: contents;
  }

  /* Keep the same gray surface as desktop when rows are flattened */
  .stat-item,
  .stat-cta {
    background: #f0f0f0;
  }

  /* Reorder: 18, 85k, 100k, 450k, €250, CTA */
  .stats-row:nth-child(1) > :nth-child(1) { order: 1; }
  .stats-row:nth-child(1) > :nth-child(2) { order: 2; }
  .stats-row:nth-child(1) > :nth-child(3) { order: 3; }
  .stats-row:nth-child(2) > :nth-child(1) { order: 5; } /* €250 → row 3 */
  .stats-row:nth-child(2) > :nth-child(2) { order: 4; } /* 450k → row 2 */
  .stats-row:nth-child(2) > :nth-child(3) { order: 6; } /* CTA → row 3 */

  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: auto auto auto auto;
    justify-content: space-between;
    gap: 16px;
  }

  .footer-brand {
    gap: 16px;
  }

  /* Order: Logo | Legal & Privacy | Company | Address */
  .footer-brand { order: 1; }
  .footer-col:nth-child(2) { order: 3; } /* Company → 3rd */
  .footer-col:nth-child(3) { order: 2; } /* Legal & Privacy → 2nd */
  .footer-col:nth-child(4) { order: 4; } /* Montibor GmbH → last */

  .footer-col {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
    overflow-x: hidden;
  }

  body {
    padding-top: 60px;
    overflow-x: hidden;
  }

  .header .container {
    height: 60px;
    padding: 0 14px;
  }

  .nav {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-right: 0;
  }

  .logo {
    margin-left: 0;
  }

  .mobile-menu {
    padding-top: 80px;
  }

  .mobile-menu-nav a {
    font-size: 21px;
  }

  .hero {
    min-height: 460px;
  }

  .hero-media {
    inset: -30px 0 0;
    height: calc(100% + 60px);
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .overview,
  .track-record,
  .expertise,
  .news {
    padding: 60px 0;
  }

  .track-record .container {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 20px; /* tiny left nudge while keeping centered feel */
  }

  .track-record-header h2 {
    font-size: 34px;
  }

  .expertise .section-heading {
    font-size: 32px;
    line-height: 1;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    display: contents;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid #d4d4d4;
  }

  .track-images-mosaic-desktop {
    display: none;
  }

  .track-images-mosaic-mobile {
    display: grid;
    gap: 18px;
    margin-top: 8px;
    width: 100%;
  }

  .mosaic-left,
  .mosaic-right {
    gap: 4px;
  }

  .track-images-mosaic-mobile .mosaic-mobile-card {
    background: #fff;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
  }

  .track-images-mosaic-mobile .mosaic-image {
    height: auto;
    aspect-ratio: 392 / 236;
    background: transparent;
    line-height: 0;
    overflow: hidden;
  }

  .track-images-mosaic-mobile .mosaic-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    vertical-align: top;
    border-radius: 0;
  }

  /* Construction Management (2nd mobile card): lift title slightly upward */
  .track-images-mosaic-mobile .mosaic-mobile-card:nth-child(2) .mosaic-ribbon {
    top: 0;
  }

  /* Asset Management (3rd mobile card): lift title upward */
  .track-images-mosaic-mobile .mosaic-mobile-card:nth-child(3) .mosaic-ribbon {
    top: 0;
  }

  .track-images-mosaic-mobile .mosaic-mobile-card:nth-child(2) .mosaic-image img {
    object-position: center 42%;
    transform: translateY(-15%) scale(1.32);
    transform-origin: center top;
  }

  .track-images-mosaic-mobile .mosaic-mobile-card:nth-child(3) .mosaic-image img {
    object-position: center 58%;
    transform: scale(1.32);
    transform-origin: center center;
  }

  .mosaic-left .mosaic-image:first-child img {
    height: 300px;
  }

  .mosaic-left .mosaic-image:last-child img {
    height: 130px;
  }

  .mosaic-right .mosaic-image:first-child img {
    height: 130px;
  }

  .mosaic-right .mosaic-image:last-child img {
    height: 300px;
  }

  .mosaic-ribbon {
    font-size: 16px;
    padding: 10px 16px 12px;
    margin: 0 0;
    line-height: 1.15;
    letter-spacing: 0.1px;
    position: relative;
    top: -1px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
  }

  .track-record .btn-cta {
    border-radius: 0;
  }

  .news-cards {
    grid-template-columns: 1fr;
  }

  .expertise-text {
    line-height: 1.48;
  }

  .mission-image-section {
    height: 360px;
  }

  .mission-image-overlay h2 {
    font-size: 32px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    gap: 20px;
  }

  .footer-col {
    justify-self: start;
  }

  .footer-col:last-child p {
    padding-bottom: 20px;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 0;
    border-top: none;
  }

  .footer-social-row {
    padding: 0;
  }

  .footer-social {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
  }

  .footer-copyright p {
    font-size: 11px;
  }
}

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

  .hero-image {
    transform: none;
  }

  .hero-text {
    transform: none;
  }

  .mission-image-section img {
    transform: none;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
