:root {
  --ink: #1b2530;
  --ink-soft: #41505d;
  --muted: #6a7783;
  --ground: #ffffff;
  --surface: #f6f7f8;
  --border: #e0e4e8;
  --accent: #2c6e64;
  --accent-ink: #1f5049;
}

/* Акцентный цвет из общих настроек панели (settings.theme) */
html[data-accent="terracotta"] {
  --accent: #a54c2b;
  --accent-ink: #8a3f24;
}
html[data-accent="blue"] {
  --accent: #2b5fa5;
  --accent-ink: #204a82;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
}

section {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 5vw, 2rem);
}

h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.12; margin: 0 0 .4em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }

/* hero */
.hero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 720px) {
  .hero { grid-template-columns: 1.1fr 1fr; }
}
.hero__subtitle { font-size: 1.15rem; color: var(--ink-soft); }
.hero__image img { width: 100%; height: auto; border-radius: 14px; display: block; }

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: .8em 1.6em;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

/* services */
.services { background: var(--surface); max-width: none; }
.services > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--ground);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}
.card__body { color: var(--ink-soft); margin: .5rem 0; }
.card__price { font-weight: 600; font-size: 1.1rem; }
.card__old {
  color: var(--muted);
  font-weight: 400;
  text-decoration: line-through;
  margin-left: .5rem;
}

/* contacts */
.contacts__list {
  display: grid;
  gap: .6rem 2rem;
  margin: 0;
}
@media (min-width: 560px) {
  .contacts__list { grid-template-columns: repeat(2, 1fr); }
}
.contacts__list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contacts__list dd { margin: 0; }
.contacts a { color: var(--accent-ink); }
.contacts__socials { list-style: none; padding: 0; display: flex; gap: 1rem; margin-top: 1.5rem; }

/* prices */
.price-list { list-style: none; padding: 0; margin: 0; max-width: 560px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--border);
}
.price-list__price { font-weight: 600; white-space: nowrap; }

/* faq */
.faq-list { margin: 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item dt { font-weight: 600; margin-bottom: .3rem; }
.faq-item dd { margin: 0; color: var(--ink-soft); }

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: .9rem;
}
