/* =========================================================
   PRO CERAMIC — SINISO-структура + антиква (вариант A + C)
   ========================================================= */
:root {
  --black: #0d0d0d;
  --white: #ffffff;
  --ivory: #f7f4ee;
  --text: #1f1e1b;
  --body: #4a4740;
  --muted: #8a857a;
  --line: #e4dfd5;
  --green: #1d5c47;
  --green-hover: #164a39;
  --green-light: #2a8a63;
  --band: #5d5e5a;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 80px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --t: 300ms;
  --section: clamp(80px, 9vw, 130px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--text); }
p, dl, dd { margin: 0; }
em { font-style: italic; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 60px; } }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--green-light); }

/* ---------- Header (чёрный, как у SINISO) ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: .04em; white-space: nowrap; line-height: 1; color: inherit; }
.logo i { font-style: normal; color: var(--green-light); }
.nav { display: none; gap: clamp(24px, 3vw, 48px); font-size: 16px; font-weight: 400; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.header__phone { display: none; font-size: 15px; font-weight: 500; margin-right: 14px; letter-spacing: .02em; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; transition: opacity var(--t) var(--ease); }
.icon-btn:hover { opacity: .7; }
.icon-btn svg { width: 22px; height: 22px; stroke-width: 2; }
.burger { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.burger span { display: block; height: 1.5px; background: currentColor; transition: transform var(--t) var(--ease), opacity var(--t); }
.burger span:nth-child(1) { width: 26px; } .burger span:nth-child(2) { width: 20px; } .burger span:nth-child(3) { width: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .header__phone { display: inline; }
  .burger { display: none; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--black); color: var(--white);
  padding: calc(var(--header-h) + 28px) 20px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility var(--t);
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.2; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; color: rgba(255, 255, 255, .6); }
.menu__foot a:first-child { color: var(--white); font-size: 20px; font-weight: 500; }

/* ---------- Search ---------- */
.search { position: fixed; inset: 0; z-index: 110; background: rgba(255, 255, 255, .98); padding-top: 28px; opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), visibility var(--t); }
.search.is-open { opacity: 1; visibility: visible; }
.search .icon-btn { color: var(--text); }
.search__bar { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--text); padding-bottom: 8px; }
.search__bar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 clamp(26px, 4vw, 40px) var(--serif); }
.search__bar input::placeholder { color: var(--muted); }
.search__results { list-style: none; margin: 8px 0 0; padding: 0; }
.search__results a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); transition: color var(--t) var(--ease); }
.search__results a:hover { color: var(--green); }
.search__results small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search__empty { padding: 16px 0; color: var(--muted); }

/* ---------- Common ---------- */
.section { padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -.005em; max-width: 820px; }
.h2 em, .about__text h3 em { color: var(--green); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head__note { max-width: 400px; font-size: 16px; color: var(--body); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr auto; align-items: end; gap: 64px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 32px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-hover); }
.btn--outline { border: 1px solid rgba(255, 255, 255, .85); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--text); }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--green); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link span { transition: transform var(--t) var(--ease); }
.link:hover span { transform: translateX(4px); }

[data-stone] { background-color: #888; background-size: cover; background-position: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero (фото во весь экран, текст по центру) ---------- */
.hero { position: relative; min-height: max(560px, calc(100svh - var(--header-h))); display: flex; flex-direction: column; justify-content: center; color: var(--white); background: var(--black); overflow: hidden; text-align: center; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .6) 100%); }
.hero__inner { position: relative; padding-top: 80px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; }
.hero__title { font-family: var(--serif); font-weight: 500; color: var(--white); font-size: clamp(42px, 6vw, 88px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 26px; max-width: 1120px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; color: rgba(255, 255, 255, .9); max-width: 640px; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 28px; font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }
.hero__caption b { color: var(--white); font-weight: 500; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 56px; height: 20px; position: relative; }
.hero__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .45); transition: background var(--t) var(--ease); }
.hero__dots button.is-active::before { background: var(--white); }
@media (max-width: 640px) {
  .hero { text-align: left; }
  .hero__inner { align-items: flex-start; }
  .hero__cta { justify-content: flex-start; width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__caption { display: none; }
  .hero__bottom { justify-content: flex-start; }
  .hero__dots button { width: 36px; }
}

/* ---------- Collections strip ---------- */
.collections { padding: var(--section) 0 0; }
.strip { display: grid; gap: 12px; padding: 0 12px; }
.card { position: relative; min-height: 340px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .7) 100%); transition: opacity var(--t) var(--ease); }
.card__body { padding: 26px 24px; }
.card__num { display: block; font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.05; color: var(--white); margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.5; font-weight: 300; color: rgba(255, 255, 255, .88); margin-bottom: 12px; max-width: 420px; }
.card__spec { font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
@media (min-width: 640px) { .strip { grid-template-columns: 1fr 1fr; } .card--wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .strip { grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; }
  .card--wide { grid-column: auto; }
  .card { min-height: 460px; }
  .card:not(.card--wide) h3 { font-size: 28px; }
  .card:not(.card--wide) .card__body { padding: 22px 18px; }
}
.strip__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; padding-top: 28px; padding-bottom: 8px; }
.strip__foot p { font-size: 14px; color: var(--muted); }

