:root {
  --color-ink: #17201d;
  --color-muted: #65706b;
  --color-forest: #1f3a33;
  --color-forest-deep: #11251f;
  --color-accent: #d96632;
  --color-gold: #d6a348;
  --color-paper: #f5f3ed;
  --color-surface: #ffffff;
  --color-line: rgba(23, 32, 29, 0.12);
  --shadow-card: 0 20px 50px rgba(17, 37, 31, 0.12);
  --shadow-soft: 0 12px 30px rgba(17, 37, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: var(--color-paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

.container {
  width: min(calc(100% - 1.5rem), 1320px);
  max-width: 1320px;
  padding-right: 0;
  padding-left: 0;
}

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

a:hover {
  color: var(--color-accent);
}

body:not(.aos-ready) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

section,
.company-card {
  scroll-margin-top: 6rem;
}

.site-navbar {
  padding: 1rem 0;
  background: rgba(245, 243, 237, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: padding 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.site-navbar.navbar-scrolled {
  padding: 0.65rem 0;
  background: rgba(245, 243, 237, 0.96);
  border-color: var(--color-line);
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(217, 102, 50, 0.28);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-ink);
}

.brand-lockup strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

.brand-lockup small {
  display: block;
  margin-top: 0.22rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-forest), var(--color-accent));
  border-radius: 6px;
  font-size: 1.35rem;
  font-weight: 800;
}

.nav-link {
  color: rgba(23, 32, 29, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.btn-accent {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 12px 24px rgba(217, 102, 50, 0.22);
}

.btn-accent:hover,
.btn-accent:focus {
  color: #fff;
  background: #bd5529;
  border-color: #bd5529;
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.78);
}

.hero-section {
  position: relative;
  min-height: clamp(760px, 94vh, 960px);
  overflow: hidden;
  color: #fff;
  background: var(--color-forest-deep);
}

.hero-section .min-vh-100 {
  min-height: clamp(760px, 94vh, 960px) !important;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 23, 19, 0.92) 0%, rgba(9, 23, 19, 0.72) 40%, rgba(9, 23, 19, 0.26) 100%),
    linear-gradient(0deg, rgba(9, 23, 19, 0.84) 0%, rgba(9, 23, 19, 0.12) 42%),
    url("../assets/img/sirobuja-business-center.jpg") center/cover no-repeat;
  animation: heroDrift 18s ease-in-out infinite alternate;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1rem;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-section h1 {
  max-width: 100%;
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: 0.9;
  font-weight: 900;
  overflow-wrap: normal;
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.hero-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 780px;
  margin-top: 1.6rem;
}

.hero-company-card {
  position: relative;
  min-height: 116px;
  padding: 1rem;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-company-card:hover,
.hero-company-card:focus {
  color: #fff;
  transform: translateY(-4px);
  border-color: rgba(217, 102, 50, 0.72);
  background: rgba(217, 102, 50, 0.22);
}

.hero-company-card span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-company-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.18;
}

.hero-company-card small {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.35;
}

.hero-showcase {
  position: relative;
  min-height: 520px;
}

.hero-showcase::before {
  position: absolute;
  top: 4rem;
  right: 1rem;
  bottom: 2rem;
  left: 3rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transform: rotate(-4deg);
}

.hero-showcase-card {
  position: absolute;
  overflow: hidden;
  width: 48%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  animation: floatCard 7s ease-in-out infinite;
}

.hero-showcase-card.is-large {
  top: 1.5rem;
  left: 0;
  width: 66%;
}

.hero-showcase-card:nth-child(2) {
  top: 11rem;
  right: 0;
  animation-delay: 0.8s;
}

.hero-showcase-card:nth-child(3) {
  bottom: 2.2rem;
  left: 4.2rem;
  animation-delay: 1.5s;
}

.hero-showcase-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-showcase-card span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.65rem 0.75rem;
  color: #fff;
  border-radius: 6px;
  background: rgba(9, 23, 19, 0.72);
  font-weight: 900;
}

.hero-bottom-strip {
  position: absolute;
  right: 0;
  bottom: 2rem;
  left: 0;
  z-index: 3;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(12, 30, 25, 0.62);
  backdrop-filter: blur(14px);
}

.strip-grid span {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  text-align: center;
}

.strip-grid span:last-child {
  border-right: 0;
}

.section {
  padding: 7rem 0;
}

.section h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1;
  font-weight: 900;
}

.section h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 900;
}

