/* =====================================================================
   Сервис Уюта — главная. Тема: «природный крафт».
   Глубокий лесной зелёный + тёплое дерево + кремовый фон.
   Spectral (заголовки) + Manrope (текст).
   ===================================================================== */

/* ---------- Токены ---------- */
:root {
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Фон / поверхности */
  --bg: #f4f0e8;
  --bg-2: #ece6da;
  --card: #fbf9f4;
  --green-deep: #22402f;
  --green-deep-2: #1a3124;
  --green-night: #15231a;

  /* Зелёная шкала */
  --green: #2e6b43;
  --green-700: #265a38;
  --green-500: #3c8557;
  --green-300: #8fd3a3;
  --green-tint: #e7efe3;
  --green-tint-2: #dbe7d4;

  /* Дерево (вторичный акцент) */
  --timber: #b5824b;
  --timber-soft: #e3c08e;
  --timber-tint: #efe2cd;

  /* Текст */
  --ink: #1d231d;
  --ink-2: #515a4f;
  --ink-3: #7e877b;

  /* Кремовый текст на тёмном */
  --cream: #f4f0e8;
  --cream-dim: rgba(244, 240, 232, 0.74);
  --cream-faint: rgba(244, 240, 232, 0.45);

  --line: rgba(29, 35, 29, 0.12);
  --line-2: rgba(29, 35, 29, 0.18);
  --line-cream: rgba(244, 240, 232, 0.16);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  --shadow-sm: 0 2px 10px rgba(24, 40, 28, 0.06);
  --shadow: 0 22px 50px -30px rgba(20, 36, 24, 0.4);
  --shadow-lg: 0 50px 90px -45px rgba(18, 32, 22, 0.5);

  --container: 1200px;
  --pad: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 9vw, 128px);

  --topbar-h: 46px;
  --mainbar-h: 74px;
  --header-h: calc(var(--topbar-h) + var(--mainbar-h));

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Сброс / база ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Зернистость поверх всего — едва заметная */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--green);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Раскладка ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: var(--section);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow .ic {
  width: 17px;
  height: 17px;
  color: var(--timber);
}

.eyebrow--light {
  color: var(--cream);
}

