:root {
  --green: #2f7f43;
  --green-dark: #236735;
  --green-soft: #edf6ef;
  --gold: #c79643;
  --gold-soft: #fbf5eb;
  --ink: #101820;
  --text: #2d3339;
  --muted: #737a82;
  --line: #dfe3e6;
  --soft: #f7f8f7;
  --white: #fff;
  --shadow: 0 8px 28px rgba(18, 36, 26, .08);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1440px;
  --header: 72px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

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

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

button,
input,
select,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

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

.section {
  padding: 58px 0
}

.section.compact {
  padding: 38px 0
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px
}

.section-title h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -.02em
}

.section-title p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 680px
}

.section-more {
  color: var(--green);
  font-weight: 700;
  white-space: nowrap
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px
}

.gold {
  color: var(--gold) !important
}

.muted {
  color: var(--muted)
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800
}

.badge.gold {
  background: var(--gold);
  color: #fff !important
}

.btn {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  transition: .2s ease
}

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

.btn-primary {
  background: var(--green);
  color: #fff
}

.btn-outline {
  background: #fff;
  border-color: var(--green);
  color: var(--green)
}

.btn-gold {
  background: var(--gold);
  color: #fff
}

.btn-outline-gold {
  background: #fff;
  border-color: var(--gold);
  color: var(--gold)
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800
}

.icon {
  width: 28px;
  height: 28px;
  display: inline-flex
}

.icon svg {
  width: 100%;
  height: 100%
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: .6s ease
}

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

/* Header */
.site-header {
  height: var(--header);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #edf0ee
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.brand img {
  width: 118px;
  height: auto;
  max-height: 50px;
  object-fit: contain
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700
}

.desktop-nav a,
.nav-dropdown>span {
  padding: 24px 0;
  position: relative;
  color: #26302a
}

.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center
}

.nav-dropdown>span i {
  font-size: 12px;
  margin-left: 5px;
  color: var(--muted)
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 220px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .18s ease
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 12px
}

.nav-dropdown-menu a:after {
  display: none
}

.nav-dropdown-menu a:hover {
  background: var(--green-soft);
  color: var(--green)
}

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

.desktop-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 15px;
  height: 2px;
  background: var(--green);
  transition: .2s
}

.desktop-nav a:hover:after,
.desktop-nav a.active:after {
  right: 0
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px
}

.lang-inline {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700
}

.lang-inline button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #424a50
}

.lang-inline button.active {
  color: var(--green)
}

.lang-inline .slash {
  color: #b8bdc1
}

.menu-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center
}

.menu-btn i,
.menu-btn i:before,
.menu-btn i:after {
  content: "";
  display: block;
  width: 29px;
  height: 2px;
  background: #111820;
  position: relative;
  transition: .22s
}

.menu-btn i:before {
  position: absolute;
  top: -9px
}

.menu-btn i:after {
  position: absolute;
  top: 9px
}

.menu-btn.open i {
  background: transparent
}

.menu-btn.open i:before {
  top: 0;
  transform: rotate(45deg)
}

.menu-btn.open i:after {
  top: 0;
  transform: rotate(-45deg)
}

.mobile-drawer {
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  z-index: 990;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px 20px 24px;
  transform: translateY(-120%);
  transition: .25s ease
}

.mobile-drawer.open {
  transform: translateY(0)
}

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

.mobile-drawer nav {
  display: grid
}

.mobile-drawer nav a {
  padding: 14px 4px;
  border-bottom: 1px solid #edf0ee;
  font-size: 17px;
  font-weight: 800
}

.mobile-nav-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  background: transparent;
  text-align: left;
  font-size: 17px;
  font-weight: 800
}

.mobile-nav-toggle span:last-child {
  font-size: 22px;
  color: var(--green);
  font-weight: 400
}

.mobile-subnav {
  display: none;
  padding: 0 0 4px 14px
}

.mobile-nav-group.open .mobile-subnav {
  display: block
}

.mobile-subnav a {
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 10px 4px !important
}

.mobile-drawer .drawer-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px
}

.mobile-drawer .drawer-quick a {
  padding: 12px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 800
}

.mobile-drawer .drawer-quick a:last-child {
  background: var(--gold-soft);
  color: #9b6f26
}

/* Rebuilt homepage */
.home-page {
  --red: #e51c23
}

.gp-container {
  width: min(calc(100% - 80px), 1440px);
  margin-inline: auto
}

.home-page .site-header.home-header {
  position: absolute;
  width: 100%;
  background: transparent;
  border-color: transparent;
  transition: background .25s ease, border-color .25s ease
}

