.home-page section {
  scroll-margin-top: 16px;
  padding: clamp(30px, 5vw, 60px) 0;
}
.home-page .home-hero {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  margin-top: clamp(14px, 3vw, 30px);
  padding: 0;
  background: var(--accent);
  color: #fffaf0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
}
.home-hero-copy {
  align-self: center;
  padding: clamp(24px, 4.3vw, 56px);
}
.home-hero h1 {
  font-size: clamp(38px, 5vw, 65px);
  text-wrap: balance;
}
.home-origin {
  margin: 0 0 18px;
  color: #f0dcd1;
  font-size: 14px;
  letter-spacing: .04em;
}
.home-hero-copy p:not(.home-origin) {
  margin: 18px 0 24px;
}
.home-hero-media {
  display: grid;
  overflow: hidden;
}
.home-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 54%;
}
.home-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid #fffaf055;
  font-size: 15px;
}
.home-offer strong {
  font-size: 22px;
  white-space: nowrap;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.home-actions .cta {
  background: #fffaf0;
  color: var(--accent);
  border-color: #fffaf0;
  font-weight: 600;
}
.home-page .home-actions .cta:hover { background: #f2e5d8; }
.home-page a:focus-visible, .home-page summary:focus-visible {
  outline: 2px solid #995550;
  outline-offset: 4px;
}
.home-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.home-category {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 9px;
  background: #18362c;
  color: #fffaf0;
  text-decoration: none;
}
.home-category img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-category::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, #10251d33 48%, #10251dd9 82%, #0c1e17f2 100%);
  box-shadow: inset 0 0 0 1px #234c3f40;
  content: "";
  pointer-events: none;
}
.home-category span {
  position: relative;
  z-index: 1;
  padding: clamp(12px, 1.9vw, 23px);
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}
@media (hover: hover) and (pointer: fine) {
  :is(.home-category, .home-hero) {
    transition: transform 240ms ease, box-shadow 240ms ease;
  }
  :is(.home-category img, .home-hero-photo) {
    transition: transform 520ms cubic-bezier(.22, .61, .36, 1);
  }
  :is(.home-category, .home-hero):hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px #182f2a30;
  }
  :is(.home-category:hover img, .home-hero:hover .home-hero-photo) {
    transform: scale(1.055);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.home-category, .home-hero), :is(.home-category img, .home-hero-photo) {
    transition: none;
  }
  :is(.home-category, .home-hero):hover, :is(.home-category:hover img, .home-hero:hover .home-hero-photo) {
    transform: none;
  }
}
.home-about, .home-delivery, .home-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(12px, 4vw, 44px);
}
.home-page .home-about {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 54px);
  margin-top: clamp(24px, 4vw, 44px);
  padding: clamp(18px, 4vw, 48px);
  background: var(--soft);
  border: 1px solid var(--panel-line);
  border-radius: 9px;
}
.home-about p {
  margin: 12px 0 0;
}
.home-about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 30px);
  margin: 0;
  padding: 0 0 0 clamp(18px, 3vw, 42px);
  border-left: 1px solid var(--panel-line);
  list-style: none;
}
.home-about-facts li {
  display: grid;
  align-content: start;
  gap: 6px;
}
.home-about-facts strong {
  color: var(--accent);
  font: 400 clamp(24px, 3.2vw, 45px)/1.05 Georgia, serif;
  white-space: nowrap;
}
.home-about-facts span {
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.3;
}
.home-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.home-clients li {
  display: flex;
  flex: 1 1 180px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 16px clamp(12px, 1.5vw, 18px);
  background: var(--soft);
  border: 1px solid var(--panel-line);
  border-radius: 5px;
}
.home-clients strong {
  font: 400 clamp(20px, 2vw, 26px)/1.15 Georgia, serif;
}
.home-clients span {
  color: #65564c;
  font-size: 14px;
  line-height: 1.35;
}
@media (max-width: 540px) {
  .home-clients li {
    flex-basis: calc((100% - 12px) / 2);
    flex-grow: 0;
  }
}
.home-page .home-delivery {
  grid-template-columns: 1fr auto;
  margin-top: clamp(24px, 4vw, 44px);
  padding: clamp(20px, 4vw, 40px);
  background: var(--soft);
  border: 1px solid var(--panel-line);
  border-radius: 5px;
}
.home-delivery p {
  margin-bottom: 0;
}
.home-delivery .cta {
  justify-self: start;
}
.home-page summary {
  cursor: pointer;
  font-weight: 600;
}
.home-footer {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  margin-top: 0;
  padding: clamp(24px, 4vw, 44px) 0;
  border: 0;
  font-size: 16px;
}
.home-footer h2, .home-footer p {
  margin: 0 0 7px;
}
.home-footer address {
  font-style: normal;
}
.home-footer a {
  color: var(--accent);
  text-decoration: none;
}
.home-footer .home-contact-links a:hover {
  color: #82464c;
  text-decoration: none;
}
.home-contact-links {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.5vw, 30px);
}
.home-contact-phones, .home-contact-digital {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.home-contact-phones a {
  padding: 4px 0;
  font-size: clamp(20px, 2.15vw, 28px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.home-contact-digital {
  padding-left: clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--line);
}
.home-contact-digital > a {
  font-size: 15px;
}
@media (max-width: 860px) {
  .home-footer {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .home-contact-links {
    grid-template-columns: 1fr;
  }
  .home-contact-digital {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
@media (max-width: 730px) {
  .home-page .home-about {
    grid-template-columns: 1fr;
  }
  .home-about-facts {
    padding: 17px 0 0;
    border-top: 1px solid var(--panel-line);
    border-left: 0;
  }
  .home-page .home-hero, .home-page .home-delivery {
    grid-template-columns: 1fr;
  }
  .home-hero-photo {
    aspect-ratio: 16 / 10;
  }
  .home-category {
    aspect-ratio: 4 / 3;
  }
  .home-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

