/* Google Fonts - Montserrat and Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Adobe Fonts - FM Bolyar Sans Pro */
@import url('https://use.typekit.net/TYPEKIT_ID.css');

:root {
  --bg: #0b0c0f;
  --bg2: #10121a;
  --card: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --white: #fff;
  --black: #000;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.muted {
  color: var(--muted);
  margin: 0;
}

.note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  margin: 0 0 10px;
  font-weight: 600;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  outline: none;
  z-index: 9999;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section--tight {
  padding: 20px 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
}

.section--cta {
  background: radial-gradient(80% 120% at 30% 0%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

.section__head {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section__head h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid var(--stroke);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  font-size: 15px;
}

.btn--solid {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
}

.btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn--ghost {
  background: transparent;
}

.btn--ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: saturate(120%) blur(10px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav--solid {
  background: rgba(11, 12, 15, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.nav__brand-logo {
  display: block;
  height: 80px;
  width: auto;
  filter: invert(1);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.nav__logo--icon {
  background: transparent;
  border: none;
  padding: 0;
}

.nav__logo--icon .nav__logoImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__logoImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__wordmark {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.nav__menu {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu a {
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s ease;
  font-size: 15px;
}

.nav__menu a:hover {
  color: var(--text);
}

/* Dropdown Menu */
.nav__menu-dropdown {
  position: relative;
}

.nav__dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.nav__menu-dropdown.is-open .nav__dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: rgba(11, 12, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 220px;
  list-style: none;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.nav__menu-dropdown.is-open .nav__dropdown {
  display: block;
}

.nav__dropdown li {
  margin: 0;
}

.nav__dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.nav__dropdown a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__cta {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--text) !important;
  transition: all 0.2s ease;
}

.nav__cta:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding-top: 90px;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 30% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(40% 60% at 70% 10%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%),
    url("https://images.unsplash.com/photo-1646215992874-2c10ace951b6?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.28;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero__bg--mountain {
  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=90");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.1);
  opacity: 1;
  animation: none;
}

.hero__bg--about {
  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=90");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.1);
  opacity: 1;
}

.hero__bg--projects {
  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=90");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.1);
  opacity: 1;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: end;
  padding: 40px 0;
  z-index: 1;
}

.hero__content h1 {
  margin: 0 0 12px;
  font-size: 52px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 900;
  animation: fadeInUp 0.8s ease-out;
}

.hero__headline-large {
  font-size: 56px;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out;
}

.hero__tagline-large {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 32px;
  line-height: 1.3;
  color: var(--text);
  animation: fadeInUp 0.9s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 56ch;
  margin: 0 0 22px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__panelItem {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__panelItem:last-child {
  border-bottom: 0;
}

.label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.metric__num {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric__label {
  color: var(--muted);
  margin-top: 6px;
  font-size: 14px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}

.card:hover .card__img {
  filter: none;
  opacity: 1;
}

.card--placeholder {
  cursor: default;
  pointer-events: none;
}

.card--placeholder .card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card--placeholder .card__img::after {
  content: "📋";
  font-size: 48px;
  opacity: 0.3;
}

.card--placeholder:hover {
  transform: none;
  border-color: var(--stroke);
}

.card--placeholder .card__meta {
  color: var(--muted);
  font-style: italic;
}

.card__img {
  height: 170px;
  background: #111;
  background-size: cover;
  background-position: center;
  filter: none;
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.card__body {
  padding: 16px;
}

.card__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.card__meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Grid Layouts */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quote {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.quote:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.quote p {
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}

.quote .who {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

/* CTA Section */
.cta {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta__headline {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.cta__tagline {
  margin: 0 0 32px;
  font-size: 24px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.cta .hero__actions {
  justify-content: center;
}

/* S.B.G. Pillars Section */
.sbg-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sbg-pillar {
  padding: 32px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sbg-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.sbg-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin: 0 auto 20px;
}

.sbg-pillar__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.sbg-pillar__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 auto;
  text-align: left;
  flex-grow: 1;
}

.sbg-pillar .btn {
  margin-top: 20px;
  align-self: center;
}

/* Footer - RAM Construction Style */
.footer {
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 80px;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer__col--brand {
  max-width: 400px;
}

.footer__tagline {
  color: var(--muted);
  font-size: 14px;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.footer__copy {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.footer__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.footer__address {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer__contact {
  margin: 0;
}

.footer__contact a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer__links a:hover {
  color: var(--text);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Cookie Banner */
.cookie {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: none;
}

.cookie.is-on {
  display: block;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie__inner {
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(11, 12, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  backdrop-filter: blur(10px);
}

.cookie__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie__actions .btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.cookie__actions .btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Fix decline button text color */
.cookie__actions .btn--ghost {
  color: #ffffff !important;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content h1 {
    font-size: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 40px;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

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

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

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px 18px;
    background: rgba(11, 12, 15, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu li {
    width: 100%;
  }

  .nav__menu a {
    display: block;
    padding: 10px 0;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie__actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero__content h1 {
    font-size: 32px;
  }

  .hero__headline-large {
    font-size: 32px;
    letter-spacing: 0.03em;
  }

  .hero__tagline-large {
    font-size: 18px;
  }

  .section__head h2 {
    font-size: 28px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta__headline {
    font-size: 32px;
  }

  .cta__tagline {
    font-size: 18px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-interactive__regions {
    grid-template-columns: 1fr;
  }

  .map-interactive__frame {
    min-height: 400px;
  }
}

/* Additional Components */

/* Page Hero Variant */
.hero--page {
  min-height: 50vh;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero--page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  pointer-events: none;
  z-index: 0;
}

.hero--page .container,
.hero--page .hero__content {
  position: relative;
  z-index: 1;
}

.hero--short {
  min-height: 50vh;
}

/* Coming Soon Card */
.coming-soon-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.coming-soon-card__icon {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.4;
}

.coming-soon-card__title {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.coming-soon-card__text {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* Split Grid */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Key-Value List */
.key-values {
  list-style: none;
  margin: 0;
  padding: 0;
}

.key-values li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.key-values li:last-child {
  border-bottom: 0;
}

.kv-label {
  color: var(--muted);
  font-size: 14px;
}

.kv-value {
  font-weight: 700;
  font-size: 14px;
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Callout Box */
.callout {
  padding: 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.callout h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
}

/* Service Cards with Images */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.service-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  filter: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.service-card:hover .service-card__img {
  filter: none;
  opacity: 1;
}

.service-card__body {
  padding: 24px;
}

.service-card__body h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.service-card__body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.service-card__body .list {
  margin: 0;
  padding-left: 20px;
}

/* Steps/Process */
.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}

.step__content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.step__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: 700;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: none;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.grid-img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.02);
}

/* Contact Page Components */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-form {
  padding: 32px;
}

.contact-form h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  padding: 20px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.info-address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Forms */
.form {
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn--full {
  width: 100%;
}

/* Map Placeholder */
.map-placeholder {
  padding: 48px;
  text-align: center;
}

.map-placeholder p {
  margin: 8px 0;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 32px 0 16px;
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px;
}

.legal-content p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-section {
  margin-bottom: 40px;
}

/* Services Page Styling */
.services-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  position: relative;
  overflow: hidden;
}

.services-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.services-hero__text {
  text-align: left;
}

.services-hero__image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.services-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero__title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.2;
  text-align: left;
}

.services-hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-detailed {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-detailed:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.service-detailed__icon {
  color: var(--text);
  margin-bottom: 20px;
}

.service-detailed__icon svg {
  width: 60px;
  height: 60px;
}

.service-detailed__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.service-detailed__desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.service-detailed__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detailed__list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-detailed__list li:last-child {
  border-bottom: none;
}

.service-detailed__list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: 700;
}

/* Map Container - Interactive */
.map-interactive {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.map-interactive__legend {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.map-interactive__frame {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  min-height: 600px;
}

.map-interactive__regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.map-region-card {
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.map-region-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.map-region-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.map-region-status {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

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

.map-legend__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
}

.map-legend__dot--licensed {
  background: rgba(100, 149, 237, 0.6);
  border: 2px solid rgba(100, 149, 237, 0.9);
}

.map-legend__dot--active {
  background: rgba(50, 205, 50, 0.6);
  border: 2px solid rgba(50, 205, 50, 0.9);
  box-shadow: 0 0 10px rgba(50, 205, 50, 0.4);
}

.map-legend__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.map-note {
  font-size: 14px;
  color: var(--muted);
  margin: 20px 0 0;
  font-style: italic;
  text-align: center;
}

/* Mobile Adjustments for New Components */
@media (max-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
  }

  .sbg-pillars {
    grid-template-columns: 1fr;
  }

  .services-detailed-grid {
    grid-template-columns: 1fr;
  }

  .map-regions {
    grid-template-columns: 1fr;
  }

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

  .services-hero__title {
    font-size: 32px;
  }

  .services-hero__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-hero__image {
    height: 300px;
  }

  .nav__dropdown {
    position: relative;
    margin-top: 0;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.02);
  }
}
/* Typography Updates - Montserrat for headers, Open Sans for body */

/* Hero Titles - FM Bolyar Sans Pro 800 for SYSTEMS. BALANCE. GROWTH. */
.hero__content h1,
.hero__headline-large {
  font-family: "fm-bolyar-sans-pro", "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 80px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-style: normal;
}

/* Sub-Headers - Montserrat Bold - 42-48px */
h2,
.section__head h2,
.sbg-pillar__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 48px;
}

/* Section Titles - Montserrat Bold - 56px */
.hero--page h1,
.services-hero__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 56px;
}

/* Service/Card Titles - Montserrat Semi-Bold - 24px */
h3,
.card__title,
.service-detailed__title,
.tile h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;
}

/* Navigation - Montserrat Medium - 15px */
.nav__menu a,
.nav__wordmark {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
}

/* CTA Buttons - Montserrat Semi-Bold - 18px */
.btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Body Text - Open Sans Regular - 18px */
p,
.lead,
.hero__tagline-large,
.cta__tagline,
body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
}

/* Hero Tagline - specific */
.hero__tagline-large {
  font-size: 24px;
}

/* CTA Headlines */
.cta__headline,
.cta h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 56px;
}

/* Footer - Open Sans Regular - 14px */
.footer__tagline,
.footer__address,
.footer__contact,
.footer__links a {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.footer__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
}


/* Placeholder Section */
.placeholder-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.placeholder-content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 42px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.5);
}

.placeholder-content p {
  color: var(--muted);
  font-size: 16px;
}

/* S.B.G. Pillars - Stacked Vertically */
.sbg-pillars-stacked {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.sbg-pillar-vertical {
  padding: 48px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.sbg-pillar-vertical:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.sbg-pillar__icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  font-size: 56px;
  font-weight: 900;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  margin-bottom: 24px;
}

.sbg-pillar__title-large {
  font-size: 42px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.sbg-pillar-vertical .btn {
  margin-top: 24px;
}


/* Small button variant for S.B.G. pillars */
.btn--small {
  font-size: 14px;
  padding: 10px 20px;
  margin-top: 16px;
}

.sbg-pillar .btn {
  margin-top: 20px;
}


/* Image Grid for Homepage */
.image-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.image-grid-home .grid-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: none;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.image-grid-home .grid-img:hover {
  filter: none;
  transform: scale(1.02);
}

/* Hanover-Style Map Layout */
.map-hanover-style {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 12px;
}

.map-regions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-region-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.map-region-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(4px);
}

.map-region-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  font-family: "Montserrat", sans-serif;
}

.map-region-status {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.map-container-hanover {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  min-height: 500px;
}

/* Mobile responsive for map */
@media (max-width: 900px) {
  .map-hanover-style {
    grid-template-columns: 1fr;
  }
  
  .image-grid-home {
    grid-template-columns: 1fr;
  }
}


/* Contact page specific adjustments */
.contact-layout {
  margin-top: 0;
}


/* Force center CTA section on all pages */
.section--cta .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section--cta .cta {
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.section--cta .cta__headline,
.section--cta .cta h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section--cta .cta p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section--cta .hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}


/* ==========================================
   MAPBOX MAP IMPLEMENTATION - HANOVER STYLE
   ========================================== */

.mapbox-container {
  display: flex;
  width: 100%;
  height: 500px;
  background: #1a1a1a;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

/* Left Sidebar with Filters */
.mapbox-sidebar {
  width: 280px;
  background: #0d0d0d;
  padding: 30px 20px;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mapbox-filter-group {
  margin-bottom: 30px;
}

.mapbox-filter-title {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mapbox-filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom Checkbox Styling */
.mapbox-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 0;
  user-select: none;
}

.mapbox-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.mapbox-checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: transparent;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mapbox-checkbox input:checked ~ .mapbox-checkbox-custom {
  background: var(--white);
  border-color: var(--white);
}

.mapbox-checkbox input:checked ~ .mapbox-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mapbox-label {
  font-size: 14px;
  color: var(--text);
  font-family: "Open Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.mapbox-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

/* Legend */
.mapbox-legend {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mapbox-legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.mapbox-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.mapbox-dot--licensed {
  background: rgba(100, 149, 237, 0.8);
  border: 2px solid rgba(100, 149, 237, 1);
}

.mapbox-dot--active {
  background: rgba(50, 205, 50, 0.8);
  border: 2px solid rgba(50, 205, 50, 1);
  box-shadow: 0 0 8px rgba(50, 205, 50, 0.4);
}

.mapbox-dot--completed {
  background: rgba(100, 149, 237, 0.8);
  border: 2px solid rgba(100, 149, 237, 1);
  box-shadow: 0 0 8px rgba(100, 149, 237, 0.4);
}

.mapbox-legend-label {
  font-size: 13px;
  color: var(--muted);
  font-family: "Open Sans", sans-serif;
}

/* Map Container */
.mapbox-map-wrapper {
  flex: 1;
  position: relative;
  background: #e8e8e8;
}

.mapbox-map {
  width: 100%;
  height: 100%;
}

/* Results Counter */
.mapbox-results {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 10;
}

.mapbox-results-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
}

/* Mapbox Markers */
.mapbox-marker {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mapbox-marker:hover {
  transform: scale(1.2);
}

/* Mapbox Popup Overrides */
.mapboxgl-popup-content {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0;
  font-family: "Open Sans", sans-serif;
}

.mapboxgl-popup-close-button {
  font-size: 20px;
  padding: 4px 8px;
  color: #666;
}

.mapboxgl-popup-close-button:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

/* Responsive */
@media (max-width: 900px) {
  .mapbox-container {
    flex-direction: column;
    height: auto;
  }
  
  .mapbox-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 400px;
  }
  
  .mapbox-map-wrapper {
    height: 500px;
  }
}

@media (max-width: 600px) {
  .mapbox-sidebar {
    padding: 20px 15px;
  }
  
  .mapbox-map-wrapper {
    height: 400px;
  }
}



/* Footer - Single Row with Legal Stacked on Right */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  margin: 0;
}

.footer__single-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 0 8px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__logo {
  width: auto;
  height: 80px;  /* BIGGER - same as nav */
  flex-shrink: 0;
}

.footer__main-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

.footer__main-content span,
.footer__main-content a {
  font-size: 14px;
  color: var(--muted);
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  white-space: nowrap;
}

.footer__main-content a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__main-content a:hover {
  color: var(--white);
}

.footer__legal-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.footer__legal-stack a {
  font-size: 14px;
  color: var(--muted);
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal-stack a:hover {
  color: var(--white);
}

.footer__linkedin-icon {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.footer__linkedin-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer__copyright-center {
  text-align: center;
  padding: 8px 0 16px 0;
  font-size: 14px;
  color: var(--muted);
  font-family: "Open Sans", sans-serif;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .footer__main-content {
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .footer__single-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .footer__legal-stack {
    align-items: flex-start;
  }
}


/* Section Background Images */
.section--with-bg {
  position: relative;
  overflow: hidden;
}

.section--with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  opacity: 0.15;
  z-index: 0;
}

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

.section--with-bg.section--bg-office::before {
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=90');
}

.section--with-bg.section--bg-construction::before {
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=90');
}

.section--with-bg.section--bg-planning::before {
  background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1600&q=90');
}

.section--with-bg.section--bg-building::before {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=90');
}

.section--with-bg.section--bg-team::before {
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=90');
}

.section--with-bg.section--bg-warehouse::before {
  background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1600&q=90');
}

.section--with-bg.section--bg-blueprint::before {
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&q=90');
}


/* Ensure dropdown toggle looks exactly like nav links */
.nav__dropdown-toggle {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: color 0.3s ease;
  display: inline-block;
}

.nav__dropdown-toggle:hover {
  color: rgba(255, 255, 255, 1);
}


/* Dropdown menu that actually works */
.dropdown {
  position: relative;
}

.dropdown > a {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 250px;
  padding: 12px 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  list-style: none;
  margin: 8px 0 0 0;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Active page highlighting */
.nav__menu a[aria-current="page"],
.nav__menu a.active {
  color: var(--accent);
  font-weight: 600;
}

/* CTA Section - Mountain Background (ADD TO CSS) */
.section--cta {
  background: radial-gradient(80% 120% at 30% 0%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  position: relative;
  overflow: hidden;
}

.section--cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=90');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.3;
  z-index: 0;
}

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

/* Smaller Buttons (UPDATE EXISTING .btn CLASS) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;  /* Reduced from 12px 18px */
  font-weight: 600;
  border: 1px solid var(--stroke);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  font-size: 14px;  /* Reduced from 15px */
}

/* CTA Sections - MORE SPACING BETWEEN TEXT (ADD TO CSS) */

.cta h2 {
  margin: 0 0 24px;  /* Increased from default */
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;  /* Added more line height */
}

.cta p {
  margin: 0 0 32px;  /* Increased from 18px */
  color: var(--muted);
  line-height: 1.8;  /* Increased from 1.6 for more breathing room */
}

.cta .hero__actions {
  justify-content: center;
  margin-top: 10px;  /* Added spacing above buttons */
}

/* CTA Headline specific spacing */
.cta__headline {
  margin: 0 0 28px;  /* Increased spacing */
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.25;  /* Increased */
}

.cta__tagline {
  margin: 0 0 36px;  /* Increased spacing */
  font-size: 24px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;  /* Increased */
}

/* Additional spacing for h3 in CTAs (like "Let's build something better") */
.cta h3 {
  margin: 0 0 20px;  /* Increased spacing */
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
}

/* What Makes Us Different Section - SMALLER & CENTERED (ADD TO CSS) */

/* Make the S.B.G. pillars smaller */
.sbg-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;  /* Reduced from 20px */
}

.sbg-pillar {
  padding: 24px 18px;  /* Reduced from 32px 24px */
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sbg-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.sbg-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;  /* Reduced from 64px */
  height: 52px;  /* Reduced from 64px */
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 26px;  /* Reduced from 32px */
  font-weight: 900;
  color: var(--text);
  margin: 0 auto 16px;  /* Reduced from 20px */
}

.sbg-pillar__title {
  font-size: 20px;  /* Reduced from 24px */
  font-weight: 800;
  margin: 0 0 12px;  /* Reduced from 16px */
  letter-spacing: -0.01em;
}

.sbg-pillar__text {
  font-size: 13px;  /* Reduced from 15px */
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 auto;
  text-align: center;  /* CENTER THE TEXT */
  flex-grow: 1;
}

.sbg-pillar .btn {
  margin-top: 16px;  /* Reduced from 20px */
  align-self: center;
}

/* Services Hero - Full Viewport Height (ADD TO CSS) */

.services-hero {
  padding: 140px 0 100px;  /* Increased bottom padding */
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  position: relative;
  overflow: hidden;
  min-height: 100vh;  /* ADD THIS - Makes it full viewport height */
  display: flex;  /* ADD THIS */
  align-items: center;  /* ADD THIS - Centers content vertically */
}

.services-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.services-hero__text {
  text-align: left;
}

.services-hero__image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.services-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero__title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.2;
  text-align: left;
}

.services-hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

/* Cookie Popup - Fix Decline Button Text Color (ADD TO CSS) */

/* Cookie Banner Styling */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  flex: 1;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner button {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Accept Button */
.cookie-banner button.accept {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

.cookie-banner button.accept:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Decline Button - FIXED TO WHITE TEXT */
.cookie-banner button.decline {
  background: transparent;
  color: var(--white) !important;  /* FORCE WHITE TEXT */
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-banner button.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
  }
  
  .cookie-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .cookie-banner button {
    flex: 1;
  }
}
/* ========================================
   MOBILE RESPONSIVE FIXES - FINAL VERSION
   DELETE ALL EXISTING MOBILE @media (max-width: 768px) BLOCKS
   AND REPLACE WITH THIS SINGLE BLOCK
   ======================================== */

@media (max-width: 768px) {
  
  /* FIX 1: Homepage "SYSTEMS. BALANCE. GROWTH." - Resize for mobile */
  .hero__headline-large {
    font-size: 42px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em !important;
    word-wrap: break-word !important;
    white-space: normal !important;
  }
  
  /* FIX 2: Remove circle/border around Contact in mobile menu */
  .nav__cta {
    padding: 10px 0 !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  
  .nav__cta:hover {
    border: none !important;
    background: transparent !important;
  }
  
  /* About Page - Team section */
  .hero--page h1 {
    font-size: 28px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.2 !important;
  }
  
  .hero--page .container > div > div {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Projects Page - Title */
  .section__head h2 {
    font-size: 22px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.3 !important;
  }
  
  /* Services Page - Title */
  .services-hero__title {
    font-size: 24px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.3 !important;
  }
  
  /* S.B.G. Pillars Stack Vertically */
  .sbg-pillars {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Hamburger menu visibility and functionality */
  .nav__toggle {
    display: flex !important;
    z-index: 999 !important;
    position: relative !important;
  }
  
  .nav__menu {
    display: none;
  }
  
  .nav__menu.is-open {
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* Buttons stack on mobile */
  .hero__actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .hero__actions .btn {
    width: 100% !important;
    font-size: 14px !important;
  }
  
  /* Cards stack on mobile */
  .cards {
    grid-template-columns: 1fr !important;
  }
  
  /* Grid3 sections stack */
  .grid3 {
    grid-template-columns: 1fr !important;
  }
}