.eyebrow--light .ic {
  color: var(--timber-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-head--row>div {
  max-width: 640px;
}

.section-title {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  color: var(--ink);
}

.section-sub {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.section-sub--light {
  color: var(--cream-dim);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.92em 1.5em;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn .ic {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 14px 26px -16px rgba(46, 107, 67, 0.9);
}

.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 20px 34px -16px rgba(46, 107, 67, 0.95);
}

.btn-primary:hover .ic {
  transform: translateX(3px);
}

.btn-ghost {
  background: rgba(244, 240, 232, 0.06);
  border-color: var(--line-cream);
  color: var(--cream);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(244, 240, 232, 0.13);
  border-color: rgba(244, 240, 232, 0.4);
}

.btn-outline {
  border-color: var(--line-2);
  color: var(--green);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-tint);
}

.btn-outline:hover .ic {
  transform: translateX(3px);
}

.btn-soft {
  background: var(--green-tint);
  color: var(--green-700);
}

.btn-soft:hover {
  background: var(--green-tint-2);
}

/* Кремовая кнопка — для тёмных/цветных подложек (банд-акция, промо) */
.btn-cream {
  background: var(--cream);
  color: var(--green-700);
  box-shadow: 0 14px 26px -16px rgba(20, 15, 8, 0.8);
}

.btn-cream:hover {
  background: #fff;
  box-shadow: 0 20px 34px -16px rgba(20, 15, 8, 0.85);
}

.btn-cream:hover .ic {
  transform: translateX(3px);
}

.btn-sm {
  padding: 0.7em 1.15em;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.05em 1.8em;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.price {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.price b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--green);
  color: var(--cream);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge--light {
  background: rgba(244, 240, 232, 0.92);
  color: var(--green-700);
  backdrop-filter: blur(4px);
}

/* =====================================================================
   ШАПКА (две строки)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--cream);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(12px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 10px 30px -24px rgba(20, 36, 24, 0.5);
}

/* Открытое мобильное меню — своя светлая подложка под логотип и бургер:
   hero уезжает вниз, и без фона кремовый текст оказывался на кремовом. */
.site-header.is-menu-open {
  background: var(--card);
  color: var(--ink);
}

/* --- Верхняя строка --- */
.topbar {
  border-bottom: 1px solid var(--line-cream);
  font-size: 0.85rem;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled .topbar {
  border-bottom-color: var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--topbar-h);
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar-info li,
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-info .ic,
.topbar-phone .ic {
  width: 16px;
  height: 16px;
  color: var(--timber-soft);
}

.site-header.is-scrolled .topbar-info .ic,
.site-header.is-scrolled .topbar-phone .ic {
  color: var(--green-500);
}

.topbar-info li {
  opacity: 0.82;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-socials {
  display: flex;
  gap: 6px;
}

.topbar-socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 700;
  border: 1px solid currentColor;
  opacity: 0.5;
  transition: opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.topbar-socials a:hover {
  opacity: 1;
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

.topbar-phone {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.topbar-phone:hover {
  color: var(--timber-soft);
}

.site-header.is-scrolled .topbar-phone:hover {
  color: var(--green-700);
}

/* --- Нижняя строка --- */
.mainbar {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled .mainbar {
  border-bottom-color: var(--line);
}

.mainbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--mainbar-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--green);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(244, 240, 232, 0.12);
}

.brand-mark::before {
  content: "";
  width: 27px;
  height: 27px;
  background: currentColor;
  mask: url("/icon.svg") center / contain no-repeat;
  -webkit-mask: url("/icon.svg") center / contain no-repeat;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.nav {
  margin-inline: auto;
}

.nav-list {
  display: flex;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  border-radius: var(--r-sm);
  transition: opacity 0.2s, background 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
  opacity: 0.6;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* --- Выпадающий список в меню (десктоп) --- */
.nav-item {
  position: relative;
}

.nav-link--drop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}

.nav-item--drop:hover .nav-link,
.nav-item--drop:focus-within .nav-link {
  opacity: 1;
}

.nav-item--drop:hover .nav-link::after,
.nav-item--drop:focus-within .nav-link::after {
  transform: scaleX(1);
}

.nav-item--drop:hover .nav-caret,
.nav-item--drop:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* padding-top — «мостик» под курсор, чтобы список не закрывался в зазоре */
.nav-drop {
  position: absolute;
  top: 100%;
  left: 4px;
  z-index: 20;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.nav-item--drop:hover .nav-drop,
.nav-item--drop:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-card {
  min-width: 292px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg), var(--shadow-sm);
  color: var(--ink);
}

.nav-drop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  transition: background 0.2s var(--ease);
}

.nav-drop-link:hover {
  background: var(--green-tint);
}

.nav-drop-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--green-tint);
  color: var(--green);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-drop-ic .ic {
  width: 20px;
  height: 20px;
}

.nav-drop-link:hover .nav-drop-ic {
  background: var(--green);
  color: var(--cream);
}

.nav-drop-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-drop-note {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--ink-3);
}

.nav-drop-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding: 12px 10px 4px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
}

.nav-drop-all .ic {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.nav-drop-all:hover .ic {
  transform: translateX(3px);
}

.mainbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.header-phone .ic {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  position: relative;
  opacity: 0.85;
}

.nav-toggle-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle-bar:nth-child(1) {
  top: 16px;
}

.nav-toggle-bar:nth-child(2) {
  top: 22px;
}

.nav-toggle-bar:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 12px var(--pad) 28px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list>li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list>li>a,
.mobile-nav-row>a {
  display: block;
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

/* --- Раскрывающиеся услуги (мобильное меню) --- */
.mobile-nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-row>a {
  flex: 1;
}

.mobile-nav-expand {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  transition: background 0.2s var(--ease), transform 0.3s var(--ease);
}

.mobile-nav-expand .ic {
  width: 18px;
  height: 18px;
}

.mobile-nav-group.is-open .mobile-nav-expand {
  background: var(--green-tint);
  transform: rotate(180deg);
}

.mobile-subnav {
  overflow: hidden;
  max-height: 0;
  margin-left: 5px;
  border-left: 2px solid var(--green-tint-2);
  transition: max-height 0.32s var(--ease);
}

.mobile-nav-group.is-open .mobile-subnav {
  /* с запасом: список услуг будет расти */
  max-height: 520px;
}

.mobile-subnav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px 12px 14px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-2);
}

.mobile-subnav li:first-child a {
  padding-top: 14px;
}

.mobile-subnav li:last-child a {
  padding-bottom: 16px;
}

.mobile-subnav .ic {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--green);
}

.mobile-nav-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  color: var(--ink);
}

.mobile-nav-foot .header-phone .ic {
  color: var(--green);
}

.mobile-nav-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.mobile-nav-meta .ic {
  width: 17px;
  height: 17px;
  color: var(--green);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(120% 95% at 82% -10%,
      rgba(143, 211, 163, 0.22),
      transparent 55%),
    radial-gradient(90% 80% at 5% 115%,
      rgba(181, 130, 75, 0.2),
      transparent 55%),
    linear-gradient(165deg, #264630 0%, #1d3826 55%, #182e22 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg,
      rgba(244, 240, 232, 0.05) 0,
      rgba(244, 240, 232, 0.05) 1px,
      transparent 1px,
      transparent 76px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(88vh, 820px);
  padding-block: clamp(56px, 8vw, 96px);
}

.hero-copy {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2.8rem, 1.3rem + 4.2vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--timber-soft);
}

.hero-lead {
  margin-top: 26px;
  max-width: 50ch;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--cream-dim);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-cream);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1;
  color: var(--cream);
}

.hero-stats span {
  font-size: 0.86rem;
  color: var(--cream-faint);
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
}

.hero-art {
  position: relative;
  padding: 8%;
}

.hero-art-svg {
  width: 100%;
  height: auto;
  color: rgba(244, 240, 232, 0.88);
}

.hero-art-svg .hero-soft {
  stroke: rgba(244, 240, 232, 0.5);
}

.hero-art-svg .hero-ground {
  stroke: rgba(244, 240, 232, 0.55);
}

.hero-art-svg .hero-contours {
  stroke: rgba(143, 211, 163, 0.3);
  fill: none;
}

.hero-art-svg .hero-sun {
  stroke: var(--timber-soft);
}

.hero-art-svg .hero-smoke {
  stroke: rgba(244, 240, 232, 0.42);
  animation: drift 6s var(--ease) infinite;
}

@keyframes drift {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.42;
  }

  50% {
    transform: translateY(-5px);
    opacity: 0.7;
  }
}

.hero-badge,
.hero-rating {
  position: absolute;
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.hero-badge {
  left: -2%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  max-width: 260px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--timber-tint);
  color: var(--timber);
  display: grid;
  place-items: center;
}

