/* Сымбат — изящный светлый: слива + лаванда, сериф Lora */
:root {
  --bg: #fcfbfd;
  --lav: #f3eef7;
  --card: #ffffff;
  --ink: #332e37;
  --soft: #877f8d;
  --plum: #6d4a7c;
  --plum-d: #553862;
  --line: #eae4ef;
  --r: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', 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: 'Lora', serif; font-weight: 600; line-height: 1.18; }
h2 { font-size: clamp(25px, 3.2vw, 39px); color: var(--plum-d); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 253, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; flex-direction: column; line-height: 1.12; }
.logo-t { font-family: 'Lora', serif; font-weight: 600; font-size: 23px; color: var(--plum-d); white-space: nowrap; font-style: italic; }
.logo-s { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.nav { display: flex; gap: 20px; margin-left: 8px; }
.nav a { font-size: 14.5px; font-weight: 600; position: relative; padding: 4px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--plum); transition: width .25s;
}
.nav a:hover::after, .nav a.on::after { width: 100%; }
.hdr-r { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hdr-tel { font-weight: 700; font-size: 14.5px; 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; }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.lang a { padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--soft); transition: background .2s, color .2s; }
.lang a.on { background: var(--plum); color: #fff; }
.lang a:not(.on):hover { color: var(--ink); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 14.5px;
  transition: transform .18s ease, box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-plum { background: var(--plum); color: #fff; box-shadow: 0 10px 22px rgba(109, 74, 124, .26); }
.btn-plum:hover { background: var(--plum-d); }
.btn-line { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--plum); color: var(--plum-d); }
.btn-big { padding: 15px 30px; font-size: 15.5px; }

/* ---------- hero: сплит-экран, фото до края ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.hero-txt {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 48px 64px max(20px, calc((100vw - 1180px) / 2 + 20px));
}
.kicker {
  display: inline-flex; align-self: flex-start; font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--plum);
  border-bottom: 2px solid var(--plum); padding-bottom: 6px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 3.8vw, 52px); color: var(--plum-d); }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero-sub { margin-top: 16px; font-size: clamp(15px, 1.4vw, 17px); color: var(--soft); max-width: 430px; }
.hero-cta { margin-top: 28px; display: flex; gap: 13px; flex-wrap: wrap; }
.hero-feats { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; }
.hf b { display: block; font-family: 'Lora', serif; font-size: 15.5px; color: var(--plum-d); }
.hf span { font-size: 12.5px; color: var(--soft); }
.hero-photo { position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- секции ---------- */
.sec { padding: 74px 0; }
.sec-lav { background: var(--lav); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sec-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--plum); margin-bottom: 10px;
}
.sec-note { color: var(--soft); font-size: 14px; max-width: 320px; text-align: right; }
.sec-link { font-size: 14.5px; font-weight: 700; color: var(--plum); white-space: nowrap; }
.sec-link:hover { color: var(--plum-d); }

/* ---------- категории: 3 карточки ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(51, 46, 55, .12); }
.cat-img { aspect-ratio: 4 / 3; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 19px; color: var(--plum-d); }
.cat-list { margin: 10px 0 14px; list-style: none; }
.cat-list li { position: relative; padding: 3px 0 3px 18px; font-size: 13.5px; color: var(--soft); }
.cat-list li::before { content: '◆'; position: absolute; left: 0; top: 4px; font-size: 8px; color: var(--plum); }
.cat-go { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--plum); }

/* ---------- лента фактов ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font-family: 'Lora', serif; font-size: 16.5px; color: var(--plum-d); }
.fact span { font-size: 12.5px; color: var(--soft); }

/* ---------- цитата ---------- */
.quote { padding: 66px 0; text-align: center; }
.quote p {
  font-family: 'Lora', serif; font-weight: 500; font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px); max-width: 720px; margin: 0 auto; line-height: 1.42;
  color: var(--plum-d);
}
.quote p em { font-style: italic; color: var(--plum); }
.quote-sub { margin-top: 12px !important; font-family: 'Raleway', sans-serif !important; font-style: normal !important; font-weight: 400 !important; font-size: 14px !important; color: var(--soft) !important; }

/* ---------- контакты ---------- */
.contact { background: var(--lav); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.contact-txt > p { margin: 14px 0 22px; color: var(--soft); font-size: 15px; max-width: 430px; }
.c-rows { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.c-row { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; }
.c-row b { min-width: 96px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--plum); }
.map-link { font-size: 13.5px; color: var(--soft); text-decoration: underline; }
.map-link:hover { color: var(--ink); }
.contact-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r); box-shadow: 0 22px 46px rgba(51, 46, 55, .16);
}

