@font-face {
  font-family: "Goldbill Light";
  src: url("/fonts/GoldbillLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Goldbill Regular";
  src: url("/fonts/GoldbillRegular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Goldbill Medium";
  src: url("/fonts/GoldbillMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Goldbill Bold";
  src: url("/fonts/GoldbillBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --clr-primary: #002044;
  --clr-text: #00275d;
  --clr-secondary: #8d7c54;
  --clr-muted-blue: #8091a2;
  --clr-light: #ffffff;
  --clr-soft: #ededed;
  --clr-line: #d5dbe3;
  --fnt-regular: "Goldbill Regular", Arial, sans-serif;
  --fnt-medium: "Goldbill Medium", Arial, sans-serif;
  --fnt-bold: "Goldbill Bold", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--clr-light);
  color: var(--clr-text);
  font-family: var(--fnt-regular);
  font-size: 20px;
  line-height: 1.66;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

a:hover {
  color: var(--clr-secondary);
}

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

/* ---- Horizontal-overflow safety nets ---- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

iframe,
video,
canvas,
svg {
  max-width: 100%;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--clr-text);
  font-family: var(--fnt-bold);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: 92px;
}

h2 {
  font-size: 58px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h6 {
  margin-bottom: 18px;
  font-family: var(--fnt-bold);
  font-size: 18px;
  text-transform: uppercase;
}

p {
  margin-bottom: 20px;
}

.master-holder {
  min-height: 100vh;
  background: var(--clr-light);
}

.mk-header {
  position: relative;
  z-index: 301;
  width: 100%;
}

.mk-header-holder {
  position: absolute;
  inset: 0 0 auto;
  z-index: 200;
  height: 90px;
}

.mk-header-bg {
  position: absolute;
  inset: 0;
  height: 90px;
  background: var(--clr-light);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.home .mk-header-bg {
  opacity: 0;
}

.inner .mk-header-holder {
  position: relative;
}

.inner .mk-header-bg {
  opacity: 1;
}

.mk-header-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1440px;
  height: 90px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 215px;
  color: var(--clr-text);
  text-decoration: none;
}

.home .site-logo {
  color: var(--clr-light);
}

.site-mark {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.site-mark::before,
.site-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid currentColor;
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
  opacity: 0.75;
}

.site-mark::after {
  inset: 4px 15px;
  border: 0;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 40%;
}

.site-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--fnt-bold);
  font-size: 19px;
  line-height: 0.9;
  text-transform: uppercase;
}

.mk-main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  height: 90px;
}

.mk-main-navigation ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-main-navigation li {
  position: relative;
  flex: 0 0 auto;
}

.mk-main-navigation .menu-item-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 2px 10px 0;
  color: var(--clr-text);
  font-family: var(--fnt-medium);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 20px;
  text-transform: capitalize;
  text-decoration: none;
}

.home .mk-main-navigation .menu-item-link {
  color: var(--clr-light);
}

.mk-header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid currentColor;
  color: var(--clr-text);
  font-family: var(--fnt-bold);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.home .mk-header-phone {
  color: var(--clr-light);
}

.mk-header-phone:hover,
.mk-header-phone:focus {
  border-color: var(--clr-secondary);
  background: var(--clr-secondary);
  color: var(--clr-light);
}

.mk-main-navigation .menu-item-link.current,
.mk-main-navigation .menu-item-link:hover {
  color: var(--clr-secondary);
  text-decoration: underline;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  z-index: 50;
  display: grid !important;
  min-width: 260px;
  padding: 16px 0 !important;
  background: var(--clr-light);
  box-shadow: 0 12px 28px rgba(0, 32, 68, 0.18);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.menu-item:hover > .sub-menu,
.menu-item:focus-within > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sub-menu .menu-item-link,
.home .sub-menu .menu-item-link {
  display: block;
  width: 100%;
  padding: 8px 20px;
  color: var(--clr-text);
  white-space: nowrap;
}

.mk-css-icon-menu {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.mk-css-icon-menu span,
.mk-css-icon-menu::before,
.mk-css-icon-menu::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 7px auto;
  background: currentColor;
}

/* ---- Mobile slide-in drawer ---- */
.mk-responsive-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  width: min(360px, 86vw);
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 84px 26px 32px;
  background: var(--clr-primary);
  box-shadow: -12px 0 34px rgba(0, 18, 29, 0.4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  visibility: hidden;
}

.mk-responsive-nav a {
  display: block;
  padding: 14px 6px;
  min-height: 48px;
  color: var(--clr-light);
  font-family: var(--fnt-medium);
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mk-responsive-nav a:hover,
.mk-responsive-nav a:focus {
  color: var(--clr-secondary);
}

.mk-responsive-nav .mk-mobile-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--clr-light);
  font-family: var(--fnt-bold);
}

.mk-responsive-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mk-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--clr-light);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.mk-nav-close span {
  display: block;
  margin-top: -4px;
}

.mk-nav-close:hover,
.mk-nav-close:focus {
  color: var(--clr-secondary);
  border-color: var(--clr-secondary);
  background: rgba(255, 255, 255, 0.08);
}

.mk-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 18, 29, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mk-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.mk-nav-open {
  overflow: hidden;
}

.header-spacer {
  height: 90px;
}

.home .header-spacer {
  height: 0;
}

.inner .header-spacer {
  height: 0;
}

.secondary-bar {
  position: relative;
  z-index: 25;
  background: var(--clr-primary);
}

.secondary-bar div {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 3vw, 42px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.secondary-bar div::-webkit-scrollbar {
  display: none;
}

.secondary-bar a {
  flex: 0 0 auto;
  color: var(--clr-light);
  font-family: var(--fnt-medium);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.secondary-bar a:hover,
.secondary-bar a.current {
  text-decoration: underline;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mk-page-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mk-grid {
  width: min(100%, 1440px);
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

.m_home_hero {
  min-height: 872px;
  margin: 0 5px;
  background-color: rgba(0, 32, 68, 0.66);
  background-image: linear-gradient(rgba(0, 32, 68, 0.52), rgba(0, 32, 68, 0.5)), var(--hero-image);
  background-position: center;
  background-size: cover;
  border-bottom-right-radius: 200px;
  border-bottom-left-radius: 200px;
}

.m_home_hero .page-section-content {
  display: flex;
  min-height: 872px;
  align-items: center;
  justify-content: center;
  padding: 176px 20px;
  text-align: center;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
  color: var(--clr-light);
}

.hero-brand .site-mark {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.hero-brand .site-wordmark {
  font-size: 25px;
}

.m__home_hero_text_1 h1 {
  width: min(955px, 100%);
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--clr-light);
  font-size: 105px;
  text-shadow: 0 4px 14px rgba(0, 18, 29, 0.42);
}

.home_txt_shadow {
  text-shadow: 0 4px 14px rgba(0, 18, 29, 0.7);
}

.m__home_hero_text_2 p {
  width: min(1010px, 100%);
  margin: 22px auto 34px;
  color: var(--clr-light);
  font-size: 26px;
  line-height: 1.45;
}

.g__btn_plain a,
.g__btn_plain_primary a {
  color: var(--clr-light);
  font-family: var(--fnt-medium);
  font-size: 20px;
  text-decoration: underline;
}

.g__btn_plain_primary a {
  color: var(--clr-text);
}

.g__padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.g__text_center {
  text-align: center;
}

.g__title {
  max-width: 980px;
  margin-right: auto;
  margin-bottom: 48px;
  margin-left: auto;
}

.g__title h2 {
  margin-bottom: 20px;
}

.g__title p {
  font-size: 21px;
}

.ba_cap_row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--clr-line);
  border-left: 1px solid var(--clr-line);
}

.ba_cap_col {
  position: relative;
  min-height: 196px;
  padding: 26px 76px 48px 24px;
  color: var(--clr-text);
  text-decoration: none;
  border-right: 1px solid var(--clr-line);
  border-bottom: 1px solid var(--clr-line);
  overflow: hidden;
}

.ba_cap_col::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.64;
}

.ba_cap_col::after {
  content: "↳";
  position: absolute;
  right: 24px;
  bottom: 14px;
  color: #aeb8c3;
  font-size: 42px;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}

.ba_cap_col:hover {
  color: var(--clr-light);
  background: var(--clr-primary);
}

.ba_cap_col:hover::after {
  color: var(--clr-light);
  transform: translateX(8px);
}

.ba_cap_title {
  display: block;
  margin-bottom: 8px;
  font-family: var(--fnt-bold);
  font-size: 24px;
  line-height: 1.05;
}

.ba_cap_learn_desc {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.s__tech {
  margin-right: 30px;
  margin-left: 30px;
  padding: 86px 0 0;
  color: var(--clr-light);
  background: var(--clr-primary);
  border-top-right-radius: 200px;
  border-top-left-radius: 200px;
}

.s__tech h2,
.s__tech h3,
.s__tech h4,
.s__tech h5,
.s__tech h6,
.s__tech p,
.s__tech a {
  color: var(--clr-light);
}

.tech-visual {
  width: min(960px, 82%);
  min-height: 470px;
  margin: 70px auto 0;
  background-image: linear-gradient(rgba(0, 32, 68, 0.08), rgba(0, 32, 68, 0.16)), var(--panel-image);
  background-position: center;
  background-size: cover;
  border-top-right-radius: 140px;
  border-top-left-radius: 140px;
}

.r__quality_circle {
  max-width: 1130px;
  margin: -90px auto 0;
  padding: 28px 34px 34px;
  background: rgba(128, 145, 162, 0.26);
}

.quality-grid {
  display: grid;
  grid-template-columns: 130px repeat(5, minmax(115px, 1fr));
  gap: 12px;
  align-items: center;
}

.quality-label {
  color: var(--clr-light);
  font-family: var(--fnt-bold);
  font-size: 16px;
  line-height: 1.15;
}

.quality-pill {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--clr-light);
  text-align: center;
  background: #5c7189;
  border-radius: 999px;
}

.quality-pill strong {
  display: block;
  font-family: var(--fnt-bold);
  font-size: 17px;
  line-height: 1.1;
}

.quality-pill span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.1;
}

.image-band {
  width: min(1400px, calc(100% - 40px));
  min-height: 640px;
  margin: 110px auto;
  background-image: linear-gradient(rgba(0, 32, 68, 0.18), rgba(0, 32, 68, 0.18)), var(--band-image);
  background-position: center;
  background-size: cover;
}

.m__about_section_menu {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
}

.m__about_section_menu ul {
  display: flex;
  justify-content: center;
  width: min(630px, 100%);
  margin: 0;
  padding: 8px 18px;
  list-style: none;
  background: var(--clr-light);
  border: 1px solid rgba(112, 112, 112, 0.1);
  border-radius: 999px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.m__about_section_menu a {
  display: block;
  padding: 0 18px;
  color: var(--clr-text);
  font-family: var(--fnt-bold);
  font-size: 15px;
  text-decoration: none;
}

.m__about_section_menu a:hover,
.m__about_section_menu a.current {
  text-decoration: underline;
}

.m__inner_hero {
  min-height: 650px;
  margin: 0 5px;
  background-color: rgba(0, 32, 68, 0.58);
  background-image: linear-gradient(rgba(0, 32, 68, 0.44), rgba(0, 32, 68, 0.38)), var(--hero-image);
  background-position: center;
  background-size: cover;
  border-bottom-right-radius: 200px;
  border-bottom-left-radius: 200px;
}

.m__inner_hero .page-section-content {
  display: flex;
  min-height: 650px;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 140px;
  text-align: center;
}

.m__about_hero_text {
  width: min(970px, 100%);
}

.m__about_hero_text h1,
.m__capabilities_hero_text h1 {
  margin-bottom: 22px;
  color: var(--clr-light);
  font-size: 70px;
}

.m__about_hero_text p,
.m__capabilities_hero_text p {
  color: var(--clr-light);
  font-size: 24px;
  line-height: 1.45;
}

.content-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
  max-width: 1180px;
  margin: 120px auto;
  padding: 0 20px;
}

.content-row h2 {
  font-size: 44px;
}

.content-row ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.content-row li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 24px;
}

.content-row li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--clr-secondary);
  font-size: 28px;
  line-height: 1;
}

.detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
  max-width: 1220px;
  margin: 90px auto 120px;
  padding: 0 20px;
}

.detail-copy {
  font-size: 20px;
}

.detail-copy h2 {
  margin-bottom: 26px;
  font-size: 46px;
}

.detail-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.sidebox {
  margin-bottom: 24px;
  padding: 25px;
  color: var(--clr-light);
  background: var(--clr-primary);
}

.sidebox h3,
.sidebox p,
.sidebox a {
  color: var(--clr-light);
}

.sidebox h3 {
  font-size: 25px;
}

.side-links {
  display: grid;
  gap: 10px;
}

.side-links a {
  color: var(--clr-light);
}

.index-panel {
  margin: 0 30px 100px;
  padding: 88px 0 96px;
  background: var(--clr-soft);
  border-top-right-radius: 160px;
  border-top-left-radius: 160px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1180px;
  margin: 56px auto 0;
  border-top: 1px solid var(--clr-line);
  border-left: 1px solid var(--clr-line);
}

.index-card {
  position: relative;
  display: block;
  min-height: 196px;
  padding: 26px 60px 44px 22px;
  color: var(--clr-text);
  text-decoration: none;
  background: var(--clr-light);
  border-right: 1px solid var(--clr-line);
  border-bottom: 1px solid var(--clr-line);
}