.home-page .site-header.home-header.scrolled {
  position: fixed;
  background: #fff;
  border-color: #edf0ee;
  box-shadow: 0 2px 16px rgba(16, 24, 32, .06)
}

.home-page .desktop-nav a.active:after {
  background: var(--red)
}

.home-page .lang-inline button.active {
  color: var(--red)
}

.gp-hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(246, 250, 253, .97) 0%, rgba(246, 250, 253, .86) 36%, rgba(246, 250, 253, .18) 68%), url('assets/hero-bg.jpg') center/cover no-repeat
}

.gp-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 145px;
  background: linear-gradient(transparent, #fff)
}

.gp-hero-inner {
  width: min(calc(100% - 80px), 1440px);
  margin: auto;
  position: relative;
  z-index: 1;
  padding: 122px 0 58px
}

.hero-kicker {
  font-weight: 800;
  color: var(--red);
  font-size: 13px;
  letter-spacing: .12em;
  margin: 0 0 18px
}

.gp-hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: 60px;
  line-height: 1.13;
  letter-spacing: 0
}

.hero-lede {
  max-width: 530px;
  margin: 24px 0 30px;
  font-size: 18px;
  color: #44505a
}

.hero-actions {
  display: flex;
  gap: 13px
}

.gp-button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  font-size: 14px;
  font-weight: 800;
  transition: .2s
}

.gp-button.primary {
  background: var(--red);
  color: #fff
}

.gp-button.ghost {
  background: #fff;
  color: var(--red)
}

.gp-button.outline {
  color: var(--red);
  background: #fff;
  margin-top: 18px
}

.gp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 28, 35, .18)
}

.hero-scroll {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  right: calc((100% - min(100% - 80px, 1440px))/2);
  font-size: 10px;
  letter-spacing: .14em;
  color: #63707a
}

.hero-scroll span {
  font-size: 17px;
  margin-left: 7px;
  color: var(--red)
}

.gp-business,
.gp-projects,
.gp-news {
  padding: 86px 0
}

.gp-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 42px;
  margin-bottom: 32px
}

.gp-heading h2,
.gp-about h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0
}

.gp-heading>p {
  max-width: 430px;
  margin: 0;
  color: #657078
}

.home-page .eyebrow {
  color: var(--red);
  letter-spacing: .12em
}

.gp-business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.gp-business-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 26px;
  background: #17212a center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden
}

.gp-business-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 19, 27, .08), rgba(10, 19, 27, .86))
}

.gp-business-card>* {
  position: relative;
  z-index: 1
}

.gp-business-card.industrial {
  background-image: url('assets/case-epc.jpg')
}

.gp-business-card.commercial {
  background-image: url('assets/about-building.jpg')
}

.gp-business-card.residential {
  background-image: url('assets/epc-card.jpg')
}

.gp-business-card span {
  position: absolute;
  top: 23px;
  left: 26px;
  color: #fff;
  font-size: 13px;
  opacity: .78
}

.gp-business-card h3 {
  font-size: 25px;
  margin: 0 0 7px
}

.gp-business-card p {
  max-width: 290px;
  margin: 0;
  color: #e8eef1
}

.gp-business-card b {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--red);
  font-size: 21px
}

.gp-stats {
  background: #f5f6f6;
  padding: 38px 0
}

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

.gp-stats article {
  padding: 8px 38px;
  border-right: 1px solid #dce1e3
}

.gp-stats article:first-child {
  padding-left: 0
}

.gp-stats article:last-child {
  border: 0
}

.gp-stats strong {
  font-size: 43px;
  line-height: 1;
  color: var(--red)
}

.gp-stats strong span {
  font-size: .6em
}

.gp-stats p {
  margin: 9px 0 0;
  font-weight: 700;
  color: #36414a
}

.gp-projects {
  background: #fff
}

.gp-text-link {
  font-weight: 800;
  color: var(--red);
  font-size: 14px
}

.gp-project-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px
}

.gp-project {
  border: 1px solid var(--line);
  background: #fff
}

.gp-project img {
  width: 100%;
  height: 216px;
  object-fit: cover
}

.gp-project.feature img {
  height: 305px
}

.gp-project>div {
  padding: 17px
}

.gp-project small {
  font-weight: 800;
  color: var(--red)
}

.gp-project h3 {
  font-size: 20px;
  margin: 6px 0
}

.gp-project p {
  margin: 0;
  color: #68727a;
  font-size: 14px
}

.gp-about {
  padding: 90px 0;
  background: #f7f8f8
}

.gp-about-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center
}

.gp-about h2 {
  margin: 0 0 18px
}

