/* Медуница — цветочная мастерская. Белый фон, глубокий зелёный, розовый акцент.
   Системные шрифты, без внешних ресурсов. */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f8f4;
  --bg-rose: #fff1f5;
  --ink: #1c2a23;
  --muted: #56655c;
  --line: #dde8e0;
  --green-d: #123524;
  --green: #1b4a34;
  --green-m: #1f6b46;
  --green-l: #e4efe7;
  --rose: #c0305d;
  --rose-l: #e9799d;
  --rose-bg: #fde8ef;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 18px;
  --shadow: 0 1px 2px rgba(18, 53, 36, 0.05), 0 12px 28px -14px rgba(18, 53, 36, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--sans);
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
a { color: var(--green-m); text-decoration-color: var(--rose-l); text-underline-offset: 0.2em; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--green-d); margin: 0 0 0.5em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--rose); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; padding: 0.6rem 1rem; background: var(--green-d); color: #fff; border-radius: 0 0 8px 8px; }
.skip-link:focus { left: 0.5rem; top: 0; }

/* ---------- Линии и иконки ---------- */

.ico, .bot { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 1.35rem; height: 1.35rem; flex: none; stroke-width: 1.7; }
.bot { display: block; height: auto; stroke-width: 1.5; }

/* ---------- Каркас ---------- */

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 48rem); }
.centered { text-align: center; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem); }
.section-soft { background: var(--bg-soft); }
.section-rose { background: var(--bg-rose); }

.eyebrow { margin: 0 0 0.5rem; font: italic 400 1.1rem var(--serif); color: var(--rose); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.centered .lead { margin-inline: auto; }

.section-head { max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head .lead { margin: 0.8rem auto 0; }
.divider { width: 9rem; margin: 0 auto 0.7rem; color: var(--rose-l); }

.more { margin: 2rem 0 0; text-align: center; font: italic 1.1rem var(--serif); }
.note { margin: 1.5rem auto 0; max-width: 40rem; text-align: center; color: var(--muted); font-size: 0.93rem; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 600 1rem var(--sans);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-l); color: var(--green-d); border-color: var(--green); }
.btn-rose { background: var(--rose); border-color: var(--rose); }
.btn-rose:hover { background: #a82650; border-color: #a82650; color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }

.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { position: relative; margin-bottom: 0.55rem; padding-left: 1.8rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.5em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: rotate(-45deg);
}

.chips, .jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 0.95rem;
  text-decoration: none;
}
.chip:hover { border-color: var(--rose-l); color: var(--rose); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.jump { margin-top: 0; }

/* ---------- Шапка ---------- */

.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.topbar { background: var(--green-d); color: #d9e9de; font-size: 0.88rem; }
.topbar-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.1rem 1.8rem; padding-block: 0.45rem; text-align: center; }
.topbar-phone { color: #fff; font-weight: 600; text-decoration: none; }
.topbar-phone:hover { color: #fff; text-decoration: underline; }
.topbar .ico { width: 1rem; height: 1rem; margin-right: 0.35rem; vertical-align: -0.18em; }

.header-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding-top: 1.1rem; }
.brandline { display: flex; flex-basis: 100%; align-items: center; justify-content: center; gap: 1.5rem; }
.brandline-branch { width: 9rem; color: var(--rose-l); }
.brandline-branch.is-mirrored { transform: scaleX(-1); }

.logo { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--green-d); text-decoration: none; }
.logo:hover { color: var(--green-d); }
.logo img { flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font: italic 400 2rem var(--serif); letter-spacing: 0.01em; }
.logo-sub { font: 600 0.72rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.site-nav {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 2.2rem;
  margin-top: 1rem;
  padding-block: 0.35rem 0.5rem;
  border-top: 1px solid var(--line);
}
.site-nav a { padding: 0.5rem 0; border-bottom: 2px solid transparent; color: var(--ink); font-weight: 500; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--rose); color: var(--green-d); }

.nav-check { display: none; position: absolute; width: 1px; height: 1px; opacity: 0; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 2.7rem; height: 2.7rem; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--green-d); transition: transform 0.2s, background 0.2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-check:focus-visible + .nav-toggle { outline: 3px solid var(--rose); outline-offset: 3px; }
.nav-check:checked + .nav-toggle span { background: transparent; }
.nav-check:checked + .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-check:checked + .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Главная ---------- */

.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.08; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-note { margin: 1.3rem 0 0; color: var(--muted); font: italic 1rem var(--serif); }
.hero-sprig { display: none; position: absolute; bottom: 0; left: 1rem; width: 6rem; color: var(--rose-l); opacity: 0.6; }
@media (min-width: 1400px) { .hero-sprig { display: block; } }

.arch { position: relative; isolation: isolate; width: 100%; max-width: 26rem; margin-inline: auto; }
.arch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--green-l);
  border-radius: 999px 999px 22px 22px;
}
.arch::before {
  content: "";
  position: absolute;
  inset: -0.9rem -0.9rem 0.9rem 0.9rem;
  z-index: -1;
  border: 1.5px solid var(--rose-l);
  border-radius: 999px 999px 22px 22px;
}
.arch-sm { max-width: 23rem; }

