:root {
  --bg: #f8f4eb;
  --surface: #fffdf9;
  --surface-2: #f0e7d7;
  --text: #1f2a30;
  --muted: #5f6b73;
  --primary: #00599e;
  --primary-dark: #003f70;
  --accent: #f8941d;
  --border: rgba(31, 42, 48, 0.12);
  --shadow: 0 18px 50px rgba(0, 36, 64, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 17px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(248, 148, 29, 0.16), transparent 28%),
    linear-gradient(180deg, #fffaf1 0%, var(--bg) 100%);
}

a { color: var(--primary); }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: .75rem 1rem;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--border);
}
.topbar, .nav-row, .footer-row, .hero-grid, .two-col, .contact-grid, .cards {
  display: grid;
  gap: 1.25rem;
}
.topbar {
  grid-template-columns: 1fr auto;
  font-size: .92rem;
  color: var(--muted);
  padding: .25rem 0;
}
.topbar p { margin: 0; }
.nav-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: .28rem 0;
}
.brand img {
  width: min(235px, 58vw);
  max-height: 76px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}
.site-nav a {
  text-decoration: none;
  font-weight: 700;
}
.mobile-nav {
  display: none;
  margin-left: auto;
  position: relative;
}
.mobile-nav summary {
  list-style: none;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav summary span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}
.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .75rem);
  min-width: min(84vw, 320px);
  display: grid;
  gap: .25rem;
  padding: .8rem;
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.mobile-nav-contacts {
  display: grid;
  gap: .2rem;
  padding: .45rem .2rem .8rem;
  margin-bottom: .35rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-contacts a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: .35rem .75rem;
}
.mobile-nav-panel a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  padding: .85rem .95rem;
  border-radius: 14px;
}
.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus {
  background: rgba(0, 89, 158, 0.08);
}

.hero, .section { padding: 5rem 0; }
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 29, 37, 0.82) 0%, rgba(17, 29, 37, 0.62) 45%, rgba(17, 29, 37, 0.38) 100%),
    url("./assets/img/home.jpg") center center / cover no-repeat;
}
.hero-grid {
  grid-template-columns: 1fr;
  align-items: start;
  position: relative;
  z-index: 1;
  gap: 2rem;
}
.hero-copy {
  color: #fff;
  padding: 2rem 0;
}
.hero-copy h1 {
  width: 100%;
  max-width: 100%;
}
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .82rem;
}
h1, h2, h3 {
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(3rem, 7vw, 5.8rem); max-width: none; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p, li { line-height: 1.7; }
.lead { font-size: 1.15rem; max-width: 72ch; color: var(--muted); }
.hero-copy .lead { color: rgba(255, 255, 255, 0.84); }
.hero-copy .eyebrow { color: #ffd39a; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button-primary {
  background: var(--primary);
  color: #fff;
}
.button-secondary {
  border: 1px solid rgba(255,255,255,.36);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.hero-panel, .card, .coverage-box, .contact-card, .feature-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 1.5rem;
  width: min(720px, 100%);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(10px);
}
.hero-panel-kicker {
  margin: 0 0 .6rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-panel-text {
  margin: 0;
}
.feature-box {
  padding: 1.5rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
}
.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .85rem;
  padding: .9rem 1rem;
  background: linear-gradient(180deg, rgba(0, 89, 158, 0.04), rgba(248, 148, 29, 0.04));
  border: 1px solid rgba(31, 42, 48, 0.08);
  border-radius: 20px;
}
.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
  background: rgba(248, 148, 29, 0.10);
  border-radius: 999px;
}
.feature-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
  font-size: .98rem;
}
.section-head {
  max-width: 62ch;
  margin-bottom: 2rem;
}
.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card h3,
.card p {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.card h3 { padding-top: 1.25rem; }
.card p { padding-bottom: 1.4rem; color: var(--muted); }

.alt {
  background: linear-gradient(180deg, rgba(240, 231, 215, .6), rgba(240, 231, 215, .2));
}
.two-col {
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
}
.coverage-box, .contact-card {
  padding: 1.5rem;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.contact-list li + li {
  margin-top: .9rem;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(0, 89, 158, 0.1);
  color: var(--primary);
  flex: 0 0 2.5rem;
}
.contact-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contact-section {
  background:
    linear-gradient(135deg, rgba(0, 89, 158, 0.05), rgba(248, 148, 29, 0.09)),
    var(--surface);
}
.group-section {
  padding-top: 0;
}
.group-box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.group-copy p:last-child {
  margin-bottom: 0;
}
.group-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255,255,255,.7);
  border-radius: 22px;
}
.group-logo img {
  max-width: min(100%, 320px);
  max-height: 120px;
  object-fit: contain;
}
.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
}
.consent-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.consent-banner__text p {
  margin: .35rem 0 0;
  color: var(--muted);
}
.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.consent-button {
  cursor: pointer;
}
.legal-page {
  max-width: 900px;
}
.legal-card {
  margin-top: 1.25rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  background: rgba(255,255,255,.6);
  font-size: .88rem;
}
.footer-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.footer-row p {
  margin: 0;
  color: var(--muted);
}
.footer-row nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .group-box,
  .consent-banner__inner,
  .contact-grid,
  .cards,
  .topbar,
  .footer-row,
  .nav-row {
    grid-template-columns: 1fr;
  }

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

  .topbar {
    display: none;
  }

  .nav-row {
    grid-template-columns: 1fr auto;
    padding: .2rem 0;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-nav {
    display: block;
  }

  .hero, .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
  }

  .consent-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.2rem, 1120px);
  }

  h1 {
    max-width: none;
  }

  .group-copy {
    text-align: center;
  }

  .group-copy .button {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-panel,
  .coverage-box,
  .contact-card,
  .feature-box {
    border-radius: 22px;
  }

  .site-footer {
    font-size: .78rem;
  }
}
