:root {
  --bg: #fff7f8;
  --bg-soft: #fceef2;
  --bg-deep: #f6dbe3;
  --paper: #ffffff;
  --ink: #2f1c24;
  --muted: #6d4b56;
  --line: #efd4dc;
  --rose: #d9899b;
  --rose-deep: #8e3a52;
  --rose-soft: #f6d5de;
  --shadow: 0 24px 60px rgba(142, 58, 82, 0.08);
  --radius: 28px;
  --header: 80px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 247, 248, 0.88);
  border-bottom: 1px solid rgba(239, 212, 220, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}

.nav a {
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav a:hover,
.nav a[aria-current="page"],
.nav-cta {
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.nav-link[aria-current="page"] {
  transform: translateY(-1px);
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.hero-brand,
.footer-brand {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero-premium {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-premium-media {
  position: absolute;
  inset: 0;
}

.hero-premium-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-premium-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 247, 248, 0.92) 0%,
    rgba(255, 247, 248, 0.72) 42%,
    rgba(255, 247, 248, 0.18) 100%
  );
}

.hero-premium-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
  max-width: 40rem;
  margin-left: max(20px, calc((100% - 1180px) / 2));
  margin-right: auto;
  width: min(40rem, calc(100% - 40px));
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.85s ease forwards 0.08s;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-brand {
  margin: 0 0 12px;
  font-size: clamp(4.2rem, 12vw, 7.4rem);
  color: var(--ink);
}

.hero-kicker {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--rose-deep);
}

.lede,
.page-lead,
.lede-ink {
  margin: 0 0 22px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-offer {
  margin: 0 0 24px;
  font-weight: 700;
  color: var(--rose-deep);
}

.page-hero {
  padding: 64px 0 20px;
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(246, 213, 222, 0.7), transparent 60%),
    var(--bg);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5rem);
}

.page-lead {
  margin-top: 16px;
}

.section {
  padding: 72px 0;
}

.band-soft {
  background: linear-gradient(
    180deg,
    rgba(252, 238, 242, 0) 0%,
    rgba(252, 238, 242, 0.85) 18%,
    rgba(252, 238, 242, 0.85) 82%,
    rgba(252, 238, 242, 0) 100%
  );
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  color: var(--rose-deep);
  font-weight: 700;
  text-decoration: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--rose-deep);
  color: #fff;
}

.btn-primary:hover {
  background: #742f43;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: #e7c2cc;
  color: var(--rose-deep);
}

.trust-grid,
.service-grid,
.problem-grid,
.review-grid,
.gallery {
  display: grid;
  gap: 16px;
}