.facts-strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2.8rem; margin: 0; padding: 1.1rem 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 0.6rem; font: italic 1.05rem var(--serif); color: var(--green-d); }
.facts .ico { color: var(--rose); }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-text .more { text-align: left; }

/* ---------- Шапка внутренних страниц ---------- */

.page-hero { padding-block: clamp(2.2rem, 5vw, 4rem) clamp(1.2rem, 3vw, 2rem); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.page-hero-grid.is-solo { grid-template-columns: minmax(0, 1fr); text-align: center; }
.page-hero-grid.is-solo .lead { margin-inline: auto; }
.hero-branch { width: 8rem; margin-bottom: 0.9rem; color: var(--rose-l); }
.page-hero-grid.is-solo .hero-branch, .centered .hero-branch { margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.crumbs { margin: 0 0 0.6rem; font: italic 1.05rem var(--serif); }
.crumbs a { color: var(--rose); }

/* ---------- Карточки ---------- */

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.card h2, .card h3 { margin: 0 0 0.5rem; font: 400 1.35rem/1.25 var(--serif); color: var(--green-d); }
.card p { margin: 0 0 0.6em; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.card-link:hover { transform: translateY(-3px); color: inherit; }
.card-more { font: italic 1.05rem var(--serif); color: var(--rose); }
.card-flower { width: 2.6rem; margin-bottom: 0.8rem; color: var(--rose); }
.card-leaf { width: 1.7rem; margin-bottom: 0.7rem; color: var(--green-m); }
.icon-badge { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; background: var(--rose-bg); color: var(--rose); }
.icon-badge .ico { width: 1.5rem; height: 1.5rem; }
.contact-value { margin: 0 0 0.6rem; font: 400 1.25rem/1.3 var(--serif); color: var(--green-d); }
.contact-value a { color: var(--green-d); }
.slot-hours { font: italic 1.35rem var(--serif); color: var(--rose); margin-bottom: 0.5rem; }
.pkg-price { margin: 0.2rem 0 1rem; font: 400 2rem/1.1 var(--serif); color: var(--green-d); }
.pkg-price i { margin-right: 0.15rem; font-size: 1rem; color: var(--rose); }
.pkg-price small { font: 0.95rem var(--sans); color: var(--muted); }
.card .ticks { margin: 0; }
.card .ticks li { color: var(--ink); font-size: 0.97rem; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.person { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.person h3 { margin: 0; font-size: 1.25rem; }
.person p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.97rem; }
.person .person-role { font: italic 1rem var(--serif); color: var(--rose); }
.avatar { display: grid; flex: none; place-items: center; width: 3.6rem; height: 3.6rem; border: 1.5px solid var(--rose-l); border-radius: 50%; background: var(--rose-bg); color: var(--rose); font: italic 1.45rem var(--serif); }

/* ---------- Каталог букетов ---------- */

.bq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.bq { display: flex; flex-direction: column; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); transition: transform 0.2s; }
.bq:hover { transform: translateY(-3px); }
.bq-fig { position: relative; margin: 0; }
.bq-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--green-l); border-radius: 50% 50% 12px 12px / 30% 30% 12px 12px; }
.bq-badge { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.15rem 0.8rem; border-radius: 999px; background: #fff; color: var(--rose); font: italic 0.92rem var(--serif); box-shadow: 0 2px 8px rgba(18, 53, 36, 0.18); }
.bq-body { display: flex; flex: 1; flex-direction: column; padding: 0.9rem 0.55rem 0.3rem; }
.bq-name { margin: 0; font: 400 1.4rem/1.2 var(--serif); }
.bq-comp { margin: 0.4rem 0 0.6rem; font: italic 0.97rem/1.5 var(--serif); color: var(--muted); }
.bq-size { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.8rem; color: var(--muted); font-size: 0.9rem; }
.bq-leaf { width: 1rem; flex: none; color: var(--rose-l); }
.bq-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin: auto 0 0; padding-top: 0.8rem; border-top: 1px dashed var(--line); }
.bq-price { font: 600 1.35rem var(--serif); color: var(--green-d); white-space: nowrap; }
.bq-order { border-bottom: 1.5px solid currentColor; color: var(--rose); font-weight: 600; text-decoration: none; }
.bq-order:hover { color: var(--green-d); }

/* ---------- Шаги, таблицы, вопросы ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-top: 3.5rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1.5px solid var(--rose-l);
  border-radius: 50%;
  background: #fff;
  color: var(--rose);
  font: italic 1.35rem var(--serif);
}
.steps h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }
.steps-long { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
.steps-long li { min-height: 2.7rem; padding: 0 0 0 4rem; }

.call-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.8rem; margin: 2.4rem 0 0; padding: 1.1rem 1.4rem; border: 1.5px dashed var(--rose-l); border-radius: var(--r); background: #fff; font: italic 1.1rem var(--serif); text-align: center; }
.call-box .ico { width: 1.6rem; height: 1.6rem; color: var(--rose); }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.97rem; }
.table th, .table td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table thead th { background: var(--green-l); color: var(--green-d); font: italic 400 1.05rem var(--serif); }
.table tbody th { color: var(--green-d); font: 400 1.1rem/1.3 var(--serif); }
.cell-note { display: block; margin-top: 0.2rem; color: var(--muted); font: 400 0.85rem/1.4 var(--sans); }
.num { color: var(--green); font-weight: 600; white-space: nowrap; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.1rem 2.2rem 1.1rem 0; color: var(--green-d); font: 1.15rem/1.4 var(--serif); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 0.85rem; right: 0.3rem; color: var(--rose); font: 1.6rem/1 var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.2rem; color: var(--muted); }
.faq .answer p { margin: 0 0 0.8em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Текст ---------- */

.prose { max-width: 42rem; margin-inline: auto; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: 1.75rem; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--rose); }
.prose blockquote { margin: 1.6em 0; padding: 0.2rem 0 0.2rem 1.3rem; border-left: 3px solid var(--rose-l); color: var(--green); font: italic 1.2rem/1.6 var(--serif); }
.prose blockquote p { margin: 0; }
.prose-serif { font-family: var(--serif); font-size: 1.15rem; line-height: 1.8; }
.prose-serif h2, .prose-serif h3 { font-family: var(--serif); }
.prose-after { margin-top: 2.5rem; }

