:root {
  --bg: #f7f5f0;
  --surface: #fffdfa;
  --surface-2: #ece9df;
  --ink: #202b26;
  --muted: #5e6b64;
  --line: #d9d4c8;
  --accent: #8e6240;
  --accent-dark: #704b31;
  --green: #4f665b;
  --green-soft: #dfe4d9;
  --shadow-soft: rgba(45, 54, 48, .12);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-press: cubic-bezier(.32, .72, 0, 1);
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(79, 102, 91, .12), transparent 28rem),
    linear-gradient(180deg, var(--bg), #f2f0e9 44%, var(--bg));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .035;
  background-image: radial-gradient(circle, #202b26 0 1px, transparent 1px);
  background-size: 4px 4px;
}

.topline {
  background: #233029;
  color: #edf1e9;
  letter-spacing: .08em;
}

.header {
  height: 78px;
  margin: 12px clamp(14px, 3vw, 34px) 0;
  border: 1px solid rgba(32, 43, 38, .1);
  border-radius: 7px;
  background: rgba(247, 245, 240, .91);
  box-shadow: 0 8px 24px rgba(32, 43, 38, .07);
}

.brand {
  letter-spacing: -.035em;
}

.nav {
  gap: 22px;
}

.nav a {
  position: relative;
  padding: 8px 0;
  color: #35423c;
  transition: color 180ms var(--ease-out);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.button,
.card-link,
.round-button,
.slider-arrow,
.fabric {
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-out);
}

.button {
  border-radius: 5px;
  min-height: 48px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset;
}

.button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(112, 75, 49, .18);
}

.button:active,
.card-link:active,
.slider-arrow:active,
.round-button:active {
  transform: scale(.98);
}

.button-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(32, 43, 38, .16);
}

.button-secondary:hover {
  color: #fff;
}

.hero {
  min-height: 680px;
  max-width: 1480px;
  margin: 20px auto 0;
  padding-left: clamp(20px, 5vw, 76px);
  border: 0;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .82fr);
  gap: clamp(28px, 4vw, 62px);
}

.hero-copy {
  padding-top: clamp(74px, 8vw, 108px);
  padding-right: 0;
}

.eyebrow,
.section-heading span,
.price-intro > span,
.about-copy > span {
  text-transform: none;
  letter-spacing: .01em;
  color: var(--accent-dark);
  font-size: 13px;
}

.hero h1,
.section h2,
.cta h2,
.modal h2,
.price-intro h2,
.about-copy h2 {
  max-width: 980px;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: .98;
}

.hero-copy > p {
  max-width: 680px;
  color: #435049;
  font-size: 18px;
  line-height: 1.72;
  text-wrap: pretty;
}

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

.messenger-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(32, 43, 38, .18);
  border-radius: 5px;
  background: rgba(255, 253, 250, .76);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.messenger-link:hover {
  background: var(--green-soft);
  transform: translateY(-2px);
}

.service-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 42px;
}

.service-proof div {
  padding: 17px 18px;
  background: rgba(255, 253, 250, .68);
  border-top: 2px solid var(--green);
}

.service-proof b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.service-proof span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-visual {
  min-height: 610px;
  border-radius: 7px 0 0 7px;
  background: var(--surface-2);
  box-shadow: -18px 26px 48px rgba(32, 43, 38, .1);
}

.photo-note {
  border-radius: 4px;
  background: rgba(255, 253, 250, .92);
  letter-spacing: .05em;
}

.hero-tag {
  width: 154px;
  height: 154px;
  background: var(--green-soft);
  color: var(--ink);
  border-radius: 5px;
  transform: rotate(2deg);
}

.quality-badge {
  border-radius: 5px;
  background: rgba(32, 43, 38, .94);
}

