:root {
  --lav-50: #fbf8fd;
  --lav-100: #f4edfa;
  --lav-200: #ead9f6;
  --lav-300: #d9bfee;
  --lav-400: #c4a4e2;
  --lav-500: #ad86d4;
  --lav-600: #94689c66;
  --pink-100: #fdf1f5;
  --pink-200: #f9e0ea;
  --pink-300: #f3c9db;
  --pink-400: #eaabc8;
  --pink-500: #dd8fb2;
  --ink: #4d3a63;
  --ink-soft: #7b6a91;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 14px 40px -18px rgba(148, 104, 156, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--lav-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 253, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lav-200);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(173, 134, 212, 0.35);
}

.brand__name {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand__name b {
  font-weight: 800;
  background: linear-gradient(100deg, var(--lav-500), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav a:hover { color: var(--lav-500); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(115deg, var(--lav-400), var(--pink-400));
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(173, 134, 212, 0.65);
}

.btn--ghost {
  background: var(--white);
  color: var(--lav-500);
  border: 1.5px solid var(--lav-300);
}

.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--big { padding: 15px 30px; font-size: 17px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 15% 10%, rgba(196, 164, 226, 0.25), transparent 70%),
    radial-gradient(600px 360px at 90% 30%, rgba(234, 171, 200, 0.3), transparent 70%),
    linear-gradient(150deg, var(--lav-100) 0%, var(--pink-100) 60%, var(--pink-200) 100%);
  padding: 74px 0 90px;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.hero__blob--1 {
  width: 340px; height: 340px;
  background: var(--lav-300);
  top: -80px; right: 12%;
}

.hero__blob--2 {
  width: 280px; height: 280px;
  background: var(--pink-300);
  bottom: -90px; left: -60px;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 22px;
}

.chip {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--lav-200);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.hero__title {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.hero__lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 26px;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.rating-badge__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.rating-badge--small .rating-badge__value { font-size: 18px; }

.rating-badge__stars svg { color: #f6b23e; }

.hero__rating-note { color: var(--ink-soft); font-size: 14.5px; }

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__photo {
  position: relative;
  margin: 0;
  background: var(--white);
  padding: 12px;
  border-radius: 30px;
  box-shadow: 0 30px 60px -25px rgba(148, 104, 156, 0.5);
  transform: rotate(2.2deg);
}

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

/* ---------- sections ---------- */

.section { padding: 78px 0; }

.section--soft {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(196, 164, 226, 0.18), transparent 70%),
    var(--lav-100);
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section__title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lav-400), var(--pink-400));
}

.section__meta {
  color: var(--ink-soft);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- benefits ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit {
  background: var(--white);
  border: 1px solid var(--lav-100);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.benefit:hover { transform: translateY(-3px); }

.benefit__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lav-100), var(--pink-200));
  color: var(--lav-500);
  margin-bottom: 14px;
}

.benefit h3 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.benefit p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--lav-100);
  transition: transform 0.2s;
}

.review:hover { transform: translateY(-3px); }

.review__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.review__avatar--1 { background: linear-gradient(135deg, var(--lav-400), var(--lav-500)); }
.review__avatar--2 { background: linear-gradient(135deg, var(--pink-400), var(--pink-500)); }
.review__avatar--3 { background: linear-gradient(135deg, var(--pink-500), var(--lav-500)); }
.review__avatar--4 { background: linear-gradient(135deg, var(--lav-500), var(--pink-400)); }

.review__name { display: block; font-weight: 700; font-size: 15.5px; }
.review__date { display: block; color: var(--ink-soft); font-size: 13px; }

.review__stars { margin-left: auto; }
.review__stars svg { color: #f6b23e; }

.review p { color: var(--ink-soft); font-size: 15px; }
.review p + p { margin-top: 10px; }

/* ---------- carousel ---------- */

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel__viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 26px;
  cursor: grab;
}

.carousel__viewport.is-dragging { cursor: grabbing; }

.carousel__track {
  display: flex;
  gap: 16px;
  list-style: none;
  will-change: transform;
}

.carousel__item {
  flex: 0 0 auto;
  height: 360px;
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 34px -16px rgba(148, 104, 156, 0.45);
}

.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.35s;
}

.carousel__item:hover img { transform: scale(1.05); }

.carousel__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--lav-500);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.carousel__btn:hover {
  background: var(--lav-400);
  color: var(--white);
  transform: scale(1.06);
}

/* ---------- contacts ---------- */

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

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--lav-100);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-card__icon {
  width: 46px; height: 46px;
  padding: 12px;
  border-radius: 14px;
  background: var(--lav-100);
  color: var(--lav-500);
}

.contact-card__label {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.contact-card__value {
  display: block;
  color: var(--ink);
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
}

.contact-card__value:hover { color: var(--lav-500); }

.contact-card__value { word-break: break-word; }

.contact-map {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* ---------- socials ---------- */

.socials-wrap {
  margin-top: 40px;
  text-align: center;
}

.socials-label {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--lav-200);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.social:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social svg { border-radius: 50%; flex-shrink: 0; }

.social--max { color: #7b61ff; border-color: rgba(123, 97, 255, 0.35); }
.social--max:hover { border-color: #7b61ff; }
.social--vk { color: #0077ff; border-color: rgba(0, 119, 255, 0.3); }
.social--vk:hover { border-color: #0077ff; }
.social--tg { color: #229ed9; border-color: rgba(34, 158, 217, 0.3); }
.social--tg:hover { border-color: #229ed9; }

.contact-hint {
  background: linear-gradient(150deg, var(--lav-200), var(--pink-200));
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}

.contact-hint img {
  width: 72px; height: 72px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 22px -8px rgba(148, 104, 156, 0.55);
}

.contact-hint p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- footer ---------- */

.footer {
  background: var(--white);
  border-top: 1px solid var(--lav-200);
  padding: 30px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.footer__org span { display: block; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(51, 36, 68, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: lb-in 0.25s ease;
}

@keyframes lb-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox__close {
  width: 46px; height: 46px;
  top: 22px; right: 22px;
  font-size: 26px;
  line-height: 1;
}

.lightbox__nav {
  width: 56px; height: 56px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 26px; }
.lightbox__nav--next { right: 26px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 52px 0 64px; }
  .hero__photo { max-width: 520px; }
  .contacts { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .carousel__item { height: 300px; width: 250px; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .carousel { gap: 8px; }
  .carousel__btn { width: 42px; height: 42px; }
  .carousel__item { height: 260px; width: 210px; }
  .section { padding: 52px 0; }
  .footer__inner { flex-direction: column; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .review, .review:hover, .btn:hover { transform: none; transition: none; }
}