.gp-about p:not(.eyebrow) {
  color: #5f6971;
  max-width: 520px
}

.gp-map {
  height: 300px;
  background: radial-gradient(circle at 35% 40%, rgba(229, 28, 35, .17) 0 3px, transparent 4px), radial-gradient(circle at 70% 55%, rgba(229, 28, 35, .17) 0 3px, transparent 4px), linear-gradient(135deg, #eef1f2, #fff);
  position: relative;
  overflow: hidden;
  padding: 185px 42px 0
}

.gp-map:before {
  content: "";
  position: absolute;
  inset: 30px;
  background: repeating-radial-gradient(ellipse at center, transparent 0 16px, rgba(155, 165, 170, .14) 17px 18px);
  opacity: .45
}

.gp-map p {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 14px;
  margin: 0;
  max-width: 470px;
  font-size: 14px
}

.map-dots i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(229, 28, 35, .12)
}

.map-dots i:nth-child(1) {
  top: 33%;
  left: 29%
}

.map-dots i:nth-child(2) {
  top: 44%;
  left: 61%
}

.map-dots i:nth-child(3) {
  top: 28%;
  left: 77%
}

.map-dots i:nth-child(4) {
  top: 68%;
  left: 48%
}

.gp-news {
  padding-bottom: 92px
}

.gp-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.gp-news-grid a {
  min-height: 185px;
  border-top: 2px solid var(--ink);
  padding: 18px 0;
  position: relative
}

.gp-news-grid time {
  display: block;
  color: #90979c;
  font-size: 13px
}

.gp-news-grid h3 {
  max-width: 350px;
  font-size: 20px;
  line-height: 1.4;
  margin: 20px 0
}

.gp-news-grid span {
  position: absolute;
  bottom: 20px;
  color: var(--red);
  font-size: 22px
}

/* Home hero */
.home-hero {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: url('assets/hero-bg.jpg') center/cover no-repeat
}

.home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(240, 248, 253, .16), rgba(239, 248, 252, .34) 43%, rgba(236, 247, 252, .06));
  pointer-events: none
}

.home-hero .africa-mark {
  position: absolute;
  left: 14%;
  top: 13%;
  width: 150px;
  height: 130px;
  opacity: .11;
  color: var(--green)
}

.home-hero .curve {
  position: absolute;
  left: 25%;
  right: 16%;
  top: 43%;
  height: 140px;
  border-top: 18px solid rgba(86, 170, 100, .12);
  border-radius: 50%;
  transform: rotate(7deg);
  filter: blur(.2px)
}

.hero-copy-center {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -6px;
  padding: 30px 20px;
  max-width: 650px
}

.hero-copy-center h1 {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6)
}

.hero-copy-center p {
  font-size: 20px;
  margin: 18px 0 26px;
  font-weight: 700;
  color: #1f2b31
}

.hero-copy-center .btn {
  min-width: 185px;
  font-size: 18px;
  box-shadow: 0 10px 26px rgba(47, 127, 67, .18)
}

/* Business */
.business-stack {
  margin-top: -34px;
  position: relative;
  z-index: 4;
  background: #fff;
  padding: 12px;
  border-radius: 22px 22px 0 0
}

.business-card {
  min-height: 178px;
  border: 1px solid #edf0ee;
  border-radius: 13px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58% 42%;
  position: relative;
  margin-bottom: 14px;
  background: #fff
}

.business-card:last-child {
  margin-bottom: 0
}

.business-content {
  padding: 28px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2
}

.business-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff
}

.business-card.epc .business-icon {
  background: var(--gold)
}

.business-icon svg {
  width: 34px;
  height: 34px
}

.business-copy h3 {
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--green);
  line-height: 1.2
}

.business-card.epc h3 {
  color: var(--gold)
}

.business-copy p {
  margin: 0 0 16px;
  font-size: 16px;
  color: #3f464c
}

.business-media {
  position: relative;
  min-height: 178px;
  background-size: cover;
  background-position: center
}

.business-media:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .85) 14%, rgba(255, 255, 255, 0) 48%)
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff
}

.stat-card .stat-icon {
  color: var(--green);
  height: 36px;
  margin-bottom: 18px
}

.stat-card .stat-icon svg {
  width: 36px;
  height: 36px
}

.stat-value {
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -.03em
}

.stat-value small {
  font-size: .55em;
  margin-left: 2px
}

.stat-label {
  font-size: 17px;
  font-weight: 800;
  margin-top: 10px
}

.stat-note {
  color: #626971;
  font-size: 13px;
  margin-top: 2px
}

