/* Студия «Лак и свет» — одна страница, без внешних шрифтов и библиотек */

:root {
  --ink: #241c22;
  --ink-soft: #6b5f68;
  --paper: #fbf7f5;
  --card: #ffffff;
  --line: #eadddf;
  --accent: #a8455c;
  --accent-soft: #f7e6ea;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

h1 { font-size: clamp(30px, 7vw, 48px); }
h2 { font-size: clamp(23px, 4.4vw, 30px); margin-bottom: 20px; }
h3 { font-size: 19px; margin-bottom: 6px; }

p { margin: 0 0 14px; }

a { color: var(--accent); }

/* верхняя полоса */
.top {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}
.brand {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.top__phone {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* первый экран */
.hero {
  padding: 44px 20px 8px;
}
.hero__kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__text {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 18px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

/* кнопки */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--accent);
}
.btn:active { transform: translateY(1px); }
.btn_ghost {
  background: transparent;
  color: var(--accent);
}
.btn_big {
  display: block;
  margin-top: 24px;
  padding: 17px 24px;
  font-size: 18px;
}

/* секции */
.section { padding: 46px 20px; }
.section_alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__lead { color: var(--ink-soft); }

/* услуги */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.service p {
  color: var(--ink-soft);
  margin: 0 0 10px;
  font-size: 16px;
}
.service__price {
  font-weight: 700;
  color: var(--accent);
}

/* работы */
.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.shot {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot figcaption {
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* цены */
.price {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price th, .price td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.price tr:last-child th, .price tr:last-child td { border-bottom: 0; }
.price td {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--accent);
}
.note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* контакты */
.section_contact { padding-bottom: 56px; }
.contacts {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.contacts__item { display: flex; flex-direction: column; gap: 2px; }
.contacts__label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contacts__item a, .contacts__item span:last-child { font-size: 18px; }

/* подвал */
.foot {
  background: var(--ink);
  color: #f2e9ec;
  padding: 22px 0;
  font-size: 15px;
}
.foot p { margin: 0; }

/* широкий экран */
@media (min-width: 720px) {
  .services { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contacts { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 64px; }
}
