:root {
  --ink: #13202b;
  --muted: #617080;
  --line: #d8e0e7;
  --paper: #f5f8f9;
  --brand: #08777b;
  --brand-dark: #045158;
  --accent: #d9f066;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup small {
  color: var(--muted);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  font-weight: 800;
  color: #334155;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav .nav-app {
  background: var(--brand);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 74px);
  position: relative;
  display: flex;
  align-items: end;
  padding: 80px 32px 76px;
  background:
    linear-gradient(rgba(5, 20, 28, 0.18), rgba(5, 20, 28, 0.72)),
    url("/static/assets/frakter-tgm-hero.png") center/cover;
}

.hero-content {
  position: relative;
  width: min(920px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--brand);
}

.hero .eyebrow { color: var(--accent); }

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

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.primary-link {
  background: var(--accent);
  color: #111827;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.section-block,
.split-section,
.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-headline {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.service-grid article,
.metric-grid article,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.service-grid span {
  display: block;
  margin-bottom: 32px;
  font-weight: 900;
  color: var(--brand);
}

.service-grid p,
.split-section p,
.contact-section p,
.metric-grid span,
.contact-card p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-card a {
  color: var(--brand-dark);
  font-weight: 800;
}

.map-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.metric-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 32px;
  color: var(--brand-dark);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .hero {
    min-height: 86vh;
    padding: 70px 20px 54px;
  }

  .service-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}