/* ---------- Блог ---------- */

.entries { display: grid; gap: 1.8rem; }
.entry { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.5rem; align-items: center; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.entry:last-child { border-bottom: 0; }
.entry-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--green-l); border-radius: 50% 50% 14px 14px / 28% 28% 14px 14px; }
.entry-meta { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.9rem; }
.entry-cat { margin-right: 0.5rem; color: var(--rose); font: italic 1rem var(--serif); }
.entry-title { margin: 0 0 0.4rem; font-size: 1.4rem; }
.entry-title a { color: var(--green-d); text-decoration: none; }
.entry-title a:hover { color: var(--rose); }
.entry-text { margin: 0; color: var(--muted); }
.entries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.entries-grid .entry { grid-template-columns: minmax(0, 1fr); align-items: start; padding-bottom: 0; border-bottom: 0; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; }
.pager-link { padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--green); font-weight: 600; text-decoration: none; }
.pager-link:hover { border-color: var(--rose-l); color: var(--rose); }
.pager-info { color: var(--muted); font: italic 1rem var(--serif); }

.post-meta { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.95rem; }
.post-meta a { color: var(--rose); font: italic 1.02rem var(--serif); }
.post-cover { margin: 0 0 2.5rem; }
.post-cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--green-l); border-radius: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 0; }
.tag { padding: 0.2rem 0.8rem; border-radius: 999px; background: var(--green-l); color: var(--green); font-size: 0.9rem; text-decoration: none; }
.tag:hover { background: var(--rose-bg); color: var(--rose); }
.post-note { display: flex; align-items: center; gap: 1.2rem; margin: 2.5rem 0 3rem; padding: 1.2rem 1.5rem; border-radius: var(--r); background: var(--bg-rose); }
.post-note p { margin: 0; }
.post-note-flower { width: 3.2rem; flex: none; color: var(--rose); }