/* ---------- Catalog (направления) ---------- */
.cats { display: grid; gap: 40px 24px; }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px 24px; } .cat { grid-column: span 2; } .cat--lg { grid-column: span 3; } }
.cat { display: flex; flex-direction: column; }
.cat__img { aspect-ratio: 4 / 3; background-color: var(--ivory); background-size: cover; background-position: center; margin-bottom: 20px; transition: opacity var(--t) var(--ease); }
@media (min-width: 1100px) { .cat--lg .cat__img { aspect-ratio: 16 / 10; } .cat:not(.cat--lg) .cat__img { aspect-ratio: 4 / 5; } }
.cat:hover .cat__img { opacity: .9; }
.cat__img--draw { display: grid; place-items: center; }
.cat__draw { width: 56%; height: auto; color: var(--text); }
.cat__draw path, .cat__draw ellipse { stroke-width: 1.4; }
.cat h3 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.05; margin-bottom: 8px; }
.cat p { font-size: 15px; margin-bottom: 14px; max-width: 460px; }
.cat .link { align-self: flex-start; font-size: 15px; }

/* ---------- Promo (акция) ---------- */
.promo { background: var(--black); color: var(--white); padding: var(--section) 0; }
.promo__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .promo__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; } }
.promo__media { position: relative; margin: 0; }
.promo__slides { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #1a1a1a; }
.promo__img { position: absolute; inset: 0; background-size: cover; background-position: center bottom; opacity: 0; transition: opacity 400ms var(--ease); }
.promo__img.is-active { opacity: 1; }
.promo__nav { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; background: rgba(13, 13, 13, .82); }
.promo__arrow { width: 52px; height: 52px; display: grid; place-items: center; color: var(--white); transition: background var(--t) var(--ease); }
.promo__arrow:hover { background: var(--green); }
.promo__arrow svg { width: 22px; height: 22px; stroke-width: 1.8; }
.promo__count { padding: 0 8px; font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.promo__count b { color: var(--white); font-weight: 500; }
.promo__bar { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: rgba(255, 255, 255, .12); }
.promo__bar span { display: block; height: 100%; width: 0; background: var(--green-light); }
.promo__price.is-swap { animation: priceIn 350ms var(--ease); }
@keyframes priceIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.promo__thumbs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; margin-top: 36px; }
.promo__thumbs button { aspect-ratio: 1 / 1; background-size: cover; background-position: center 70%; opacity: .45; outline: 1px solid transparent; outline-offset: 2px; transition: opacity var(--t) var(--ease), outline-color var(--t) var(--ease); }
.promo__thumbs button:hover { opacity: .8; }
.promo__thumbs button.is-active { opacity: 1; outline-color: var(--white); }
.promo__badge { position: absolute; top: 0; left: 0; background: var(--green); color: var(--white); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 10px 16px; }
.promo .h2 { color: var(--white); margin-bottom: 28px; }
.promo .h2 em { color: var(--white); }
.promo__specs { border-top: 1px solid rgba(255, 255, 255, .18); margin-bottom: 32px; }
.promo__specs > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
@media (min-width: 560px) { .promo__specs > div { grid-template-columns: 170px 1fr; align-items: baseline; } }
.promo__specs dt { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.promo__specs dd { font-size: 18px; }
.promo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 14px; }
.promo__price s { font-size: 20px; color: rgba(255, 255, 255, .5); }
.promo__price b { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 5vw, 68px); line-height: 1; color: var(--white); }
.promo__price span { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green-light); }
.promo__note { font-size: 15px; color: rgba(255, 255, 255, .7); max-width: 460px; margin-bottom: 32px; }
.promo__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .promo__cta .btn { flex: 1 1 100%; } }
.cat__img--bottom { background-position: center bottom; }
.cat__slides { position: relative; overflow: hidden; }
.cat__slide { position: absolute; inset: 0; background-size: cover; opacity: 0; transition: opacity 400ms var(--ease); }
.cat__slide.is-active { opacity: 1; }
.cat__slide--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--white); }
.cat__half { background-size: cover; background-repeat: no-repeat; }
.cat__tag { position: absolute; left: 12px; bottom: 12px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: rgba(0, 0, 0, .45); padding: 5px 9px; }

