.legal-page { background: #faf6f0; }
.legal-header { width: min(1120px, 92%); margin: auto; display: flex; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid #decaab; font-size: 14px; }
.legal-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: #8c6327; font-weight: 600; }
.legal-brand img { width: 90px; height: 64px; object-fit: contain; }
.legal-brand small { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; }
.legal-content { width: min(900px, 90%); margin: 48px auto 64px; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(29px, 4vw, 43px); line-height: 1.2; letter-spacing: -1px; margin: 20px 0 25px; }
.legal-content h2 { font-size: 23px; line-height: 1.35; margin: 34px 0 13px; letter-spacing: -.4px; }
.legal-content h3 { font-size: 18px; margin: 23px 0 10px; line-height: 1.4; }
.legal-content p + p { margin-top: 14px; }
.legal-content ul { padding-left: 23px; margin: 16px 0; }
.legal-content li + li { margin-top: 10px; }
.legal-content a { color: #865f24; text-decoration: underline; text-underline-offset: 3px; }
.legal-back { font-size: 14px; }
.legal-lead { font-size: 18px; color: #675e52; }
.legal-small { font-size: 13px; color: #74695b; }
.legal-download { display: inline-block; padding: 11px 18px; border: 1px solid #bd995f; border-radius: 7px; }
.requisites-list { display: grid; grid-template-columns: minmax(180px, .8fr) 1.5fr; margin: 28px 0; border-top: 1px solid #decaab; }
.requisites-list dt, .requisites-list dd { padding: 14px 12px; border-bottom: 1px solid #e5d9c8; margin: 0; }
.requisites-list dt { font-size: 14px; color: #74695b; }
.legal-table-wrap { overflow-x: auto; margin: 20px 0; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-content th, .legal-content td { text-align: left; vertical-align: top; padding: 13px; border: 1px solid #decaab; }
.legal-content th { background: #f0e5d4; font-weight: 500; }
.legal-footer { padding: 28px max(4%, calc((100% - 1120px) / 2)); background: #f2e8da; font-size: 12px; line-height: 1.8; }
.legal-footer nav, .footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; }
.legal-footer nav a, .footer-legal-links a, .footer-legal-links button { font-size: 12px; color: #7c633e; text-decoration: underline; text-underline-offset: 4px; padding: 0; }
.legal-footer > button { color: #7c633e; padding: 10px 0 0; text-decoration: underline; }
.footer-owner { font-size: 12px; line-height: 1.8; color: #746552; margin: 23px 0 15px; }
.footer-email { display: inline-block; margin-top: 10px; font-size: 14px; color: #986b24; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal-links { margin-bottom: 18px; }
.accessibility-toggle { border: 1px solid #c8ad80; border-radius: 5px; padding: 8px 11px; font-size: 12px; line-height: 1.4; }
.appointment-privacy { margin-top: 12px; color: #756b5d; font-size: 11px; line-height: 1.7; }
.appointment-consent a, .appointment-privacy a { color: #895f24; text-decoration: underline; text-underline-offset: 3px; }
.appointment-field-hint { display: block; font-size: 11px; color: #827569; margin-top: 6px; line-height: 1.5; }
.document-frame img { object-fit: contain; object-position: center; }
.document button:hover img { transform: none; }
.lightbox-header, .lightbox-footer, .document-pages { flex-shrink: 0; }
.lightbox-image-wrap img { max-height: calc(94dvh - 195px); }
.document-pages { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 10px 16px; border-top: 1px solid #e5d3b7; font-size: 13px; }
.document-pages button { width: 36px; height: 32px; display: grid; place-items: center; border: 1px solid #d5bc95; border-radius: 5px; }
.document-pages button:disabled { opacity: .35; cursor: default; }
.cookie-notice { position: fixed; z-index: 15; right: 20px; bottom: 20px; width: min(470px, calc(100% - 40px)); border: 1px solid #c8ad80; border-radius: 12px; padding: 18px 20px; background: #fffcf7; box-shadow: 0 8px 35px #55402324; font-size: 12px; line-height: 1.7; }
.cookie-notice a { color: #895f24; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice .outline-button { margin-top: 12px; padding: 8px 15px; font-size: 12px; white-space: normal; }
.site-map-search { width: 100%; padding: 13px 16px; font: inherit; border: 1px solid #bd995f; border-radius: 7px; background: #fffdf9; margin-top: 8px; color: inherit; }
.site-search-label { font-size: 14px; display: block; margin-top: 24px; }
.site-map-list { columns: 2; }
.site-map-list li { break-inside: avoid; }
html[data-a11y="on"] body { font-family: Arial, sans-serif; font-size: 22px; line-height: 1.7; color: #111; background: #fff; }
html[data-a11y="on"] a, html[data-a11y="on"] button, html[data-a11y="on"] p, html[data-a11y="on"] span, html[data-a11y="on"] small, html[data-a11y="on"] address, html[data-a11y="on"] label { color: #111; -webkit-text-fill-color: currentColor; }
html[data-a11y="on"] .gold-text { background: none; color: #111; -webkit-text-fill-color: currentColor; }
html[data-a11y="on"] .hero { aspect-ratio: auto; min-height: 0; overflow: visible; background: #fff; }
html[data-a11y="on"] .hero-art, html[data-a11y="on"] .footer-wave { display: none; }
html[data-a11y="on"] .header { height: auto; padding: 20px 4%; flex-wrap: wrap; }
html[data-a11y="on"] .hero-main, html[data-a11y="on"] .hero-copy { position: static; width: 100%; padding: 24px 4%; }
html[data-a11y="on"] .hero h1 { white-space: normal; font-size: 38px; letter-spacing: 0; }
html[data-a11y="on"] .hero-subtitle { white-space: normal; font-size: 24px; }
html[data-a11y="on"] .hero-meta { font-size: 20px; margin-top: 25px; }
html[data-a11y="on"] .hero-motto { position: static; font-size: 24px; padding: 20px; background: #fff; }
html[data-a11y="on"] .hero-cta { width: auto; margin-top: 28px; font-size: 20px; }
html[data-a11y="on"] .price-tabs { flex-wrap: wrap; }
html[data-a11y="on"] .price-row, html[data-a11y="on"] .price-tabs button, html[data-a11y="on"] .appointment-field input, html[data-a11y="on"] .appointment-field textarea, html[data-a11y="on"] .legal-content { font-size: 22px; }
html[data-a11y="on"] .appointment-consent, html[data-a11y="on"] .appointment-privacy, html[data-a11y="on"] .appointment-field label, html[data-a11y="on"] .footer-legal-links a, html[data-a11y="on"] .footer-legal-links button { font-size: 17px; }
html[data-a11y="on"] .gold-button, html[data-a11y="on"] .cookie-notice { color: #111; background: #fff; border: 2px solid #111; }
html[data-a11y="on"] .section, html[data-a11y="on"] .site-footer, html[data-a11y="on"] .appointment-section, html[data-a11y="on"] .appointment-dialog, html[data-a11y="on"] .legal-footer { background: #fff; color: #111; }
html[data-a11y="on"] .legal-content h1 { font-size: 38px; }
@media (max-width: 700px) {
  .legal-header { flex-wrap: wrap; gap: 12px 18px; padding: 15px 0; }
  .legal-brand { flex: 1 1 100%; }
  .legal-content { margin-top: 30px; font-size: 15px; }
  .legal-content h2 { font-size: 22px; }
  .legal-lead { font-size: 17px; }
  .requisites-list { grid-template-columns: 1fr; }
  .requisites-list dt { border-bottom: 0; padding-bottom: 0; }
  .requisites-list dd { padding-top: 5px; }
  .site-map-list { columns: 1; }
  .cookie-notice { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 15px 17px; }
  .lightbox-footer { align-items: start; font-size: 12px; }
  html[data-a11y="on"] .hero-meta { flex-direction: column; gap: 15px; }
  html[data-a11y="on"] .hero-meta p + p { border-left: 0; padding-left: 0; }
}
