/* ===========================
   GENERAL
   =========================== */

/* Hero should not inherit the generic section padding */
.mk-hero { padding: 0 !important; }

/* Import custom fonts */
@font-face {
  font-family: 'SangBleuRepublic';
  src: url('../fonts/SangBleuRepublic-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Unica77LL';
  src: url('../fonts/Unica77LL-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Unica77LL';
  src: url('../fonts/Unica77LL-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* Base: dark theme */
body {
  margin: 0;
  padding: 0;
  background-color: #0b1c2a;
  color: #fff;
  font-family: 'Unica77LL', Arial, sans-serif;
  font-weight: normal;
  line-height: 1.6;
}

/* Bold text */
strong, b {
  font-family: 'Unica77LL', Arial, sans-serif;
  font-weight: bold;
  color: #fff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'SangBleuRepublic', Georgia, serif;
  font-weight: normal;
  color: #fff;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

/* Links */
a { color: #ffffff; text-decoration: underline; }
a:hover { color: #ccc; }

/* Sections */
section { padding: 40px 20px; }

/* Header height variable */
:root { --header-h: 80px; }

/* ===========================
   FOOTER
   =========================== */

.mk-footer, .mk-footer * { box-sizing: border-box; }

.mk-footer {
  background: #0b1c2a !important;
  color: #fff !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 32px;
  font-family: 'Unica77LL', Arial, sans-serif !important;
  line-height: 1.7;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
}

.mk-footer__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 64px);
}

.mk-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
  margin-bottom: 40px;
  align-items: start;
}

/* Office left, disclaimers center, resources right */
.mk-footer__grid > .mk-footer__section:nth-child(1) { text-align: left; }
.mk-footer__grid > .mk-footer__section:nth-child(2) { text-align: center; }
.mk-footer__grid > .mk-footer__section:nth-child(3) {
  text-align: right;
  justify-self: end;
  max-width: 100%;
}

@media (max-width: 900px) {
  .mk-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .mk-footer__grid > .mk-footer__section {
    text-align: center;
    justify-self: center;
  }
}

.mk-footer__heading {
  font-family: 'SangBleuRepublic', Georgia, serif !important;
  font-weight: normal;
  font-size: 1.2rem;
  letter-spacing: .02em;
  margin: 0 0 16px;
}

.mk-footer__disclaimer {
  color: #e6e6e6 !important;
  font-size: 0.95rem;
  margin: 0;
  text-align: center;
}

.mk-footer__address {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}
.mk-footer__address br { line-height: 2; }
.mk-footer__address a { color: #fff !important; font-weight: 700; text-decoration: underline; }

.mk-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: right;
}
.mk-footer__links li { margin: 8px 0; }
.mk-footer a { color: #fff !important; text-decoration: underline; }
.mk-footer a:hover { color: #cccccc !important; }

.mk-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #d6d6d6 !important;
}
@media (max-width: 700px) {
  .mk-footer__bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}
.mk-footer__bar-right a { text-decoration: underline !important; }

/* ===========================
   HEADER
   =========================== */

.mk-header, .mk-header * { box-sizing: border-box; }

.mk-header {
  background: #0b1c2a;
  color: #fff;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.4); /* thin line */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px clamp(20px, 6vw, 60px);
  padding-left: 12px;
}

.mk-header__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.mk-header__logo {
  display: block;
  width: 160px;
  height: auto;
  max-width: 40vw;
}

.mk-header__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'SangBleuRepublic', Georgia, serif;
  text-transform: uppercase;
  line-height: 1.1;
}
.mk-header__title-line {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.05em;
  font-weight: normal;
}

.mk-header__phone {
  font-family: 'Unica77LL', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border: 2px solid #fff;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mk-header__phone:hover {
  background: #fff;
  color: #0b1c2a;
}

@media (max-width: 700px) {
  .mk-header__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .mk-header__title { white-space: normal; }
}

/* ===========================
   HERO VIDEO
   =========================== */

:root {
  --hero-dim: 0.45;
  --hero-overlay: rgba(10, 20, 50, 0.55);
}

.mk-hero {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: #0b1c2a;
  color: #fff;
}
@supports not (height: 100svh) {
  .mk-hero { height: calc(100vh - var(--header-h)); }
}

.mk-hero__bg { position: absolute; inset: 0; z-index: 0; }

.mk-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(var(--hero-dim)) saturate(0.85);
}

.mk-hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-overlay);
  mix-blend-mode: multiply;
  z-index: 1; pointer-events: none;
}

.mk-hero__bottom-text {
  position: absolute;
  bottom: clamp(16px, 3vh, 36px);
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 600px);
  text-align: center;
  z-index: 2;
}

.mk-hero__bottom-text p {

  font-family: 'Unica77LL', Arial, sans-serif;
  font-size: clamp(24px, 2vw, 24px);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@media (prefers-reduced-motion: reduce) {
  .mk-hero__video { display: none; }
}

@media (max-width: 700px) {
  :root { --header-h: 68px; }
}

.mk-hero__bottom-text {
  bottom: clamp(80px, 15vh, 180px);
}