/* Шатура — тёплый светлый: лён + терракота + эспрессо */
:root {
  --bg: #faf7f2;
  --card: #ffffff;
  --ink: #362c22;
  --soft: #8a7f72;
  --terra: #b95f3d;
  --terra-d: #9e4e30;
  --terra-soft: #f4e5dc;
  --sand: #f1ebe1;
  --line: #e7dfd2;
  --r: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.acc { color: var(--terra); font-style: italic; }

/* ---------- topline / header ---------- */
.topline {
  background: var(--ink); color: #efe8de;
  font-size: 13px; letter-spacing: .04em;
  display: flex; justify-content: center; align-items: center; gap: 12px;
  padding: 8px 16px;
}
.tl-acc { color: #eec5ae; font-weight: 500; }
.tl-sep { width: 4px; height: 4px; background: #eec5ae; border-radius: 50%; }

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; flex-direction: column; line-height: 1.12; }
.logo-t {
  font-family: 'Playfair Display', serif; font-weight: 600; font-size: 25px;
  letter-spacing: .05em; color: var(--ink); white-space: nowrap;
}
.logo-t i { font-style: normal; color: var(--terra); }
.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; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--terra); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.hdr-r { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hdr-tel { font-weight: 600; 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; background: var(--ink); margin: 5px 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 500; font-size: 15.5px;
  letter-spacing: .02em;
  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(--terra); color: #fff; box-shadow: 0 8px 22px rgba(185, 95, 61, .28); }
.btn-acc:hover { background: var(--terra-d); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.btn-line:hover { border-color: var(--terra); color: var(--terra); }
.btn-dark { background: var(--ink); color: #efe8de; }
.btn-dark:hover { background: #241d15; }
.btn-big { padding: 16px 32px; font-size: 16.5px; }

/* ---------- hero: сплит с аркой ---------- */
.hero { padding: 64px 0 84px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--terra);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 4.8vw, 64px); }
.hero-sub { margin-top: 22px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--soft); max-width: 480px; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 28px; font-size: 15px; color: var(--soft); }
.hero-note b {
  color: var(--terra); font-weight: 600; margin-right: 6px;
  background: var(--terra-soft); padding: 4px 12px; border-radius: 999px;
}
.hero-img { position: relative; display: flex; justify-content: center; }
.hero-img img {
  width: min(100%, 460px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 72%;
  border-radius: 999px 999px var(--r) var(--r);
  animation: archIn 1.1s cubic-bezier(.22, .8, .3, 1) .15s both;
}
@keyframes archIn {
  from { opacity: 0; transform: translateY(28px) scale(1.03); }
  to { opacity: 1; transform: none; }
}
.hero-img::before {
  content: ''; position: absolute; inset: -22px -22px auto auto;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--terra-soft); z-index: -1;
  animation: floatY 7s ease-in-out infinite alternate;
}
.hero-img::after {
  content: ''; position: absolute; left: 6%; bottom: -26px;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--sand); z-index: -1;
  animation: floatY 9s ease-in-out infinite alternate-reverse;
}
@keyframes floatY {
  from { transform: translateY(-8px); }
  to { transform: translateY(10px); }
}

/* ---------- статы ---------- */
.stats { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 36px 20px; text-align: center; }
.stat b {
  display: block; font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px); color: var(--terra);
}
.stat span { font-size: 13.5px; color: var(--soft); }

/* ---------- секции ---------- */
.sec { padding: 84px 0; }
.sec-alt { background: var(--sand); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 42px; }
.sec-label {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 12px;
}
.sec-link {
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1.5px solid var(--terra); padding-bottom: 3px; white-space: nowrap;
  transition: color .2s;
}
.sec-link:hover { color: var(--terra); }

/* ---------- категории: карточки с подписью снизу ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.cat-tile { display: flex; flex-direction: column; }
.cat-tile:nth-child(1), .cat-tile:nth-child(2) { grid-column: span 3; }
.cat-tile:nth-child(n+3) { grid-column: span 2; }
.cat-photo { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; }
.cat-tile:nth-child(n+3) .cat-photo { aspect-ratio: 4 / 3; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-tile:hover .cat-photo img { transform: scale(1.05); }
.cat-arrow {
  position: absolute; right: 14px; bottom: 14px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(250, 247, 242, .92); color: var(--terra);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: background .2s, color .2s, transform .2s;
}
.cat-tile:hover .cat-arrow { background: var(--terra); color: #fff; transform: translate(2px, -2px); }
.cat-body { padding: 16px 6px 0; }
.cat-name { display: block; font-family: 'Playfair Display', serif; font-weight: 600; font-size: 21px; }
.cat-desc { display: block; font-size: 14px; color: var(--soft); margin-top: 3px; }

/* ---------- карточки товаров ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.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(54, 44, 34, .12); }
.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(--terra); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 5px 13px; border-radius: 999px;
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.card-body h3 { font-size: 20px; font-weight: 600; }
.card-cat { font-size: 13.5px; color: var(--soft); }
.card-price { margin-top: 9px; font-weight: 600; font-size: 14.5px; color: var(--terra); }

/* ---------- промо рассрочка ---------- */
.promo { padding: 0; }
.promo-in {
  background: var(--terra-soft); border-radius: calc(var(--r) * 1.6);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  padding: 56px 60px; margin: 0 20px;
}
.promo-wrap { max-width: 1200px; margin: 0 auto; }
.promo-big {
  font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: clamp(56px, 7.5vw, 104px); line-height: 1; color: var(--terra);
  text-align: center;
}
.promo-txt h2 { font-size: clamp(24px, 2.8vw, 34px); }
.promo-txt p { margin: 14px 0 26px; font-size: 16px; color: var(--soft); max-width: 460px; }

/* ---------- салоны ---------- */
.salons { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.salon-img { border-radius: var(--r); overflow: hidden; box-shadow: 0 24px 56px rgba(54, 44, 34, .16); }
.salon-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.salon {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; margin-bottom: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.salon:hover { border-color: var(--terra); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(54, 44, 34, .1); }
.salon-num {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--terra-soft); color: var(--terra);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}
.salon-body b { display: block; font-family: 'Playfair Display', serif; font-weight: 600; font-size: 19px; }
.salon-body span { display: block; font-size: 14.5px; color: var(--soft); margin-top: 4px; }
.salon-meta { font-size: 13px !important; }
.salon-arr { margin-left: auto; color: var(--terra); font-size: 20px; }
.salon-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- отзыв ---------- */
.quote { max-width: 840px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: 'Playfair Display', serif; font-weight: 500;
  font-size: clamp(21px, 2.6vw, 30px); line-height: 1.45;
}
.quote blockquote::before { content: '“'; color: var(--terra); font-size: 1.4em; line-height: 0; margin-right: 4px; }
.quote figcaption { margin-top: 18px; font-size: 14px; color: var(--soft); }

/* ---------- каталог ---------- */
.page-head { padding: 40px 0 0; }
.crumbs { font-size: 13.5px; color: var(--soft); margin-bottom: 18px; }
.crumbs a:hover { color: var(--terra); }
.ph-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ph-row h1 { font-size: clamp(32px, 4vw, 48px); }
.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(--terra); padding: 10px 18px; cursor: pointer; display: flex; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 9px 20px; font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: all .2s;
}
.chip:hover { border-color: var(--terra); color: var(--terra); }
.chip.on { background: var(--terra); border-color: var(--terra); color: #fff; }
.sec-cat { padding-top: 44px; }
.cat-note { margin-top: 36px; text-align: center; color: var(--soft); font-size: 15px; }
.empty { text-align: center; padding: 60px 20px; }
.empty p { font-size: 21px; font-family: 'Playfair Display', serif; }
.empty-sub { font-family: 'Jost', sans-serif !important; color: var(--soft); font-size: 15.5px !important; margin: 12px 0 28px; }

/* ---------- товар ---------- */
.prod { padding-top: 36px; }
.prod-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; }
.prod-photo { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 24px 56px rgba(54, 44, 34, .14); }
.prod-photo img { width: 100%; }
.prod-photo .card-tag { top: 16px; left: 16px; }
.prod-info h1 { font-size: clamp(32px, 3.6vw, 48px); }
.prod-desc { margin-top: 16px; font-size: 16.5px; color: var(--soft); }
.specs { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15px; }
.specs td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--soft); width: 44%; }
.prod-price { margin-top: 26px; font-family: 'Playfair Display', serif; font-weight: 600; font-size: 26px; color: var(--terra); }
.prod-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.prod-hint { margin-top: 14px; font-size: 14px; color: var(--soft); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #d9d0c4; margin-top: 56px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.f-logo { font-size: 27px; color: #f6f1e9; margin-bottom: 14px; }
.ftr-brand p { font-size: 14.5px; color: #b3a795; max-width: 300px; }
.ftr-inst { display: inline-block; margin-top: 14px; color: #eec5ae; font-weight: 500; }
.ftr-inst:hover { color: #fff; }
.ftr-h {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: #eec5ae; margin-bottom: 14px; font-weight: 600;
}
.ftr-col p { font-size: 14.5px; color: #b3a795; margin-bottom: 10px; }
.ftr-col a:hover { color: #eec5ae; }
.ftr-btm {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: #8d8271;
}

/* ---------- 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; }
  .hero-img img, .hero-img::before, .hero-img::after, .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; }
  .logo-t { font-size: 21px; }
  .hero { padding: 44px 0 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero-img img { width: min(100%, 420px); }
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat-tile, .cat-tile:nth-child(n) { grid-column: span 1; }
  .cat-photo, .cat-tile:nth-child(n) .cat-photo { aspect-ratio: 4 / 3; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .promo-in { grid-template-columns: 1fr; gap: 24px; padding: 44px 32px; }
  .salons { grid-template-columns: 1fr; gap: 30px; }
  .prod-grid { grid-template-columns: 1fr; gap: 32px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .topline { font-size: 12px; gap: 8px; }
  .logo-s { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cat-photo, .cat-tile:nth-child(n) .cat-photo { aspect-ratio: 16 / 10; }
  .sec { padding: 56px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
  .search { min-width: 100%; }
  .salon { flex-wrap: wrap; }
  .promo-in { padding: 36px 24px; margin: 0 12px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .btn-big { width: 100%; }
  .wa-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
