/*
Theme Name: Diamond Gate
Theme URI: https://diamondgate.be
Author: AI-D
Description: Custom marketing theme for the Diamond Gate premium offices project, recreated from the InDesign design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: diamond-gate
*/

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Diamond Heading';
  src: url('assets/fonts/BackBoneMelavita-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Diamond Body';
  src: url('assets/fonts/Gotham-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Diamond UI';
  src: url('assets/fonts/Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Diamond UI';
  src: url('assets/fonts/Roboto-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Diamond UI';
  src: url('assets/fonts/Roboto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Diamond UI';
  src: url('assets/fonts/Roboto-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Diamond Logo';
  src: url('assets/fonts/RNSCamelia-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --gold: #9C7825;
  --gold-light: #c99a2e;
  --navy: #002a38;
  --green: #1a402e;
  --white: #ffffff;
  --black: #000000;
  --text: #2b2b2b;
  --max-width: 1180px;
  --section-pad: clamp(48px, 8vw, 96px);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Diamond Body', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: 'Diamond Heading', 'Georgia', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  margin: 0 0 .4em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Diamond UI', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
  border-radius: 999px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 0.1rem;
  padding-top: 0.1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .82; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }

/* ---------- Gravity Forms button ---------- */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"] {
  display: inline-block !important;
  font-family: 'Diamond UI', Arial, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: .04em !important;
  border-radius: 999px !important;
  padding: 0.7rem 2rem !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: opacity .2s ease !important;
  background: var(--gold) !important;
  color: var(--white) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover {
  opacity: .82 !important;
  background: var(--gold) !important;
  color: var(--white) !important;
}

/* ---------- Site header / nav ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 130px 0 0;
  background: transparent;
}
body.page-template-template-aanbod .main-nav a {
  color: var(--white);
}
body.page-template-template-aanbod .main-nav a.is-active,
body.page-template-template-aanbod .main-nav a:hover {
  color: var(--gold);
}
body.page-template-template-restaurant .main-nav a {
  color: var(--white);
}
body.page-template-template-restaurant .main-nav a.is-active,
body.page-template-template-restaurant .main-nav a:hover {
  color: var(--gold);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__badge {
  position: absolute;
  top: 0;
  right: 40px;
  background: var(--white);
  width: 130px;
  padding: 14px 12px 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.site-header__badge img { width: 100%; }
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;

}
.main-nav a {
  font-family: 'Diamond UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #000;
}
.main-nav a.is-active,
.main-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 960px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,20,25,.35) 0%, rgba(0,20,25,.05) 40%, rgba(0,20,25,.15) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  max-width: 780px;
  padding: 24px 24px 24px clamp(24px, 20vw, 192px);
  margin: 0;
  width: 100%;
  text-align: center;
}
.hero__content h1 {
  color: var(--gold-light);
  font-size: clamp(1.9rem, 5.5vw, 48px);
  margin-bottom: .3em;
}
.hero__content p {
  color: var(--black);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.3em;
}
.hero__eyebrow {
  font-family: 'Diamond UI', Arial, sans-serif;
  letter-spacing: .35em;
  font-size: .8rem;
  color: var(--gold-light);
  margin-top: 40px;
}
.hero__content.align-right { margin-left: auto; margin-right: 8%; text-align: left; }
.hero__eyebrow {
  font-family: 'Diamond UI', Arial, sans-serif;
  letter-spacing: .35em;
  font-size: .8rem;
  color: var(--gold-light);
  margin-top: 30px;
}
.hero--short {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  padding-top: 120px;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero--short .hero__content p {
	font-family:'Diamond Heading',serif;
	font-style:italic;
	font-size:1.4rem;
	color:var(--gold);
	text-align:start;
}
.hero--tall { min-height: 120vh; }

.hero-accent-octagon {
  position: absolute;
  z-index: 5;
  right: -200px;
  bottom: -400px;
  pointer-events: none;
}
.hero--center-right { align-items: center; }
.hero--align-bottom { align-items: flex-end; }
.hero--align-bottom .hero__content h1 { color: var(--white); }
.hero__content--right-center {
  margin-left: auto;
  margin-right: 8%;
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.section--no-pad-bottom { padding-bottom: 0; }
.section--gold { background: var(--gold); color: var(--white); }
.section--gold h2, .section--gold h3 { color: var(--white); }
.section--kenmerken { background: #A67D12; }
.section--white { background: var(--white); }
.section--green { background: var(--green); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--gold-light); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .col:first-child { order: 2; }

.quote-banner {
  background: var(--gold);
  color: var(--white);
  padding: var(--section-pad) 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.quote-banner__outline {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: min(700px, 80%);
  aspect-ratio: 2 / 1;
  pointer-events: none;
}
.quote-banner blockquote {
  margin: 0;
  max-width: 460px;
  font-family: 'Diamond Heading', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.3;
}
.quote-banner .btn { margin-top: 24px; }

/* ---------- Hexagon / octagon image frames ---------- */
.hex-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 550px;
  flex: 0 0 550px;
  clip-path: polygon(29% 0%, 71% 0%, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0% 71%, 0% 29%);
  background: var(--white);
  padding: 1px;
}
.hex-overlap .hex-frame {
  z-index: 3;
  margin-bottom: -90px;
}
.hex-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
  align-items: center;
  justify-content: center;
}
.feature-row .feature-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
}
.feature-row--left .hex-frame {
  margin-left: calc(-35vw);
}
.feature-row--center {
  margin-right: calc(-20vw);
  margin-top: calc(-5vw);
}
.feature-row--right {
  margin-right: calc(-20vw);
  margin-top: calc(-5vw);
}

.cta-octagon {
  position: relative;
  clip-path: polygon(29% 0%, 71% 0%, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0% 71%, 0% 29%);
  background: var(--white);
  padding: 1px;
  width: min(675px, 100%);
  aspect-ratio: 1;
  margin-left: calc(-5vw);
  margin-bottom: calc(-20vw);
}
.cta-octagon__inner {
  clip-path: polygon(29% 0%, 71% 0%, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0% 71%, 0% 29%);
  background: var(--gold);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ---------- Stat rows ---------- */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  text-align: center;
  margin-top: 32px;
}
.stat-row .stat-num {
  font-family: 'Diamond Heading', serif;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  display: block;
}
.stat-row .stat-label {
  font-family: 'Diamond UI', Arial, sans-serif;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ---------- Icon grid ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  text-align: center;
  margin-top: 40px;
}
.icon-grid img, .icon-grid svg { width: 96px; height: 96px; margin: 0 auto 14px; }
.icon-grid .label { font-size: .92rem; }

/* ---------- Mobility figures ---------- */
.mobility-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 24px 0;
}
.mobility-figures div { text-align: center; }
.mobility-figures .num {
  font-family: 'Diamond Heading', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 2rem;
  display: block;
}
.mobility-figures .lbl { font-size: .85rem; }

/* ---------- Mobility table ---------- */
.mobility-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  width: 100%;
  margin: 24px 0;
}
.mobility-table tbody,
.mobility-table tr { display: contents; }
.mobility-table tr:nth-of-type(1) td { grid-column: 1; }
.mobility-table tr:nth-of-type(2) td { grid-column: 2; }
.mobility-table tr:nth-of-type(3) td { grid-column: 3; }
.mobility-table tr:nth-of-type(4) td { grid-column: 4; }
.mobility-table td {
  text-align: center;
}
.mobility-table__icon {
  grid-row: 1;
  align-self: end;
  padding-bottom: 10px;
}
.mobility-table__icon img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  object-fit: contain;
}
.mobility-table__num {
  grid-row: 2;
  font-family: 'Diamond Heading', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 2rem;
}
.mobility-table__lbl {
  grid-row: 3;
  font-size: .85rem;
  padding-top: 4px;
}

