:root {
  --bg: #fffaf8;
  --surface: #ffffff;
  --surface-soft: #fff1ec;
  --text: #2d2120;
  --muted: #7a6662;
  --accent: #d35e50;
  --accent-dark: #af493d;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(80, 35, 30, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section--soft {
  background: var(--surface-soft);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

p {
  margin: 0 0 12px;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 860px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 250, 248, 0.85);
  border-bottom: 1px solid #f0dfd8;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn--small {
  padding: 10px 18px;
}

.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
}

.btn--phone img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero__label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero__name {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.hero__subtitle {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.hero__photo {
  min-height: 460px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffe2d9, #f9b8a7);
  box-shadow: var(--shadow);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.card,
.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.stat-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.card span {
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.approach__quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--accent);
}

.approach__quote blockquote {
  margin: 0;
  font-size: clamp(0.98rem, 1.7vw, 1.18rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
}

.approach__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.approach__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__grid,
.services__top,
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 18px 0;
}

.price-list {
  margin-top: 18px;
}

.price-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed #e8d3cc;
  padding: 10px 0;
}

.price-list li strong {
  white-space: nowrap;
}

.price-list .btn {
  margin-top: 18px;
}

.services__categories {
  margin-top: 18px;
}

.services-list {
  display: grid;
  gap: 12px;
}

.service-item {
  border: 1.5px solid #efb8ae;
  border-radius: 14px;
  padding: 14px 18px;
  background: #fffdfc;
  position: relative;
}

.service-item h4 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.service-item p {
  margin: 8px 0 0;
  max-width: 88%;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.45;
}

.hint {
  color: var(--muted);
  margin: 10px 0 0;
}

.reviews__grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.reviews__grid::-webkit-scrollbar {
  height: 8px;
}

.reviews__grid::-webkit-scrollbar-thumb {
  background: #e0c2b7;
  border-radius: 999px;
}

.reviews__grid .review-card {
  flex: 0 0 min(340px, 88vw);
  scroll-snap-align: start;
}

.review-card {
  padding: 14px;
}

.review-card img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  display: block;
  object-fit: cover;
  margin-bottom: 12px;
}

.review-card p {
  margin: 0;
  color: var(--muted);
}

.education {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.education__badge {
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 2px solid currentColor;
  padding: 22px 28px;
  border-radius: var(--radius);
}

.education__actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer {
  padding: 70px 0;
  background: #2e2020;
  color: #fff7f4;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff1ec;
  border: 1px solid #f1d8cf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(20, 8, 6, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: #ffdcd0;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.05);
}

.footer p {
  color: #e6cfc8;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero__grid,
  .approach,
  .about__grid,
  .services__top,
  .education,
  .footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .reviews__grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .reviews__grid .review-card {
    flex: 0 0 88vw;
  }

  .hero__photo {
    min-height: 320px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .education__actions {
    flex-wrap: wrap;
  }

  .footer__actions {
    flex-wrap: wrap;
  }
}
