:root {
  --blue: #0d182a;
  --gold: #c6922e;
  --light: #f4f4f4;
  --dark: #333333;
  --white: #ffffff;
  --line: rgba(13, 24, 42, 0.14);
  --shadow: 0 24px 70px rgba(13, 24, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 2px solid var(--gold);
  background: var(--white);
}

.roof {
  position: absolute;
  top: 7px;
  width: 25px;
  height: 25px;
  border-top: 4px solid var(--gold);
  border-left: 4px solid var(--gold);
  transform: rotate(45deg);
}

.m-shape {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  color: var(--blue);
  line-height: 1.05;
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.nav-menu a {
  padding: 10px 0;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-login {
  padding: 10px 14px !important;
  color: var(--white) !important;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  place-items: center;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--blue);
}

.section {
  scroll-margin-top: 90px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  padding: 110px 0 34px;
  overflow: hidden;
  background: var(--blue);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 24, 42, 0.93), rgba(13, 24, 42, 0.72), rgba(13, 24, 42, 0.36)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--white);
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-slogan {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
}

.hero-copy {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-actions,
.hero-panel,
.cta-band,
.footer-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--gold);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.seekers .btn-secondary {
  color: var(--blue);
  border-color: var(--gold);
  background: var(--white);
}

.hero-panel {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero-panel div {
  flex: 1 1 250px;
  padding: 8px 16px;
  border-left: 3px solid var(--gold);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--blue);
  font-size: 17px;
}

.hero-panel span {
  color: #616161;
  font-size: 14px;
}

.about,
.seekers,
.portal {
  padding: 96px 0;
  background: var(--white);
}

.services,
.commercial {
  padding: 96px 0;
  background: var(--light);
}

.two-column,
.split-feature,
.contact-layout,
.portal-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

p {
  margin: 0;
}

.text-stack {
  display: grid;
  gap: 20px;
  font-size: 18px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head p:last-child {
  margin-top: 18px;
  font-size: 18px;
}

.service-grid,
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.asset-item,
.login-box,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(13, 24, 42, 0.08);
}

.service-card {
  min-height: 220px;
  padding: 26px;
}

.service-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 800;
}

.service-card p,
.asset-item p {
  margin-top: 14px;
}

.cta-band {
  justify-content: space-between;
  margin-top: 24px;
  padding: 30px;
  color: var(--white);
  background: var(--blue);
}

.cta-band h3 {
  color: var(--white);
}

.cta-band p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.feature-copy p:not(.eyebrow) {
  margin: 22px 0 28px;
  font-size: 18px;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  padding: 24px;
  color: var(--white);
  background: var(--blue);
  border-left: 5px solid var(--gold);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  font-size: 20px;
}

.process-list span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.asset-grid {
  grid-template-columns: repeat(3, 1fr);
}

.asset-item {
  min-height: 180px;
  padding: 28px;
}

.portal {
  color: var(--white);
  background: var(--blue);
}

.portal h2,
.portal h3 {
  color: var(--white);
}

.portal p:not(.eyebrow) {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.login-box {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.login-box label,
.contact-form label {
  font-weight: 700;
}

.login-box input,
.login-box select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--dark);
}

.form-note,
.form-status {
  font-size: 13px !important;
}

.contact {
  padding: 96px 0;
  background: var(--white);
}

.contact-copy p:not(.eyebrow) {
  margin-top: 20px;
  font-size: 18px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-status {
  min-height: 20px;
  color: var(--blue);
  font-weight: 700;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--blue);
}