.local-trust {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 76px) 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.local-trust div {
  min-height: 150px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.local-trust span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.local-trust b {
  display: block;
  margin-top: 20px;
  font-size: 18px;
}

.local-trust p {
  max-width: 330px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.section {
  max-width: 1480px;
  margin: 0 auto;
}

.section-heading {
  align-items: flex-start;
  gap: 36px;
}

.section-heading h2,
.price-intro h2,
.about-copy h2 {
  max-width: 860px;
  font-size: clamp(34px, 4.4vw, 64px);
}

.section-heading p {
  width: min(430px, 100%);
  color: var(--muted);
}

.product-grid {
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 18px;
}

.product-card,
.product-card.dark,
.product-card.olive {
  min-height: auto;
  padding: 0 20px 20px;
  border: 0;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(32, 43, 38, .09), 0 12px 28px rgba(32, 43, 38, .06);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(32, 43, 38, .1), 0 20px 42px rgba(32, 43, 38, .12);
}

.product-media {
  height: 265px;
  border-radius: 5px 5px 0 0;
}

.product-card h3 {
  font-size: 27px;
}

.product-card p,
.product-card.dark p {
  min-height: 86px;
  font-size: 14px;
  line-height: 1.68;
}

.product-num {
  top: 286px;
  color: var(--accent-dark) !important;
  font-weight: 800;
  text-transform: lowercase;
}

.product-bottom {
  align-items: center;
}

.price {
  font-variant-numeric: tabular-nums;
}

.card-link {
  border: 0;
  padding: 9px 0 7px;
}

.card-link:hover {
  color: var(--accent-dark);
  transform: translateX(2px);
}

.fabrics {
  max-width: none;
  background: #29362f;
}

.fabrics > * {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.fabric {
  padding-top: 22px;
  padding-bottom: 22px;
}

.fabric span {
  letter-spacing: -.035em;
}

.fabric-detail {
  transition: opacity 180ms var(--ease-out);
}

.steps article {
  background: rgba(255, 253, 250, .54);
}

.step-icon {
  border-radius: 5px;
  border-color: rgba(32, 43, 38, .22);
  background: var(--green-soft);
}

.works {
  max-width: none;
  background: #f0eee6;
}

.works > * {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.work-card {
  border-radius: 5px;
}

.price-section {
  max-width: none;
  background:
    linear-gradient(90deg, rgba(32, 43, 38, .05), transparent 38%),
    #e8e6dc;
}

.price-section > * {
  max-width: 1320px;
}

.price-intro {
  justify-self: end;
  max-width: 500px;
}

.price-table {
  background: rgba(255, 253, 250, .44);
  padding: 14px 22px 18px;
  border-top: 0;
  box-shadow: 0 0 0 1px rgba(32, 43, 38, .08);
}

.about {
  gap: clamp(38px, 6vw, 86px);
}

.factory-visual,
.about-photo {
  border-radius: 7px;
}

.cta {
  background:
    linear-gradient(90deg, rgba(32, 43, 38, .16), transparent 48%),
    #876548;
}

.lead-form input,
.lead-form select {
  border-radius: 4px;
}

.lead-form input::placeholder {
  color: #68736d;
  opacity: 1;
}

.modal {
  border-radius: 7px;
}

@media (hover: hover) and (pointer: fine) {
  .work-card:hover img,
  .product-card:hover .product-media img {
    transform: scale(1.035);
  }
}

@media (max-width: 1100px) {
  .header {
    grid-template-columns: auto 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-right: clamp(20px, 5vw, 76px);
  }

  .hero-visual {
    min-height: 520px;
    border-radius: 7px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header {
    height: 66px;
    margin: 8px 10px 0;
    padding: 0 12px;
  }

  .header.menu-open .nav {
    top: 66px;
    left: -1px;
    right: -1px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 7px 7px;
  }

  .menu-button span {
    transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
  }

  .header.menu-open .menu-button span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .header.menu-open .menu-button span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    margin-top: 0;
    padding: 0 16px;
  }

  .hero-copy {
    padding: 48px 0 32px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .messenger-link {
    width: 100%;
    justify-content: center;
  }

  .service-proof {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-visual {
    height: 410px;
    min-height: 0;
    margin-bottom: 42px;
  }

  .hero-tag {
    width: 118px;
    height: 118px;
  }

  .quality-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .local-trust {
    padding: 0 16px 54px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .section-heading h2,
  .price-intro h2,
  .about-copy h2 {
    font-size: clamp(31px, 10vw, 40px);
  }

  .product-card p,
  .product-card.dark p {
    min-height: 0;
  }

  .product-num {
    top: 296px;
  }

  .price-table {
    padding: 6px 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .ticker div {
    animation: none !important;
  }
}
