/* SVENGO-ЗБВ — shared base. R6 (extracted from inline <style> blocks). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #1E3A32;
  --green-800: #2A5045;
  --green-700: #336858;
  --green-600: #3D7A69;
  --green-500: #3D6B5E;
  --green-400: #5A9484;
  --green-300: #7FB5A6;
  --green-200: #B3D5CA;
  --green-100: #E0F0EB;
  --green-50:  #F2F9F7;
  --stone-950: #1A1918;
  --stone-900: #2D2B29;
  --stone-800: #44423F;
  --stone-700: #5C5955;
  --stone-600: #78746F;
  --stone-500: #93908A;
  --stone-400: #ADAAA5;
  --stone-300: #C8C5C1;
  --stone-200: #E0DEDA;
  --stone-100: #F0EFED;
  --stone-50:  #F8F7F6;
  --white: #FFFFFF;
  --black: #0F0E0D;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--stone-800); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--green-700); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-900); }

:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: 2px; }

.skip-link { position: absolute; top: -100px; left: 0; padding: 12px 20px; background: var(--green-900); color: var(--white); font-weight: 700; z-index: 1000; }
.skip-link:focus { top: 0; color: var(--white); }

/* a11y utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* generic utilities */
.is-hidden { display: none !important; }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }

/* ============================================================
 * Content-page layout (about, delivery, privacy, terms)
 * Override --header-h/--max-w below; index.html uses index.css.
 * ============================================================ */
.content-page {
  --header-h: 64px;
  --max-w: 1100px;
  background: var(--stone-50);
  line-height: 1.65;
}
.content-page .container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.content-page .header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--stone-200); }
.content-page .header-inner { display: flex; align-items: center; height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; gap: 16px; }
.content-page .header-logo { height: 36px; width: auto; flex-shrink: 0; }
.content-page .header-brand { font-weight: 800; font-size: 16px; letter-spacing: 2px; color: var(--stone-950); white-space: nowrap; line-height: 1; }
.content-page .header-brand span { color: var(--stone-400); font-weight: 400; margin: 0 6px; }
.content-page .header-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.content-page .header-nav a { font-size: 13px; font-weight: 500; color: var(--stone-700); letter-spacing: 0.3px; padding: 4px 0; }
.content-page .header-nav a:hover { color: var(--green-700); }
.content-page .header-nav a[aria-current="page"] { color: var(--green-700); font-weight: 700; }

.content-page main { padding-top: calc(var(--header-h) + 32px); padding-bottom: 80px; min-height: 70vh; }

.content-page .breadcrumbs { font-size: 13px; color: var(--stone-500); margin-bottom: 24px; }
.content-page .breadcrumbs a { color: var(--stone-600); }
.content-page .breadcrumbs a:hover { color: var(--green-700); }
.content-page .breadcrumbs span[aria-current] { color: var(--stone-800); font-weight: 500; }

.content-page .page-hero { padding: 24px 0 48px; }
.content-page .page-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.content-page .page-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--green-600); vertical-align: middle; margin-right: 10px; }
.content-page h1 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.1; color: var(--stone-950); margin-bottom: 16px; }
.content-page .page-lead { font-size: 18px; line-height: 1.65; color: var(--stone-600); max-width: 720px; }
.content-page .page-meta { font-size: 13px; color: var(--stone-500); }

.content-page section.block { background: var(--white); border: 1px solid var(--stone-200); border-radius: 8px; padding: 32px; margin-bottom: 24px; }
.content-page section.block h2 { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; color: var(--stone-950); margin-bottom: 16px; line-height: 1.2; }
.content-page section.block h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--stone-900); margin: 20px 0 8px; }
.content-page section.block p { font-size: 16px; color: var(--stone-700); margin-bottom: 12px; }
.content-page section.block ul, .content-page section.block ol { margin: 12px 0 12px 22px; }
.content-page section.block ul li, .content-page section.block ol li { font-size: 16px; color: var(--stone-700); margin-bottom: 6px; }
.content-page section.block a { color: var(--green-700); font-weight: 600; }
.content-page section.block a:hover { text-decoration: underline; }

