/* Mama Logoped — бежевая тема оригинального taplink-сайта */
:root {
  --bg: #f5f0ea;
  --card: #efe8dc;
  --accent: #e5c6b6;
  --accent-dark: #d9b18c;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
section { padding: 34px 0; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: .06em; }
h1 { font-size: clamp(30px, 6vw, 44px); text-transform: uppercase; }
h2 { font-size: clamp(24px, 4.6vw, 32px); text-transform: uppercase; margin-bottom: 22px; }
h3 { font-size: 21px; text-transform: uppercase; margin: 26px 0 12px; }
p + p { margin-top: 12px; }
.lead-over { font-size: 15px; letter-spacing: .35em; text-transform: uppercase; color: var(--text-light); }

/* кнопки */
.btn {
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff;
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .12em;
  font-size: 20px; padding: 18px 30px; border-radius: 14px;
  transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn-link {
  display: block; text-align: center; text-decoration: none;
  border: 1px solid #d9c2a8; border-radius: 10px; background: var(--bg);
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .12em;
  font-size: 18px; padding: 16px 24px; color: #4a4a4a;
  transition: background .2s;
}
.btn-link:hover { background: var(--card); }

/* hero */
.hero { text-align: center; padding-top: 46px; }
.hero img { border-radius: 18px; margin: 22px auto; max-width: 480px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 14px; overflow: hidden; margin-top: 8px; }
.stats div { padding: 18px 10px; border: 1px solid #eee; }
.stats b { display: block; font-size: 24px; font-weight: 600; }
.stats span { font-size: 13px; color: var(--text-light); }

/* карточки и списки */
.card { background: var(--card); border-radius: 14px; padding: 26px 24px; }
ul.check { list-style: none; }
ul.check li { padding: 8px 0 8px 34px; position: relative; }
ul.check li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--accent-dark); font-weight: 700; font-size: 19px;
}
ul.dot { list-style: none; }
ul.dot li { padding: 8px 0 8px 26px; position: relative; }
ul.dot li::before {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.with-photo { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.with-photo img { border-radius: 14px; }
@media (min-width: 640px) { .with-photo { grid-template-columns: 1fr 1fr; } }

/* ценовая плашка */
.price { text-align: center; }
.price b { font-size: 30px; font-family: var(--sans); font-weight: 700; }

/* отзывы */
.review { background: #fff; border-radius: 14px; padding: 24px; margin-bottom: 18px; }
.review .author { font-weight: 600; margin-bottom: 8px; color: var(--accent-dark); }

/* галереи */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery img { border-radius: 10px; cursor: pointer; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* шапка/подвал внутренних страниц */
.subhead { text-align: center; padding: 30px 0 6px; }
.subhead img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.soc { display: flex; gap: 14px; justify-content: center; padding: 26px 0 10px; }
.soc img { width: 52px; height: 52px; border-radius: 12px; }
footer { text-align: center; color: var(--text-light); font-size: 13px; padding: 20px 0 40px; }

/* лайтбокс — минимальный */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; z-index: 10; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 94vw; border-radius: 8px; }

/* слайдер отзывов */
.slider { position: relative; }
.slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; scroll-snap-align: center; object-fit: cover; aspect-ratio: 0.707; }
.s-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(229,198,182,.9); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; z-index: 2;
}
.s-prev { left: 10px; }
.s-next { right: 10px; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.dot-nav { width: 9px; height: 9px; border-radius: 50%; background: #d9c2a8; cursor: pointer; }
.dot-nav.active { background: var(--accent-dark); transform: scale(1.25); }

/* hero: планки-роли и 3 статистики в строку */
.roles { list-style: none; display: grid; gap: 8px; max-width: 420px; margin: 16px auto 22px; }
.roles li {
  background: var(--card); border-radius: 10px; padding: 8px 14px;
  font-size: 14px; white-space: nowrap; letter-spacing: .02em;
}
.stats { grid-template-columns: repeat(3, 1fr); }
.stats b { font-size: 20px; }

/* фикс горизонтального скролла и центрирования */
html, body { overflow-x: clip; }
.hero img { margin-left: auto; margin-right: auto; width: 100%; }
@media (max-width: 420px) {
  .roles li { font-size: 11.5px; padding: 8px 6px; letter-spacing: 0; }
}

/* круглые иконки соцсетей */
.soc img { border-radius: 50%; object-fit: cover; }

/* плашки-ссылки */
a.card-link { display: block; text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.card-link:hover { box-shadow: 0 4px 18px rgba(217,177,140,.45); transform: translateY(-2px); }
a.card-link .go { float: right; color: var(--accent-dark); font-weight: 700; }
