:root {
  --wine: #7f101f;
  --cream: #fffaf1;
  --muted: rgba(255, 250, 241, 0.76);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #253625;
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #314331;
}

.backdrop {
  position: absolute;
  inset: 0;
  background-image: url("assets/farm-hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.015);
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 21, 16, 0.89) 0%, rgba(18, 25, 18, 0.77) 37%, rgba(21, 28, 21, 0.34) 68%, rgba(20, 25, 19, 0.1) 100%),
    linear-gradient(0deg, rgba(12, 18, 13, 0.38) 0%, transparent 38%, rgba(10, 15, 11, 0.12) 100%);
}

.page-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1280px, calc(100% - 96px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.is-ready .page-content {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
}


.logo {
  display: inline-flex;
  width: clamp(185px, 18vw, 245px);
  /*
  border-radius: 3px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  */
}


.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header-note {
  color: rgba(255, 250, 241, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 36px 0 58px;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 23px;
  color: #e3bc8f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5.25vw, 78px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 625px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.advantages li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 250, 241, 0.94);
  font-size: 14px;
  font-weight: 700;
}

.check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f2d4ad;
  font-size: 12px;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 42px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 250, 241, 0.25);
}

.contacts a {
  display: flex;
  flex-direction: column;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 22px);
  transition: color 160ms ease, transform 160ms ease;
}

.contacts a:hover,
.contacts a:focus-visible {
  color: #f2d4ad;
  outline: none;
  transform: translateY(-2px);
}

.contacts span {
  margin-bottom: 7px;
  color: rgba(255, 250, 241, 0.57);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 23px 0 28px;
  border-top: 1px solid rgba(255, 250, 241, 0.18);
  color: rgba(255, 250, 241, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .page-content {
    width: min(calc(100% - 48px), 700px);
  }

  .overlay {
    background:
      linear-gradient(90deg, rgba(14, 21, 15, 0.91) 0%, rgba(17, 24, 17, 0.72) 62%, rgba(18, 25, 18, 0.34) 100%),
      linear-gradient(0deg, rgba(12, 18, 13, 0.5) 0%, transparent 55%);
  }
}

@media (max-width: 560px) {
  .page-content {
    width: calc(100% - 36px);
  }

  .site-header {
    padding-top: 24px;
  }

  .logo {
    width: 172px;
  }

  .header-note {
    display: none;
  }

  .hero {
    align-items: flex-start;
    padding: 20px 0 38px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 45px);
    line-height: 1.01;
  }

  .lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.55;
  }

  .advantages {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .contacts {
    display: grid;
    gap: 18px;
    margin-top: 30px;
    padding-top: 21px;
  }

  footer {
    flex-direction: column;
    gap: 7px;
  }

  .backdrop {
    background-position: 64% center;
  }

  .overlay {
    background: linear-gradient(90deg, rgba(12, 18, 13, 0.92) 0%, rgba(14, 20, 14, 0.75) 78%, rgba(14, 20, 14, 0.52) 100%);
  }
}

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

  .page-content {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .contacts a {
    transition: none;
  }
}