.content-page .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--green-700); color: var(--white) !important; font-weight: 700; font-size: 14px; letter-spacing: 0.5px; border-radius: 4px; text-transform: uppercase; transition: background 0.2s, transform 0.15s; }
.content-page .btn-primary:hover { background: var(--green-800); transform: translateY(-1px); }
.content-page .btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: transparent; color: var(--stone-800); font-weight: 600; font-size: 14px; border: 2px solid var(--stone-300); border-radius: 4px; transition: border-color 0.2s, color 0.2s; }
.content-page .btn-outline:hover { border-color: var(--green-600); color: var(--green-700); }

.content-page .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.content-page .fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.content-page .fact-item { background: var(--green-50); border-left: 3px solid var(--green-600); padding: 14px 16px; border-radius: 0 4px 4px 0; }
.content-page .fact-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--green-700); line-height: 1; }
.content-page .fact-text { font-size: 13px; color: var(--stone-600); margin-top: 4px; }

.content-page .contacts-list { list-style: none; margin: 12px 0; padding: 0; }
.content-page .contacts-list li { font-size: 16px; color: var(--stone-700); margin-bottom: 8px; padding-left: 24px; position: relative; }
.content-page .contacts-list li::before { content: '·'; position: absolute; left: 8px; color: var(--green-600); font-weight: 700; }

/* Delivery-page extras (kept under .content-page for DRY across legal/info pages) */
.content-page .rates-callout { background: var(--green-50); border-left: 4px solid var(--green-600); padding: 18px 22px; border-radius: 0 6px 6px 0; margin: 16px 0; }
.content-page .rates-callout strong { color: var(--green-900); font-size: 17px; }
.content-page .rates-callout p { margin-bottom: 6px; }

.content-page .rates-table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--stone-200); border-radius: 6px; }
.content-page .rates-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.content-page .rates-table th, .content-page .rates-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--stone-100); }
.content-page .rates-table th { background: var(--stone-100); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--stone-700); }
.content-page .rates-table td { color: var(--stone-700); }
.content-page .rates-table tr:last-child td { border-bottom: none; }
.content-page .rates-table td:first-child { font-weight: 600; color: var(--stone-900); }
.content-page .rates-table td.price { font-weight: 700; color: var(--green-700); white-space: nowrap; }

.content-page .zone-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.content-page .zone-list li { background: var(--stone-100); border: 1px solid var(--stone-200); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--stone-700); }

/* Footer (content pages) */
.content-page .footer { background: var(--stone-950); color: var(--stone-400); padding: 56px 0 24px; }
.content-page .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; max-width: var(--footer-max-w, var(--max-w)); margin-left: auto; margin-right: auto; padding: 0 24px; }
.content-page .footer-brand { font-weight: 800; font-size: 18px; color: var(--white); letter-spacing: 2px; margin-bottom: 14px; }
.content-page .footer-brand span { color: var(--stone-500); font-weight: 400; }
.content-page .footer-desc { font-size: 14px; line-height: 1.65; color: var(--stone-500); max-width: 320px; }
.content-page .footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--stone-300); margin-bottom: 16px; }
.content-page .footer-links { list-style: none; }
.content-page .footer-links li { margin-bottom: 10px; }
.content-page .footer-links a { font-size: 14px; color: var(--stone-500); }
.content-page .footer-links a:hover { color: var(--green-400); }
.content-page .footer-bottom { padding: 24px 24px 0; max-width: var(--footer-max-w, var(--max-w)); margin: 0 auto; border-top: 1px solid var(--stone-800); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--stone-400); }
.content-page .footer-bottom a { color: var(--stone-300); }
.content-page .footer-bottom a:hover { color: var(--green-400); }
.content-page .footer-legal { display: inline-flex; gap: 8px; align-items: center; }

