:root {
  --brand: #386641;
  --brand-strong: #2d5134;
  --brand-soft: #e8f1ea;
  --brand-muted: #c5d9c9;
  --brand-rgb: 56, 102, 65;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe3dc;
  --bg: #f7faf7;
  --white: #ffffff;
  --section-wash-start: #e7f0e9;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 0;
  --container: 1120px;
  --header-h: 4rem;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Sora", "Figtree", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
  border-radius: var(--radius);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header — поверх хиро, иначе белый текст на светлом фоне страницы */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  color: rgba(255, 255, 255, 0.88);
}

.site-header .logo,
.site-header .logo-svg {
  color: var(--white);
}

.site-header .nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-header .nav a:hover {
  color: var(--white);
}

.site-header .nav-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.site-header .nav-toggle span {
  background: var(--white);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  color: var(--ink);
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .logo-svg {
  color: var(--ink);
}

.site-header.is-scrolled .nav a {
  color: var(--muted);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--brand);
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: var(--bg);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
}

.logo-svg {
  display: block;
  height: 2rem;
  width: auto;
  overflow: visible;
  color: inherit;
}

.logo-wordmark {
  font-family: var(--display);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
}

.nav-cta {
  padding: 0.55rem 0.9rem;
  background: var(--brand);
  color: var(--white) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--brand-strong);
  color: var(--white) !important;
}

.nav-toggle {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.mobile-nav[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  color: var(--white);
  background: #0a1218;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.02);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 10, 0.28) 0%,
    rgba(8, 14, 10, 0.08) 38%,
    rgba(8, 14, 10, 0) 62%
  );
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-0.8%, -0.6%, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 4.5rem) 0 18rem;
  max-width: 42rem;
}

@media (min-width: 900px) {
  .hero-content {
    padding: calc(var(--header-h) + 5.5rem) 0 22rem;
  }
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(3.5rem, 8vw, 6rem);
  color: var(--section-wash-start);
  pointer-events: none;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-hero {
  margin: 0 0 0.85rem;
  color: var(--white);
  line-height: 0;
}

.brand-hero-svg {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  overflow: visible;
}

.brand-hero-svg .logo-wordmark {
  font-family: var(--display);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 18ch;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

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

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-tint {
  background: linear-gradient(
      180deg,
      rgba(var(--brand-rgb), 0.05),
      rgba(var(--brand-rgb), 0.02)
    ),
    var(--white);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.lead-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section-head p,
.lead-copy p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Audience carousel */
.audience-carousel {
  position: relative;
}

.audience-viewport {
  overflow: hidden;
  width: 100%;
}

.audience-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.35s ease;
}

.audience-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  flex: 0 0 var(--audience-card-w, 25%);
  width: var(--audience-card-w, 25%);
  padding: 0 0 1.15rem;
  background: var(--white);
  border: none;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  transition: box-shadow 0.25s ease;
}

.audience-item:hover {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.audience-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
  line-height: 0;
}

.audience-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.audience-item h3 {
  margin: 0.85rem 1rem 0;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.audience-item p {
  margin: 0.35rem 1rem 0;
  max-width: 26ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.audience-nav {
  position: absolute;
  top: calc(var(--audience-card-w, 16rem) * 3 / 8 + 1.25rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  background: transparent;
  color: var(--brand);
  box-shadow: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  transform: translateY(-50%);
}

.audience-nav--prev {
  left: 0.55rem;
}

.audience-nav--next {
  right: 0.55rem;
}

.audience-nav:hover {
  background: transparent;
  color: var(--brand-strong);
}

.audience-nav:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.audience-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.audience-icon svg,
.feature-icon svg,
.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3,
.step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature p,
.step p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Features */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.feature:hover {
  border-color: var(--brand-muted);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  color: var(--brand);
  margin-bottom: 1rem;
}

/* Soft green wash — alternating sections */
.section-wash {
  position: relative;
  background-color: var(--section-wash-start);
  background-image: radial-gradient(
      ellipse 70% 50% at 0% 70%,
      rgba(var(--brand-rgb), 0.14),
      transparent 60%
    ),
    radial-gradient(
      ellipse 65% 50% at 100% 100%,
      rgba(var(--brand-rgb), 0.12),
      transparent 58%
    ),
    linear-gradient(
      180deg,
      var(--section-wash-start) 0%,
      var(--section-wash-start) 18%,
      var(--bg) 48%,
      #eef5ef 78%,
      #e3ede5 100%
    );
}

/* Hero wave → Для кого: один цвет без шва */
#audience.section-wash {
  margin-top: -2px;
  padding-top: calc(3.25rem + 2px);
  border-top: none;
  box-shadow: none;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  position: relative;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.3rem 1.45rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.25s ease, transform 0.25s ease,
    border-color 0.25s ease;
}

.step:hover {
  border-color: rgba(var(--brand-rgb), 0.28);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

/* Flow arrows between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 899px) {
  .step:not(:last-child)::after {
    left: 50%;
    bottom: -1.15rem;
    transform: translateX(-50%) rotate(45deg);
  }
}

@media (min-width: 900px) {
  .step:not(:last-child)::after {
    top: 50%;
    right: -1.35rem;
    transform: translateY(-50%) rotate(-45deg);
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 3rem;
  padding: 0.4rem 0.65rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-rgb), 0.16),
    rgba(var(--brand-rgb), 0.06)
  );
}

.screen-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.08);
}

.screen-row:last-child {
  border-bottom: none;
}

.screen-row--image-left .screen-image {
  order: 2;
}

.screen-row--image-left .screen-content {
  order: 1;
}

.screen-row--image-right .screen-image {
  order: 2;
}

.screen-row--image-right .screen-content {
  order: 1;
}

.screen-image {
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--brand-muted);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screen-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f8fafc;
}

.screen-content {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  gap: 0.5rem;
}

.screen-content .screen-badge {
  font-size: 1.5rem;
  line-height: 1;
}

.screen-content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.screen-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 48ch;
}

.screen-header {
  align-self: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* ✅ Десктоп: 2 колонки */
@media (min-width: 1270px) {
  .screen-row {
    /* grid-template-columns: 1.2fr 1.8fr; */
    gap: 2.5rem;
    padding: 2.5rem 0;
  }

  .screen-row--image-left {
    grid-template-columns: 2fr 1fr;
  }

  .screen-row--image-right {
    grid-template-columns: 1fr 2fr;
  }

  .screen-row--image-left .screen-image {
    order: 1;
  }

  .screen-row--image-left .screen-content {
    order: 2;
  }

  .screen-row--image-right .screen-image {
    order: 2;
  }

  .screen-row--image-right .screen-content {
    order: 1;
  }

  .screen-content h3 {
    font-size: 1.6rem;
  }
}

/* ✅ Для мобилок: фото сверху, текст снизу */
@media (max-width: 767px) {
  .screen-row {
    gap: 1rem;
    padding: 1.25rem 0;
  }

  .screen-row--image-left .screen-image {
    order: 1;
  }

  .screen-row--image-left .screen-content {
    order: 2;
  }

  .screen-row--image-right .screen-image {
    order: 1;
  }

  .screen-row--image-right .screen-content {
    order: 2;
  }

  .screen-content h3 {
    font-size: 1.15rem;
  }

  .screen-content p {
    font-size: 0.95rem;
  }

  .screen-image {
    border-radius: 0.5rem;
  }
}

/* Benefits */
.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .benefits-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
  }

  .benefits-layout .section-head {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + 0.35rem);
    align-self: start;
  }

  .benefits-layout .section-head h2 {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
  }
}

.benefit-item {
  position: relative;
  padding: 1rem 1.1rem 1.05rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.benefit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--brand) 0%,
    rgba(var(--brand-rgb), 0.35) 100%
  );
}

