:root {
  --bg: #ffffff;
  --surface: #f5f8f7;
  --ink: #17211f;
  --muted: #5f6f6b;
  --line: #dce7e3;
  --primary: #0f766e;
  --primary-dark: #0b5f59;
  --accent: #c79a35;
  --header: rgba(255, 255, 255, 0.94);
  --shadow: 0 18px 45px rgba(18, 40, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 760;
  letter-spacing: 0;
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-menu a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 31, 28, 0.92), rgba(10, 31, 28, 0.74)),
    radial-gradient(circle at 75% 45%, rgba(15, 118, 110, 0.52), transparent 34%),
    linear-gradient(135deg, #0a1f1c, #123630);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-table {
  position: absolute;
  right: max(28px, calc((100vw - 1120px) / 2));
  top: 130px;
  width: min(430px, 42vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
}

.table-bar,
.table-row {
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.table-bar {
  width: 44%;
  background: var(--accent);
}

.table-row.strong {
  width: 92%;
}

.table-row {
  width: 78%;
}

.table-row.muted {
  width: 58%;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
  padding: 90px 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 760;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-panel-eyebrow {
  color: var(--accent);
  margin: 0 0 12px;
  font-weight: 760;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-panel h2 {
  margin: 0 0 14px;
  line-height: 1.12;
  font-size: 1.45rem;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 82px 0;
}

.section-muted {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-left h2,
.contact-box h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-right p,
.area-card p,
.article-card p,
.page-hero p,
.contact-box p {
  color: var(--muted);
}

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

.area-card,
.article-card,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 41, 37, 0.06);
}

.area-card {
  padding: 24px;
}

.area-card h3,
.article-card h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.area-card p,
.article-card p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.split-right p:first-child {
  margin-top: 0;
}

.article-card {
  overflow: hidden;
}

.article-card-content {
  padding: 24px;
  min-height: 235px;
  display: flex;
  flex-direction: column;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 10px;
}

.article-tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f4f1;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 760;
}

.article-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
}

.article-meta {
  font-size: 0.85rem;
}

.card-link,
.contact-email {
  color: var(--primary);
  font-weight: 760;
}

.contact-cta {
  background: #102d29;
  color: #fff;
}

.contact-cta .split-right p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 66px;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.page-hero p {
  max-width: 780px;
  font-size: 1.08rem;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
}

input,
select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.table-wrapper {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: #edf5f3;
  color: #25413c;
  font-size: 0.86rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-box {
  padding: 30px;
  max-width: 720px;
}

.site-footer {
  padding: 42px 0;
  background: #0d211f;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 760;
}

.footer-text {
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0 0;
}

.site-footer h4 {
  margin: 0 0 8px;
}

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

  .nav-menu {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 12px;
  }

  .hero-content,
  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0;
  }

  .hero-table {
    width: 72vw;
    right: 14px;
    top: 92px;
  }

  .hero-actions,
  .article-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .areas-grid,
  .articles-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding: 58px 0;
  }
}