/* ---------- каталог-страница ---------- */
.page-head { padding: 42px 0 6px; }
.crumbs { font-size: 13px; color: var(--soft); margin-bottom: 14px; }
.crumbs a:hover { color: var(--plum); }
.page-head h1 { font-size: clamp(26px, 3.4vw, 42px); color: var(--plum-d); }
.chipbar {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(252, 251, 253, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.chips { display: flex; gap: 9px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 8px 17px; font-size: 13.5px; font-weight: 600;
  transition: all .2s;
}
.chip:hover { border-color: var(--plum); color: var(--plum-d); }
.dep { padding: 54px 0; border-bottom: 1px solid var(--line); }
.dep:last-of-type { border-bottom: 0; }
.dep-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: start; }
.dep-in.flip .dep-img { order: 2; }
.dep-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r);
}
.dep-body h2 { font-size: clamp(20px, 2.4vw, 28px); }
.dep-body > p { margin-top: 10px; color: var(--soft); font-size: 15px; max-width: 470px; }
.dep-list { margin: 16px 0 22px; list-style: none; columns: 2; column-gap: 24px; }
.dep-list li { position: relative; padding: 4px 0 4px 20px; font-size: 14.5px; break-inside: avoid; }
.dep-list li::before { content: '◆'; position: absolute; left: 0; top: 6px; font-size: 8px; color: var(--plum); }

/* ---------- footer ---------- */
.ftr { background: #2a2430; color: #cfc8d5; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1fr; gap: 34px; padding-top: 50px; padding-bottom: 34px; }
.f-logo { font-family: 'Lora', serif; font-weight: 600; font-style: italic; font-size: 22px; color: #f7f4fa; margin-bottom: 12px; }
.ftr-brand p { font-size: 14px; color: #9d94a6; max-width: 300px; }
.ftr-inst { display: inline-block; margin-top: 14px; color: #c9a8dd; font-weight: 700; }
.ftr-inst:hover { color: #fff; }
.ftr-h { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #c9a8dd; margin-bottom: 12px; font-weight: 700; }
.ftr-col p { font-size: 14px; color: #9d94a6; margin-bottom: 9px; }
.ftr-col a:hover { color: #c9a8dd; }
.ftr-btm {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px; padding-bottom: 22px; font-size: 12.5px; color: #7b7284;
}

/* ---------- wa fab ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; 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 15px rgba(38, 169, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 169, 92, 0); }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); 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; }
  .wa-fab::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- мобилка ---------- */
@media (max-width: 960px) {
  .nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; font-size: 15.5px; }
  .burger { display: block; }
  .hdr-tel { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-txt { padding: 44px 20px; }
  .hero-photo { height: 300px; }
  .hero-photo img { position: static; height: 300px; }
  .cats { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .contact-in { grid-template-columns: 1fr; gap: 30px; }
  .dep-in, .dep-in.flip { grid-template-columns: 1fr; gap: 22px; }
  .dep-in.flip .dep-img { order: 0; }
  .chipbar { top: 64px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sec-note { display: none; }
}
@media (max-width: 600px) {
  .logo-s { display: none; }
  .hdr-in { gap: 10px; height: 64px; }
  .hdr-r { gap: 8px; }
  .lang a { padding: 5px 9px; font-size: 11.5px; }
  .hdr .btn { padding: 9px 13px; font-size: 13px; }
  .nav { top: 64px; }
  .sec { padding: 50px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .dep-list { columns: 1; }
  .hero-feats { gap: 16px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .btn-big { width: 100%; }
  .wa-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
@media (max-width: 430px) {
  .logo-t { font-size: 19px; }
  .hdr-in { gap: 8px; }
  .hdr-r { gap: 6px; }
  .lang a { padding: 5px 7px; font-size: 11px; }
  .hdr .btn { padding: 8px 10px; font-size: 12px; }
  .burger { padding: 4px; }
  .burger span { width: 20px; }
}