/* Case cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: .2s ease
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}

.case-image {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #eef2f0
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease
}

.case-card:hover img {
  transform: scale(1.03)
}

.case-image .badge {
  position: absolute;
  left: 10px;
  top: 10px
}

.case-body {
  padding: 16px
}

.case-body h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 6px
}

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

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  font-size: 13px
}

.case-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c7379
}

.case-location svg {
  width: 14px;
  height: 14px;
  color: var(--green)
}

.case-scale {
  font-weight: 800;
  color: var(--green)
}

.case-scale.gold {
  color: var(--gold) !important
}

/* About home */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center
}

.home-about h2 {
  font-size: 30px;
  margin: 0 0 13px
}

.home-about p {
  font-size: 16px;
  color: #3f474d;
  margin: 0 0 14px
}

.home-about-media {
  height: 205px;
  border-radius: 12px;
  overflow: hidden
}

.home-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* Forms */
.inquiry-wrap {
  background: linear-gradient(#fbfbfb, #f8f8f7);
  border-top: 1px solid #eff1f0;
  border-bottom: 1px solid #eff1f0;
  padding: 20px 0 22px
}

.inquiry-head h2 {
  font-size: 26px;
  margin: 0
}

.inquiry-head p {
  margin: 3px 0 14px;
  color: #7a8086
}

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

.form-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dfe2e4;
  border-radius: 10px;
  background: #fff;
  padding: 11px 14px;
  color: #20272c;
  outline: none
}

.form-control:focus {
  border-color: #9cc3a5;
  box-shadow: 0 0 0 3px rgba(47, 127, 67, .08)
}

.form-grid .span-2 {
  grid-column: span 2
}

textarea.form-control {
  min-height: 52px;
  resize: vertical
}

.form-submit {
  grid-column: span 2;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 17px;
  font-weight: 800
}

.form-status {
  grid-column: span 2;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  min-height: 18px
}

/* Footer */
.site-footer {
  padding: 24px 0 16px;
  background: #fff
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 0
}

.footer-col {
  padding: 0 18px;
  border-right: 1px solid var(--line)
}

.footer-col:first-child {
  padding-left: 0
}

.footer-col:last-child {
  border-right: 0;
  padding-right: 0
}

.footer-col h4 {
  font-size: 15px;
  margin: 0 0 12px
}

.footer-line {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  color: #394147;
  margin: 7px 0
}

.footer-line svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex: 0 0 auto
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.cert-badge {
  min-width: 70px;
  padding: 7px 8px;
  border: 1px solid #d9dde0;
  border-radius: 5px;
  font-size: 11px;
  color: #697178;
  text-align: center;
  background: #fff;
  font-weight: 700;
  line-height: 1.1
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #737a80;
  font-size: 12px
}

.footer-bottom .lang-inline {
  font-size: 12px
}

/* Inner page hero */
.page-hero {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #eef6fb
}

.page-hero.media:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 251, 253, .96) 0%, rgba(247, 251, 253, .82) 50%, rgba(247, 251, 253, .28) 100%), var(--hero-image) center/cover no-repeat
}

.page-hero.simple {
  background: linear-gradient(135deg, #f6fbf7 0%, #edf6fb 68%, #f7f7f4 100%)
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-block: 52px
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7e858b;
  margin-bottom: 20px
}

.page-hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -.02em
}

.page-hero p {
  font-size: 17px;
  color: #4b555c;
  max-width: 680px;
  margin: 0
}

/* Tabs / filters */
.tabbar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  width: max-content;
  max-width: 100%;
  overflow: auto
}

.tab-btn {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 800;
  color: #676f75;
  white-space: nowrap
}

.tab-btn.active {
  background: var(--green);
  color: #fff
}

.tab-btn.gold-active.active {
  background: var(--gold)
}

.tab-panel[hidden] {
  display: none !important
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 24px
}

.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #5c646a;
  font-weight: 700
}

.filter-chip.active {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft)
}

/* Solutions */
.intro-split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  align-items: stretch
}

.intro-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: #fff
}

.intro-card h2 {
  font-size: 32px;
  margin: 0 0 12px
}

.intro-card p {
  margin: 0;
  color: #5e666d
}

.intro-media {
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

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

.scenario-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: #fff
}

.scenario-card .num {
  font-size: 13px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 14px
}

.scenario-card h3 {
  font-size: 21px;
  margin: 0 0 14px
}

.triad {
  display: grid;
  gap: 12px
}

.triad div {
  padding-top: 11px;
  border-top: 1px solid #ecefef
}