/* Tab-bar (content pages) */
.content-page .tab-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-top: 1px solid var(--stone-200); padding: 8px 0 max(8px, env(safe-area-inset-bottom)); }
.content-page .tab-bar-inner { display: flex; justify-content: space-around; max-width: 600px; margin: 0 auto; }
.content-page .tab-bar-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: var(--stone-500); padding: 4px 12px; }
.content-page .tab-bar-item.active { color: var(--green-700); }
.content-page .tab-bar-icon { font-size: 20px; line-height: 1; }

@media (max-width: 768px) {
  .content-page .header-nav { display: none; }
  .content-page .header-inner { justify-content: space-between; }
  .content-page .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .content-page .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .content-page .footer { padding-bottom: 84px; }
  .content-page .tab-bar { display: block; }
  .content-page section.block { padding: 24px 20px; }
}

/* ============================================================
 * Legal pages (privacy, terms). Same .content-page header/footer
 * but narrower content (--max-w: 880px); header/footer keep 1100px.
 * ============================================================ */
.legal-page {
  --max-w: 880px;
  --footer-max-w: 1100px;
}
.legal-page .header-inner { max-width: 1100px; }

.legal-page .page-hero { padding: 24px 0 32px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin-bottom: 14px; }

.legal-page .legal-disclaimer { background: #FFF7E6; border-left: 4px solid #D4931E; padding: 16px 20px; border-radius: 0 6px 6px 0; margin: 16px 0 24px; font-size: 15px; color: var(--stone-800); }
.legal-page .legal-disclaimer strong { color: #8B5A0C; }

.legal-page .legal-doc { background: var(--white); border: 1px solid var(--stone-200); border-radius: 8px; padding: 32px; }
.legal-page .legal-doc h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--stone-950); margin: 28px 0 12px; line-height: 1.25; }
.legal-page .legal-doc h2:first-child { margin-top: 0; }
.legal-page .legal-doc h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--stone-900); margin: 18px 0 6px; }
.legal-page .legal-doc p { font-size: 15px; color: var(--stone-700); margin-bottom: 10px; }
.legal-page .legal-doc ol, .legal-page .legal-doc ul { margin: 8px 0 12px 22px; }
.legal-page .legal-doc ol li, .legal-page .legal-doc ul li { font-size: 15px; color: var(--stone-700); margin-bottom: 6px; }
.legal-page .legal-doc a { color: var(--green-700); font-weight: 600; }
.legal-page .legal-doc a:hover { text-decoration: underline; }
.legal-page .legal-doc strong { color: var(--stone-900); }

.legal-page .tbd { background: var(--stone-100); border: 1px dashed var(--stone-300); padding: 8px 12px; border-radius: 4px; font-size: 13px; color: var(--stone-500); margin: 8px 0; display: block; }

.legal-page .req-list { background: var(--stone-50); border: 1px solid var(--stone-200); border-radius: 6px; padding: 18px 22px; margin-top: 10px; }
.legal-page .req-list dt { font-size: 13px; font-weight: 700; color: var(--stone-600); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.legal-page .req-list dd { font-size: 15px; color: var(--stone-800); margin-bottom: 12px; }
.legal-page .req-list dd:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .legal-page .legal-doc { padding: 24px 20px; }
}

/* about-page disclaimer override (uses stone tones, not warning yellow) */
.legal-disclaimer--neutral { background: var(--stone-50); border-left: 3px solid var(--stone-400); padding: 12px 16px; border-radius: 0 4px 4px 0; font-size: 14px; color: var(--stone-600); }

/* small caption-style note (delivery page footer notes) */
.content-page .note-small { font-size: 14px; color: var(--stone-500); }

/* terms-page tbd (inline-block variant) */
.legal-page .tbd--inline { padding: 6px 10px; margin: 6px 0; display: inline-block; }