.index-card::after {
  content: "↳";
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: #aeb8c3;
  font-size: 39px;
  transition: transform 0.18s ease, color 0.18s ease;
}

.index-card:hover {
  color: var(--clr-light);
  background: var(--clr-primary);
}

.index-card:hover h3,
.index-card:hover p {
  color: var(--clr-light);
}

.index-card:hover::after {
  color: var(--clr-light);
  transform: translateX(8px);
}

.index-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.index-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.28;
}

.contact-title {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px 270px;
  text-align: center;
}

.contact-title .breadcrumb {
  margin-bottom: 24px;
  font-family: var(--fnt-medium);
  font-size: 18px;
}

.contact-title h1 {
  font-size: 44px;
}

.contact-inquiries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 120px;
  max-width: 1120px;
  margin: 0 auto 72px;
  padding: 0 30px;
}

.contact-inquiries h3 {
  margin-bottom: 14px;
}

.contact-inquiries p {
  font-size: 20px;
  line-height: 1.35;
}

.contact-form-section {
  padding: 72px 30px 108px;
  background: var(--clr-soft);
}

.contact-form-section--top {
  margin-top: -88px;
  margin-bottom: 72px;
  padding-top: 64px;
  position: relative;
  z-index: 2;
}

.contact-form-inner {
  max-width: 1340px;
  margin: 0 auto;
}

