/* vavada1793.com — каркас шаблона 03 «Панель», префикс .chest-, каштаново-сливочная палитра. */

:root {
  --bg: #170f0c;
  --panel: #211611;
  --panel2: #1c120e;
  --line: #33231a;
  --line2: #4a3325;
  --tx: #f4ece2;
  --tx2: #b5a495;
  --tx3: #8a7565;
  --acc: #b06a3b;
  --acc2: #e8dccd;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font: 16px/1.68 "Jost", ui-sans-serif, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--tx); background: var(--bg); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Playfair Display", system-ui, sans-serif; line-height: 1.22; margin: 0 0 14px }
p { margin: 0 0 14px }
a { color: var(--acc); text-decoration: none }
a:hover { text-decoration: underline }

.chest-skip { position: absolute; top: -44px; left: 12px; background: var(--acc); color: #170f0c; padding: 9px 14px; z-index: 99 }
.chest-skip:focus { top: 12px }
.chest-w { max-width: 1200px; margin: 0 auto; padding: 0 22px }

.chest-top { position: sticky; top: 0; z-index: 50; background: rgba(23, 15, 12, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.chest-top__in { max-width: 1200px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 18px }
.chest-brand { display: flex; align-items: center; gap: 11px; color: var(--tx) }
.chest-brand svg { width: 34px; height: 34px }
.chest-brand__n { font-family: "Playfair Display", sans-serif; font-size: 18px; line-height: 1 }
.chest-brand__s { display: block; font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--tx3); margin-top: 5px }
.chest-nav { display: flex; gap: 17px; margin-left: auto; flex-wrap: wrap }
.chest-nav a { color: var(--tx2); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center }

.chest-b { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px; font-family: "Playfair Display", sans-serif; font-size: 14px; border-radius: 10px; border: 1px solid transparent }
.chest-b--go { background: var(--acc); color: #170f0c; font-weight: 600 }
.chest-b--gh { border-color: var(--line2); color: var(--tx) }
.chest-b--sm { padding: 9px 16px; font-size: 13px; background: var(--panel); border-color: var(--line2) }
.chest-b--lg { padding: 15px 30px; font-size: 15px }

/* KPI-сетка над героем */
.chest-kpis { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line) }
.chest-kpis div { padding: 14px 16px; border-right: 1px solid var(--line) }
.chest-kpis div:last-child { border-right: 0 }
.chest-kpis span { display: block; font-family: "Playfair Display", sans-serif; font-size: 18px; color: var(--acc2) }
.chest-kpis small { font-size: 12px; color: var(--tx3) }

/* герой + липкая колонка действий */
.chest-main { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; padding-top: 40px }
.chest-hero h1 { font-size: clamp(26px, 3.8vw, 42px); max-width: 21ch }
.chest-hero__p { color: var(--tx2); font-size: 17px }
.chest-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 6px }
.chest-aside { position: sticky; top: 78px; display: grid; gap: 10px }
.chest-act { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--panel); padding: 13px 15px; color: var(--tx); border-radius: 12px; min-height: 44px }
.chest-act__t { font-family: "Playfair Display", sans-serif; font-size: 14.5px }
.chest-act__d { display: block; font-size: 12.5px; color: var(--tx3); margin-top: 3px }
.chest-mini { border: 1px solid var(--line2); background: var(--panel2); border-radius: 12px; padding: 14px 15px }
.chest-mini h3 { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tx3); margin-bottom: 8px }
.chest-mini p { font-size: 13.5px; color: var(--tx2); margin: 0 }

/* панель-секция */
.chest-s { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel2); overflow: hidden }
.chest-s__h { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--panel) }
.chest-s__k { font-family: "Playfair Display", sans-serif; font-size: 11.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--acc) }
.chest-s__v { font-size: 12.5px; color: var(--tx3) }
.chest-s__b { padding: 20px 18px }
.chest-s h2 { font-size: clamp(21px, 2.7vw, 29px); max-width: 26ch }
.chest-p { color: var(--tx2); font-size: 16.5px; max-width: 80ch }
.chest-note { color: var(--tx3); font-size: 14px; max-width: 78ch }

