:root {
  --ink: #13151a;
  --muted: #5d6472;
  --line: #dfe4ea;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --brand: #083c8c;
  --brand-2: #0b8f5a;
  --accent: #f4c542;
  --shadow: 0 18px 44px rgba(19, 21, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 228, 234, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #f1f5fb;
  box-shadow: inset 0 0 0 1px rgba(8, 60, 140, 0.12);
}

.brand img {
  position: relative;
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(8, 60, 140, 0.28));
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 1.02rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #242936;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--soft);
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 360px;
  display: grid;
  align-items: center;
  padding: clamp(24px, 3vw, 34px) clamp(18px, 4vw, 56px);
  color: white;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.06) 100%),
    url("../img/hero-desktop.png") center / cover no-repeat;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.28rem, 1.85vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--brand);
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.small {
  min-height: 38px;
  padding: 8px 14px;
  color: white;
  background: var(--brand);
}

.section {
  padding: clamp(22px, 3vw, 32px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}

.split > p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.services {
  background: var(--soft);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

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

.service-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(19, 21, 26, 0.07);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div {
  padding: 20px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 1.12fr);
  gap: 28px;
  align-items: start;
}

.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: clamp(24px, 4vw, 38px);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-list a {
  padding: 12px 0;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #343a46;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd3dd;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: white;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(8, 60, 140, 0.16);
  border-color: var(--brand);
}

textarea {
  resize: vertical;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.35;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.map {
  width: 100%;
  margin-top: clamp(46px, 7vw, 76px);
  background: var(--soft);
}

.map iframe {
  display: block;
  width: 100%;
  height: min(58vh, 480px);
  min-height: 330px;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 56px);
  color: white;
  background: #151922;
}

.site-footer p {
  margin: 4px 0 0;
  color: #c9d0dc;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer > p {
  text-align: right;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  width: min(420px, calc(100vw - 36px));
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    width: 100%;
  }

  .hero {
    min-height: 380px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 100%),
      url("../img/hero-desktop.png") center / cover no-repeat;
  }

  .split,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .site-footer,
  .site-footer > p {
    text-align: left;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 370px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
  }
}