.contact-form-intro {
  width: min(840px, 100%);
  margin-bottom: 38px;
}

.roof-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.roof-form label {
  display: block;
}

.roof-form input,
.roof-form textarea,
.roof-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #9ea8b4;
  border-radius: 0;
  background: var(--clr-light);
  color: var(--clr-text);
  font: 17px var(--fnt-regular);
}

.roof-form input,
.roof-form select {
  padding: 8px 10px;
}

.roof-form textarea {
  min-height: 225px;
  padding: 12px;
}

.roof-form .full {
  grid-column: 1 / -1;
}

.roof-form button {
  justify-self: start;
  min-width: 138px;
  padding: 15px 22px;
  border: 0;
  background: var(--clr-secondary);
  color: var(--clr-light);
  font: 24px var(--fnt-medium);
  cursor: pointer;
  transition: background 0.18s ease;
}

.roof-form button:hover {
  background: var(--clr-primary);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 78px 80px;
  max-width: 1220px;
  margin: 82px auto 96px;
  padding: 0 30px;
}

.office-grid h2 {
  font-size: 36px;
}

.office-grid h4 {
  margin-bottom: 4px;
  font-size: 20px;
}

.office-grid p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.35;
}

#mk-footer {
  position: relative;
  z-index: 10;
  padding-top: 20px;
  color: var(--clr-light);
  background: var(--clr-primary);
  border-top: 2px solid var(--clr-light);
}