.triad strong {
  display: block;
  color: var(--green);
  font-size: 13px;
  margin-bottom: 3px
}

.triad span {
  color: #626a70;
  font-size: 13px
}

.arch-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px
}

.flow-node {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  position: relative
}

.flow-node:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aaa9e;
  font-weight: 800
}

.flow-node b {
  display: block;
  margin-bottom: 6px
}

.flow-node span {
  font-size: 13px;
  color: #6b7278
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.cap-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: #fff
}

.cap-card .cap-letter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 14px
}

.cap-card h3 {
  margin: 0 0 7px
}

.cap-card p {
  margin: 0;
  color: #6c7378;
  font-size: 13px
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 22px
}

.timeline-item {
  border-top: 3px solid #d7e8db;
  padding-top: 14px
}

.timeline-item strong {
  display: block;
  color: var(--green);
  margin-bottom: 5px
}

.timeline-item span {
  font-size: 13px;
  color: #687078
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.qual-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: #657078;
  background: #fff;
  font-weight: 700;
  font-size: 13px
}

.cta-band {
  background: linear-gradient(120deg, #eaf5ed, #f9f3e8);
  border: 1px solid #e0e8e1;
  border-radius: 18px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.cta-band h3 {
  font-size: 26px;
  margin: 0 0 6px
}

.cta-band p {
  margin: 0;
  color: #626a70
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.case-item.hidden-card {
  display: none
}

.load-more-wrap {
  text-align: center;
  margin-top: 24px
}

/* About */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center
}

.about-intro img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px
}

.about-intro h2 {
  font-size: 34px;
  margin: 0 0 14px
}

.about-intro p {
  color: #5f676e
}

.history-list {
  position: relative;
  margin-top: 22px;
  padding-left: 22px
}

.history-list:before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #dbe9df
}

.history-item {
  position: relative;
  padding: 0 0 24px 22px
}

.history-item:before {
  content: "";
  position: absolute;
  left: -22px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #edf6ef
}

.history-item strong {
  display: block;
  color: var(--green);
  margin-bottom: 5px
}

.history-item p {
  margin: 0;
  color: #667078
}

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

.team-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, #edf4ef, #dfe7e2);
  display: grid;
  place-items: center;
  color: #809087;
  font-weight: 900;
  margin-bottom: 14px
}

.team-card h3 {
  margin: 0 0 4px
}

.team-card .role {
  color: var(--green);
  font-size: 13px;
  font-weight: 800
}

.team-card p {
  font-size: 13px;
  color: #697177
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.value-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px
}

.value-card .vicon {
  color: var(--green);
  margin-bottom: 12px
}

.value-card h3 {
  margin: 0 0 6px;
  font-size: 18px
}

.value-card p {
  margin: 0;
  color: #6b7379;
  font-size: 13px
}

.map-box {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, #f4f8f5, #edf6fb);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center
}

.map-art {
  width: min(90%, 760px);
  height: 210px;
  position: relative
}

.map-continent {
  position: absolute;
  background: #dbe8de;
  opacity: .9
}

.map-continent.africa {
  width: 130px;
  height: 170px;
  left: 34%;
  top: 18px;
  border-radius: 52% 44% 62% 38% / 40% 40% 60% 60%;
  transform: rotate(5deg)
}

.map-continent.asia {
  width: 240px;
  height: 100px;
  right: 12%;
  top: 22px;
  border-radius: 55% 45% 55% 45%;
  transform: rotate(-8deg)
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47, 127, 67, .15)
}

.pin.africa {
  left: 38%;
  top: 92px
}

.pin.malaysia {
  right: 25%;
  top: 112px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(199, 150, 67, .17)
}

.pin-label {
  position: absolute;
  font-size: 13px;
  font-weight: 800
}

.pin-label.africa {
  left: 28%;
  top: 118px;
  color: var(--green)
}

.pin-label.malaysia {
  right: 10%;
  top: 137px;
  color: #9b6f26
}

/* News */
.news-list {
  display: grid;
  gap: 14px
}

.news-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff
}

.news-thumb {
  height: 155px
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.news-copy {
  padding: 18px 18px 18px 0
}

.news-date {
  font-size: 12px;
  color: #8b9297;
  margin-bottom: 6px
}

.news-copy h3 {
  font-size: 21px;
  margin: 0 0 6px
}

.news-copy p {
  margin: 0;
  color: #687078;
  font-size: 14px
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px
}

.page-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff
}

.page-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green)
}

/* Rimbaco content pages */
.content-hero {
  padding: 58px 0 48px;
  background: #f4f7f5;
  border-bottom: 1px solid var(--line)
}