/* ---------- About ---------- */
.about__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; align-items: center; }
@media (min-width: 1000px) { .about__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.about__welcome { display: flex; align-items: center; gap: 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 42px); margin-bottom: 4px; }
.about__welcome::after { content: ""; width: clamp(80px, 12vw, 180px); height: 1px; background: var(--text); }
.marble-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(56px, 15.5vw, 176px); line-height: .88; letter-spacing: -.01em;
  color: #3b3e39;
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text;
  margin-bottom: 26px;
}
.marble-title.has-stone { color: transparent; -webkit-text-fill-color: transparent; }
@media (min-width: 1000px) { .marble-title { font-size: clamp(96px, 8.4vw, 150px); } }
.about__sub { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.about__lead { margin-top: 22px; max-width: 520px; font-size: 18px; color: var(--body); }
.contact__list dd .link { margin-top: 6px; font-size: 15px; }
.stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px 16px; text-align: center; }
.stat__num { display: inline-flex; align-items: baseline; justify-content: center; gap: 0 6px; font-family: var(--serif); font-weight: 600; color: var(--green); font-size: clamp(44px, 5.8vw, 88px); line-height: 1; white-space: nowrap; margin-bottom: 12px; }
.stat__num small { font-family: var(--sans); font-weight: 400; font-size: 17px; color: var(--text); }
.stat__num small.pre { order: -1; font-size: 22px; margin-right: -2px; }
.stats__label { grid-column: 1 / -1; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: -16px; }
.stat p { font-size: 16px; color: var(--body); max-width: 230px; margin: 0 auto; line-height: 1.45; }

.about__grid { display: grid; gap: 40px; margin-top: clamp(80px, 9vw, 130px); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 6fr 5fr; gap: 80px; align-items: center; } }
.about__figure { margin: 0; }
.about__img { aspect-ratio: 3 / 2; }
.about__figure figcaption { padding-top: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.about__text h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-bottom: 22px; }
.about__text p { margin-bottom: 16px; max-width: 540px; }
.about__text .btn { margin-top: 18px; }

/* ---------- Formats (размеры плитки) ---------- */
.formats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .formats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .formats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.format { background: var(--white); padding: 18px 18px 22px; }
.size__stage { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; padding: 10% 14%; margin-bottom: 18px; background: #f1ede5; }
.size__tile { height: 100%; width: auto; max-width: 100%; aspect-ratio: var(--w) / var(--h); background-size: cover; background-position: center; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .45); transition: transform var(--t) var(--ease); }
.size__tile--sq { width: 100%; height: auto; }
.size__tile--empty { display: grid; place-items: center; background: var(--white); border: 1px solid #cfc8bb; box-shadow: none; }
.size__tile--empty span { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.format:hover .size__tile { transform: translateY(-4px); }
.format h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; margin-bottom: 6px; white-space: nowrap; }
.format h3 small { font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--muted); }
.format p { font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .format { padding: 12px 12px 16px; } .format h3 { font-size: 24px; } }