.footer-inner {
  justify-content: space-between;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-login {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0 !important;
  }

  .two-column,
  .split-feature,
  .contact-layout,
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .navbar {
    height: 72px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .nav-menu {
    top: 72px;
  }

  .hero {
    min-height: auto;
    padding: 86px 0 24px;
  }

  .hero-content {
    padding-bottom: 36px;
  }

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

  .about,
  .services,
  .seekers,
  .commercial,
  .portal,
  .contact {
    padding: 68px 0;
  }

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

  .service-card,
  .asset-item,
  .login-box,
  .contact-form,
  .cta-band {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.role-card {
  min-height: 108px;
  padding: 18px;
  text-align: left;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.role-card.is-active,
.role-card:hover {
  border-color: var(--gold);
  background: rgba(198, 146, 46, 0.2);
}

.role-card strong,
.role-card span,
.demo-credentials strong,
.demo-credentials span {
  display: block;
}

.role-card strong { font-size: 17px; }
.role-card span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

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

.login-head p {
  margin-top: 6px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
}

.portal-badge {
  min-width: max-content;
  padding: 6px 10px;
  color: var(--blue);
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.login-status {
  min-height: 20px;
  margin: 0 !important;
  color: var(--gold) !important;
  font-size: 13px !important;
  font-weight: 800;
}

.demo-credentials {
  display: grid;
  gap: 3px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.demo-credentials strong { color: var(--white); }

.portal-preview {
  margin-top: 28px;
  padding: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.portal-topline,
.portal-metrics,
.table-row {
  display: grid;
  gap: 14px;
}

.portal-topline {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.portal-topline span { color: rgba(255, 255, 255, 0.76); }
.portal-topline b { color: var(--gold); }

.portal-metrics {
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0;
}

.portal-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--gold);
}

.portal-metrics strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.portal-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.portal-table {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.table-row {
  grid-template-columns: 1fr 0.8fr 1.2fr;
  min-width: 680px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.table-row:last-child { border-bottom: 0; }
.table-head {
  color: var(--gold);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .role-grid,
  .portal-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .role-grid,
  .portal-metrics,
  .portal-topline { grid-template-columns: 1fr; }
}

.portal-teaser {
  padding: 76px 0;
  color: var(--white);
  background: var(--blue);
}

.portal-teaser-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.portal-teaser h2 { color: var(--white); }
.portal-teaser p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.portal-page,
.dashboard-page {
  min-height: 100vh;
  background: var(--blue);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 24, 42, 0.94), rgba(13, 24, 42, 0.72)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=82") center/cover;
}

.auth-brand .brand-text strong { color: var(--white); }
.auth-brand h1 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.auth-brand p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}

.auth-panel {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 70px);
  background: var(--light);
}

.auth-form {
  display: grid;
  gap: 14px;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-form h2 {
  font-size: 34px;
}

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

.auth-form input {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.auth-links {
  width: min(100%, 480px);
  margin: 18px auto 0;
  color: var(--blue);
  font-weight: 800;
}

.dashboard-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  color: var(--dark);
  background: var(--light);
}

.dash-sidebar {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px;
  background: var(--blue);
}

.dash-sidebar .brand-text strong { color: var(--white); }
.dash-nav {
  display: grid;
  gap: 8px;
}

.dash-nav a,
.dash-logout {
  padding: 12px 14px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.12);
}

.dash-nav a.is-active,
.dash-nav a:hover,
.dash-logout:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(198,146,46,.18);
}

.dash-logout { margin-top: auto; }
.dash-main { padding: clamp(22px, 4vw, 48px); }
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.dash-header h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.dash-user {
  padding: 10px 14px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.dash-metrics div,
.dash-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(13,24,42,.08);
}

.dash-metrics div { padding: 22px; }
.dash-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.dash-metrics span {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 13px;
  font-weight: 700;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}

.dash-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.dash-card h2 {
  font-size: 24px;
}

.btn-quiet {
  color: var(--blue);
  border-color: var(--line);
  background: var(--white);
}

.dashboard-table {
  color: var(--dark);
  border-color: var(--line);
}

.dashboard-table .table-row {
  border-bottom-color: var(--line);
}

.dashboard-table .table-head {
  background: var(--light);
}

@media (max-width: 980px) {
  .portal-teaser-inner,
  .auth-shell,
  .dashboard-page,
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash-sidebar { min-height: auto; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .portal-teaser-inner,
  .dash-header,
  .dash-metrics { grid-template-columns: 1fr; }
  .dash-header { align-items: flex-start; flex-direction: column; }
  .auth-form { padding: 22px; }
}

.dash-nav button {
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.dash-nav button.is-active,
.dash-nav button:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(198,146,46,.18);
}

.dash-view { display: none; }
.dash-view.is-visible { display: block; }

.management-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  align-items: start;
}

.manage-form {
  grid-template-columns: repeat(2, 1fr);
}

.manage-form h2,
.manage-form .full,
.manage-form button {
  grid-column: 1 / -1;
}

.manage-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.manage-form input,
.manage-form select,
.manage-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--dark);
}

.manage-form textarea { resize: vertical; }
.manage-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.manage-form .check input {
  width: 18px;
  min-height: 18px;
}

.list-card { overflow: hidden; }
.object-row { grid-template-columns: 1.2fr .65fr .9fr 1.1fr 155px; }
.staff-row,
.customer-row,
.app-row,
.visit-row { grid-template-columns: 1fr 1fr .75fr .85fr 155px; }

.row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.row-actions button {
  min-height: 32px;
  padding: 6px 9px;
  color: var(--blue);
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.row-actions button:hover {
  border-color: var(--gold);
}

.table-empty {
  min-width: 680px;
  padding: 18px;
  color: #666;
}

.dash-status {
  position: fixed;
  right: 24px;
  bottom: 24px;
  min-width: 220px;
  min-height: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  font-weight: 800;
}

.dash-status:not(:empty) {
  padding: 14px 18px;
  background: var(--blue);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

#objectRows,
#overviewRows,
#employeeRows,
#customerRows,
#applicationRows,
#visitRows {
  display: contents;
}

@media (max-width: 1160px) {
  .management-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .manage-form { grid-template-columns: 1fr; }
  .object-row,
  .staff-row,
  .customer-row,
  .app-row,
  .visit-row { grid-template-columns: 1fr 1fr 1fr 1fr 140px; }
}

.applicant-area { padding: 96px 0; background: var(--light); }
.applicant-grid,
.applicant-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.applicant-card { display: grid; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(13,24,42,.08); }
.applicant-card label { display: grid; gap: 7px; color: var(--blue); font-weight: 800; font-size: 13px; }
.applicant-card input,.applicant-card select,.applicant-card textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); }
.applicant-workspace { display: grid; gap: 18px; margin-top: 24px; }
.public-list { display: grid; gap: 10px; }
.public-object { display: grid; gap: 4px; padding: 14px; border-left: 3px solid var(--gold); background: var(--light); }
.public-object span { color: #666; font-size: 13px; }
.applicant-status { min-height: 22px; margin-top: 16px; color: var(--blue); font-weight: 800; }
.applicant-row { grid-template-columns: 1fr 1fr .8fr .8fr .8fr; }
@media (max-width: 860px) { .applicant-grid, .applicant-columns { grid-template-columns: 1fr; } }

/* MIS NEUE DIHEI brand refresh based on supplied design board */
:root {
  --blue: #0d182a;
  --gold: #c6922e;
  --light: #f4f4f4;
  --paper: #e5e5e5;
  --dark: #333333;
  --white: #ffffff;
  --line: rgba(13, 24, 42, 0.12);
  --shadow: 0 20px 55px rgba(13, 24, 42, 0.14);
}

body {
  font-family: Montserrat, Arial, sans-serif;
  background: var(--paper);
  color: #111923;
}

h1,
h2,
.hero h1,
.auth-brand h1,
.dash-header h1,
.brand-text strong {
  font-family: "Bebas Neue", Montserrat, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

h2 {
  text-transform: uppercase;
  max-width: 980px;
}

h3,
.nav-menu,
.btn,
.eyebrow,
.dash-nav button,
.dash-nav a,
label {
  font-family: Montserrat, Arial, sans-serif;
}

.site-header {
  background: rgba(244, 244, 244, 0.96);
  border-bottom: 1px solid rgba(13, 24, 42, 0.1);
}

.navbar {
  height: 88px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 13px;
  width: 28px;
  height: 28px;
  border-top: 5px solid var(--gold);
  border-left: 5px solid var(--gold);
  transform: rotate(45deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 23px;
  width: 4px;
  height: 4px;
  background: var(--gold);
  box-shadow: 7px 0 0 var(--gold), 0 7px 0 var(--gold), 7px 7px 0 var(--gold);
}

.brand-mark .roof {
  display: none;
}

.brand-mark .m-shape {
  position: absolute;
  bottom: 2px;
  left: 5px;
  width: 44px;
  height: 26px;
  overflow: hidden;
  color: transparent;
  margin: 0;
}

.brand-mark .m-shape::before,
.brand-mark .m-shape::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-bottom: 6px solid var(--blue);
}

.brand-mark .m-shape::before {
  left: 0;
  border-left: 6px solid var(--blue);
  transform: skewY(38deg);
}

.brand-mark .m-shape::after {
  right: 0;
  border-right: 6px solid var(--blue);
  transform: skewY(-38deg);
}

.brand-text strong {
  color: var(--blue);
  font-size: 28px;
  line-height: 0.9;
}

.brand-text small {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.nav-menu {
  gap: 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.nav-login,
.btn-primary {
  color: var(--white) !important;
  background: var(--blue) !important;
  border-bottom: 3px solid var(--gold) !important;
}

.btn-secondary,
.btn-quiet {
  color: var(--blue) !important;
  background: var(--white) !important;
  border: 1px solid rgba(13, 24, 42, 0.18) !important;
  border-bottom: 3px solid var(--gold) !important;
}

.hero {
  background: var(--paper);
  min-height: calc(100vh - 88px);
  padding-top: 96px;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(13, 24, 42, 0.96) 0%, rgba(13, 24, 42, 0.88) 42%, rgba(13, 24, 42, 0.2) 100%),
    url("https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero h1 {
  font-size: clamp(76px, 12vw, 150px);
  text-transform: uppercase;
}

.hero-slogan {
  color: var(--white);
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  font-weight: 500;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-family: Montserrat, Arial, sans-serif;
}

.hero-panel,
.service-card,
.asset-item,
.login-box,
.contact-form,
.applicant-card,
.dash-card,
.dash-metrics div,
.auth-form {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
}

.hero-panel {
  border-top: 4px solid var(--gold);
}

.section,
.about,
.seekers,
.portal,
.contact,
.services,
.commercial,
.applicant-area {
  background: var(--paper);
}

.services,
.commercial,
.applicant-area {
  border-top: 1px solid rgba(13, 24, 42, 0.08);
  border-bottom: 1px solid rgba(13, 24, 42, 0.08);
}

.service-card span {
  color: var(--gold);
  font-family: "Bebas Neue", Montserrat, Arial, sans-serif;
  font-size: 34px;
}

.process-list div,
.cta-band,
.portal-teaser,
.footer,
.dash-sidebar,
.portal-page,
.dashboard-page .dash-sidebar {
  background: var(--blue);
}

.process-list div,
.cta-band,
.portal-teaser-inner,
.footer-inner {
  border-top: 3px solid var(--gold);
}

.asset-item,
.service-card,
.applicant-card,
.contact-form,
.auth-form,
.dash-card {
  box-shadow: 0 14px 34px rgba(13, 24, 42, 0.08);
}

.portal-teaser {
  border-top: 0;
}

.auth-brand {
  background:
    linear-gradient(90deg, rgba(13, 24, 42, 0.95), rgba(13, 24, 42, 0.76)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1600&q=82") center/cover;
}

.auth-form,
.auth-panel,
.dashboard-page,
.dash-main {
  background: var(--paper);
}

.dash-sidebar {
  border-right: 4px solid var(--gold);
}

.dash-nav button,
.dash-nav a,
.dash-logout {
  border-radius: 0;
}

.table-head {
  color: var(--blue);
  background: #eeeeee;
  border-bottom: 2px solid var(--gold);
}

.portal-table {
  border-radius: 0;
}

.contact-details a,
.footer a,
.eyebrow {
  color: var(--gold);
}

input,
select,
textarea,
.auth-form input,
.manage-form input,
.manage-form select,
.manage-form textarea,
.applicant-card input,
.applicant-card select,
.applicant-card textarea {
  border-radius: 0;
  border: 1px solid rgba(13, 24, 42, 0.18);
  background: #fbfbfb;
}

@media (max-width: 680px) {
  .navbar { height: 78px; }
  .brand-text strong { font-size: 22px; }
  .hero h1 { font-size: 74px; }
}

.public-objects {
  padding: 96px 0;
  background: var(--paper);
  border-top: 1px solid rgba(13, 24, 42, 0.08);
}

.object-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.object-card-public {
  display: grid;
  gap: 20px;
  align-content: space-between;
  min-height: 310px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(13, 24, 42, 0.08);
}

.object-card-public span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.object-card-public h3 {
  margin-top: 8px;
  font-family: "Bebas Neue", Montserrat, Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  text-transform: uppercase;
}

.object-card-public p {
  margin-top: 8px;
  color: #666;
}

.object-card-public dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.object-card-public dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.object-card-public dt {
  color: #666;
  font-size: 13px;
  font-weight: 700;
}

.object-card-public dd {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 980px) {
  .object-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .object-showcase { grid-template-columns: 1fr; }
}

/* Exact logo lockup refresh from latest reference */
.brand {
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 70px;
  height: 62px;
  flex: 0 0 70px;
  border: 0 !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 70'%3E%3Cpolyline points='10,28 40,6 70,28' fill='none' stroke='%23C6922E' stroke-width='7' stroke-linecap='square' stroke-linejoin='miter'/%3E%3Crect x='34' y='31' width='5' height='5' fill='%23C6922E'/%3E%3Crect x='43' y='31' width='5' height='5' fill='%23C6922E'/%3E%3Crect x='34' y='40' width='5' height='5' fill='%23C6922E'/%3E%3Crect x='43' y='40' width='5' height='5' fill='%23C6922E'/%3E%3Cpath d='M14 34 V53 L31 64' fill='none' stroke='%230D182A' stroke-width='7' stroke-linecap='square' stroke-linejoin='miter'/%3E%3Cpath d='M66 34 V53 L49 64' fill='none' stroke='%230D182A' stroke-width='7' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark .roof,
.brand-mark .m-shape,
.brand-mark .m-shape::before,
.brand-mark .m-shape::after {
  display: none !important;
  content: none !important;
}

.brand-text {
  line-height: 0.94;
  align-items: start;
}

.brand-text strong {
  font-family: "Bebas Neue", Montserrat, Arial, sans-serif;
  color: var(--blue);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-text small {
  color: var(--gold);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  width: 100%;
}

.footer-brand .brand-text strong,
.auth-brand .brand-text strong,
.dash-sidebar .brand-text strong {
  color: var(--white);
}

@media (max-width: 680px) {
  .brand-mark {
    width: 56px;
    height: 50px;
    flex-basis: 56px;
  }

  .brand-text strong {
    font-size: 27px;
  }

  .brand-text small {
    font-size: 13px;
  }
}

/* Logo correction: bottom symbol is a clear connected M */
.brand-mark {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 70'%3E%3Cpolyline points='10,27 40,6 70,27' fill='none' stroke='%23C6922E' stroke-width='7' stroke-linecap='square' stroke-linejoin='miter'/%3E%3Crect x='34' y='30' width='5' height='5' fill='%23C6922E'/%3E%3Crect x='43' y='30' width='5' height='5' fill='%23C6922E'/%3E%3Crect x='34' y='39' width='5' height='5' fill='%23C6922E'/%3E%3Crect x='43' y='39' width='5' height='5' fill='%23C6922E'/%3E%3Cpath d='M14 62 V38 L32 54 L40 46 L48 54 L66 38 V62' fill='none' stroke='%230D182A' stroke-width='7' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* Final logo correction: reference-accurate roof, window and true M stroke */
.brand-mark {
  width: 82px !important;
  height: 72px !important;
  flex: 0 0 82px !important;
  border: 0 !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 78'%3E%3Cpolyline points='14,29 45,8 76,29' fill='none' stroke='%23C6922E' stroke-width='7' stroke-linecap='square' stroke-linejoin='miter'/%3E%3Crect x='39' y='34' width='6' height='6' fill='%23C6922E'/%3E%3Crect x='49' y='34' width='6' height='6' fill='%23C6922E'/%3E%3Crect x='39' y='44' width='6' height='6' fill='%23C6922E'/%3E%3Crect x='49' y='44' width='6' height='6' fill='%23C6922E'/%3E%3Cpath d='M18 70 V39 L45 63 L72 39 V70' fill='none' stroke='%230D182A' stroke-width='8' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark .roof,
.brand-mark .m-shape,
.brand-mark .m-shape::before,
.brand-mark .m-shape::after {
  display: none !important;
  content: none !important;
}

.brand-text {
  gap: 3px;
  line-height: 0.9;
}

.brand-text strong {
  font-size: 38px !important;
  line-height: 0.9;
}

.brand-text small {
  font-size: 17px !important;
  line-height: 1;
  text-align: center;
}

.navbar .brand {
  gap: 14px;
}

@media (max-width: 680px) {
  .brand-mark {
    width: 64px !important;
    height: 56px !important;
    flex-basis: 64px !important;
  }

  .brand-text strong {
    font-size: 30px !important;
  }

  .brand-text small {
    font-size: 14px !important;
  }
}

.applicant-status:not(:empty) {
  padding: 14px 18px;
  color: var(--white);
  background: var(--blue);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.object-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue);
  border-bottom: 4px solid var(--gold);
}

.object-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.object-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: "Bebas Neue", Montserrat, Arial, sans-serif;
  font-size: 34px;
  background: linear-gradient(135deg, var(--blue), #16243a);
}

.object-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.object-card-actions .btn {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
}

.viewing-slot-row[hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  .object-card-actions { grid-template-columns: 1fr; }
}

/* Refined MIS NEUE DIHEI logo lockup */
.brand {
  gap: 12px !important;
  align-items: center !important;
}

.brand-mark {
  width: 86px !important;
  height: 74px !important;
  flex: 0 0 86px !important;
  border: 0 !important;
  background: transparent url("assets/logo-mark.svg?v=20260829-refined-logo") center / contain no-repeat !important;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark .roof,
.brand-mark .m-shape,
.brand-mark .m-shape::before,
.brand-mark .m-shape::after {
  display: none !important;
  content: none !important;
}

.brand-text {
  gap: 6px !important;
  line-height: 0.86 !important;
  align-items: start !important;
}

.brand-text strong {
  color: var(--blue) !important;
  font-family: "Bebas Neue", Montserrat, Arial, sans-serif !important;
  font-size: 40px !important;
  font-weight: 400 !important;
  line-height: 0.86 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  transform: scaleX(0.88);
  transform-origin: left center;
}

.brand-text small {
  width: 100% !important;
  color: var(--gold) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.hero .brand-text strong,
.site-header .brand-text strong {
  text-shadow: none !important;
}

.footer-brand .brand-text strong,
.auth-brand .brand-text strong,
.dash-sidebar .brand-text strong {
  color: var(--white) !important;
}

@media (max-width: 680px) {
  .brand-mark {
    width: 64px !important;
    height: 56px !important;
    flex-basis: 64px !important;
  }

  .brand-text strong {
    font-size: 30px !important;
  }

  .brand-text small {
    font-size: 14px !important;
  }
}

/* Clean final logo symbol */
.brand-mark {
  width: 78px !important;
  height: 66px !important;
  flex: 0 0 78px !important;
  background: transparent url("assets/logo-mark.svg?v=20260829-clean-logo") center / contain no-repeat !important;
}

.brand-text strong {
  font-size: 38px !important;
  line-height: 0.9 !important;
  transform: scaleX(0.9);
  transform-origin: left center;
}

.brand-text small {
  margin-top: 2px;
  font-size: 16px !important;
}

@media (max-width: 680px) {
  .brand-mark {
    width: 60px !important;
    height: 52px !important;
    flex-basis: 60px !important;
  }

  .brand-text strong {
    font-size: 28px !important;
  }
}

/* Logo repair after visual QA: compact header, visible footer mark */
.site-header .brand-mark {
  width: 64px !important;
  height: 52px !important;
  flex: 0 0 64px !important;
  background: transparent url("assets/logo-mark.svg?v=20260829-logo-repair") center / contain no-repeat !important;
}

.site-header .brand-text strong {
  font-size: 32px !important;
  line-height: 0.9 !important;
  transform: scaleX(0.88) !important;
  max-width: 235px;
}

.site-header .brand-text small {
  font-size: 15px !important;
  margin-top: 1px !important;
}

.site-header .navbar {
  gap: 18px !important;
  overflow: hidden;
}

.site-header .nav-menu {
  min-width: 0;
  justify-content: flex-end;
  gap: 14px !important;
  font-size: 12px !important;
}

.footer .brand-mark,
.auth-brand .brand-mark,
.dash-sidebar .brand-mark {
  background-image: url("assets/logo-mark-light.svg?v=20260829-logo-repair") !important;
}

.footer-brand .brand-mark {
  width: 76px !important;
  height: 62px !important;
  flex-basis: 76px !important;
}

.footer-brand .brand-text strong {
  font-size: 36px !important;
}

.footer-brand .brand-text small {
  font-size: 16px !important;
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: block !important;
  }

  .nav-menu {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0 !important;
    padding: 14px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex !important;
  }
}

@media (max-width: 680px) {
  .site-header .brand-mark {
    width: 54px !important;
    height: 45px !important;
    flex-basis: 54px !important;
  }

  .site-header .brand-text strong {
    font-size: 25px !important;
    max-width: 190px;
  }

  .site-header .brand-text small {
    font-size: 12px !important;
  }

  .footer-brand .brand-mark {
    width: 62px !important;
    height: 52px !important;
    flex-basis: 62px !important;
  }
}

/* Final polish: cleaner icon spacing and compact lockup */
.site-header .navbar {
  width: min(1180px, calc(100% - 24px)) !important;
  height: 78px !important;
}

.site-header .brand {
  gap: 10px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.site-header .brand-mark {
  width: 58px !important;
  height: 50px !important;
  flex: 0 0 58px !important;
  background-image: url("assets/logo-mark.svg?v=20260829-final-polish") !important;
}

.site-header .brand-text {
  min-width: 0 !important;
  max-width: 260px !important;
}

.site-header .brand-text strong {
  font-size: clamp(24px, 4vw, 34px) !important;
  line-height: 0.88 !important;
  max-width: none !important;
  transform: scaleX(0.86) !important;
}

.site-header .brand-text small {
  font-size: clamp(12px, 1.8vw, 15px) !important;
  margin-top: 1px !important;
}

.footer {
  border-top: 3px solid var(--gold);
}

.footer .brand-mark,
.auth-brand .brand-mark,
.dash-sidebar .brand-mark {
  background-image: url("assets/logo-mark-light.svg?v=20260829-final-polish") !important;
}

.footer-brand {
  gap: 14px !important;
}

.footer-brand .brand-mark {
  width: 70px !important;
  height: 60px !important;
  flex-basis: 70px !important;
}

.footer-brand .brand-text strong {
  font-size: 34px !important;
  transform: scaleX(0.88) !important;
}

@media (max-width: 520px) {
  .site-header .navbar {
    width: min(100% - 18px, 1180px) !important;
    height: 70px !important;
  }

  .site-header .brand-mark {
    width: 48px !important;
    height: 42px !important;
    flex-basis: 48px !important;
  }

  .site-header .brand-text strong {
    font-size: 22px !important;
  }

  .site-header .brand-text small {
    font-size: 11px !important;
  }
}
