:root {
  color-scheme: light;
  --brand: #01497c;
  --brand-hover: #013a63;
  --brand-soft: #ebf0f5;
  --background: #ffffff;
  --surface: #ffffff;
  --surface-subtle: #f4f5f7;
  --surface-dark: #1d2d44;
  --text: #343a40;
  --text-secondary: #676b70;
  --text-on-dark: #ffffff;
  --text-muted-on-dark: #b9bfcc;
  --border: #dce0e7;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 6px 24px rgb(21 25 35 / 5%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; }

p { max-width: 65ch; color: var(--text-secondary); }
a { color: var(--brand); text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

section { padding-block: clamp(3rem, 7vw, 6rem); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 0.9375rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
}
.button-primary:hover { background: var(--brand-hover); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 160px; height: auto; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.primary-nav a:not(.button-secondary) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.primary-nav a:not(.button-secondary):hover { color: var(--brand); }

.lang-link { font-weight: 600; }

/* Alternating section background */
.alt-section { background: var(--surface-subtle); }

/* Hero */
.hero { padding-block: clamp(4rem, 9vw, 7rem); }
.hero .lead { font-size: 1.125rem; max-width: 60ch; }

.hero-centered .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-logo { width: min(260px, 70%); margin-bottom: 1.5rem; }

/* Services (centered squares, 3 + 2) */
h2 { text-align: center; }
.service-rows {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.service-item {
  flex: 0 0 auto;
  width: 240px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-subtle);
}
.service-item h3 { margin-bottom: 0.5rem; }
.service-item p { margin: 0; font-size: 0.9375rem; }

/* Contact */
.contact-section .container { text-align: center; }

/* Footer */
.site-footer {
  background: var(--surface-dark);
  color: var(--text-muted-on-dark);
}
.footer-inner {
  padding-block: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.02em;
}
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a, .footer-address a { color: var(--text-muted-on-dark); }
.footer-nav a:hover, .footer-address a:hover { color: var(--text-on-dark); }
.footer-address { font-style: normal; flex-basis: 100%; }
.footer-copy { flex-basis: 100%; margin: 0; font-size: 0.875rem; }

::selection { background: var(--brand); color: #fff; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
