/* Споделен стил за съдържателните страници (услуги + блог).
   Брат на _legal-style.css и със същата логика: самостоятелен CSS, а не Tailwind,
   защото тези страници са статичен HTML извън React бъндъла — така се индексират
   напълно и работят без JavaScript.

   Токените дублират src/styles/tokens.css. При промяна на палитрата редактирай
   и трите файла (tokens.css, _legal-style.css, този). */
:root {
  --blush: #f4c9d7;
  --rose: #e08aa6;
  --petal: #fbeaf0;
  --ink: #121214;
  --graphite: #3c3c42;
  --smoke: #d9d6da;
  --mist: #f4f2f3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--graphite);
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── Хедър ─────────────────────────────────────────────────────────── */
header.top { border-bottom: 1px solid var(--smoke); background: #fff; }
header.top .wrap-wide {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-family: 'Italianno', cursive; font-size: 2.1rem; color: var(--ink);
  text-decoration: none; line-height: 1; flex-shrink: 0;
}
header.top nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
header.top nav a { font-size: 0.95rem; color: var(--graphite); text-decoration: none; }
header.top nav a:hover { color: var(--rose); }
header.top nav a.cta {
  background: var(--blush); color: var(--ink);
  padding: 9px 20px; border-radius: 999px;
}
header.top nav a.cta:hover { background: var(--rose); }
@media (max-width: 640px) {
  header.top nav a.hide-sm { display: none; }
}

/* ── Трохи ─────────────────────────────────────────────────────────── */
.crumbs { font-size: 0.85rem; color: #6b6b73; padding: 20px 0 0; }
.crumbs a { color: #6b6b73; }
.crumbs a:hover { color: var(--rose); }

/* ── Типография ────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; color: var(--ink); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.1rem); margin: 18px 0 14px; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 52px 0 14px; }
h3 { font-size: 1.15rem; margin: 32px 0 8px; }
p { margin: 0 0 18px; }
a { color: var(--ink); }
a:hover { color: var(--rose); }
ul, ol { padding-left: 22px; margin: 0 0 18px; }
li { margin: 7px 0; }
strong { color: var(--ink); font-weight: 500; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--graphite); margin-bottom: 28px; }
.meta { color: #6b6b73; font-size: 0.9rem; margin: 0 0 32px; }
article { padding-bottom: 24px; }

/* ── Блокове ───────────────────────────────────────────────────────── */
.note { background: var(--petal); border-radius: 14px; padding: 20px 22px; margin: 28px 0; }
.note :last-child { margin-bottom: 0; }

.price-box { border: 1px solid var(--smoke); border-radius: 16px; padding: 24px 26px; margin: 32px 0; }
.price-box h2, .price-box h3 { margin-top: 0; }
.price-tag { font-family: 'Fraunces', Georgia, serif; font-size: 2.2rem; color: var(--ink); line-height: 1; }
.price-tag small { font-size: 0.95rem; color: #6b6b73; font-family: 'Jost', sans-serif; }
.price-box ul { list-style: none; padding: 0; margin: 18px 0 0; }
.price-box li { padding-left: 26px; position: relative; }
.price-box li::before { content: '✓'; position: absolute; left: 0; color: var(--rose); }

table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--smoke); vertical-align: top; }
th { background: var(--mist); color: var(--ink); font-weight: 500; }
.table-scroll { overflow-x: auto; }

/* ── Галерия ───────────────────────────────────────────────────────── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.shots img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 560px) { .shots { grid-template-columns: repeat(2, 1fr); } }

/* ── ЧЗВ ───────────────────────────────────────────────────────────── */
.faq { margin: 40px 0; }
.faq details { border-bottom: 1px solid var(--smoke); padding: 4px 0; }
.faq summary {
  cursor: pointer; padding: 16px 0; list-style: none;
  font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--rose); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 0 18px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ── CTA ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit;
  background: var(--blush); color: var(--ink);
  padding: 13px 28px; border-radius: 999px; text-decoration: none;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--rose); color: var(--ink); }
.btn-ghost { background: transparent; border: 1px solid var(--smoke); }
.btn-ghost:hover { background: var(--mist); border-color: var(--rose); }

.cta-band { background: var(--ink); color: #fff; margin: 56px 0 0; padding: 56px 0; }
.cta-band h2 { color: #fff; margin: 0 0 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ── Свързани страници ─────────────────────────────────────────────── */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 28px 0 0; }
.related a {
  display: block; border: 1px solid var(--smoke); border-radius: 14px;
  padding: 20px 22px; text-decoration: none; transition: border-color 0.2s ease;
}
.related a:hover { border-color: var(--rose); }
.related .t { font-family: 'Fraunces', Georgia, serif; color: var(--ink); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.related .d { font-size: 0.9rem; color: #6b6b73; }

/* ── Футър ─────────────────────────────────────────────────────────── */
footer.bottom { border-top: 1px solid var(--smoke); margin-top: 0; background: #fff; }
footer.bottom .wrap-wide { padding: 36px 20px 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.foot-cols h2 { font-family: 'Jost', sans-serif; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #6b6b73; margin: 0 0 12px; font-weight: 400; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin: 7px 0; }
.foot-cols a { font-size: 0.95rem; text-decoration: none; color: var(--graphite); }
.foot-cols a:hover { color: var(--rose); }
.copy { border-top: 1px solid var(--smoke); margin-top: 28px; padding-top: 20px; font-size: 0.85rem; color: #6b6b73; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