.hero-badge-text {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--ink-2);
}

.hero-badge-text b {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
}

.hero-rating {
  right: -2%;
  top: 6%;
  padding: 14px 18px;
}

.hero-stars {
  display: flex;
  gap: 2px;
  color: var(--timber);
}

.hero-stars .ic {
  width: 17px;
  height: 17px;
  fill: var(--timber);
  stroke: var(--timber);
}

.hero-rating p {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.hero-rating b {
  font-family: var(--serif);
  color: var(--ink);
}

/* =====================================================================
   УСЛУГИ
   ===================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 107, 67, 0.35);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--green-tint);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.service-icon .ic {
  width: 28px;
  height: 28px;
}

.service-name {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
}

.service-feats {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 20px 0 24px;
}

.service-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.service-feats .ic {
  width: 18px;
  height: 18px;
  color: var(--green-500);
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.card-link {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--green);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
  transform: rotate(-8deg);
}

/* Выделенная карточка (тёмная) */
.service-card--featured {
  background: linear-gradient(165deg, #264630, #1c3526);
  border-color: transparent;
  color: var(--cream);
}

.service-card--featured .service-icon {
  background: rgba(244, 240, 232, 0.12);
  color: var(--cream);
}

.service-card--featured .service-desc,
.service-card--featured .service-feats li {
  color: var(--cream-dim);
}

.service-card--featured .service-feats .ic {
  color: var(--timber-soft);
}

.service-card--featured .service-foot {
  border-top-color: var(--line-cream);
}

.service-card--featured .price {
  color: var(--cream-dim);
}

.service-card--featured .price b {
  color: var(--cream);
}

.service-card--featured .card-link {
  border-color: var(--line-cream);
  color: var(--cream);
}

.service-card--featured .card-link:hover {
  background: var(--cream);
  color: var(--green-deep);
}

/* =====================================================================
   ПРОЕКТЫ
   ===================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter {
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.22s var(--ease);
}

.filter:hover {
  border-color: var(--green);
  color: var(--green-700);
}

.filter.is-active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--cream);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.projects-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Каталог проектов (/проекты/) — панель расширенных фильтров */
.filter-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2.4vw, 26px);
  margin-bottom: 30px;
}

.catalog-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 26px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.filter-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.filter-group .filters {
  gap: 8px;
  margin-bottom: 0;
}

.filter-bar .filter {
  padding: 7px 14px;
  font-size: 0.88rem;
}

.filter-bar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.catalog-count {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.86rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter-reset .ic {
  width: 15px;
  height: 15px;
}

.filter-reset:hover {
  border-color: var(--green);
  color: var(--green-700);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 107, 67, 0.32);
  box-shadow: var(--shadow);
}

/* карточка — единая ссылка: псевдокнопка «Подробнее» реагирует на наведение на всю карточку */
.project-card:hover .btn-soft {
  background: var(--green-tint-2);
}

.project-card.is-hidden {
  display: none;
}

.project-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.project-media .art {
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-media .art {
  transform: scale(1.05);
}

/* Реальное фото проекта (первый кадр галереи) */
.project-media picture {
  position: absolute;
  inset: 0;
}

.project-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-photo {
  transform: scale(1.05);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.project-type {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.project-name {
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.project-specs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.project-specs .ic {
  width: 17px;
  height: 17px;
  color: var(--green-500);
}

.project-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

/* Художественные панели-заглушки */
.art-panel {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.art-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 12%,
      rgba(255, 255, 255, 0.4),
      transparent 70%);
  z-index: -1;
}

.art-panel--0 {
  background: linear-gradient(160deg, #e9f0e4, #d2e2cd);
}

.art-panel--1 {
  background: linear-gradient(160deg, #f1e7d4, #e2cfac);
}

.art-panel--2 {
  background: linear-gradient(160deg, #e0eadf, #c9dbc7);
}

.art {
  width: 84%;
  height: auto;
  color: rgba(34, 64, 47, 0.52);
}

.art .art-soft {
  stroke: rgba(34, 64, 47, 0.3);
}

.art .art-ground {
  stroke: rgba(34, 64, 47, 0.42);
}

/* =====================================================================
   О КОМПАНИИ
   ===================================================================== */
.section--about {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink);
}

.about-list .ic {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-700);
}

.about-panel {
  background: linear-gradient(165deg, #264630, #1a3124);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-stat {
  padding: 22px 20px;
  border: 1px solid var(--line-cream);
  border-radius: var(--r);
  background: rgba(244, 240, 232, 0.04);
}

.about-stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--cream);
}

.about-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--cream-faint);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: rgba(244, 240, 232, 0.07);
}

.about-feature-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--timber);
  color: var(--green-night);
  display: grid;
  place-items: center;
}

.about-feature-icon .ic {
  width: 30px;
  height: 30px;
}

.about-feature b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
}

.about-feature span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: clamp(48px, 6vw, 76px);
}

.step {
  padding: 26px 22px 8px;
  border-top: 2px solid var(--green-tint-2);
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--green);
}

.step h3 {
  font-size: 1.18rem;
  margin: 12px 0 8px;
}

.step p {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* =====================================================================
   ПОРТФОЛИО — свободная «живая» галерея объектов
   ===================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 20px);
  align-items: start;
}

/* Колонки независимы — карточки внутри стоят вплотную, без вертикальных дыр */
.gallery-col {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 20px);
}