.section-copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.section-intro {
  background:
    linear-gradient(135deg, rgba(217, 102, 50, 0.08) 0%, rgba(217, 102, 50, 0) 34%),
    linear-gradient(180deg, #f8f7f2 0%, #ece9df 100%);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.company-card,
.project-card,
.advantage-item {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.company-card {
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.company-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 102, 50, 0.32);
  box-shadow: 0 26px 60px rgba(17, 37, 31, 0.18);
}

.company-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.company-card.featured {
  background: var(--color-forest);
  color: #fff;
}

.company-card.featured .company-card-body p,
.company-card.featured .company-number {
  color: rgba(255, 255, 255, 0.74);
}

.company-card.featured a {
  color: #fff;
}

.company-card-body {
  padding: 1.45rem;
}

.company-number {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.company-card p,
.project-card p,
.advantage-item p {
  margin: 0.8rem 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.company-card a {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--color-forest);
  font-weight: 900;
  word-break: break-word;
}

.section-services {
  background: var(--color-forest-deep);
  color: #fff;
}

.section-services .container {
  position: relative;
}

.section-services .container::after {
  position: absolute;
  top: -2rem;
  right: 0;
  width: 9rem;
  height: 18rem;
  content: "";
  border-top: 1px solid rgba(214, 163, 72, 0.34);
  border-right: 1px solid rgba(214, 163, 72, 0.34);
  pointer-events: none;
}

.section-services h2,
.section-services h3 {
  color: #fff;
}

.section-services .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.section-services .btn-outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.section-services .btn-outline-dark:hover,
.section-services .btn-outline-dark:focus {
  color: var(--color-forest-deep);
  background: #fff;
  border-color: #fff;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.service-row:hover {
  transform: translateX(8px);
  border-color: rgba(214, 163, 72, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.service-row i {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: var(--color-gold);
  background: rgba(214, 163, 72, 0.12);
  border-radius: 6px;
  font-size: 1.35rem;
}

.service-row p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.section-projects {
  background: #f8f7f2;
}

.section-funds {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 37, 31, 0.94), rgba(17, 37, 31, 0.72)),
    url("../assets/img/construction-fleet.jpg") center/cover fixed no-repeat;
}

.section-funds::after {
  position: absolute;
  top: 5rem;
  right: 6vw;
  width: 11rem;
  height: 11rem;
  content: "";
  border: 1px solid rgba(214, 163, 72, 0.34);
  border-radius: 8px;
  transform: rotate(10deg);
}

.section-funds .container {
  position: relative;
  z-index: 2;
}

.section-funds h2,
.section-funds h3 {
  color: #fff;
}

.section-funds .section-copy {
  color: rgba(255, 255, 255, 0.76);
}

.funds-logo {
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.funds-logo img {
  width: min(320px, 100%);
  height: auto;
}

.funds-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.funds-lead p,
.funds-note {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.funds-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.funds-facts div {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(9, 23, 19, 0.32);
}

.funds-facts dt {
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funds-facts dd {
  margin: 0.35rem 0 0;
  color: #fff;
  font-weight: 900;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.project-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.project-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.project-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-feature-content h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.project-feature-content p {
  margin: 1rem 0 1.4rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  color: var(--color-forest);
  font-weight: 900;
}

.project-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 58px rgba(17, 37, 31, 0.16);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card > div {
  padding: 1.35rem;
}

.section-gallery {
  background:
    linear-gradient(90deg, rgba(17, 37, 31, 0.94), rgba(17, 37, 31, 0.78)),
    url("../assets/img/residential-aerial.jpg") center/cover fixed no-repeat;
  color: #fff;
}

.section-gallery h2 {
  color: #fff;
}

.section-gallery .section-copy {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.gallery-filter button {
  padding: 0.65rem 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-filter button:hover,
.gallery-filter button.active {
  color: #fff;
  border-color: rgba(217, 102, 50, 0.72);
  background: rgba(217, 102, 50, 0.82);
  transform: translateY(-2px);
}

.themed-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.85rem;
}

.gallery-tile {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-tile.is-hidden {
  display: none;
}

.gallery-tile:hover {
  transform: translateY(-6px);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(7, 18, 15, 0.86) 100%);
}

.gallery-tile figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.gallery-tile figcaption span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--color-gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-tile-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 556px;
}

.gallery-tile-wide {
  grid-column: span 2;
}

.section-advantages {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 37, 31, 0.96), rgba(31, 58, 51, 0.88)),
    url("../assets/img/adria-sky-night.jpg") center/cover no-repeat;
}

.section-advantages h2,
.section-advantages h3 {
  color: #fff;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.advantage-item {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.advantage-item span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-gold);
  font-weight: 900;
}

.advantage-item p {
  color: rgba(255, 255, 255, 0.72);
}

.section-contact {
  background: linear-gradient(180deg, #f8f7f2 0%, #e8e3d5 100%);
}

.contact-panel {
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.contact-details {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-details a {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
  color: var(--color-forest);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-details i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.contact-form {
  padding: 1.2rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #faf9f5;
}

.form-label {
  color: var(--color-forest);
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 3rem;
  border-color: rgba(31, 58, 51, 0.18);
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.18rem rgba(217, 102, 50, 0.18);
}

.site-footer {
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--color-forest-deep);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.2%, 0.8%, 0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.footer-brand,
.footer-brand:hover {
  color: #fff;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.58);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  margin: 0.75rem 0 0;
  text-align: right;
  font-size: 0.9rem;
}

@media (max-width: 1199.98px) {
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-tile-large,
  .gallery-tile-wide {
    grid-column: span 2;
  }
}

@media (max-width: 991.98px) {
  .site-navbar {
    background: rgba(245, 243, 237, 0.97);
  }

  .navbar-collapse {
    padding: 1rem 0 0.3rem;
  }

  .hero-section {
    min-height: 820px;
  }

  .hero-section .min-vh-100 {
    min-height: 820px !important;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(9, 23, 19, 0.9) 0%, rgba(9, 23, 19, 0.62) 100%),
      linear-gradient(0deg, rgba(9, 23, 19, 0.84) 0%, rgba(9, 23, 19, 0.2) 50%),
      url("../assets/img/sirobuja-business-center.jpg") center/cover no-repeat;
  }

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

  .strip-grid span:nth-child(2) {
    border-right: 0;
  }

  .strip-grid span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding: 5rem 0;
  }

  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-feature-image img {
    min-height: 360px;
  }

  .section-gallery {
    background-attachment: scroll;
  }

  .section-funds {
    background-attachment: scroll;
  }

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

  .footer-links,
  .copyright {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .brand-lockup small {
    font-size: 0.66rem;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section .min-vh-100 {
    min-height: auto !important;
    padding: 7.25rem 0 3rem;
  }

  .hero-section h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .hero-lead {
    font-size: 1rem;
    width: min(340px, calc(100vw - 1.5rem));
    max-width: min(340px, calc(100vw - 1.5rem));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(340px, calc(100vw - 1.5rem));
    max-width: min(340px, calc(100vw - 1.5rem));
  }

  .hero-company-grid {
    grid-template-columns: 1fr;
    width: min(340px, calc(100vw - 1.5rem));
    max-width: min(340px, calc(100vw - 1.5rem));
    margin-top: 1.2rem;
  }

  .hero-company-card {
    min-height: 0;
    padding: 0.85rem;
  }

  .hero-company-card strong {
    font-size: 1rem;
  }

  .hero-company-card small {
    font-size: 0.84rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-bottom-strip {
    bottom: 1rem;
  }

  .strip-grid span {
    min-height: 3.75rem;
    padding: 0.75rem;
    font-size: 0.84rem;
  }

  .hero-content .row {
    --bs-gutter-x: 0;
  }

  .strip-grid {
    width: min(340px, calc(100vw - 1.5rem));
    max-width: min(340px, calc(100vw - 1.5rem));
    margin-right: 0;
    margin-left: 0;
  }

  .hero-bottom-strip .container {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .section .row {
    --bs-gutter-x: 0;
  }

  .section h2,
  .section-copy {
    width: min(340px, calc(100vw - 1.5rem));
    max-width: min(340px, calc(100vw - 1.5rem));
  }

  .company-grid,
  .service-list,
  .funds-panel,
  .funds-facts,
  .project-feature,
  .project-card,
  .gallery-filter,
  .themed-gallery,
  .advantage-grid,
  .contact-panel {
    width: min(340px, calc(100vw - 1.5rem));
    max-width: min(340px, calc(100vw - 1.5rem));
  }

  .company-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .company-card img {
    height: 220px;
  }

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

  .funds-facts {
    grid-template-columns: 1fr;
  }

  .funds-logo {
    width: min(340px, calc(100vw - 1.5rem));
  }

  .gallery-filter button {
    flex: 1 1 calc(50% - 0.65rem);
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 0.9rem;
  }

  .themed-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-tile,
  .gallery-tile-large,
  .gallery-tile-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 250px;
  }

  .contact-panel {
    padding: 1.15rem;
  }
}

@media (max-width: 399.98px) {
  .brand-mark {
    width: 2.3rem;
    height: 2.3rem;
  }

  .brand-lockup strong {
    font-size: 0.98rem;
  }

  .brand-lockup small {
    display: none;
  }

  .section h2 {
    font-size: 2rem;
  }

  .gallery-filter button {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-showcase-card {
    animation: none;
  }
}
