html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3 {
  font-family: 'Poppins', 'Trebuchet MS', sans-serif;
  color: #122326;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

a {
  text-underline-offset: 0.16em;
}

.skip-link {
  position: absolute;
  left: 0.9rem;
  top: -3rem;
  z-index: 90;
  background: #152629;
  color: #fff;
  border-radius: 10px;
  padding: 0.58rem 0.84rem;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0.9rem;
}

.top-strip {
  background: #22272b;
  color: #ecf2f3;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.top-strip p,
.top-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.top-strip__icon {
  color: #9ac65f;
  font-size: 1.02rem;
  font-weight: 700;
}

.top-strip a {
  color: #ecf2f3;
}

.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-strip__inner ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(20, 33, 34, 0.1);
  background: #fff;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  width: auto;
  height: 50px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.58rem 0.8rem;
  font-weight: 700;
  color: #243538;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #3f5356;
  font-weight: 700;
  position: relative;
}

.site-nav a.btn {
  color: #fff;
}

.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after,
.site-nav a.is-active:not(.btn)::after {
  transform: scaleX(1);
}

.site-main {
  overflow-x: clip;
}

.page-hero {
  padding-top: 2.4rem;
  padding-bottom: 1.9rem;
}

.hero {
  padding-top: 1.9rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1.15rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(23, 38, 41, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.1rem, 2.5vw, 2.2rem);
}

.hero__lead {
  margin-top: 0.8rem;
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero__hint {
  margin-top: 0.9rem;
  font-size: 0.94rem;
}

.hero__media {
  border-radius: calc(var(--radius-md) + 2px);
  overflow: hidden;
  border: 1px solid rgba(20, 35, 37, 0.15);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  position: relative;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(15, 35, 38, 0.06);
}

.not-found {
  text-align: center;
  max-width: 760px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(125, 173, 66, 0.38);
  outline-offset: 2px;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