.content-hero .breadcrumb {
  margin-bottom: 18px
}

.content-hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 14px
}

.content-hero p {
  max-width: 760px;
  margin: 0;
  color: #5f6862;
  font-size: 17px
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff
}

.content-card h3 {
  margin: 0 0 9px;
  font-size: 19px
}

.content-card p {
  margin: 0;
  color: #657078;
  font-size: 14px
}

.content-card .meta {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase
}

.data-list {
  border-top: 1px solid var(--line)
}

.data-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.data-row strong {
  font-size: 14px
}

.data-row p {
  margin: 0;
  color: #667078
}

.file-link {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap
}

.notice {
  padding: 14px 16px;
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  color: #765b2e;
  font-size: 13px;
  margin-top: 22px
}

.org-chart {
  display: grid;
  gap: 14px;
  text-align: center
}

.org-node {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-weight: 800
}

.org-node.primary {
  background: var(--green);
  color: #fff;
  max-width: 420px;
  margin: auto
}

.org-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.gallery-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.gallery-content figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  border-radius: 8px
}

.gallery-content img {
  width: 100%;
  height: 220px;
  object-fit: cover
}

.gallery-content figcaption {
  padding: 15px
}

.gallery-content strong {
  display: block;
  margin-bottom: 4px
}

.gallery-content span {
  color: #697178;
  font-size: 13px
}

.job-list {
  display: grid;
  gap: 12px
}

.job-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff
}

.job-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start
}

.job-head h3 {
  margin: 0 0 5px
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0
}

.job-tags span {
  padding: 5px 9px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 800
}

.job-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #626b65
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: start
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff
}

.contact-card h2 {
  font-size: 28px;
  margin: 0 0 6px
}

.contact-card>p {
  margin: 0 0 18px;
  color: #6d747a
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.contact-form-grid .full {
  grid-column: span 2
}

.contact-form-grid label {
  font-size: 13px;
  font-weight: 800;
  display: block;
  margin-bottom: 6px
}

.office-grid {
  display: grid;
  gap: 12px
}

.office-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff
}

.office-card h3 {
  margin: 5px 0 12px;
  font-size: 21px
}

.office-line {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #586168;
  margin: 8px 0
}

.office-line svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px
}

.map-placeholder {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #eef6fb, #f7f5ef);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #657078
}

.map-placeholder strong {
  display: block;
  color: #253029;
  font-size: 22px;
  margin-bottom: 7px
}

@media(max-width:1040px) {
  .desktop-nav {
    display: none
  }

  .header-actions {
    margin-left: auto
  }
}

@media(max-width:820px) {
  :root {
    --header: 70px
  }

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

  .section {
    padding: 46px 0
  }

  .home-hero {
    min-height: 415px
  }

  .hero-copy-center {
    max-width: 570px;
    padding-top: 10px
  }

  .hero-copy-center h1 {
    font-size: 33px
  }

  .hero-copy-center p {
    font-size: 18px;
    margin: 16px 0 22px
  }

  .hero-copy-center .btn {
    min-width: 184px
  }

  .business-stack {
    margin-top: -27px;
    padding: 11px
  }

  .business-content {
    padding: 26px 18px;
    gap: 17px
  }

  .business-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px
  }

  .business-copy h3 {
    font-size: 24px
  }

  .business-copy p {
    font-size: 15px
  }

  .business-card {
    grid-template-columns: 61% 39%;
    min-height: 174px
  }

  .business-media {
    min-height: 174px
  }

  .stats-grid {
    gap: 12px
  }

  .stat-card {
    min-height: 164px;
    padding: 20px 16px
  }

  .stat-value {
    font-size: 34px
  }

  .stat-label {
    font-size: 16px
  }

  .case-image {
    height: 148px
  }

  .case-body {
    padding: 14px
  }

  .case-body h3 {
    font-size: 17px
  }

  .home-about {
    gap: 28px
  }

  .home-about-media {
    height: 180px
  }

  .page-hero {
    min-height: 255px
  }

  .page-hero .container {
    padding-block: 38px
  }

  .page-hero h1 {
    font-size: 36px
  }

  .page-hero p {
    font-size: 16px
  }

  .scenario-grid {
    grid-template-columns: 1fr
  }

  .arch-flow {
    grid-template-columns: 1fr 1fr
  }

  .flow-node:nth-child(2):after {
    display: none
  }

  .cap-grid {
    grid-template-columns: 1fr 1fr
  }

  .timeline {
    grid-template-columns: 1fr
  }

  .timeline-item {
    border-top: 0;
    border-left: 3px solid #d7e8db;
    padding: 2px 0 16px 15px
  }

  .qual-grid {
    grid-template-columns: 1fr 1fr
  }

  .cases-grid {
    grid-template-columns: 1fr 1fr
  }

  .team-grid {
    grid-template-columns: 1fr 1fr
  }

  .value-grid {
    grid-template-columns: 1fr 1fr
  }

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

  .intro-split,
  .about-intro {
    grid-template-columns: 1fr
  }

  .intro-media {
    min-height: 250px
  }

  .about-intro img {
    height: 280px
  }

  .content-grid,
  .gallery-content {
    grid-template-columns: 1fr 1fr
  }

  .org-branches {
    grid-template-columns: 1fr
  }

  .data-row {
    grid-template-columns: 110px 1fr
  }

  .gp-container {
    width: min(calc(100% - 40px), 1440px)
  }

  .gp-hero-inner {
    width: min(calc(100% - 40px), 1440px)
  }

  .gp-hero h1 {
    font-size: 46px
  }

  .gp-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px
  }

  .gp-business-grid {
    grid-template-columns: 1fr
  }

  .gp-business-card {
    min-height: 245px
  }

  .gp-project-grid {
    grid-template-columns: 1fr 1fr
  }

  .gp-project.feature {
    grid-column: span 2
  }

  .gp-about-layout {
    grid-template-columns: 1fr;
    gap: 32px
  }

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

  .gp-stats article {
    padding: 20px;
    border-bottom: 1px solid #dce1e3
  }

  .gp-stats article:nth-child(2) {
    border-right: 0
  }

  .gp-stats article:first-child {
    padding-left: 20px
  }

  .gp-news-grid {
    grid-template-columns: 1fr
  }

  .gp-news-grid a {
    min-height: 135px
  }
}