.gallery-col--b {
  margin-top: clamp(34px, 5vw, 72px);
  /* средняя колонка сдвинута вниз */
}

.gallery-item {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

/* 1-я и 3-я колонки — квадрат, 2-я — вертикальная 3:4 */
.gallery-col--a .gallery-item,
.gallery-col--c .gallery-item {
  aspect-ratio: 1 / 1;
}

.gallery-col--b .gallery-item {
  aspect-ratio: 3 / 4;
}

/* Иллюстрация вне потока — высоту карточки задаёт только aspect-ratio (без наезда боксов) */
.gallery-item .art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84%;
  transform: translate(-50%, -50%);
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover .art {
  transform: translate(-50%, -50%) scale(1.06) rotate(-1.5deg);
}

.gallery-photo,
.gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item picture {
  position: absolute;
  inset: 0;
}

.gallery-photo {
  position: static;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 2vw, 24px);
  background: linear-gradient(to top,
      rgba(20, 33, 24, 0.86) 0%,
      rgba(20, 33, 24, 0.28) 42%,
      rgba(20, 33, 24, 0.02) 72%);
}

.gallery-cap h3 {
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  color: var(--cream);
}

.gallery-cap p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  font-size: 0.86rem;
  color: var(--cream-dim);
}

.gallery-cap p .ic {
  width: 15px;
  height: 15px;
  color: var(--timber-soft);
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cream);
  transition: max-height 0.4s var(--ease), opacity 0.35s var(--ease),
    margin-top 0.4s var(--ease);
}

.gallery-link .ic {
  width: 16px;
  height: 16px;
}

.gallery-item:hover .gallery-link,
.gallery-item:focus-within .gallery-link {
  max-height: 40px;
  opacity: 1;
  margin-top: 16px;
}

.portfolio-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 20px);
}

.portfolio-list-grid .gallery-item {
  aspect-ratio: 4 / 3;
}

.portfolio-empty,
.catalog-empty {
  max-width: 760px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.portfolio-empty h3,
.catalog-empty h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.9rem);
  color: var(--green-deep);
}

.portfolio-empty p,
.catalog-empty p {
  margin-top: 10px;
  color: var(--ink-2);
  line-height: 1.65;
}

.portfolio-photo-grid,
.portfolio-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}

.portfolio-photo-link {
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  background: #e5ede0;
}

.portfolio-photo-grid-img,
.portfolio-photo-grid-img img,
.portfolio-photo-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-photo-grid-img img,
.portfolio-photo-link img {
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.portfolio-photo-link:hover img {
  transform: scale(1.04);
}

.portfolio-video {
  margin: 0;
}

.portfolio-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background: #17241b;
  box-shadow: var(--shadow-sm);
}

.portfolio-video figcaption {
  margin-top: 10px;
  color: var(--ink-2);
  font-weight: 600;
}

.portfolio-empty-photo {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(160deg, #e9f0e4, #d2e2cd);
}

.portfolio-empty-photo span {
  width: 72px;
  height: 72px;
  color: var(--green);
}

/* =====================================================================
   БЛОГ
   ===================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 107, 67, 0.3);
  box-shadow: var(--shadow);
}

.post-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
}

.post-media .art {
  width: 72%;
  transition: transform 0.5s var(--ease);
}

.post-card:hover .post-media .art {
  transform: scale(1.05);
}

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.post-meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green);
  text-transform: uppercase;
}

.post-title {
  font-size: 1.3rem;
  margin: 12px 0 10px;
}

.post-title a {
  transition: color 0.2s;
}

.post-card:hover .post-title a {
  color: var(--green-700);
}

.post-excerpt {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.card-link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green);
}

.card-link-text .ic {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}

.post-card:hover .card-link-text .ic {
  transform: translate(3px, -3px);
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 100px;
}

.faq-cta {
  margin-top: 30px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--green-tint);
  border: 1px solid var(--green-tint-2);
}

.faq-cta-text {
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--green-deep);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--ink);
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--green-700);
}

.faq-q-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.3;
}

.faq-toggle {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-700);
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s;
}

.faq-toggle .ic {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
}

.faq-toggle .ic-minus {
  display: none;
}

.faq-item.is-open .faq-toggle {
  background: var(--green);
  color: var(--cream);
}

.faq-item.is-open .ic-plus {
  display: none;
}

.faq-item.is-open .ic-minus {
  display: block;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-a>p {
  overflow: hidden;
  min-height: 0;
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 0.98rem;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-a>p {
  padding: 0 4px 26px;
}

/* =====================================================================
   КОНТАКТЫ
   ===================================================================== */
.contacts-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(26px, 3vw, 44px) clamp(28px, 4vw, 64px);
  padding: clamp(30px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: radial-gradient(120% 100% at 100% 0%,
      rgba(143, 211, 163, 0.16),
      transparent 55%),
    linear-gradient(160deg, #264630, #1a3124);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

/* Лёгкая фоновая иллюстрация (за заголовком — низ карточки занят картой) */
.contacts-deco {
  position: absolute;
  left: -4%;
  top: -7%;
  width: clamp(280px, 34%, 460px);
  z-index: 0;
  pointer-events: none;
}

.contacts-deco .art {
  width: 100%;
  color: rgba(244, 240, 232, 0.05);
}

.contacts-deco .art .art-soft,
.contacts-deco .art .art-ground {
  stroke: rgba(244, 240, 232, 0.045);
}

.contacts-head,
.contacts-info,
.contacts-form {
  position: relative;
  z-index: 1;
}

/* Шапка секции — на всю ширину, над контактами и формой */
.contacts-head {
  grid-column: 1 / -1;
  max-width: 720px;
}

.contacts-promise {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  padding: 11px 18px 11px 12px;
  border-radius: var(--pill);
  background: rgba(244, 240, 232, 0.08);
  border: 1px solid var(--line-cream);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
}

.contacts-promise-ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--timber);
  color: var(--green-night);
}

.contacts-promise-ic .ic {
  width: 16px;
  height: 16px;
}

.contacts-head .section-title {
  color: var(--cream);
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem);
}

