/* =========================================================
   LUMMEH SPA POINT — legal documents shared styles
   ========================================================= */

:root {
  --bg:            #110d0a;
  --bg-soft:       #181311;
  --bg-card:       #1c1612;
  --line:          #2a221c;
  --line-strong:   #3b2f25;
  --text:          #f4ede5;
  --text-muted:    #a89c8e;
  --accent:        #d4a682;
  --accent-soft:   #e0b797;
  --accent-ink:    #1a120c;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }

/* ---------- Header ---------- */
.doc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 15, 12, .96);
  border-bottom: 1px solid var(--line);
}
.doc-header__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.doc-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.doc-header__back svg { transition: transform .2s; }
.doc-header__back:hover { text-decoration: none; }
.doc-header__back:hover svg { transform: translateX(-3px); }
.doc-header__logo img { height: 40px; width: auto; }
.doc-header__phone {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Main content ---------- */
.doc-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}

.doc-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(212, 166, 130, .1);
  border: 1px solid rgba(212, 166, 130, .25);
  border-radius: 99px;
}
.doc-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.doc-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 40px;
}

.doc-section {
  margin-top: 50px;
}
.doc-section:first-of-type { margin-top: 0; }

.doc-section h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.doc-section h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 30px 0 12px;
}
.doc-section p {
  margin: 0 0 14px;
  color: rgba(244, 237, 229, .92);
}
.doc-section p:last-child { margin-bottom: 0; }

.doc-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: doc-li;
}
.doc-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 10px;
  color: rgba(244, 237, 229, .92);
  counter-increment: doc-li;
}
.doc-list li::before {
  content: counter(doc-li);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: rgba(212, 166, 130, .12);
  border: 1px solid rgba(212, 166, 130, .3);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.doc-list--bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  border: 0;
  margin: 11px 0 0 10px;
  position: absolute;
  left: 0;
  top: 0;
}
.doc-list--bullets li { padding-left: 24px; }

/* Highlight card for important blocks */
.doc-callout {
  background: rgba(28, 22, 18, .7);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 26px 0;
}
.doc-callout p { margin-bottom: 8px; }
.doc-callout p:last-child { margin-bottom: 0; }

/* Price table for damage doc */
.doc-table {
  border-collapse: collapse;
  width: 100%;
  margin: 28px 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
}
.doc-table th,
.doc-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table th {
  background: rgba(28, 22, 18, .8);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.doc-table td:last-child {
  text-align: right;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.doc-table tbody tr:hover {
  background: rgba(212, 166, 130, .04);
}

/* ---------- Signature block ---------- */
.doc-signature {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 14px;
}
.doc-signature strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.doc-footer {
  border-top: 1px solid var(--line);
  background: #0a0706;
  padding: 36px 24px;
}
.doc-footer__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
}
.doc-footer__inner a { color: var(--text-muted); }
.doc-footer__inner a:hover { color: var(--accent); }
.doc-footer__contacts {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .doc-header__inner { padding: 12px 16px; }
  .doc-header__logo img { height: 34px; }
  .doc-header__phone { display: none; }
  .doc-header__back { font-size: 13px; }
  .doc-main { padding: 36px 18px 60px; }
  .doc-title { font-size: 26px; }
  .doc-list li { padding-left: 32px; }
  .doc-list li::before { width: 24px; height: 24px; font-size: 11px; }
  .doc-table th, .doc-table td { padding: 12px 14px; font-size: 14px; }
  .doc-footer__inner { flex-direction: column; align-items: flex-start; }
}