.benefit-item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.28);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.benefit-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.benefit-icon {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--brand);
  background: linear-gradient(
    145deg,
    rgba(var(--brand-rgb), 0.16),
    rgba(var(--brand-rgb), 0.05)
  );
  display: grid;
  place-items: center;
  padding: 0.35rem;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefits-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.benefits-list p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  max-width: 500px;
}

.benefit-item:nth-child(2) {
  background: linear-gradient(
      135deg,
      rgba(var(--brand-rgb), 0.04),
      transparent 55%
    ),
    rgba(255, 255, 255, 0.88);
}

.benefit-item:nth-child(4) {
  background: linear-gradient(
      135deg,
      rgba(var(--brand-rgb), 0.06),
      transparent 50%
    ),
    rgba(255, 255, 255, 0.9);
}

.benefit-item:nth-child(4)::before {
  background: var(--brand);
}

/* Lead form */
.section-lead {
  background: radial-gradient(
      700px 280px at 10% 0%,
      rgba(var(--brand-rgb), 0.12),
      transparent 60%
    ),
    var(--white);
  border-top: 1px solid var(--line);
}

.lead-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

.lead-form {
  display: grid;
  gap: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.35rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
}

.lead-form label span {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

.lead-form input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.15);
}

.lead-form input.is-invalid {
  border-color: #e11d48;
}

.form-note {
  margin: 0;
  min-height: 1.25rem;
  font-size: 15px;
  color: var(--muted);
}

.form-note.is-success {
  color: var(--brand-strong);
}

.form-note.is-error {
  color: #be123c;
}

/* Footer */
.site-footer {
  background: #162019;
  color: rgba(255, 255, 255, 0.82);
  padding: 0;
  overflow: hidden;
  margin-top: -2.5rem;
}

.footer-scape {
  position: relative;
  height: clamp(11rem, 26vw, 16rem);
  line-height: 0;
  background: transparent;
}

.footer-scape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 15px;
}

.footer-legal a:hover {
  color: var(--brand-muted);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

@media (max-width: 640px) {
  .footer-legal {
    font-size: 0.8rem;
    gap: 0.35rem 0.75rem;
  }

  .footer-legal p {
    width: 100%;
    text-align: center;
  }
}

/* Плавный вход сверху (со страницы) и уход вниз в цвет футера */
.footer-scape::before,
.footer-scape::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}

.footer-scape::before {
  top: 0;
  height: 38%;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.82) 22%,
    rgba(247, 250, 247, 0.35) 55%,
    rgba(247, 250, 247, 0) 100%
  );
}

.footer-scape::after {
  display: none;
}

.footer-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(2.5rem, 6vw, 4rem);
  color: #162019;
  pointer-events: none;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-body {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 1.75rem 0 1.5rem;
  background: #162019;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 0.85rem 0 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer .logo,
.site-footer .logo-svg {
  color: var(--white);
}

.footer-contacts,
.footer-nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-contacts h3,
.footer-nav h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 15px;
  color: var(--white);
}

.footer-contacts a:hover,
.footer-nav a:hover {
  color: var(--brand-muted);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-illustration {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