.contacts-head .section-sub--light {
  max-width: 56ch;
}

.contacts-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 24px;
}

.method {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--r);
  background: rgba(244, 240, 232, 0.05);
  border: 1px solid var(--line-cream);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.method:hover {
  background: rgba(244, 240, 232, 0.09);
  border-color: rgba(244, 240, 232, 0.24);
}

.method-ic {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(244, 240, 232, 0.08);
  color: var(--timber-soft);
}

.method-ic .ic {
  width: 19px;
  height: 19px;
}

.method-label {
  align-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.method-vals {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.method-val {
  align-self: start;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cream);
  word-break: break-word;
}

a.method-val:hover {
  color: var(--timber-soft);
}

.contacts-socials {
  display: flex;
  gap: 10px;
}

.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--green-tint);
  color: var(--green-700);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.social:hover {
  transform: translateY(-3px);
}

.social--light {
  background: rgba(244, 240, 232, 0.1);
  color: var(--cream);
}

.social--light:hover {
  background: rgba(244, 240, 232, 0.2);
}

/* --- Карта офиса (нижняя полоса карточки контактов) --- */
.contacts-map {
  grid-column: 1 / -1;
  position: relative;
  height: clamp(280px, 30vw, 400px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-cream);
  box-shadow: var(--shadow);
  isolation: isolate;
  /* подложка на время загрузки iframe */
  background: rgba(244, 240, 232, 0.06);
}

.contacts-map iframe,
.contacts-map .map-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* тонируем карту под палитру; при наведении — живые цвета */
  filter: grayscale(0.85) sepia(0.14) saturate(0.9);
  transition: filter 0.45s var(--ease);
}

.contacts-map:hover iframe,
.contacts-map:hover .map-canvas {
  filter: none;
}

.map-chip {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 18px 12px 12px;
  border-radius: var(--r);
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(8px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.map-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.map-chip-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--green);
  color: var(--cream);
}

.map-chip-ic .ic {
  width: 20px;
  height: 20px;
}

.map-chip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.map-chip-text b {
  font-size: 0.92rem;
  line-height: 1.3;
}

.map-chip-text>span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-700);
}

.map-chip-text .ic {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.map-chip:hover .map-chip-text .ic {
  transform: translate(2px, -2px);
}

.contacts-form {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 16px;
  margin-bottom: 18px;
}

.field--full {
  grid-column: 1 / -1;
}

.field {
  margin-bottom: 0;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}

.field .opt {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 107, 67, 0.15);
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-3);
  line-height: 1.5;
}

.form-success[hidden] {
  display: none;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--green-tint);
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-success .ic {
  width: 18px;
  height: 18px;
}

.form-error[hidden] {
  display: none;
}

.form-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(179, 38, 30, 0.1);
  color: #8f251d;
  font-weight: 600;
  font-size: 0.92rem;
}

/* honeypot anti-spam: скрыто от людей, боты часто заполняют все поля */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* =====================================================================
   ПОДВАЛ
   ===================================================================== */
.site-footer {
  margin-top: var(--section);
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--green-night);
  color: var(--cream-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-cream);
}

.footer-about {
  margin: 22px 0 24px;
  max-width: 38ch;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--cream-faint);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials .social {
  background: rgba(244, 240, 232, 0.08);
  color: var(--cream);
}

.footer-socials .social:hover {
  background: var(--green);
}

.footer-title {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: var(--cream-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
}

.footer-contacts .ic {
  width: 18px;
  height: 18px;
  color: var(--timber-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 26px;
  font-size: 0.84rem;
  color: var(--cream-faint);
}

.footer-requisites {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--cream-faint);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--cream);
}

.footer-disclaimer {
  padding-bottom: 30px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.34);
}

/* =====================================================================
   ПРАВОВЫЕ СТРАНИЦЫ (политика, согласие)
   ===================================================================== */
.legal-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(32px, 5vw, 56px);
}

.legal-hero .proj-title {
  max-width: 20ch;
}

.legal-updated {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--cream-faint);
}

.legal-inner {
  max-width: 780px;
}

.legal h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  color: var(--ink);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--ink-2);
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
  list-style: disc;
  color: var(--ink-2);
}

.legal li {
  margin-bottom: 7px;
  line-height: 1.65;
}

.legal a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--green-700);
}

.legal-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.legal-back .ic {
  width: 17px;
  height: 17px;
  transform: rotate(180deg);
}

/* =====================================================================
   ПЛАШКА COOKIE
   ===================================================================== */
.cookie-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  /* выше шапки (100), чтобы плашку не перекрывал sticky-хедер */
  z-index: 110;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar.is-visible {
  opacity: 1;
  transform: none;
}

/* Кремовая карточка — как выпадающее меню и плашки в hero: читается
   и поверх тёмного hero, и поверх тёмного подвала, и на светлых секциях */
.cookie-bar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg), var(--shadow-sm);
}

