/* ==========================================================================
   12 Комплиментов — цветочная мастерская
   ========================================================================== */

:root {
  /* Surfaces: --ink matches the black backdrop of the bouquet photos */
  --ink: #0b0909;
  --ink-2: #151011;
  --ink-3: #231a1c;
  --cream: #fff7f3;
  --blush: #fdeaee;
  --paper: #ffffff;

  /* Text */
  --text: #241a1d;
  --muted: #7a676c;
  --line: #efdde1;
  --light: #fff4f0;
  --light-muted: rgba(255, 244, 240, .68);
  --light-line: rgba(255, 244, 240, .14);

  /* Accents taken from the bouquets: rose, peach, lilac, sky */
  --rose: #f47a9c;
  --rose-deep: #c93d68;
  --rose-soft: #f9b3c7;
  --peach: #ffb892;
  --lilac: #c4b2f6;
  --sky: #a6dbea;
  --grad: linear-gradient(120deg, #f47a9c 0%, #ffb892 100%);
  --grad-soft: linear-gradient(140deg, #fbc6d4 0%, #ffd9c2 55%, #e3d8ff 100%);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-xl: 32px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --pad: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rose-soft); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--rose); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.i { flex-shrink: 0; }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 11px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--light-muted); }
.h2 {
  font: 400 clamp(38px, 5vw, 68px)/1 var(--serif);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 em, .page-hero__title em, .hero__title em, .cta__title em, .modal__title em, .circle__title em {
  font-style: italic;
  color: var(--rose-deep);
}
.h2--light { color: var(--light); }
.h2--light em, .hero__title em, .page-hero__title em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.h2--sm { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 14px/1 var(--sans);
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--light); }
.btn--dark:hover { background: var(--ink-3); }
.btn--rose { background: var(--grad); color: var(--ink); }
.btn--rose:hover { box-shadow: 0 10px 30px -8px rgba(244, 122, 156, .6); }
.btn--glass { background: rgba(255, 255, 255, .08); color: var(--light); border-color: rgba(255, 255, 255, .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--outline { border-color: rgba(36, 26, 29, .2); color: var(--text); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--light); }
.btn--light { background: var(--light); color: var(--ink); }
.btn--light:hover { background: var(--rose-soft); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.round-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(36, 26, 29, .18);
  transition: background-color .2s, color .2s, border-color .2s;
}
.round-btn:hover { background: var(--ink); color: var(--light); border-color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--light);
  transition: background-color .3s var(--ease), backdrop-filter .3s;
}
.header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11, 9, 9, .6), rgba(11, 9, 9, 0));
  transition: opacity .3s;
}
.header.is-scrolled::before, .header.is-open::before { opacity: 0; }
.header.is-scrolled, .header.is-open {
  background: rgba(11, 9, 9, .78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: padding .3s var(--ease);
}
.header.is-scrolled .header__inner { padding-block: 8px; }
.header__nav { display: flex; gap: 32px; }
.header__nav a {
  font: 600 12px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  color: var(--light-muted);
  transition: color .2s;
}
.header__nav a:hover, .header__nav a[aria-current] { color: var(--light); }
.header__nav a[aria-current]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose);
}
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__num {
  font: italic 500 42px/.8 var(--serif);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .08em;
}
.logo__word { font: 600 9.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; margin-top: 6px; padding-left: .34em; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.header__phone .i { color: var(--rose); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--light-line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.header.is-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.header.is-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  height: calc(100dvh - 72px);
  padding: 24px var(--pad) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font: 400 44px/1.25 var(--serif); padding: 6px 0; border-bottom: 1px solid var(--light-line); }
.mobile-menu nav a[aria-current] { font-style: italic; color: var(--rose-soft); }
.mobile-menu__foot { display: grid; gap: 14px; padding-top: 32px; }
.mobile-menu__phone { font: 600 22px/1 var(--sans); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: var(--light);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(64%, 1080px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { position: relative; padding-top: 150px; padding-bottom: 170px; }
.hero__title {
  font: 400 clamp(52px, 7.4vw, 112px)/.94 var(--serif);
  letter-spacing: -.015em;
  max-width: 11ch;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__title em { display: inline; }
.hero__lead { max-width: 480px; color: var(--light-muted); font-size: 17px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__pick {
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  margin-inline: auto;
  width: max-content;
  max-width: calc(100% - 2 * var(--pad));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: left;
  transition: background-color .25s;
}
.hero__pick:hover { background: rgba(255, 255, 255, .18); }
.hero__pick img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero__pick-text { display: grid; line-height: 1.3; min-width: 0; }
.hero__pick-text b { font: 500 20px/1.1 var(--serif); }
.hero__pick-text span { font-size: 12px; color: var(--light-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__pick-price { background: var(--light); color: var(--ink); font-weight: 700; font-size: 14px; padding: 12px 18px; border-radius: 999px; margin-left: 10px; white-space: nowrap; }

/* ---------- Perks strip ---------- */
.perks { border-bottom: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 40px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .i { color: var(--rose-deep); margin-top: 2px; }
.perk h3 { font: 700 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.perk p { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-top: 0; }
.section--line { border-top: 1px solid var(--line); }
.section--catalog { padding-top: 48px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .eyebrow { margin-bottom: 14px; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav--center { justify-content: center; margin-top: 32px; }
.center-btn { text-align: center; margin-top: 44px; }

/* ---------- Bouquet card ---------- */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--catalog { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 9, 9, .55); }
.card__hit { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card__hit:focus-visible { outline-offset: -4px; outline-width: 3px; }
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, var(--ink)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--grad); color: var(--ink);
  font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
}
.card__count {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font: 600 11px/1 var(--sans); padding: 7px 10px; border-radius: 999px;
  background: rgba(11, 9, 9, .45); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 22px 22px; margin-top: -18px; z-index: 1; }
.card__cat { align-self: flex-start; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 10px; }
.card__name { font: 500 28px/1.05 var(--serif); margin-bottom: 6px; }
.card__short { font-size: 13px; line-height: 1.45; color: var(--light-muted); margin-bottom: 18px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { background: var(--light); color: var(--ink); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--light-muted); transition: color .2s, gap .2s; }
.card:hover .card__more { color: var(--rose-soft); gap: 10px; }
.card.is-hidden { display: none; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__label {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(255, 247, 243, .92); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .3s;
}
.tile__label > span { display: grid; font: 500 24px/1.05 var(--serif); }
.tile__label small { font: 500 12px/1.4 var(--sans); color: var(--muted); margin-top: 4px; }
.tile:hover .tile__label { background: var(--rose-soft); }
.tile:hover .tile__label small { color: var(--text); }

/* ---------- Split (text + photo with quote) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.split__text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 80px var(--pad) 80px max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
}
.split__text .h2 { margin-bottom: 24px; }
.split__lead { color: var(--muted); max-width: 440px; margin-bottom: 32px; }
.split__media { position: relative; background: var(--ink); overflow: hidden; }
.split__media > img { width: 100%; height: 100%; object-fit: cover; }
.quote-card {
  position: absolute;
  top: 0; bottom: 0; left: 8%;
  height: max-content;
  margin-block: auto;
  max-width: 340px;
  padding: 36px;
  border-radius: var(--r-lg);
  background: var(--grad);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.quote-card p { font: italic 500 25px/1.2 var(--serif); margin-bottom: 20px; }
.quote-card footer { font: 700 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.quote-card footer span { display: block; font-weight: 500; letter-spacing: .04em; text-transform: none; opacity: .75; margin-top: 2px; }

/* ---------- Compare ---------- */
.compare { position: relative; background: var(--ink); color: var(--light); overflow: hidden; padding-block: clamp(80px, 10vw, 140px); }
.compare__bg { position: absolute; inset: 0; pointer-events: none; }
.compare__bg img {
  position: absolute; right: -6%; bottom: -10%; width: min(62%, 860px); opacity: .38;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent);
  mask-image: radial-gradient(closest-side, #000 45%, transparent);
}
.compare .container { position: relative; }
.compare__wrap {
  max-width: 920px; margin-inline: auto; overflow-x: auto;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--light-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.compare__table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare__table th, .compare__table td { padding: 18px 24px; text-align: center; border-bottom: 1px solid var(--light-line); font-size: 14px; }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table thead th { font: 700 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--light-muted); padding-block: 22px; }
.compare__table tbody th { text-align: left; font-weight: 500; font-size: 15px; }
.compare__table td { color: var(--light-muted); }
.compare__table td .i { margin-inline: auto; color: var(--rose-soft); }
.compare__table .is-us { background: rgba(244, 122, 156, .12); width: 26%; }
.compare__table thead .is-us { background: var(--grad); color: var(--ink); }
.compare__table td.is-us .i { color: var(--rose); stroke-width: 2; }

/* ---------- Horizontal rails ---------- */
.rail {
  --inset: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 27vw, 380px);
  gap: 20px;
  overflow-x: auto;
  padding: 4px var(--inset) 16px;
  scroll-padding-inline: var(--inset);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.service { background: var(--paper); border-radius: var(--r-lg); padding: 10px 10px 26px; border: 1px solid var(--line); }
.service__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ink); margin-bottom: 20px; display: grid; place-items: center; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__media svg { width: 62%; height: auto; }
.service__media--balloons { background: radial-gradient(circle at 50% 40%, #2b1c22, var(--ink) 70%); }
.service__media--gifts { background: radial-gradient(circle at 50% 50%, #251b2c, var(--ink) 70%); }
.service h3 { font: 500 26px/1.1 var(--serif); padding-inline: 12px; margin-bottom: 8px; }
.service p { font-size: 14px; color: var(--muted); padding-inline: 12px; line-height: 1.55; }

/* ---------- Process + circle ---------- */
.process { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 128px); }
.process__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.process__media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); min-height: 640px; }
.process__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.process__card {
  position: absolute; top: 24px; bottom: 24px; right: 24px;
  width: min(420px, 68%);
  overflow: auto;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 247, 243, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding-block: 20px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 6px; }
.steps span { font: italic 500 30px/1 var(--serif); color: var(--rose-deep); }
.steps h3 { font: 700 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.steps p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.process__circle { display: grid; place-items: center; }
.circle {
  width: 100%; max-width: 560px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 13%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 40px 80px -40px rgba(244, 122, 156, .55);
}
.circle__title { font: 400 clamp(34px, 3.8vw, 54px)/1 var(--serif); margin-bottom: 20px; }
.circle .eyebrow { color: var(--text); opacity: .7; margin-bottom: 10px; }
.circle p:not(.eyebrow) { font-size: 14px; line-height: 1.55; margin-bottom: 24px; color: #4b3a3f; }

/* ---------- Reviews ---------- */
.review { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; min-height: 340px; }
.review__stars { display: flex; gap: 2px; color: var(--rose); margin-bottom: 18px; }
.review__stars .i { fill: currentColor; stroke: none; }
.review__text { font-size: 15.5px; line-height: 1.65; margin-bottom: 18px; }
.review__author { font: 700 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.review__product { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); text-align: left; }
.review__product img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.review__product span { display: grid; font-size: 12px; font-weight: 600; color: var(--rose-deep); }
.review__product b { font: 500 19px/1.2 var(--serif); color: var(--text); }
.review__product:hover b { color: var(--rose-deep); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(32px, 6vw, 96px); }
.faq__head .h2 { margin-bottom: 20px; }
.faq__head p:last-child { color: var(--muted); }
.faq__head a { color: var(--rose-deep); font-weight: 600; white-space: nowrap; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 8px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { font: 600 12px/1 var(--sans); color: var(--muted); }
.faq__q { font-size: 17px; font-weight: 600; line-height: 1.35; }
.faq__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--light); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item summary:hover .faq__q { color: var(--rose-deep); }
.faq__item p { padding: 0 36px 24px 52px; color: var(--muted); max-width: 680px; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 680px; display: grid; place-items: center; padding: 80px var(--pad); overflow: hidden; background: var(--ink); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: blur(2px) saturate(1.1); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11, 9, 9, .15), rgba(11, 9, 9, .65)); }
.cta__card {
  position: relative; width: 100%; max-width: 640px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--r-xl);
  background: rgba(255, 247, 243, .86);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  text-align: center;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .7);
}
.cta__title { font: 400 clamp(34px, 4vw, 50px)/1.02 var(--serif); margin-bottom: 14px; }
.cta__lead { color: var(--muted); margin-bottom: 26px; }
.cta__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 16px; }
.cta__row input { height: 52px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 20px; min-width: 0; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.cta__row input:focus { outline: 0; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(244, 122, 156, .25); }
.cta__row .btn { height: 52px; }
.cta .check { justify-content: center; text-align: left; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--light); overflow: hidden; padding: 170px 0 96px; }
.page-hero--short { padding-bottom: 56px; }
.page-hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(52%, 760px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { position: relative; }
.page-hero__title { font: 400 clamp(56px, 8vw, 120px)/.95 var(--serif); letter-spacing: -.015em; margin-bottom: 24px; }
.page-hero__title--sm { font-size: clamp(44px, 6vw, 84px); }
.page-hero__lead { max-width: 560px; color: var(--light-muted); font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--light-muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--light); }
.crumbs a::after { content: "/"; margin-left: 10px; opacity: .5; }

/* ---------- Catalog toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: 14px; font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip sup { font-size: 10px; color: var(--muted); margin-left: 2px; }
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--light); }
.chip[aria-pressed="true"] sup { color: var(--rose-soft); }
.sort select {
  height: 44px; padding: 0 44px 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23241a1d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center;
  font-size: 14px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- Custom order band ---------- */
.custom { background: var(--ink); color: var(--light); padding-block: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.custom::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: var(--grad); opacity: .16; filter: blur(60px); }
.custom__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.custom__text { max-width: 640px; }
.custom__text .h2 { margin-bottom: 18px; }
.custom__text p:last-child { color: var(--light-muted); }
.custom__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__text .h2 { margin-bottom: 28px; }
.story__text p:not(.eyebrow) { color: var(--muted); margin-bottom: 16px; max-width: 580px; }
.story__media { position: relative; padding-bottom: 64px; }
.story__img--a { width: 82%; border-radius: var(--r-xl); aspect-ratio: 1; object-fit: cover; }
.story__img--b { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--r-lg); border: 8px solid var(--cream); aspect-ratio: 1; object-fit: cover; }
.values { background: var(--ink); color: var(--light); padding-block: clamp(72px, 9vw, 128px); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--light-line); transition: background-color .3s, border-color .3s; }
.value:hover { background: rgba(244, 122, 156, .08); border-color: rgba(244, 122, 156, .35); }
.value__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: var(--ink); display: grid; place-items: center; margin-bottom: 24px; }
.value h3 { font: 500 27px/1.1 var(--serif); margin-bottom: 10px; }
.value p { color: var(--light-muted); font-size: 14.5px; }
.services-list { border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 90px 1fr 240px; gap: 32px; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); }
.svc__num { font: italic 500 44px/1 var(--serif); color: var(--rose-deep); }
.svc h3 { font: 500 clamp(28px, 3vw, 38px)/1.05 var(--serif); margin-bottom: 10px; }
.svc p { color: var(--muted); max-width: 620px; }
.svc__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__media--art { display: grid; place-items: center; color: var(--rose-soft); background: radial-gradient(circle, #2b1c22, var(--ink) 70%); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item span {
  position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 247, 243, .92); font: 500 17px/1 var(--serif);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover span, .gallery__item:focus-visible span { opacity: 1; transform: none; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contacts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .3s var(--ease); min-width: 0; }
a.contact-card:hover { border-color: var(--rose); transform: translateY(-2px); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--blush); color: var(--rose-deep); display: grid; place-items: center; flex-shrink: 0; }
.contact-card > span:last-child { display: grid; min-width: 0; }
.contact-card small { font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.requisites { grid-column: 1 / -1; background: var(--ink); color: var(--light); border-radius: var(--r-lg); padding: 28px; }
.requisites .eyebrow { color: var(--light-muted); }
.requisites dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--light-line); font-size: 14px; }
.requisites dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.requisites dt { color: var(--light-muted); }
.requisites dd { text-align: right; font-weight: 600; }
.contacts__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); }
.contacts__lead { color: var(--muted); margin-bottom: 8px; }
.map iframe { display: block; width: 100%; height: 480px; border: 0; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal__toc { position: sticky; top: 100px; }
.legal__toc ol { counter-reset: toc; display: grid; gap: 4px; }
.legal__toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); }
.legal__toc a:hover { color: var(--rose-deep); }
.legal__body { max-width: 780px; }
.legal__body h2 { font: 500 32px/1.15 var(--serif); margin: 44px 0 16px; scroll-margin-top: 100px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: #4b3a3f; margin-bottom: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal__body a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal__card { margin-top: 44px; background: var(--blush); border-radius: var(--r-lg); padding: 28px; }
.legal__card p:last-child { margin: 0; line-height: 1.8; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font: 700 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field > span i { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .75; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 13px 16px; resize: vertical; min-height: 76px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23241a1d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(244, 122, 156, .22); }
.is-invalid, .field .is-invalid, .cta__row .is-invalid { border-color: #d0385f !important; }
.field__err { font-size: 12px; color: #c02a52; font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--rose-deep); flex-shrink: 0; }
.check a { text-decoration: underline; text-underline-offset: 2px; color: var(--text); }
.check.is-invalid { color: #c02a52; }
.seg { display: flex; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--blush); }
.seg label { flex: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--light); }
.seg input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.form__status { font-size: 13px; font-weight: 600; min-height: 1em; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-error { color: #c02a52; }
.form__hint { font-size: 12px; color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 24px 8px; }
.form-done p { color: var(--muted); max-width: 380px; }
.form-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: var(--ink); display: grid; place-items: center; }

/* ---------- Modal ---------- */
.modal {
  border: 0; padding: 0; margin: auto;
  width: min(1140px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  border-radius: var(--r-xl);
  background: var(--cream);
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7);
}
.modal[open] { animation: modalIn .45s var(--ease); }
.modal::backdrop { background: rgba(11, 9, 9, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal--small { width: min(520px, calc(100% - 32px)); overflow-y: auto; padding: clamp(28px, 5vw, 44px); }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  transition: transform .25s var(--ease), background-color .2s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--paper); }
.modal__title { font: 400 clamp(34px, 4vw, 44px)/1.02 var(--serif); margin-bottom: 10px; padding-right: 36px; }
.modal__lead { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
html.is-locked, html.is-locked body { overflow: hidden; }

.bm { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); height: min(780px, calc(100dvh - 32px)); }
.bm__gallery { background: var(--ink); display: flex; flex-direction: column; gap: 12px; padding: 16px; min-height: 0; }
.bm__stage { position: relative; flex: 1; min-height: 0; border-radius: var(--r); overflow: hidden; }
.bm__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.bm__track::-webkit-scrollbar { display: none; }
.bm__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; scroll-snap-stop: always; background: var(--ink); }
.bm__track:focus-visible { outline-offset: -3px; }
.bm__nav {
  position: absolute; top: 50%; margin-top: -22px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--light);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .2s, opacity .2s;
}
.bm__nav:hover { background: rgba(255, 255, 255, .25); }
.bm__nav[disabled] { opacity: 0; pointer-events: none; }
.bm__nav--prev { left: 12px; }
.bm__nav--next { right: 12px; }
.bm__counter {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  font: 600 12px/1 var(--sans); color: var(--light);
  padding: 7px 12px; border-radius: 999px; background: rgba(11, 9, 9, .5); border: 1px solid rgba(255, 255, 255, .16);
}
.bm__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; padding: 2px; }
.bm__thumbs::-webkit-scrollbar { display: none; }
.bm__thumbs button { flex: 0 0 64px; height: 64px; border-radius: 12px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s, outline-color .2s; }
.bm__thumbs button:hover { opacity: .8; }
.bm__thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--rose); }
.bm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bm__panel { overflow-y: auto; padding: 52px 44px 36px; min-height: 0; overscroll-behavior: contain; }
.bm__name { font: 400 clamp(38px, 4vw, 52px)/1 var(--serif); margin-bottom: 14px; padding-right: 40px; }
.bm__name--sm { font-size: clamp(30px, 3vw, 38px); }
.bm__price { display: inline-block; font-size: 22px; font-weight: 700; background: var(--grad); color: var(--ink); padding: 8px 18px; border-radius: 999px; margin-bottom: 22px; }
.bm__text { color: #4b3a3f; font-size: 15.5px; margin-bottom: 26px; }
.bm__sub { font: 700 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bm__comp { margin-bottom: 22px; }
.bm__comp li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.bm__comp li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.bm__note { font-size: 13.5px; line-height: 1.5; background: var(--blush); border-radius: 16px; padding: 14px 16px; color: #5a4449; }
.bm__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.bm__actions .btn--dark { flex: 1 1 200px; }
.bm__perks { display: grid; gap: 10px; }
.bm__perks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.bm__perks .i { color: var(--rose-deep); }
.bm__back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.bm__back:hover { color: var(--rose-deep); }
.bm__summary { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
.bm__summary img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.bm__summary b { display: block; font: 500 21px/1.15 var(--serif); }
.bm__summary span { font-size: 14px; font-weight: 700; color: var(--rose-deep); }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  max-width: 460px; margin-left: 16px;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 14px 14px 20px; border-radius: var(--r);
  background: rgba(21, 16, 17, .96); color: var(--light);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  border: 1px solid var(--light-line);
}
.cookie p { font-size: 13px; line-height: 1.45; color: var(--light-muted); }
.cookie a { color: var(--light); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--light); padding-top: clamp(64px, 8vw, 96px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer__lead { font: 400 26px/1.2 var(--serif); max-width: 380px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--light-line); display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.footer__social a:hover { background: var(--grad); border-color: transparent; color: var(--ink); }
.footer__txt { font-size: 12px; font-weight: 700; }
.footer__title { font: 700 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--light-muted); margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.footer__col a:hover { color: var(--rose-soft); }
.footer__col > span { color: var(--light-muted); }
.footer__col .btn { margin-top: 8px; }
.footer__phone { font-size: 18px; font-weight: 700; }
.footer__mark {
  display: block;
  margin: clamp(56px, 8vw, 96px) 0 clamp(20px, 3vw, 32px);
  text-align: center;
  white-space: nowrap;
  font: 400 clamp(44px, 11.4vw, 176px)/.9 var(--serif);
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__mark span { font-style: italic; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--light-line); font-size: 12px; color: var(--light-muted); }
.footer__bottom a:hover { color: var(--light); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal.is-in:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .process__circle { order: -1; }
  .circle { max-width: 520px; }
}

@media (max-width: 960px) {
  .header__inner { grid-template-columns: auto 1fr; }
  .header__nav { display: none; }
  .logo { align-items: flex-start; }
  .logo__num { font-size: 36px; }
  .header__actions .btn { display: none; }
  .burger { display: block; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--light-line); }

  .hero { align-items: flex-end; }
  .hero__media { width: 100%; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 85%); mask-image: linear-gradient(180deg, #000 30%, transparent 85%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero__inner { padding-top: 45vh; padding-bottom: 136px; }
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__text { padding: 72px var(--pad); }
  .split__media { min-height: 560px; }
  .faq { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 60px 1fr; }
  .svc__media { grid-column: 2; max-width: 420px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contacts { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .page-hero__media { width: 100%; opacity: .45; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }

  .modal--bouquet { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; overflow-y: auto; }
  .bm { grid-template-columns: minmax(0, 1fr); height: auto; }
  .bm__gallery { padding: 0 0 12px; }
  .bm__stage { flex: none; aspect-ratio: 1; border-radius: 0; }
  .bm__thumbs { padding-inline: 12px; }
  .bm__panel { overflow: visible; padding: 28px var(--pad) 40px; }
  .bm__name { padding-right: 0; }
  .modal--bouquet .modal__close { position: fixed; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero__title { font-size: clamp(46px, 13vw, 64px); }
  .hero__lead { font-size: 15.5px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__pick { bottom: 20px; gap: 10px; }
  .hero__pick img { width: 44px; height: 44px; }
  .hero__pick-text b { font-size: 17px; }
  .hero__pick-price { padding: 10px 14px; margin-left: 0; }
  .perks__grid { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .section__head { margin-bottom: 28px; }
  .cards { gap: 10px; }
  .cards--4, .cards--catalog { grid-template-columns: 1fr 1fr; }
  .card { border-radius: var(--r); }
  .card__body { padding: 0 12px 14px; margin-top: -10px; }
  .card__cat { font-size: 9px; margin-bottom: 6px; }
  .card__name { font-size: 20px; }
  .card__short { display: none; }
  .card__foot { margin-top: 10px; }
  .card__price { font-size: 12.5px; padding: 7px 10px; }
  .card__more { display: none; }
  .card__count { display: none; }
  .card__badge { top: 10px; left: 10px; font-size: 9px; padding: 6px 9px; }
  .tiles { gap: 10px; }
  .tile { border-radius: var(--r); }
  .tile__label { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; border-radius: 14px; }
  .tile__label > span { font-size: 18px; }
  .tile__label small { display: none; }
  .quote-card { position: relative; top: auto; bottom: auto; left: auto; margin: -120px 16px 24px; max-width: none; padding: 26px; }
  .split__media { min-height: 0; background: var(--cream); }
  .split__media > img { aspect-ratio: 1; height: auto; }
  .process__media { min-height: 0; background: transparent; overflow: visible; }
  .process__media > img { position: static; aspect-ratio: 1; border-radius: var(--r-lg); }
  .process__card { position: relative; inset: auto; width: auto; margin: -80px 12px 0; padding: 24px; background: rgba(255, 247, 243, .96); }
  .circle { padding: 11%; }
  .circle p:not(.eyebrow) { font-size: 13px; margin-bottom: 16px; }
  .faq__item summary { grid-template-columns: 32px 1fr 28px; }
  .faq__q { font-size: 15.5px; }
  .faq__item p { padding: 0 0 20px 40px; }
  .cta { min-height: 0; padding-block: 64px; }
  .cta__row { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 64px; }
  .page-hero__lead { font-size: 15.5px; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .chips { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .sort select { width: 100%; }
  .values__grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .svc__media { grid-column: auto; max-width: none; }
  .svc__num { font-size: 34px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery__item span { opacity: 1; transform: none; font-size: 14px; padding: 6px 10px; left: 8px; bottom: 8px; }
  .contacts__list { grid-template-columns: 1fr; }
  .requisites dl div { flex-direction: column; gap: 2px; }
  .requisites dd { text-align: left; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .footer__about, .footer__col:last-child { grid-column: 1 / -1; }
  .compare__table { min-width: 0; }
  .compare__table th, .compare__table td { padding: 13px 10px; font-size: 12.5px; }
  .compare__table tbody th { font-size: 13.5px; padding-left: 16px; }
  .compare__table thead th { font-size: 9.5px; letter-spacing: .06em; padding-block: 16px; }
  .compare__table .is-us { width: 28%; }
  .circle { aspect-ratio: auto; border-radius: var(--r-xl); padding: 44px 24px; }
  .cookie { flex-direction: column; align-items: stretch; left: 16px; margin-left: 0; padding: 16px; }
  .rail { grid-auto-columns: 80%; gap: 12px; }
}
.page-hero--404 { min-height: 100svh; display: flex; align-items: center; padding-bottom: 120px; }

/* ==========================================================================
   Joomla additions
   ========================================================================== */
.legal--single { grid-template-columns: 1fr; }
.legal--single .legal__body { max-width: 860px; margin-inline: auto; }
.legal__body h3 { font: 600 20px/1.3 var(--sans); margin: 28px 0 12px; }
.legal__body ol { list-style: decimal; padding-left: 22px; margin-bottom: 12px; }
.legal__body img { border-radius: var(--r); margin-block: 16px; }
.legal__body table { width: 100%; border-collapse: collapse; margin-block: 16px; font-size: 15px; }
.legal__body th, .legal__body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.legal__body blockquote { border-left: 3px solid var(--rose); padding: 4px 0 4px 18px; margin: 16px 0; font: italic 500 22px/1.35 var(--serif); }
.story__text p { color: var(--muted); margin-bottom: 16px; max-width: 580px; }

/* System messages (Joomla) */
.kmp-messages { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); z-index: 70; width: min(640px, calc(100% - 32px)); }
.kmp-messages joomla-alert, .kmp-messages .alert { display: block; margin-bottom: 10px; padding: 14px 44px 14px 18px; border-radius: 16px; background: var(--ink); color: var(--light); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); border: 1px solid var(--light-line); font-size: 14px; position: relative; }
.kmp-messages .alert-heading { display: none; }
.kmp-messages .joomla-alert--close, .kmp-messages button { position: absolute; top: 8px; right: 10px; color: var(--light); background: none; border: 0; font-size: 20px; cursor: pointer; }
.kmp-messages [type="warning"], .kmp-messages [type="danger"], .kmp-messages .alert-warning, .kmp-messages .alert-danger { border-color: #d0385f; }

/* Error page */
.error-page { min-height: 100svh; display: flex; align-items: center; }

/* Logo image (optional, from the component options) */
.logo__img { display: block; max-height: 52px; width: auto; }
.footer__logo-img { display: block; max-height: 64px; width: auto; margin-bottom: 20px; }

/* Pages that are not com_komplimentov pages (articles, search...) */
.no-hero .header { background: rgba(11, 9, 9, .94); }
.no-hero main { padding: 120px var(--pad) 72px; max-width: var(--maxw); margin-inline: auto; }
.no-hero main h1, .no-hero main .page-header h1 { font: 400 clamp(40px, 5vw, 64px)/1.05 var(--serif); margin-bottom: 24px; }
.no-hero main p { margin-bottom: 14px; }

/* Footer: "Разработано для" + partner logos */
@media (min-width: 1181px) {
  .footer__top:has(.footer__credits) { grid-template-columns: 1.35fr .85fr 1fr 1fr 1fr; gap: 32px; }
}
.footer__credits { gap: 12px; }
.footer__credits-client { color: var(--light) !important; font-size: 14px; line-height: 1.4; }
.footer__credits-label { color: var(--light-muted); font-size: 14px; margin-top: 6px; }
.footer__partner { display: inline-flex; align-items: center; opacity: .85; transition: opacity .2s; }
.footer__partner:hover { opacity: 1; }
.footer__partner img { display: block; width: auto; height: auto; max-width: 170px; max-height: 56px; }

.contact-card__extra { display: block; font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
