/* Мягкая мебель · Тараз — шалфей + тёплый белый + латунь, всё мягкое */
:root {
  --bg: #fbfaf7;
  --card: #ffffff;
  --sage: #7e937b;
  --sage-d: #55684f;
  --sage-deep: #46573f;
  --sage-soft: #eaeee5;
  --ink: #34322b;
  --soft: #86847c;
  --brass: #ad8b57;
  --line: #e6e4db;
  --r: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(30px, 3.8vw, 46px); color: var(--sage-deep); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-t {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 25px;
  color: var(--sage-deep); white-space: nowrap;
}
.logo-s { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sage); border-radius: 2px; transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.hdr-r { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.hdr-tel { font-weight: 700; font-size: 15px; white-space: nowrap; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-acc { background: var(--sage-d); color: #f6f5ef; box-shadow: 0 10px 24px rgba(85, 104, 79, .3); }
.btn-acc:hover { background: var(--sage-deep); }
.btn-line { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--sage); color: var(--sage-d); }
.btn-cream { background: #f6f4ec; color: var(--sage-deep); }
.btn-cream:hover { background: #fff; }
.btn-big { padding: 16px 32px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { padding: 58px 0 76px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sage);
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(40px, 5vw, 66px); color: var(--sage-deep); }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-sub { margin-top: 20px; font-size: clamp(16px, 1.5vw, 18px); color: var(--soft); max-width: 470px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-feats {
  margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600; color: var(--soft);
}
.hero-feats i { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

.hero-img { position: relative; display: flex; justify-content: center; }
.blob {
  width: min(100%, 470px); aspect-ratio: 1 / 1.04; overflow: hidden;
  border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%;
  animation: blobMorph 14s ease-in-out infinite alternate;
  box-shadow: 0 30px 60px rgba(70, 87, 63, .22);
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blobMorph {
  0%   { border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; }
  50%  { border-radius: 45% 55% 48% 52% / 55% 46% 54% 45%; }
  100% { border-radius: 52% 48% 42% 58% / 46% 52% 48% 54%; }
}
.blob-mini {
  position: absolute; left: -8px; bottom: -22px;
  width: 148px; aspect-ratio: 1; overflow: hidden;
  border-radius: 50% 50% 46% 54% / 48% 52% 48% 52%;
  border: 6px solid var(--bg);
  box-shadow: 0 16px 34px rgba(70, 87, 63, .25);
  animation: miniFloat 7s ease-in-out infinite alternate;
}
.blob-mini img { width: 100%; height: 100%; object-fit: cover; }
@keyframes miniFloat { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

/* ---------- секции ---------- */
.sec { padding: 78px 0; }
.sec-alt { background: var(--sage-soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.sec-label {
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 10px;
}
.sec-label-light { color: #d9c79f; }
.sec-link { font-size: 15px; font-weight: 700; color: var(--sage-d); white-space: nowrap; padding-bottom: 3px; }
.sec-link:hover { color: var(--sage-deep); }

/* ---------- категории ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(70, 87, 63, .14); }
.cat-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover .cat-photo img { transform: scale(1.06); }
.cat-body { padding: 16px 18px 18px; }
.cat-name { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 21px; color: var(--sage-deep); }
.cat-desc { display: block; font-size: 13.5px; color: var(--soft); margin-top: 4px; }

/* ---------- цвета ---------- */
.colors-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.colors-txt p { color: var(--soft); margin-top: 14px; font-size: 16px; max-width: 400px; }
.color-row { display: flex; gap: 14px; flex-wrap: wrap; }
.color-chip {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 20px 10px 12px; font-weight: 700; font-size: 14.5px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.color-chip:hover { border-color: var(--sage); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(70, 87, 63, .12); }
.color-swatch {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.color-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.color-dot.sm { width: 15px; height: 15px; margin-right: 6px; }

/* ---------- карточки ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(70, 87, 63, .14); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--brass); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 5px 14px; border-radius: 999px;
}
.card-body { padding: 17px 20px 19px; display: flex; flex-direction: column; gap: 3px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-top h3 { font-size: 22px; color: var(--sage-deep); }
.card-dot { width: 17px; height: 17px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.card-cat { font-size: 13.5px; color: var(--soft); }
.card-price { margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--brass); }

/* ---------- опт ---------- */
.sec-opt { padding-top: 0; }
.opt-card {
  background: linear-gradient(135deg, var(--sage-d), var(--sage-deep));
  border-radius: calc(var(--r) * 1.4); color: #f2f2ea;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  padding: 54px 56px; overflow: hidden;
}
.opt-card h2 { color: #f6f5ec; }
.opt-card p { margin: 14px 0 26px; color: rgba(242, 242, 234, .78); max-width: 420px; font-size: 16px; }
.opt-img img { border-radius: calc(var(--r) * .8); aspect-ratio: 16 / 11; object-fit: cover; }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px 22px; position: relative;
}
.rev::before {
  content: '“'; font-family: 'Cormorant Garamond', serif; font-size: 60px; line-height: 1;
  color: var(--sage); position: absolute; top: 12px; left: 22px; opacity: .5;
}
.rev blockquote { font-size: 16.5px; font-weight: 600; padding-top: 28px; }
.rev figcaption { margin-top: 14px; font-size: 13px; color: var(--soft); }

/* ---------- визит ---------- */
.visit-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.visit-txt p { margin: 16px 0 26px; color: var(--soft); font-size: 16px; }
.visit-img { border-radius: var(--r); overflow: hidden; box-shadow: 0 26px 54px rgba(70, 87, 63, .2); }

/* ---------- каталог ---------- */
.page-head { padding: 38px 0 0; }
.crumbs { font-size: 13.5px; color: var(--soft); margin-bottom: 18px; }
.crumbs a:hover { color: var(--sage-d); }
.ph-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ph-row h1 { font-size: clamp(34px, 4.4vw, 52px); color: var(--sage-deep); }
.search {
  display: flex; align-items: center; background: var(--card);
  border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden;
  min-width: 300px;
}
.search input {
  border: 0; outline: 0; padding: 12px 20px; font: inherit; font-size: 15px;
  background: transparent; color: var(--ink); width: 100%;
}
.search input::placeholder { color: var(--soft); }
.search button { border: 0; background: transparent; color: var(--sage-d); padding: 10px 18px; cursor: pointer; display: flex; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.chips-colors { margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 9px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: all .2s;
}
.chip:hover { border-color: var(--sage); color: var(--sage-d); }
.chip.on { background: var(--sage-d); border-color: var(--sage-d); color: #f6f5ef; }
.sec-cat { padding-top: 42px; }
.cat-note { margin-top: 34px; text-align: center; color: var(--soft); font-size: 14.5px; }
.empty { text-align: center; padding: 60px 20px; }
.empty p { font-size: 24px; font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--sage-deep); }
.empty-sub { font-family: 'Nunito Sans', sans-serif !important; font-weight: 400 !important; color: var(--soft) !important; font-size: 15.5px !important; margin: 12px 0 28px; }

/* ---------- товар ---------- */
.prod { padding-top: 34px; }
.prod-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: start; }
.prod-photo { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 26px 54px rgba(70, 87, 63, .18); }
.prod-photo img { width: 100%; }
.prod-photo .card-tag { top: 16px; left: 16px; }
.prod-info h1 { font-size: clamp(34px, 4vw, 52px); color: var(--sage-deep); }
.prod-color { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14.5px; color: var(--soft); }
.prod-desc { margin-top: 14px; font-size: 16.5px; }
.specs { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 15px; }
.specs td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--soft); width: 42%; }
.prod-price { margin-top: 24px; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 28px; color: var(--brass); }
.prod-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.prod-hint { margin-top: 14px; font-size: 13.5px; color: var(--soft); }

/* ---------- footer ---------- */
.ftr { background: var(--sage-deep); color: #d9ddd0; margin-top: 52px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1fr; gap: 36px; padding-top: 54px; padding-bottom: 38px; }
.f-logo { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 27px; color: #f6f5ec; margin-bottom: 12px; }
.ftr-brand p { font-size: 14.5px; color: #aeb6a3; max-width: 300px; }
.ftr-inst { display: inline-block; margin-top: 14px; color: #d9c79f; font-weight: 700; }
.ftr-inst:hover { color: #fff; }
.ftr-h {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #d9c79f; margin-bottom: 14px; font-weight: 700;
}
.ftr-col p { font-size: 14.5px; color: #aeb6a3; margin-bottom: 10px; }
.ftr-col a:hover { color: #d9c79f; }
.ftr-btm {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: #8d967f;
}

/* ---------- wa fab ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #26a95c; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(38, 169, 92, .35);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(38, 169, 92, .45);
  animation: waPulse 3.2s ease-out infinite;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(38, 169, 92, .45); }
  45% { box-shadow: 0 0 0 16px rgba(38, 169, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 169, 92, 0); }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .blob-mini, .wa-fab::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- мобилка ---------- */
@media (max-width: 960px) {
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; }
  .burger { display: block; }
  .hdr-tel { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 46px; }
  .blob { width: min(100%, 400px); }
  .cats { grid-template-columns: 1fr 1fr; }
  .colors-in { grid-template-columns: 1fr; gap: 26px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .opt-card { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; }
  .reviews { grid-template-columns: 1fr; }
  .visit-in { grid-template-columns: 1fr; gap: 30px; }
  .prod-grid { grid-template-columns: 1fr; gap: 30px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .logo-s { display: none; }
  .logo-t { font-size: 21px; }
  .hdr-in { gap: 12px; height: 64px; }
  .hdr-r { gap: 10px; }
  .hdr .btn { padding: 9px 15px; font-size: 13.5px; }
  .nav { top: 64px; }
  .grid-3 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cat-photo { aspect-ratio: 16 / 10; }
  .sec { padding: 54px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 26px; }
  .search { min-width: 100%; }
  .blob-mini { width: 110px; bottom: -14px; }
  .opt-card { padding: 34px 24px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .btn-big { width: 100%; }
  .wa-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
