.site-footer {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  padding: 10px 2px 0;
  border-top: 1px solid rgba(97, 64, 72, 0.22);
  background: none;
  color: #5e3945;
}
.site-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer-brand { display: none; }
.site-footer-nav {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 16px;
  min-width: 0;
}
.site-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #5e3945;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer-nav a:hover,
.site-footer-nav a[aria-current="page"] {
  color: #a4485b;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer-disclaimer {
  flex: 0 1 540px;
  max-width: 540px;
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  text-align: right;
}
.site-footer-meta {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.6;
}
.site-footer-meta p { margin: 0; }

.cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(490px, calc(100% - 24px));
  padding: 8px 10px;
  border: 1px solid rgba(164, 72, 91, 0.2);
  border-radius: 10px;
  background: rgba(250, 221, 229, 0.96);
  box-shadow: 0 4px 16px rgba(68, 36, 48, 0.1);
  color: #663f4b;
  transform: translateX(-50%);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { flex: 1; margin: 0; font-size: 11px; line-height: 1.4; }
.cookie-notice a { color: #8b4057; text-underline-offset: 2px; }
.cookie-notice button {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(164, 72, 91, 0.25);
  border-radius: 8px;
  background: rgba(255, 247, 249, 0.75);
  color: #663f4b;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.subpage { overflow: visible; }
.subpage-header-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #9e4151;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.subpage-header-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.subpage-main { max-width: 1180px; margin: 0 auto; }
.subpage-kicker {
  margin: 0 0 12px;
  color: #a4485b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.subpage-hero { padding: 38px 16px 36px; }
.subpage-hero h1 {
  max-width: 900px;
  margin: 0;
  font: 700 clamp(36px, 4.5vw, 60px) / 1.1 Georgia, serif;
  letter-spacing: -1.5px;
}
.subpage-hero p:last-child {
  max-width: 730px;
  margin: 17px 0 0;
  color: #6a525c;
  font-size: 17px;
  line-height: 1.55;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 0 16px;
}
.legal-toc {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(237, 199, 193, 0.75);
  border-radius: 22px;
  background: rgba(255, 252, 250, 0.75);
}
.legal-toc h2 {
  margin: 0 0 14px;
  color: #9e4151;
  font: 700 18px Georgia, serif;
}
.legal-toc a {
  display: block;
  padding: 7px 0;
  color: #6a525c;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.legal-toc a:hover { color: #a4485b; text-decoration: underline; }
.document {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: rgba(255, 252, 250, 0.9);
  box-shadow: 0 10px 30px rgba(170, 100, 90, 0.08);
  overflow-wrap: anywhere;
}
.document h2 {
  margin: 38px 0 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(157, 81, 90, 0.18);
  color: #210d13;
  font: 700 clamp(22px, 2.3vw, 30px) / 1.25 Georgia, serif;
  scroll-margin-top: 20px;
}
.document h2:first-of-type { margin-top: 25px; }
.document .doc-clause {
  margin: 18px 0 7px;
  color: #4f3540;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  scroll-margin-top: 20px;
}
.document p,
.document li {
  color: #554a52;
  font-size: 16px;
  line-height: 1.7;
}
.document p { margin: 12px 0; }
.document ul,
.document ol { margin: 12px 0; padding-left: 24px; }
.document li + li { margin-top: 7px; }
.document a { color: #9e4151; text-underline-offset: 3px; }

.prices-page .subpage-hero { text-align: center; }
.prices-page .subpage-hero h1,
.prices-page .subpage-hero p:last-child { margin-left: auto; margin-right: auto; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0 16px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 285px;
  padding: 25px 19px 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 252, 250, 0.88);
  box-shadow: 0 10px 30px rgba(170, 100, 90, 0.08);
}
.price-card.featured {
  border-color: #d49c5e;
  background: linear-gradient(180deg, #fff7eb, #fff9f5);
}
.price-card-badge {
  align-self: flex-start;
  margin: -9px 0 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4d9c5;
  color: #8c4750;
  font-size: 11px;
  font-weight: 700;
}
.price-card h2 {
  margin: 0 0 12px;
  color: #9e4151;
  font: 700 23px Georgia, serif;
}
.price-count { margin: 0; color: #554a52; font-size: 15px; }
.price-count strong { color: #210d13; font: 700 34px Georgia, serif; }
.price-total { margin: auto 0 7px; color: #210d13; font: 700 32px Georgia, serif; }
.price-unit,
.price-saving { margin: 0; color: #6a525c; font-size: 13px; line-height: 1.5; }
.price-saving { margin-top: 8px; color: #9e4151; font-weight: 700; }
.price-note { margin: 16px 16px 0; color: #6a525c; font-size: 13px; }
.price-cta {
  max-width: 720px;
  margin: 50px auto 20px;
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: rgba(255, 252, 250, 0.82);
  text-align: center;
}
.price-cta h2 { margin: 0 0 21px; color: #210d13; font: 700 clamp(25px, 3vw, 36px) Georgia, serif; }
.price-cta-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.price-cta-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 205px;
  padding: 12px 20px;
  border-radius: 999px;
  color: #382010;
  font-weight: 700;
  text-decoration: none;
}
.price-cta-links .telegram-link { background: linear-gradient(135deg, #f3cf9f, #d49c5e); }
.price-cta-links .max-link { background: #f4dcda; color: #421c24; }
.price-cta-links a:hover { filter: brightness(1.04); transform: translateY(-2px); }

@media (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .site-footer-main { align-items: stretch; flex-direction: column; gap: 4px; }
  .site-footer-disclaimer { flex: none; max-width: none; text-align: left; }
}
@media (max-width: 800px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc nav { columns: 2; column-gap: 24px; }
  .legal-toc a { break-inside: avoid; }
}
@media (max-width: 600px) {
  .offer { justify-content: center; text-align: center; }
  .site-footer { margin-top: 14px; padding: 8px 0 0; }
  .site-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 14px; }
  .site-footer-nav a { font-size: 12px; line-height: 1.35; }
  .site-footer-meta { margin-top: 2px; }
  .cookie-notice { bottom: 8px; width: calc(100% - 16px); }
  .cookie-notice button { flex-shrink: 0; }
  .subpage-hero { padding: 32px 5px 28px; }
  .subpage-hero p:last-child { font-size: 15px; }
  .legal-layout { gap: 14px; padding: 0; }
  .legal-toc { padding: 18px; }
  .legal-toc nav { columns: 1; }
  .document { padding: 22px 18px; border-radius: 22px; }
  .document p, .document li, .document .doc-clause { font-size: 15px; }
  .price-grid { grid-template-columns: 1fr; padding: 0; }
  .price-card { min-height: 215px; }
  .price-cta { margin-top: 30px; padding: 28px 18px; }
  .price-cta-links { flex-direction: column; }
  .price-cta-links a { width: 100%; }
}
@media (max-width: 360px) {
  .subpage-hero h1 { font-size: 30px; letter-spacing: -1px; }
}