@media(max-width:600px) {
  .container {
    width: min(calc(100% - 24px), var(--max))
  }

  .brand img {
    width: 104px
  }

  .header-actions {
    gap: 12px
  }

  .lang-inline {
    font-size: 13px
  }

  .menu-btn i,
  .menu-btn i:before,
  .menu-btn i:after {
    width: 26px
  }

  .mobile-drawer .drawer-quick {
    grid-template-columns: 1fr
  }

  .home-hero {
    min-height: 470px;
    background-position: center
  }

  .hero-copy-center {
    padding: 36px 12px;
    margin-top: -22px
  }

  .hero-copy-center h1 {
    font-size: 31px;
    line-height: 1.18
  }

  .hero-copy-center p {
    font-size: 16px
  }

  .home-hero .africa-mark {
    left: 4%;
    top: 9%;
    width: 120px
  }

  .business-stack {
    margin-top: -22px
  }

  .business-card {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .business-content {
    padding: 22px 18px
  }

  .business-media {
    min-height: 148px;
    order: 2
  }

  .business-media:before {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .4) 8%, rgba(255, 255, 255, 0) 38%)
  }

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

  .stat-card {
    min-height: 155px;
    padding: 18px 14px
  }

  .stat-value {
    font-size: 31px
  }

  .section-title {
    align-items: flex-start
  }

  .section-title h2 {
    font-size: 26px
  }

  .section-more {
    font-size: 14px
  }

  .case-grid,
  .cases-grid {
    grid-template-columns: 1fr
  }

  .case-image {
    height: 205px
  }

  .home-about {
    grid-template-columns: 1fr
  }

  .home-about-media {
    height: 220px;
    order: -1
  }

  .form-grid,
  .contact-form-grid {
    grid-template-columns: 1fr
  }

  .form-grid .span-2,
  .form-submit,
  .form-status,
  .contact-form-grid .full {
    grid-column: auto
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 0
  }

  .footer-col:first-child {
    padding-top: 0
  }

  .footer-col:last-child {
    border-bottom: 0
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column
  }

  .page-hero h1 {
    font-size: 28px
  }

  .page-hero p {
    font-size: 15px
  }

  .breadcrumb {
    margin-bottom: 14px
  }

  .tabbar {
    width: 100%
  }

  .tab-btn {
    flex: 1;
    padding: 10px 12px
  }

  .intro-card {
    padding: 22px
  }

  .intro-card h2 {
    font-size: 27px
  }

  .arch-flow,
  .cap-grid,
  .qual-grid,
  .team-grid,
  .value-grid {
    grid-template-columns: 1fr
  }

  .flow-node:after {
    display: none
  }

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

  .cta-band h3 {
    font-size: 23px
  }

  .news-item {
    grid-template-columns: 1fr
  }

  .news-thumb {
    height: 210px
  }

  .news-copy {
    padding: 16px
  }

  .about-intro h2 {
    font-size: 29px
  }

  .content-hero h1 {
    font-size: 32px
  }

  .content-grid,
  .gallery-content {
    grid-template-columns: 1fr
  }

  .data-row {
    grid-template-columns: 1fr;
    gap: 5px
  }

  .gallery-content img {
    height: 210px
  }

  .job-head {
    display: block
  }

  .gp-container,
  .gp-hero-inner {
    width: min(calc(100% - 28px), 1440px)
  }

  .gp-hero {
    min-height: 100svh;
    background-position: 63% center
  }

  .gp-hero h1 {
    font-size: 38px
  }

  .hero-lede {
    font-size: 16px
  }

  .hero-scroll {
    right: 14px;
    bottom: 17px
  }

  .gp-business,
  .gp-projects,
  .gp-news,
  .gp-about {
    padding: 58px 0
  }

  .gp-heading h2,
  .gp-about h2 {
    font-size: 29px
  }

  .gp-project-grid {
    grid-template-columns: 1fr
  }

  .gp-project.feature {
    grid-column: auto
  }

  .gp-project.feature img,
  .gp-project img {
    height: 215px
  }

  .gp-stats article {
    padding: 16px
  }

  .gp-stats strong {
    font-size: 34px
  }

  .gp-map {
    height: 255px;
    padding: 155px 16px 0
  }

  .gp-news-grid h3 {
    margin: 12px 0
  }

  .home-page .site-header.home-header {
    background: rgba(255, 255, 255, .9)
  }
}