.cookie-bar-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.cookie-bar-text a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-text a:hover {
  color: var(--green-700);
}

.cookie-bar-btn {
  flex: none;
}

/* =====================================================================
   ПЛАШКА-АКЦИЯ (беспроцентная рассрочка) — на всех страницах.
   Полоса по центру во всю ширину контейнера, как cookie-плашка. Тёплое
   дерево (--timber), чтобы выделяться на зелёно-кремовом фоне, но оставаться
   в палитре. Крестик сворачивает её в кружок «0%» в углу, чтобы не мешать.
   ===================================================================== */
.promo-fab {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  /* выше контента, ниже cookie-плашки (110) и лайтбокса (1000) */
  z-index: 90;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.promo-fab[hidden] {
  display: none;
}

.promo-fab.is-in {
  opacity: 1;
  transform: none;
}

/* --- Развёрнутая полоса --- */
.promo-fab-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 14px 12px 12px;
  border-radius: var(--pill);
  color: var(--cream);
  background: linear-gradient(135deg, #c28f52, var(--timber) 55%, #9c6a35);
  box-shadow: 0 20px 44px -20px rgba(120, 78, 30, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Круглый бейдж «0%» — кремовый, читается как главный акцент */
.promo-fab-badge {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: #9c6a35;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 10px -4px rgba(80, 50, 15, 0.5);
}

.promo-fab-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.promo-fab-copy b {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.promo-fab-copy span {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Кнопка-CTA — кремовая, зелёный текст (связка с брендом) */
.promo-fab-cta {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65em 1.2em;
  border-radius: var(--pill);
  background: var(--cream);
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px -6px rgba(60, 40, 12, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s var(--ease);
}

.promo-fab-cta .ic {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.promo-fab-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 22px -8px rgba(60, 40, 12, 0.6);
}

.promo-fab-cta:hover .ic {
  transform: translateX(3px);
}

/* Крестик «свернуть» */
.promo-fab-toggle {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--cream);
  transition: background 0.2s var(--ease);
}

.promo-fab-toggle .ic {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.promo-fab-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- Свёрнутый кружок «0%» в углу --- */
.promo-fab-reopen {
  display: none;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  background: linear-gradient(135deg, #c28f52, var(--timber) 55%, #9c6a35);
  box-shadow: 0 16px 34px -16px rgba(120, 78, 30, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.promo-fab-reopen:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -16px rgba(120, 78, 30, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* В свёрнутом виде полоса прячется, остаётся кружок в левом нижнем углу */
.promo-fab.is-collapsed {
  right: auto;
}

.promo-fab.is-collapsed .promo-fab-bar {
  display: none;
}

.promo-fab.is-collapsed .promo-fab-reopen {
  display: block;
}

/* Узкие экраны — полоса складывается: кнопка уходит на вторую строку */
@media (max-width: 640px) {
  .promo-fab {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .promo-fab-bar {
    flex-wrap: wrap;
    row-gap: 12px;
    padding: 14px;
    border-radius: var(--r-lg);
  }

  .promo-fab-copy {
    flex: 1 1 auto;
  }

  .promo-fab-cta {
    order: 1;
    flex: 1 1 100%;
    margin-left: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-fab {
    transition: opacity 0.3s linear;
    transform: none;
  }
}

/* =====================================================================
   БОЛЬШОЙ БЛОК-АКЦИЯ под hero (главная + услуги). Тёплый деревянный банд:
   контраст к тёмному hero сверху и кремовым секциям снизу, в одной палитре
   с плавающей плашкой. Копирайт — в _includes/promo-band.njk.
   ===================================================================== */
.promo-band {
  position: relative;
  color: var(--cream);
  background: linear-gradient(135deg, #a9793f 0%, #8c5e30 55%, #6f4a26 100%);
  padding-block: clamp(44px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
}

/* Тонкая деревянная «шкала» для фактуры — едва заметная */
.promo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
      rgba(244, 240, 232, 0.05) 0,
      rgba(244, 240, 232, 0.05) 1px,
      transparent 1px,
      transparent 84px);
}

.promo-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.promo-band-title {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.promo-band-title em {
  font-style: normal;
  color: #fff;
}

.promo-band-lead {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cream-dim);
}

.promo-band-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* Карточка справа: крупный «0%» + три «без …» */
.promo-band-card {
  justify-self: end;
  width: 100%;
  max-width: 380px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.promo-band-medallion {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.promo-band-medallion b {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 1.6rem + 3vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--timber);
}

.promo-band-medallion span {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-2);
}

.promo-band-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-band-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
}

.promo-band-list .ic {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-700);
  stroke-width: 2.2;
}

@media (max-width: 860px) {
  .promo-band-inner {
    grid-template-columns: 1fr;
  }

  .promo-band-card {
    justify-self: stretch;
    max-width: none;
  }
}

/* =====================================================================
   СТРАНИЦА УСЛУГИ
   ===================================================================== */

/* --- Хлебные крошки (в тёмном hero) --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  position: relative;
  z-index: 1;
  padding-top: clamp(20px, 4vw, 36px);
  font-size: 0.86rem;
  color: var(--cream-dim);
}

.breadcrumbs a {
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--cream);
}

.breadcrumbs .sep {
  opacity: 0.45;
}

.breadcrumbs [aria-current] {
  color: var(--cream);
  font-weight: 600;
}

.breadcrumbs+.eyebrow {
  margin-top: 18px;
}

/* --- Hero услуги --- */
.svc-hero .container {
  position: relative;
  z-index: 1;
}

.svc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(40px, 6vw, 80px);
}

.svc-hero-copy {
  max-width: 640px;
  min-width: 0;
}

.svc-title {
  font-size: clamp(1.8rem, 1rem + 3.4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--cream);
  overflow-wrap: break-word;
}

.svc-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--timber-soft);
}

.svc-lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--cream-dim);
}

.svc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.svc-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px clamp(16px, 3vw, 36px);
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line-cream);
}

.svc-fact b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 1.95rem);
  line-height: 1;
  color: var(--cream);
}

.svc-fact span {
  display: block;
  margin-top: 7px;
  font-size: 0.84rem;
  color: var(--cream-faint);
}

/* Ценовая карточка в hero */
.svc-hero-card {
  justify-self: end;
  width: 100%;
  max-width: 410px;
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}

.svc-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.svc-card-label .ic {
  width: 17px;
  height: 17px;
  color: var(--timber);
}

.svc-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 14px 0 20px;
  font-family: var(--serif);
  color: var(--green-deep);
}