.term-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.term-list li { padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.term-list a { text-decoration: none; }
.term-list p { margin: 0.3rem 0 0; color: var(--muted); }
.term-name { font: 400 1.3rem var(--serif); color: var(--green-d); }
.term-count { display: inline-block; min-width: 1.6rem; margin-left: 0.4rem; padding: 0 0.5rem; border-radius: 999px; background: var(--rose-bg); color: var(--rose); font-size: 0.85rem; text-align: center; }
.plain-list { padding-left: 1.2rem; }

/* ---------- Призыв ---------- */

.cta-section { padding-block: 0 clamp(3rem, 7vw, 5.5rem); }
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: clamp(2.2rem, 5vw, 3.8rem) clamp(1.5rem, 5vw, 4rem); border-radius: 28px; background: var(--green-d); color: #e6f1ea; text-align: center; }
.cta-body { position: relative; z-index: 1; max-width: 36rem; }
.cta h2 { color: #fff; }
.cta p { color: #d3e6da; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin: 1.6rem 0 0; }
.cta-sprig { position: absolute; bottom: -0.5rem; width: 5rem; color: var(--rose-l); opacity: 0.55; }
.cta-sprig-l { left: 1rem; }
.cta-sprig-r { right: 1rem; transform: scaleX(-1); }
.section-soft + .cta-section { background: var(--bg-soft); padding-top: clamp(3rem, 7vw, 5.5rem); }

/* ---------- Подвал ---------- */

.site-footer { padding-top: 2.2rem; background: var(--green-d); color: #cfe2d6; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer a:hover { color: #f4a9c2; }
.footer-branch { width: min(22rem, 70%); margin: 0 auto 2.2rem; color: var(--rose-l); opacity: 0.75; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-brand p { margin: 1rem 0 0; max-width: 24rem; }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light .logo-sub { color: #aac4b4; }
.footer-title { margin: 0 0 0.8rem; color: #f4a9c2; font: italic 400 1.2rem var(--serif); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.45rem; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.4rem; padding-block: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #a9c3b3; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Страницы ошибок ---------- */

.error-page { text-align: center; }
.error-tulip { width: 3rem; margin: 0 auto 1rem; color: var(--green-m); }
.error-art { display: block; width: clamp(130px, 40vw, 180px); height: auto; margin: 0 auto 1rem; color: var(--green-m); }
.error-art .leaf { fill: var(--green-l); }
.error-art .pet { stroke: var(--rose); }
.error-code { margin: 0; color: var(--rose); font: italic 400 clamp(4rem, 14vw, 7rem)/1 var(--serif); }
.error-page .prose { margin-bottom: 1.6rem; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

/* ---------- Адаптив ---------- */

@media (max-width: 1000px) {
  .cards-4, .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps:not(.steps-long) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .header-row { padding-top: 0.8rem; justify-content: flex-start; }
  .brandline { flex-basis: auto; justify-content: flex-start; }
  .brandline-branch { display: none; }
  .logo-name { font-size: 1.7rem; }
  .nav-check { display: block; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; margin-top: 0.8rem; padding: 0 0 0.8rem; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-check:checked ~ .site-nav { display: flex; }

  .hero-grid, .page-hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .arch { max-width: 20rem; }
  .arch-sm { max-width: 18rem; }
  .split .arch { order: -1; }
  .entries-grid { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .cta-sprig { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards-2, .cards-3, .cards-4, .steps, .bq-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; text-align: center; }
  .facts { flex-direction: column; align-items: flex-start; }
  .post-note { flex-direction: column; align-items: flex-start; }
  .steps-long li { padding-left: 3.6rem; }
  .pager { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