#mk-footer a,
#mk-footer h3,
#mk-footer p {
  color: var(--clr-light);
}

.footer-widgets {
  display: flex;
  align-items: flex-start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 52px 20px 62px;
}

.footer-col {
  width: 16.666%;
  padding-right: 28px;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.footer-cta {
  padding: 26px 24px;
  background: rgba(0, 18, 29, 0.36);
}

.footer-cta h3 {
  margin-bottom: 16px;
  font-size: 28px;
  text-transform: none;
}

.footer-cta .arrow {
  margin-top: 22px;
  font-size: 42px;
  line-height: 1;
}

.sub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.sub-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px 20px;
}

.sub-footer .site-logo {
  color: var(--clr-light);
}

.footer-note {
  width: min(680px, 58%);
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.footer-fineprint {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 26px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.35;
}

.utility-link {
  font-size: 13px;
}

@media (max-width: 1140px) {
  .mk-main-navigation,
  .mk-header-phone {
    display: none;
  }

  .mk-css-icon-menu {
    display: block;
  }

  .home .mk-header-holder {
    position: relative;
    background: var(--clr-light);
  }

  .home .mk-header-bg {
    opacity: 1;
  }

  .home .site-logo,
  .home .mk-css-icon-menu {
    color: var(--clr-text);
  }

  .home .header-spacer {
    height: 0;
  }
}

@media (max-width: 991px) {
  body {
    font-size: 17px;
    line-height: 1.55;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 38px;
  }

  .m_home_hero,
  .m__inner_hero {
    margin: 0 20px;
    border-bottom-right-radius: 120px;
    border-bottom-left-radius: 120px;
  }

  .m_home_hero,
  .m_home_hero .page-section-content {
    min-height: 500px;
  }

  .m_home_hero .page-section-content {
    padding: 82px 20px 88px;
  }

  .m__home_hero_text_1 h1 {
    font-size: 58px;
  }

  .m__home_hero_text_2 p {
    font-size: 22px;
  }

  .hero-brand {
    display: none;
  }

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

  .s__tech,
  .index-panel {
    margin-right: 20px;
    margin-left: 20px;
    border-top-right-radius: 110px;
    border-top-left-radius: 110px;
  }

  .tech-visual {
    min-height: 300px;
  }

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

  .quality-label {
    color: var(--clr-light);
  }

  .content-row,
  .detail-wrap,
  .contact-inquiries,
  .office-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .detail-sidebar {
    position: static;
  }

  .footer-widgets {
    flex-wrap: wrap;
  }

  .footer-col {
    width: 33.333%;
    margin-bottom: 28px;
  }
}

@media (max-width: 767px) {
  .mk-header-holder,
  .mk-header-bg,
  .mk-header-inner {
    height: 90px;
  }

  .secondary-bar div {
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
  }

  .site-logo {
    width: auto;
  }

  .site-mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .site-wordmark {
    font-size: 16px;
  }

  .m_home_hero,
  .m__inner_hero {
    border-bottom-right-radius: 70px;
    border-bottom-left-radius: 70px;
  }

  .m__inner_hero,
  .m__inner_hero .page-section-content {
    min-height: 490px;
  }

  .m__about_hero_text h1,
  .m__capabilities_hero_text h1 {
    font-size: 42px;
  }

  .m__about_hero_text p,
  .m__capabilities_hero_text p {
    font-size: 20px;
  }

  .m__home_hero_text_1 h1 {
    font-size: 46px;
  }

  .m__home_hero_text_2 p {
    font-size: 19px;
  }

  .g__padding {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .ba_cap_row,
  .index-grid {
    grid-template-columns: 1fr;
  }

  .ba_cap_col,
  .index-card {
    min-height: 160px;
  }

  .s__tech,
  .index-panel {
    border-top-right-radius: 70px;
    border-top-left-radius: 70px;
  }

  .r__quality_circle {
    margin-top: 0;
    padding: 24px;
  }

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

  .image-band {
    min-height: 310px;
    margin: 70px auto;
  }

  .m__about_section_menu ul {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .m__about_section_menu a {
    padding: 0 12px;
    white-space: nowrap;
  }

  .contact-title {
    padding-bottom: 150px;
  }

  .contact-title h1 {
    font-size: 34px;
  }

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

  .footer-col {
    width: 100%;
  }

  .sub-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .footer-note {
    width: 100%;
  }
}

/* ============================================================
   Mobile optimization (<=768px): readability, tap targets,
   single-column stacking, fluid hero type, tightened padding.
   ============================================================ */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Fluid hero / heading scaling so nothing overflows narrow screens. */
  h1 {
    font-size: clamp(30px, 9vw, 54px);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.12;
  }

  .m__home_hero_text_1 h1,
  .m__about_hero_text h1,
  .m__capabilities_hero_text h1 {
    font-size: clamp(30px, 9vw, 48px);
  }

  .m__home_hero_text_2 p,
  .m__about_hero_text p,
  .m__capabilities_hero_text p {
    font-size: clamp(16px, 4.4vw, 20px);
  }

  .contact-title h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  /* Body / lede copy stays legible. */
  p,
  .content-row li,
  .detail-copy,
  .contact-inquiries p,
  .office-grid p,
  .index-card p {
    font-size: 16px;
  }

  /* Collapse every multi-column layout to a single column. */
  .ba_cap_row,
  .index-grid,
  .quality-grid,
  .content-row,
  .detail-wrap,
  .contact-inquiries,
  .office-grid,
  .roof-form {
    grid-template-columns: 1fr;
  }

  .footer-widgets {
    flex-wrap: wrap;
  }

  .footer-col {
    width: 100%;
    padding-right: 0;
  }

  /* Tighten outsized section padding so content isn't jammed or scrolling endlessly. */
  .g__padding {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-form-section {
    padding: 48px 18px 64px;
  }

  .contact-inquiries,
  .office-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mk-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Tap targets: nav links, buttons, form controls >=44px and easy to hit. */
  .mk-main-navigation .menu-item-link,
  .mk-responsive-nav a,
  .footer-col a,
  .side-links a,
  a.utility-link {
    min-height: 44px;
    display: block;
    line-height: 1.4;
  }

  .roof-form input,
  .roof-form select,
  .roof-form textarea {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom-on-focus */
  }

  .roof-form button,
  .g__btn_plain a,
  .g__btn_plain_primary a,
  .footer-cta a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .roof-form button {
    width: 100%;
    justify-content: center;
  }
}

/* brand-logo-img */
.site-logo{display:flex;align-items:center}
.brand-logo{height:54px;width:auto;display:block;max-width:320px}
.sub-footer .brand-logo{height:50px}
.brand-logo--light{display:none}
.inner .brand-logo--dark{display:none}
.inner .brand-logo--light{display:block}
.home .brand-logo--dark{display:block}
.home .brand-logo--light{display:none}
@media (max-width:1140px){.home .brand-logo--dark{display:none}.home .brand-logo--light{display:block}}