/* ---------- Map section ---------- */
.map-section {
  position: relative;
  background: #A67D12;
  color: var(--white);
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
}
.map-section__map {
  position: relative;
  min-height: 840px;
  width: 70%;
}

.map-section__map img {
  position: absolute;
  inset: 28px;
  width: calc(100% - 56px);
  height: calc(100% - 56px);
}

.map-octagon {
  position: absolute;
  top: -15%;
  right: -55%;
  width: clamp(630px, 34%, 630px);
  aspect-ratio: 1;
  clip-path: polygon(29% 0%, 71% 0%, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0% 71%, 0% 29%);
  background: var(--white);
  padding: 1px;
  z-index: 6;
}
.map-octagon__inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(29% 0%, 71% 0%, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0% 71%, 0% 29%);
  background: #A67D12;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
  box-sizing: border-box;
}
.map-octagon__inner blockquote {
  padding-left: 64px;
  font-family: 'Diamond Heading', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.3;
}

.map-section__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  font-family: 'Diamond UI', Arial, sans-serif;
  font-size: .72rem;
  text-align: center;
  white-space: nowrap;
}
.map-pin .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--navy);
  margin: 4px auto 0;
}
.map-pin--brand .dot {
  width: 20px; height: 20px;
  background: var(--navy);
  border: 3px solid var(--gold-light);
}
.map-section blockquote {
  margin: 0;
  max-width: 430px;
  font-family: 'Diamond Heading', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.3;
}

