:root {
  --ink: #17212b;
  --muted: #5f6b76;
  --green: #0b6b57;
  --green-dark: #06483c;
  --blue: #174a7c;
  --yellow: #f2c84b;
  --coral: #d66d55;
  --bg: #f6f8f7;
  --paper: #ffffff;
  --line: #dce4e0;
  --shadow: 0 18px 50px rgba(22, 35, 45, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav-cta {
  padding: 9px 14px;
  color: #fff !important;
  background: var(--green);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #123;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 39, 0.82), rgba(6, 28, 39, 0.28)),
    url("https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&w=1800&q=80") center/cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 790px;
  padding: 130px clamp(22px, 6vw, 76px) 86px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 8vw, 82px);
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 16px;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  font-size: 20px;
}

.hero-actions,
.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.notice {
  max-width: 1180px;
  margin: -26px auto 0;
  position: relative;
  z-index: 2;
  padding: 18px 22px;
  background: #fff7df;
  border: 1px solid #efd37b;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 22px;
}

.intro-grid,
.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 34px;
}

.quick-cards,
.info-cards,
.blog-grid,
.tool-grid {
  display: grid;
  gap: 16px;
}

.quick-cards {
  grid-template-columns: 1fr;
}

.quick-cards article,
.info-cards article,
.blog-grid article,
.panel,
.calculator,
.contact-form,
.city-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(27, 43, 50, 0.06);
}

.quick-cards article,
.info-cards article,
.blog-grid article,
.panel,
.calculator,
.contact-form {
  padding: 22px;
}

.quick-cards span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

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

th {
  color: #fff;
  background: var(--green-dark);
  font-size: 13px;
}

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

.check-list,
.plain-list,
.sources ul {
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  margin: 10px 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.check-list input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: var(--green);
}

.number-list {
  padding-left: 22px;
}

.number-list li {
  margin-bottom: 10px;
}

.tab {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.tab.active {
  color: #fff;
  background: var(--blue);
}

.city-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
  padding: 24px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.badge {
  padding: 6px 10px;
  background: #edf5f2;
  border: 1px solid #c9ddd6;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
}

.info-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-cards article {
  border-top: 5px solid var(--green);
}

.info-cards article:nth-child(2n) {
  border-top-color: var(--blue);
}

.info-cards article:nth-child(3n) {
  border-top-color: var(--coral);
}

.tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.calculator label,
.contact-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd7d2;
  border-radius: 8px;
  font: inherit;
}

output {
  display: block;
  margin-top: 16px;
  padding: 14px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 850;
}

.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.sources li {
  margin: 8px 0;
}

.site-footer {
  padding: 36px 22px;
  color: #fff;
  background: #13202a;
  text-align: center;
}

.site-footer p {
  margin: 6px auto;
  max-width: 860px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .intro-grid,
  .split,
  .contact,
  .city-card {
    grid-template-columns: 1fr;
  }

  .info-cards,
  .compact,
  .tool-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding: 118px 20px 58px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 17px;
  }

  .notice {
    margin: 0;
    border-radius: 0;
  }

  .section {
    padding: 54px 18px;
  }

  .info-cards,
  .compact,
  .tool-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 760px;
  }
}
