:root {
  --ink: #15211f;
  --muted: #62716d;
  --line: #dce7e2;
  --paper: #fbfdfb;
  --surface: #ffffff;
  --river: #0f766e;
  --river-dark: #0b4e49;
  --reed: #e8b84e;
  --mist: #e9f4f1;
  --shadow: 0 18px 50px rgba(21, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--river-dark);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--river-dark);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 28, 25, 0.82), rgba(9, 28, 25, 0.34) 56%, rgba(9, 28, 25, 0.12)),
    url("https://images.unsplash.com/photo-1471922694854-ff1b63b20054?auto=format&fit=crop&w=1800&q=84") center/cover;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 120px clamp(18px, 5vw, 72px) 92px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--river);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4d983;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.13rem;
  line-height: 1.2;
}

.hero-content p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

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

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  color: #10211f;
  background: var(--reed);
}

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

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-bar div {
  min-height: 138px;
  padding: 28px clamp(18px, 4vw, 42px);
  background: var(--surface);
}

.trust-bar strong,
.trust-bar span,
.site-footer span {
  display: block;
}

.trust-bar span,
.section-heading p,
.responsible-copy p,
.contact p,
.site-footer,
.guide-card p,
.article-list span,
.comparison-row,
.form-note {
  color: var(--muted);
}

.section {
  padding: 84px clamp(18px, 5vw, 72px);
}

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

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

.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(21, 33, 31, 0.06);
}

.guide-card img {
  height: 220px;
  object-fit: cover;
}

.guide-card div {
  padding: 22px;
}

.equipment-section,
.editorial {
  background: var(--mist);
}

.comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr 1.4fr;
  gap: 22px;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-head {
  color: var(--ink);
  background: #f6faf8;
  font-weight: 800;
}

.responsible {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 48px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist div {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-list article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-list p {
  color: var(--river);
  font-weight: 800;
  font-size: 0.86rem;
}

.policies {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.policy-grid a {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: 44px;
  background: #f7f3e8;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-panel div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-panel span,
.contact-panel p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-panel a,
.contact-panel strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #101b19;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong,
.site-footer a {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px clamp(18px, 5vw, 72px);
}

.legal-page a {
  color: var(--river-dark);
  font-weight: 800;
}

.legal-page section {
  margin-top: 34px;
}

.legal-page li {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .site-header,
  .responsible,
  .policies,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .nav {
    justify-content: flex-start;
  }

  .trust-bar,
  .guide-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 660px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(9, 28, 25, 0.5), rgba(9, 28, 25, 0.9)),
      url("https://images.unsplash.com/photo-1471922694854-ff1b63b20054?auto=format&fit=crop&w=1000&q=82") center/cover;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 54px;
  }

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