.svc-price b {
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  line-height: 1;
}

.svc-price span {
  font-size: 1rem;
  color: var(--ink-2);
}

.svc-card-lead {
  margin: 12px 0 2px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.svc-card-list {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.svc-card-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.svc-card-list .ic {
  width: 20px;
  height: 20px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-700);
}

.svc-card-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.svc-card-note .ic {
  width: 17px;
  height: 17px;
  color: var(--green-500);
}

/* --- Преимущества --- */
.section-head--center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv-card {
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 107, 67, 0.32);
  box-shadow: var(--shadow);
}

.adv-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: var(--green-tint);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.adv-icon .ic {
  width: 27px;
  height: 27px;
}

.adv-card h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}

.adv-card p {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* --- Комплектация + «пирог» стены --- */
.section--spec {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.spec-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-top: 28px;
}

.spec-lists li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink);
}

.spec-lists .ic {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-700);
  margin-top: 1px;
}

.pirog {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.pirog h3 {
  font-size: 1.3rem;
}

.pirog-sub {
  margin: 6px 0 22px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.pirog-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pirog-layer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pirog-bar {
  width: 52px;
  height: 38px;
  flex: none;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(29, 35, 29, 0.06);
}

.pirog-bar--1 {
  background: linear-gradient(135deg, #cda06a, #b5824b);
}

.pirog-bar--2 {
  background: repeating-linear-gradient(135deg, #dbe7d4, #dbe7d4 4px, #cfe0c8 4px, #cfe0c8 8px);
}

.pirog-bar--3 {
  background: linear-gradient(135deg, #e3c08e, #d4a96f);
}

.pirog-bar--4 {
  background: repeating-linear-gradient(90deg, #e7efe3, #e7efe3 9px, #cdddc6 9px, #cdddc6 11px);
}

.pirog-bar--5 {
  background: linear-gradient(135deg, #cfe0c8, #b9d0af);
}

.pirog-bar--6 {
  background: linear-gradient(135deg, #f1ece1, #e2d8c6);
}

.pirog-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.pirog-text b {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.pirog-text span {
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* --- Тарифы / комплектации --- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.tier-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.tier-price {
  margin: 12px 0 6px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--green-deep);
}

.tier-price span {
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink-2);
}

.tier-desc {
  margin-bottom: 4px;
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.tier-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.tier-list .ic {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--green-500);
  margin-top: 1px;
}

.tier .btn {
  margin-top: auto;
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--timber);
  color: var(--green-night);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Выделенный тариф (тёмный) */
.tier--featured {
  background: linear-gradient(165deg, #264630, #1c3526);
  border-color: transparent;
  color: var(--cream);
  box-shadow: var(--shadow);
}

.tier--featured .tier-name {
  color: var(--timber-soft);
}

.tier--featured .tier-price {
  color: var(--cream);
}

.tier--featured .tier-price span,
.tier--featured .tier-desc,
.tier--featured .tier-list li {
  color: var(--cream-dim);
}

.tier--featured .tier-list {
  border-top-color: var(--line-cream);
}

.tier--featured .tier-list .ic {
  color: var(--timber-soft);
}

/* --- Этапы (6 шагов) --- */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 28px;
}

/* --- Выполненные объекты --- */
.svc-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-works .gallery-item {
  aspect-ratio: 4 / 3;
}

.works-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-2);
  background: var(--green-tint);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.3s var(--ease);
}

.works-cta:hover {
  transform: translateY(-6px);
  background: var(--green-tint-2);
  border-color: var(--green);
}

.works-cta-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--cream);
  margin-bottom: 6px;
  transition: transform 0.25s var(--ease);
}

.works-cta-ic .ic {
  width: 22px;
  height: 22px;
}

.works-cta:hover .works-cta-ic {
  transform: rotate(-8deg);
}

.works-cta-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--green-deep);
}

.works-cta-sub {
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* --- FAQ на странице услуги --- */
.svc-faq {
  max-width: 820px;
}

/* =====================================================================
   СТРАНИЦА ПРОЕКТА
   ===================================================================== */

/* --- Hero проекта --- */
.proj-title {
  margin-top: clamp(16px, 2.5vw, 28px);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--cream);
  overflow-wrap: break-word;
}

.proj-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--timber-soft);
}

.proj-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(24px, 3.5vw, 44px) clamp(32px, 5vw, 64px);
}