/* ---------- Partner strip ---------- */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.partner-strip-hessers { max-height: 46px; width: auto; }
.partner-strip-machiels { max-height: 100px; width: auto; }
.partner-strip--sub { margin-top: 10px; }
.partner-strip--sub img { max-height: 60px; }

/* ---------- Contact section ---------- */
.contact-section {
  position: relative;
  padding-bottom: 96px;
}
.contact-section .container {
  display: flex;
  justify-content: flex-end;
}
.contact-section .site-header__badge { top: 0; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  max-width: 760px;
}
.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 24px;
}
.contact-columns__info a {
  color: var(--gold-light);
  text-decoration: underline;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
  width: 100%;
  border: none;
  border-radius: 1px;
  padding: 14px 16px;
  font-family: 'Diamond UI', Arial, sans-serif;
  font-size: .95rem;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input[type=submit], .contact-form .btn-submit {
  grid-column: 1 / -1;
  justify-self: start;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font-family: 'Diamond UI', Arial, sans-serif;
  font-weight: 500;
  margin-top: 8px;
  cursor: pointer;
}

.footer-octagon {
  position: absolute;
  z-index: 5;
  left: -300px;
  bottom: -140px;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer-bottom {
  background: var(--white);
  text-align: center;
  padding: 30px 0 40px;
  font-size: .85rem;
  color: #555;
}
.site-footer-bottom .partner-strip { border-bottom: none; }
.site-footer-bottom .caption {
  font-family: 'Diamond Heading', serif;
  font-style: italic;
  color: var(--navy);
  font-size: 1.1rem;
  margin: 10px 0;
}
.copyright { margin-top: 18px; font-size: .78rem; color: #888; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }


/* =====================================================================
   RESPONSIVE / MEDIA QUERIES
   All breakpoints are grouped here, in their original cascade order,
   one block per section, so overrides still apply in the right order.
   ===================================================================== */

@media (max-width: 999px) {
  .feature-row {
    flex-wrap: wrap;
    flex-direction: column !important;
    margin-bottom: 40px;
  }
  .cta-octagon {
    margin-bottom: calc(-50vw);
  }
  .cta-octagon__inner {
    padding: 80px 40px;
  }
  .cta-octagon__inner p {
    max-width: 100%;
  }
  .site-header__badge {
    width: 100px;
  }
  .contact-form { grid-template-columns: 1fr; }
  .map-section {
    flex-direction: column;
    align-items: center;
  }
  .map-section__map {
    width: 100%;
    min-height: 720px;
    margin: 24px 0;
  }
  .map-section__map img {
    top: 440px;   /* pushes the image down below the octagon — tune this */
    bottom: 28px;
    left: 28px;
    right: 28px;
    height: auto;
  }
  .contact-section .container { justify-content: flex-start; }
  .map-octagon { position: static; width: 100%; max-width: 320px; margin: 24px auto 0; top: auto; right: auto; }
  .mobility-table__num { font-size: 1.4rem; }
  .mobility-table { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .mobility-table tr:nth-of-type(1) td { grid-column: 1; }
  .mobility-table tr:nth-of-type(2) td { grid-column: 2; }
  .mobility-table tr:nth-of-type(3) td { grid-column: 1; }
  .mobility-table tr:nth-of-type(4) td { grid-column: 2; }
  .mobility-table tr:nth-of-type(3) .mobility-table__icon,
  .mobility-table tr:nth-of-type(4) .mobility-table__icon { grid-row: 4; }
  .mobility-table tr:nth-of-type(3) .mobility-table__num,
  .mobility-table tr:nth-of-type(4) .mobility-table__num { grid-row: 5; }
  .mobility-table tr:nth-of-type(3) .mobility-table__lbl,
  .mobility-table tr:nth-of-type(4) .mobility-table__lbl { grid-row: 6; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header { padding-top: 20px; }
  .site-header__badge {
    padding: 8px 8px 12px;
    z-index: 61;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    top: 24px; left: 20px;
    z-index: 62;
    background: none;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 4px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 110px 24px 40px;
    z-index: 55;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .main-nav a { color: var(--white) }
  .hex-frame { width: 100%; max-width: 340px; flex: 0 0 auto; }
  .feature-row--overlap { margin-top: 40px; }
  .feature-row--left .hex-frame { margin-left: 0; }
  .site-header { padding-top: 20px; }
  .site-header__badge { width: 92px; right: 20px; padding: 8px 8px 12px; }
  .nav-toggle {
    display: block;
    position: absolute;
    top: 24px; left: 20px;
    z-index: 60;
    background: none;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 4px;
  }
  .hero-accent-octagon { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse .col:first-child { order: 0; }
  .partner-strip-hessers { max-height: 16px; width: auto; }
  .partner-strip-machiels { max-height: 32px; width: auto; }
  .feature-row--left .hex-frame { margin-left: 0; }
  .feature-row--center,
  .feature-row--right {
    margin-right: 0;
    margin-top: 0;
  }
  .hero__content {
	background: rgba(0,0,0,.3);
  }
  .hero__content h1 {
	color: var(--white)
  }	
  .hero__content p {
	color: var(--white)
  }
  .hero__content--short {
	background: none !important;
  }
  .contact-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (min-width: 1000px) and (max-width: 1399px) {
  .hero__content {
    max-width: 560px;
  }
  .feature-row--left {
    margin-right: -40vw;
    margin-bottom: 5vw;
  }
  .feature-row--left .feature-text {
    max-width: 400px;
  }
  .feature-row--center {
    margin-bottom: -10vw;
    margin-right: 0;
  }
  .feature-row--right {
    margin-bottom: -10vw;
    margin-right: 0;
  }
  .cta-octagon {
    margin-left: calc(-10vw);
    margin-bottom: calc(-35vw);
  }
  .quote-banner blockquote {
    margin-left: 0vw;
  }
  .hero.hero--short {
    min-height: 480px;
  }
  .map-section__map {
    min-height: 480px;
  }
  .map-octagon {
    width: clamp(360px, 34%, 360px);
    margin-right: calc(5vw);
    margin-bottom: calc(-13vw);
  }
  .site-header__badge {
    width: 100px;
  }
}

@media (min-width: 2500px) {
  .feature-row.feature-row--left {
    margin-left: calc(-25vw);
  }
  .feature-row.feature-row--center {
    margin-top: calc(-5vw);
    margin-left: calc(-40vw);
  }
  .feature-row.feature-row--right {
    margin-top: calc(-5vw);
    margin-left: calc(-30vw);
  }
  .cta-octagon {
    margin-left: calc(-10vw);
    margin-bottom: calc(-13vw);
  }
  .quote-banner blockquote {
    margin-left: -10vw;
  }
  .hero.hero--short {
    min-height: 960px;
  }
  .map-section__map {
    aspect-ratio: 1240 / 1043; /* matches the map image's natural ratio */
  }
  .map-section__map img {
   position: absolute;
   inset: 28px;
   width: calc(100% - 56px);
   height: calc(100% - 56px);
   object-fit: cover;   /* add this */
  }
  .map-octagon {
    width: clamp(840px, 34%, 840px);
    margin-right: calc(5vw);
    margin-bottom: calc(-13vw);
  }
}