.hero-copy-center h1 {
  white-space: pre-line
}

.case-location .icon,
.footer-line .icon,
.office-line .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px
}

@media(min-width:1041px) {
  .menu-btn {
    display: none
  }
}

/* Homepage reference alignment overrides */
.gp-brand {
  gap: 9px
}

.gp-brand .gp-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 7px solid var(--red);
  border-right-color: transparent;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  color: var(--red)
}

.gp-brand strong {
  display: block;
  font-size: 17px;
  line-height: 1.1
}

.gp-brand small {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: #596169;
  letter-spacing: .08em
}

.home-page .desktop-nav {
  gap: 15px
}

.home-page .desktop-nav a {
  font-size: 13px
}

.gp-hero h1 {
  white-space: pre-line
}

.gp-business {
  margin-top: -170px;
  position: relative;
  z-index: 4;
  padding: 0 0 55px
}

.home-page .gp-business-grid {
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 18px
}

.home-page .gp-business-card {
  min-height: 132px;
  padding: 20px 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(20, 36, 46, .1);
  border-radius: 6px
}

.home-page .gp-business-card:before {
  display: none
}

.home-page .gp-business-card span {
  display: none
}

.home-page .gp-business-card h3 {
  font-size: 18px;
  color: var(--red);
  margin: 0 0 6px
}

.home-page .gp-business-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #49545d;
  max-width: 240px
}

.home-page .gp-business-card b {
  right: 18px;
  bottom: 20px;
  background: var(--red);
  border-radius: 50%;
  width: 27px;
  height: 27px;
  font-size: 17px
}

.home-page .gp-business-card.residential {
  display: none
}

.home-page .gp-project-grid {
  grid-template-columns: repeat(4, 1fr)
}

.home-page .gp-project.feature img,
.home-page .gp-project img {
  height: 166px
}

.home-page .gp-project.feature {
  grid-column: auto
}

.home-page .gp-project h3 {
  font-size: 17px
}

.gp-partners {
  background: #f5f5f3;
  padding: 24px 0
}

.gp-partners .gp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  filter: grayscale(1);
  color: #4d5052;
  font-size: 20px;
  font-weight: 900
}

.gp-partners span:nth-child(2) {
  color: var(--red);
  font-size: 24px
}

@media(max-width:820px) {
  .gp-business {
    margin-top: 0;
    padding: 58px 0
  }

  .gp-brand strong {
    font-size: 15px
  }
}

@media(max-width:820px) {
  .home-page .gp-business-grid {
    grid-template-columns: 1fr
  }

  .home-page .gp-project-grid {
    grid-template-columns: 1fr 1fr
  }

  .gp-partners .gp-container {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 16px
  }
}

@media(max-width:600px) {
  .home-page .gp-project-grid {
    grid-template-columns: 1fr
  }

  .home-page .gp-business-card {
    min-height: 128px
  }

  .gp-partners .gp-container {
    gap: 16px
  }

  .gp-partners {
    padding: 18px 0
  }
}