.proj-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #e9f0e4, #d2e2cd);
}

.proj-figure>.badge {
  z-index: 12;
  pointer-events: none;
}

/* --- Swiper-галерея проекта --- */
.proj-gallery {
  width: 100%;
  height: 100%;
  --swiper-navigation-size: 16px;
}

.proj-gallery .swiper-wrapper {
  height: 100%;
}

.proj-slide {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #e9f0e4, #d2e2cd);
}

.proj-slide picture {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.proj-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* стрелки и точки */
.proj-gallery .swiper-button-prev,
.proj-gallery .swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 249, 244, 0.9);
  color: var(--green-deep);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.proj-gallery .swiper-button-prev svg,
.proj-gallery .swiper-button-next svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.proj-gallery .swiper-button-prev {
  left: 14px;
}

.proj-gallery .swiper-button-next {
  right: 14px;
}

.proj-gallery .swiper-button-prev:hover,
.proj-gallery .swiper-button-next:hover {
  background: var(--cream);
  transform: scale(1.06);
}

.proj-gallery .swiper-button-prev::after,
.proj-gallery .swiper-button-next::after {
  content: none;
}

.proj-gallery .swiper-pagination-bullet {
  background: #f4f0e8;
  opacity: 0.55;
  box-shadow: 0 1px 3px rgba(20, 33, 24, 0.35);
  transition: opacity 0.2s, width 0.3s var(--ease);
}

.proj-gallery .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
  width: 22px;
  border-radius: 5px;
}

/* --- Лайтбокс галереи --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 28, 20, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 100%);
  animation: lb-in 0.3s var(--ease);
}

.lightbox-stage picture,
.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
}

.lightbox-stage img {
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.965);
  }
}

.lightbox-btn {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 232, 0.28);
  background: rgba(244, 240, 232, 0.08);
  color: var(--cream);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.lightbox-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-btn:hover {
  background: rgba(244, 240, 232, 0.2);
  transform: scale(1.06);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-counter {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream-dim);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.proj-summary {
  min-width: 0;
}

.proj-tagline {
  max-width: 48ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--cream-dim);
}

.proj-quickspecs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proj-quickspecs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--pill);
  background: rgba(244, 240, 232, 0.07);
  border: 1px solid var(--line-cream);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
}

.proj-quickspecs .ic {
  width: 17px;
  height: 17px;
  color: var(--timber-soft);
}

.proj-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-cream);
}

.proj-price-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.proj-price-val {
  font-size: 1.1rem;
  color: var(--cream-dim);
}

.proj-price-val b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem);
  color: var(--cream);
}

.proj-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* --- Характеристики --- */
.proj-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proj-stat {
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.proj-stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--green-deep);
}

.proj-stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* --- Комплектация проекта --- */
.section--equip {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.equip-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.equip-list {
  margin: 0;
}

.equip-row {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 8px 32px;
  padding: 17px clamp(20px, 3vw, 36px);
  transition: background 0.2s var(--ease);
}

.equip-row:nth-child(even) {
  background: rgba(46, 107, 67, 0.045);
}

.equip-row:hover {
  background: var(--green-tint);
}

.equip-row dt {
  position: relative;
  padding-left: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.equip-row dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--green-300);
}

.equip-row dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.equip-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 20px clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--line);
  background: var(--card);
}

.equip-note {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-deep);
}

.equip-note .ic {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--green);
}

/* =====================================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1080px) {

  .services-grid,
  .projects-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid .post-card:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .blog-grid .post-card:last-child .post-media {
    width: 42%;
    aspect-ratio: auto;
  }

  .blog-grid .post-card:last-child .post-body {
    width: 58%;
    justify-content: center;
  }

  .adv-grid,
  .svc-works {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --topbar-h: 0px;
    --mainbar-h: 66px;
  }

  .svc-hero-inner,
  .spec-grid,
  .tiers,
  .proj-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-hero-card {
    justify-self: stretch;
    max-width: none;
  }

  .proc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 24px;
  }

  .proj-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier--featured {
    order: -1;
  }

  .topbar,
  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: clamp(48px, 12vw, 80px);
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .contacts-card {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 24px;
  }

  .gallery-col--b {
    margin-top: clamp(24px, 4vw, 48px);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }

  .equip-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 14px;
  }

  .equip-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .equip-foot .btn {
    width: 100%;
  }

  .contacts-map {
    height: 260px;
    border-radius: var(--r);
  }

  .map-chip {
    top: 12px;
    left: 12px;
  }

  .services-grid,
  .projects-grid,
  .portfolio-list-grid,
  .portfolio-photo-grid,
  .portfolio-video-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid .post-card:last-child,
  .blog-grid .post-card:last-child .post-media,
  .blog-grid .post-card:last-child .post-body {
    flex-direction: column;
    width: 100%;
  }

  .blog-grid .post-card:last-child .post-media {
    aspect-ratio: 16 / 10;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .gallery-col {
    gap: 14px;
    min-width: 0;
  }

  .gallery-col--b {
    margin-top: 0;
  }

  .gallery-col--a .gallery-item,
  .gallery-col--b .gallery-item,
  .gallery-col--c .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .contacts-deco {
    display: none;
  }

  .adv-grid,
  .proc-grid,
  .spec-lists,
  .svc-facts {
    grid-template-columns: 1fr;
  }

  .svc-works {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    gap: 18px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 0.95em 1.4em;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
  }

  .mainbar-actions .btn {
    display: none;
  }

  .contacts-methods,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
