:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #000000;
  --muted: #003b6f;
  --accent: #003b6f;
  --accent-strong: #003b6f;
  --line: rgba(0, 0, 0, 0.18);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  animation: float-in 650ms ease both;
}

.hero-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.hero-card li {
  margin: 0.4rem 0;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(0, 59, 111, 0.05);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-box,
.legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}

.notice {
  border-left: 4px solid var(--accent);
  background: rgba(0, 59, 111, 0.07);
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: #003b6f;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-small {
  margin-top: 0;
  padding: 0.45rem 0.8rem;
}

a {
  color: var(--accent-strong);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.footer-wrap nav {
  display: flex;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(420px, calc(100% - 2rem));
  background: #000000;
  color: #ffffff;
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: var(--shadow);
  z-index: 40;
}

.cookie-banner p {
  margin-top: 0;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .main-nav.always-open {
    position: static;
    display: flex;
    border: none;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    background: transparent;
    left: auto;
    right: auto;
    top: auto;
  }

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

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 0.9rem 0;
  }
}