.scale { margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(24px, 4vw, 48px); background: var(--white); }
.scale svg { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.scale .outline { fill: none; stroke: var(--text); stroke-width: .6; }
.scale .outline--empty { fill: #f1ede5; }
.scale .ground { stroke: var(--muted); stroke-width: .5; }
.scale text { fill: var(--muted); stroke: none; font-family: var(--sans); font-size: 9px; letter-spacing: .04em; }
.scale figcaption { text-align: center; margin-top: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Applications ---------- */
.apps__grid { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .apps__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .apps__grid { grid-template-columns: repeat(3, 1fr); } }
.app { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .app { padding-right: 36px; } }
.app span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--green); margin-bottom: 14px; }
.app h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.app p { font-size: 15px; }

/* ---------- Advantages ---------- */
.adv__grid { display: grid; gap: 44px; }
@media (min-width: 900px) {
  .adv__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .adv__head { position: sticky; top: calc(var(--header-h) + 48px); }
}
.adv__list { border-top: 1px solid #ddd6c9; }
.adv__item { display: grid; grid-template-columns: 52px 1fr; gap: 2px 16px; padding: 24px 0 26px; border-bottom: 1px solid #ddd6c9; }
.adv__item b { font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--green); padding-top: 8px; grid-row: span 2; }
.adv__item h3 { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.15; }
.adv__item p { font-size: 15px; }

/* ---------- Service (серый блок) ---------- */
.service { position: relative; background: var(--band); color: var(--white); padding: var(--section) 0; overflow: hidden; }
.service__img { position: absolute; top: 0; right: 0; bottom: 0; width: 38%; opacity: .55; display: none; }
.service__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--band), rgba(93, 94, 90, 0) 60%); }
@media (min-width: 1100px) { .service__img { display: block; } }
.service__inner { position: relative; }
.service .h2 { color: var(--white); }
.service .h2 em { color: var(--white); font-weight: 400; }
.service__lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; max-width: 640px; margin: 22px 0 56px; color: rgba(255, 255, 255, .9); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(255, 255, 255, .25); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); column-gap: 32px; max-width: 1180px; } }
.step { padding: 24px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
@media (min-width: 1100px) { .step { border-bottom: 0; } }
.step span { display: block; font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; margin-bottom: 18px; color: rgba(255, 255, 255, .55); }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 15px; font-weight: 300; color: rgba(255, 255, 255, .85); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 5fr 6fr; gap: 90px; align-items: start; } }
.contact .h2 { margin-bottom: 20px; }
.contact__lead { max-width: 440px; margin-bottom: 40px; }
.contact__list { border-top: 1px solid var(--line); }
.contact__list > div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .contact__list > div { grid-template-columns: 190px 1fr; align-items: baseline; } }
.contact__list dt { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { font-size: 19px; color: var(--text); }
.contact__list a { transition: color var(--t) var(--ease); }
.contact__list a:hover { color: var(--green); }

.form { display: grid; gap: 26px; padding: clamp(26px, 4vw, 48px); background: var(--ivory); }
.field { display: grid; gap: 4px; }
.field span { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #cfc8bb; border-radius: 0;
  padding: 10px 0 12px; color: var(--text); font: 400 18px var(--sans); outline: 0;
  transition: border-color var(--t) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #aaa498; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field input.is-error { border-color: #b4452f; }
.form .btn { margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- Footer (чёрный) ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, .62); padding: 72px 0 40px; font-size: 15px; }
.footer__top { display: grid; gap: 14px; padding-bottom: 44px; }
.footer__top .logo { color: var(--white); font-size: 32px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; padding: 44px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 900px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
.footer__cols h4 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--white); margin-bottom: 12px; }
.footer__cols a { display: block; padding: 4px 0; transition: color var(--t) var(--ease); }
.footer__cols a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- Боковая панель связи ---------- */
.fab { position: fixed; right: 0; bottom: 16px; z-index: 80; display: grid; }
@media (min-width: 900px) { .fab { top: 50%; bottom: auto; transform: translateY(-50%); } }
.fab__btn { width: 52px; height: 52px; display: grid; place-items: center; background: rgba(60, 60, 58, .92); color: var(--white); transition: background var(--t) var(--ease), opacity var(--t) var(--ease), visibility var(--t); }
.fab__btn + .fab__btn { border-top: 1px solid rgba(255, 255, 255, .12); }
.fab__btn:hover { background: var(--green); }
.fab__btn svg { width: 22px; height: 22px; }
.fab__btn--wa { background: var(--green); }
.fab__btn--wa:hover { background: var(--green-hover); }
.fab__btn--up { opacity: 0; visibility: hidden; }
.fab__btn--up.is-visible { opacity: 1; visibility: visible; }

/* ---------- Branches (адреса) ---------- */
.branches h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-bottom: 22px; }
.branches ul { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid #ddd6c9; }
.branches li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid #ddd6c9; }
.branches li b { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.branches li span { font-size: 19px; color: var(--text); }
.branches li small { font-size: 14px; color: var(--muted); }

/* формат-секция на белом фоне */
.formats .format, .formats .scale { background: var(--ivory); }
.formats .size__stage { background: #ece6db; }
.hero__caption #slideName[hidden] { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