.chest-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px }
.chest-step { border: 1px solid var(--line); border-radius: 12px; padding: 15px; background: var(--panel) }
.chest-step__n { font-family: "Playfair Display", sans-serif; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--acc2); margin-bottom: 7px }
.chest-step h3 { font-size: 15px; margin-bottom: 6px }
.chest-step p { font-size: 14px; color: var(--tx2); margin: 0 }

.chest-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 16px }
.chest-t { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px }
.chest-t th { text-align: left; font-family: "Playfair Display", sans-serif; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tx3); padding: 11px 12px; border-bottom: 1px solid var(--line2) }
.chest-t td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--tx2); vertical-align: top }
.chest-t td:first-child { color: var(--tx) }

.chest-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px }
.chest-box { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 16px }
.chest-box h3 { font-size: 15px }
.chest-box p { font-size: 14.5px; color: var(--tx2); margin: 0 }

.chest-rev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px }
.chest-rev__c { border-left: 3px solid var(--acc); padding: 4px 0 4px 15px }
.chest-rev__c p { font-size: 14.5px; color: var(--tx2) }
.chest-rev__m { font-size: 12.5px; color: var(--tx3) }

.chest-cta { margin-top: 26px; border: 1px solid var(--line2); border-radius: 14px; background: linear-gradient(100deg, rgba(176, 106, 59, .18), transparent); padding: 26px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap }
.chest-cta p { font-family: "Playfair Display", sans-serif; font-size: clamp(18px, 2.3vw, 25px); margin: 0; max-width: 32ch }

.chest-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px }
.chest-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 14px 16px }
.chest-faq summary { cursor: pointer; font-family: "Playfair Display", sans-serif; font-size: 14.5px; list-style: none; min-height: 44px; display: flex; align-items: center }
.chest-faq summary::-webkit-details-marker { display: none }
.chest-faq summary::before { content: "▸ "; color: var(--acc) }
.chest-faq details[open] summary::before { content: "▾ "; color: var(--acc2) }
.chest-faq p { margin: 9px 0 0; font-size: 14.5px; color: var(--tx2) }

.chest-auth { margin-top: 26px; padding: 22px 0 }
.chest-auth p { color: var(--tx2); font-size: 14.5px; max-width: 90ch }
.chest-f { padding: 32px 0 52px; font-size: 13.5px; color: var(--tx3); border-top: 1px solid var(--line); margin-top: 20px }
.chest-f__g { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; margin-bottom: 20px }
.chest-f h4 { font-family: "Playfair Display", sans-serif; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--tx2); margin-bottom: 10px }
.chest-f ul { list-style: none; padding: 0; margin: 0 }
.chest-f li { margin-bottom: 6px }
.chest-18 { display: inline-block; border: 1px solid var(--acc2); color: var(--acc2); padding: 6px 11px; border-radius: 8px; font-family: "Playfair Display", sans-serif; margin-bottom: 10px }
.chest-f__law { border-top: 1px solid var(--line); padding-top: 16px; line-height: 1.75 }

@media (max-width: 1000px) {
  .chest-kpis { grid-template-columns: repeat(3, 1fr) }
  .chest-kpis div { border-bottom: 1px solid var(--line) }
  .chest-main { grid-template-columns: 1fr; gap: 18px }
  .chest-aside { position: static; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto }
  .chest-steps, .chest-duo, .chest-rev, .chest-faq, .chest-f__g { grid-template-columns: 1fr }
}
@media (max-width: 600px) {
  .chest-top__in { flex-wrap: wrap; padding: 10px 15px }
  .chest-nav { width: 100%; order: 3; margin-left: 0; gap: 13px }
  .chest-w, .chest-top__in { padding-left: 15px; padding-right: 15px }
  .chest-kpis { grid-template-columns: repeat(2, 1fr) }
  .chest-s__b { padding: 16px 14px }
  .chest-t { font-size: 13.5px }
  .chest-t th, .chest-t td { padding: 9px 8px }
}