.trust-grid {
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-grid li,
.service-tile,
.problem-card,
.review-card,
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.trust-grid li {
  font-weight: 600;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-meta {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 700;
}

.service-tile h3,
.problem-card h3,
.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.service-tile p,
.problem-card p,
.review-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
}

.service-tile .text-link {
  display: inline-block;
  margin-top: 16px;
}

.problem-grid {
  grid-template-columns: repeat(2, 1fr);
}

.problem-card {
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
}

.gallery {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-deep);
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-results {
  align-items: start;
}

.result-card {
  margin: 0;
  display: grid;
  gap: 12px;
}

.result-card-media {
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.result-card-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.result-card:hover .result-card-media img {
  transform: scale(1.02);
}

.result-card figcaption {
  display: grid;
  gap: 2px;
  padding: 0 4px;
}

.result-card figcaption strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.result-card figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.review-grid-full {
  grid-template-columns: 1fr;
}

.review-card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-line {
  margin: 0 0 28px;
}

.rating-line a {
  color: var(--rose-deep);
  font-weight: 700;
  text-decoration: none;
}

.stack-lg {
  display: grid;
  gap: 28px;
}

.problem-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.problem-block h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.problem-block-copy p {
  margin: 0;
  color: var(--muted);
}

.problem-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.problem-services li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.problem-services li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.problem-services strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

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

.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: rules;
}

.rules-list li {
  counter-increment: rules;
  position: relative;
  padding: 22px 24px 22px 72px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

.rules-list li::before {
  content: counter(rules);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.price-tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.price-tab:hover,
.price-tab.is-active {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
}

.price-group-title {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.price-table-block {
  margin: 0 0 28px;
}

.price-table-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--ink);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table thead th {
  background: var(--rose-deep);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-table tbody th {
  font-weight: 700;
  min-width: 180px;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(247, 131, 172, 0.08);
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tr.is-trial .price-name::after {
  content: "пробный";
  margin-left: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 700;
}

.price-table-block.is-trials .price-table {
  min-width: 360px;
}

.price-table-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.price-table-cta {
  margin: 8px 0 0;
}

.rules-abonement {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.rules-abonement-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
}

.rules-abonement-subtitle {
  margin: 22px 0 12px;
  font-size: 1.05rem;
}

.rules-abonement-notes {
  margin: 16px 0 0;
  padding-left: 1.1em;
  color: var(--muted);
  line-height: 1.55;
}

.rules-abonement-notes li + li {
  margin-top: 8px;
}

.rules-contra-lead {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.rules-contra {
  margin: 0;
  padding: 8px 8px 8px 22px;
  list-style: disc;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rules-contra li {
  padding: 10px 12px 10px 4px;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.rules-contra li:last-child {
  border-bottom: 0;
}

.rules-table {
  min-width: 320px;
}

@keyframes fadeSoft {
  from {
    opacity: 0.35;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.price-name {
  display: block;
  font-weight: 700;
}

.price-note {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-value {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--rose-deep);
  white-space: nowrap;
}

.price-book {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rose-deep);
  text-decoration: none;
  white-space: nowrap;
}

.notice {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.value-stack {
  display: grid;
  gap: 14px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.contact-list a {
  color: var(--rose-deep);
  font-weight: 700;
  text-decoration: none;
}

.map-frame {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.cta-band {
  padding: 56px 0 72px;
  background:
    linear-gradient(135deg, #f8e6eb, #f6d5de 55%, #efc0cd);
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.55);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  color: var(--muted);
  background: #fffafb;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-logo {
  display: inline-block;
  margin: 0 0 8px;
}

.footer-logo img {
  display: block;
  height: 56px;
  width: auto;
}

.footer-tag {
  margin: 0;
}

.footer-cols {
  display: flex;
  gap: 48px;
}

.footer-cols div {
  display: grid;
  gap: 8px;
}

.footer-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-deep);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom a {
  color: var(--rose-deep);
  font-weight: 700;
  text-decoration: none;
}

.sticky-book {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--rose-deep);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky-book.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .section-head,
  .service-grid,
  .problem-grid,
  .review-grid,
  .trust-grid,
  .gallery,
  .about-layout,
  .contacts-layout,
  .problem-block,
  .cta-band-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-band-inner {
    align-items: start;
  }

  .hero-premium-content {
    padding: 48px 0 56px;
  }

  .price-table {
    min-width: 460px;
  }

  .contact-list li {
    flex-direction: column;
    gap: 4px;
  }

  .footer-cols {
    gap: 28px;
  }
}

.page-main {
  view-transition-name: page-main;
  animation: pageEnter 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-leaving .page-main {
  animation: pageLeave 0.28s ease forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pageLeave {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@supports (view-transition-name: none) {
  ::view-transition-old(page-main) {
    animation: pageLeave 0.28s ease both;
  }

  ::view-transition-new(page-main) {
    animation: pageEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.35s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-premium-content,
  .price-table tbody tr,
  .btn,
  .gallery-item img,
  .result-card-media img,
  .sticky-book,
  .page-main,
  .nav a {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  ::view-transition-old(page-main),
  ::view-transition-new(page-main),
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}
