* {
  box-sizing: border-box;
}

:root {
  --color-page: #f4f7f6;
  --color-surface: #ffffff;
  --color-ink: #102033;
  --color-muted: #5b677a;
  --color-border: #d9e2e1;
  --color-accent: #0f766e;
  --color-accent-dark: #0b4f4a;
  --color-accent-soft: #e6f3f1;
  --color-footer: #102033;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--color-page);
  color: var(--color-ink);
}

main {
  flex: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  transition: padding 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.site-header.is-scrolled .brand {
  font-size: 1.05rem;
}

.site-header.is-scrolled .brand-image {
  width: min(320px, 62vw);
  height: 40px;
}

.site-header.is-scrolled .brand-subtitle {
  display: none;
}

.site-header.is-scrolled .site-nav > a,
.site-header.is-scrolled .nav-trigger {
  font-size: 0.82rem;
}

.brand-block {
  display: grid;
  gap: 4px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-image {
  width: min(420px, 70vw);
  height: 58px;
  object-fit: cover;
  object-position: center;
  transition: width 0.2s ease, height 0.2s ease;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-ink);
  transition: font-size 0.2s ease;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
}

.site-nav > a,
.nav-trigger {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-ink);
  transition: font-size 0.2s ease;
}

.nav-group {
  position: relative;
}

.nav-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-trigger::after {
  content: "v";
  margin-left: 6px;
  color: var(--color-muted);
  font-size: 0.8em;
}

.nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.12);
  z-index: 10;
}

.nav-group:hover > .nav-panel,
.nav-group:focus-within > .nav-panel {
  display: grid;
  gap: 8px;
}

.nav-panel a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-panel a:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.hero-section {
  padding: 88px 24px 92px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(135deg, #102033 0%, #0b4f4a 100%);
  color: #ffffff;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-content h1 {
  margin: 0 0 16px;
  font-size: 3.6rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.45;
  color: #eefdfa;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #c9e3df;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.button-primary {
  background: var(--color-accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-accent-dark);
}

.button-secondary {
  background: #ffffff;
  color: var(--color-accent-dark);
  border-color: #ffffff;
}

.button-secondary:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-soft);
}

.home-section {
  padding: 64px 24px;
  border-bottom: 1px solid var(--color-border);
}

.home-content {
  max-width: 860px;
  margin: 0 auto;
}

.home-content h2 {
  margin: 0 0 22px;
  font-size: 1.95rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.home-copy {
  max-width: 720px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list a {
  display: block;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.05);
}

.coverage-list a:hover,
.featured-card:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

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

.featured-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.05);
}

.featured-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.featured-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.cta-section {
  padding: 64px 24px;
  background: var(--color-surface);
}

.cta-section h2 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: 1.85rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.site-footer {
  margin-top: auto;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-footer);
  color: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.site-footer .brand {
  color: #ffffff;
}

.footer-brand p {
  max-width: 480px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-email:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-email {
  grid-column: 1 / -1;
  width: fit-content;
  color: #cbd5e1;
  font-weight: 700;
}

.contact-page {
  padding: 32px 24px 48px;
}

.contact-card,
.content-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.05);
}

.content-page {
  padding: 32px 24px 48px;
}

.content-card h1 {
  margin: 0 0 12px;
}

.content-card p {
  line-height: 1.6;
}

.content-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  line-height: 1.55;
}

.section-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font: inherit;
}

.contact-form button {
  width: fit-content;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--color-accent-dark);
}

@media (max-width: 720px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-page);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #111827;
  }

  .site-nav {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding-top 0.2s ease;
  }

  .site-nav.is-open {
    max-height: 700px;
    padding-top: 12px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav > a,
  .nav-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .nav-group {
    width: 100%;
  }

  .hero-section {
    padding: 48px 20px 56px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-lead {
    font-size: 1.15rem;
  }

  .home-section {
    padding: 42px 20px;
  }

  .coverage-list {
    grid-template-columns: 1fr;
  }

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

  .cta-section {
    padding: 48px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .nav-group:hover > .nav-panel,
  .nav-group:focus-within > .nav-panel {
    display: none;
  }

  .nav-group.is-open > .nav-panel {
    display: grid;
    gap: 8px;
  }

  .nav-panel {
    position: static;
    min-width: 0;
    width: 100%;
    padding: 8px;
    box-shadow: none;
    margin: 0 0 8px;
  }

  .nav-panel a {
    padding: 10px 12px;
  }
}
