@font-face {
  font-family: "Helvetia Verbundene";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/HelvetiaVerbundene.ttf") format("truetype");
}

:root {
  --bg: #fff8f3;
  --bg-soft: #fff3ea;
  --paper: #ffffff;
  --text: #2f2a28;
  --muted: #6a605b;
  --accent: #df8f73;
  --accent-dark: #c87155;
  --peach: #f3b9a4;
  --border: #f0ddd3;
  --shadow: 0 20px 45px rgba(74, 46, 32, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  /* Название проекта: Helvetia Verbundene (OFL), файл fonts/HelvetiaVerbundene.ttf */
  --brand-font: "Helvetia Verbundene", "Segoe Script", "Snell Roundhand", cursive;
  --title-font: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffbf8 0%, #fff8f3 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 759px) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: #2f2a28;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  left: 14px;
  top: 14px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(1.7rem, 4.2vw, 3.4rem) 0;
  position: relative;
}

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

.section-plans {
  background: linear-gradient(180deg, #fefaf7 0%, #fff8f4 50%, #fff8f3 100%);
  position: relative;
  overflow: hidden;
}

.section-plans::before {
  content: "";
  position: absolute;
  inset: -25% -15% auto -15%;
  height: 60%;
  background: radial-gradient(ellipse 75% 55% at 50% 0%, rgba(223, 143, 115, 0.14), transparent 72%);
  pointer-events: none;
}

.plans-intro {
  position: relative;
  z-index: 1;
}

.plans-title {
  letter-spacing: -0.02em;
}

.plans-lead {
  margin: 0 0 var(--space-2xl);
}

.plans-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f4d37;
  max-width: 52ch;
  line-height: 1.45;
}

.plan-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #6f6560;
  font-weight: 500;
  max-width: 32ch;
}

.price-card.featured .plan-tagline {
  max-width: none;
}

.compare-kicker {
  margin: 0 0 var(--space-lg);
  max-width: 58ch;
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  z-index: 1;
  padding: 0.65rem 0 0.65rem 1.1rem;
  border-left: 4px solid rgba(209, 126, 99, 0.85);
  background: linear-gradient(90deg, rgba(255, 244, 238, 0.55) 0%, transparent 100%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pricing-closer {
  margin-top: var(--space-2xl);
  padding: clamp(1.35rem, 3.5vw, 2.15rem);
  background: linear-gradient(165deg, #ffffff 0%, #fff8f3 42%, #fff0e8 100%);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(209, 126, 99, 0.38);
  text-align: center;
  box-shadow: 0 12px 28px rgba(185, 95, 70, 0.11), 0 32px 64px rgba(84, 54, 42, 0.07);
  position: relative;
  z-index: 1;
}

.pricing-closer-title {
  margin: 0 0 0.55rem;
  font-family: var(--title-font);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-closer-text {
  margin: 0 auto 1.35rem;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.62;
}

.pricing-closer-cta {
  padding: 0.92rem 1.5rem;
  font-size: 1.02rem;
}

.section-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 var(--space-xl);
}

.plans-intro .section-title {
  margin-bottom: var(--space-md);
}

.section-quick {
  background: linear-gradient(180deg, #fff9f5 0%, #fff6f0 100%);
}

.quick-grid p {
  color: var(--muted);
  max-width: 72ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 243, 0.78);
  border-bottom: 1px solid rgba(224, 189, 174, 0.35);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

@media (max-width: 759px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 248, 243, 0.96);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(63, 35, 24, 0.1);
  background: rgba(255, 248, 243, 0.94);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(224, 189, 174, 0.85);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-toggle:hover {
  background: #fff;
  border-color: rgba(209, 126, 99, 0.45);
}

.nav-toggle:focus-visible {
  outline: 3px solid #e68d70;
  outline-offset: 2px;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #4a3f3a;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.nav-menu-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-menu-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-menu-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

@media (max-width: 759px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: 72px;
    z-index: 48;
    background: rgba(47, 42, 40, 0.38);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }
}

.brand-name {
  font-family: var(--brand-font);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-feature-settings: normal;
  font-synthesis: none;
}

.section-title .brand-name {
  font-size: 0.92em;
  vertical-align: baseline;
  white-space: nowrap;
}

@media (max-width: 559px) {
  .section-title .brand-name {
    font-size: 0.82em;
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding: 0.55rem 0.72rem;
    font-size: 0.78rem;
  }
}

.hero-subtitle .brand-name {
  font-size: 1.14em;
}

.logo {
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  line-height: 1.2;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  color: var(--accent-dark);
}

.nav {
  gap: var(--space-lg);
}

@media (max-width: 759px) {
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    bottom: 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem 1.15rem max(1.25rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, #fffdfb 0%, #fff8f4 55%, #fff5ef 100%);
    border-top: 1px solid rgba(224, 189, 174, 0.55);
    box-shadow: 0 24px 48px rgba(63, 35, 24, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    display: flex;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 1rem 0.35rem;
    font-size: 1.08rem;
    border-bottom: 1px solid rgba(237, 220, 211, 0.95);
    border-radius: 0;
  }

  .nav a::after {
    display: none;
  }

  .nav a:active {
    background: rgba(255, 244, 238, 0.6);
  }
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  position: relative;
  transition: color 180ms ease, background-color 0.15s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f4b59f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: #553a31;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
  cursor: pointer;
  padding: 0.82rem 1.35rem;
}

.btn:focus-visible,
.faq-item summary:focus-visible {
  outline: 3px solid #e68d70;
  outline-offset: 3px;
}

.btn-small {
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(200, 113, 85, 0.35);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.card:hover,
.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.price-card:not(.featured):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 14px rgba(74, 46, 32, 0.07), 0 24px 48px rgba(84, 54, 42, 0.09);
}

.price-card.featured:hover {
  box-shadow: 0 14px 22px rgba(209, 126, 99, 0.14), 0 32px 56px rgba(185, 95, 70, 0.2);
}

@media (min-width: 760px) {
  .price-card.featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 759px) {
  .price-card.featured:hover {
    transform: translateY(-2px);
  }
}

.hero {
  padding-top: clamp(4rem, 10vw, 7rem);
  overflow-x: clip;
  overflow-y: visible;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 185, 164, 0.44) 0%, rgba(243, 185, 164, 0) 70%);
  right: -130px;
  top: -100px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  /* Иначе min-width:auto у колонки = ширина картинки (900px+) и герой режется overflow-x */
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-sm);
  padding: 0.35rem 0.7rem;
  background: rgba(243, 185, 164, 0.2);
  border-radius: 999px;
  color: #87503f;
  font-weight: 700;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 5.7vw, 4rem);
  line-height: 1.1;
}

.hero-subtitle {
  margin: var(--space-lg) 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.06rem;
  text-wrap: balance;
}

.hero-kicker {
  margin: -0.3rem 0 0.8rem;
  color: #7a4d3d;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-facts {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: #5f534d;
  font-size: 0.96rem;
}

.hero-facts li {
  padding-left: 1.25rem;
  position: relative;
}

.hero-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cf7f62;
  position: absolute;
  left: 0.1rem;
  top: 0.55rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cta-note {
  margin-top: var(--space-sm);
  color: #8a5a49;
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-line {
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-line-link {
  color: #8f4d37;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.trust-line-link:hover {
  color: var(--accent-dark);
}

.inline-cta {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 300px;
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.35rem, 1.5vw, 0.85rem);
  isolation: isolate;
}

.visual-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Поворот обрезал бы картинку при overflow:hidden у .visual-card */
.visual-card.envelope {
  overflow: visible;
}

.envelope {
  transform: rotate(-1.8deg);
  position: relative;
  z-index: 0;
  background: var(--paper);
  max-width: 100%;
}

.envelope img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(85vh, 720px);
  object-fit: contain;
  border-radius: var(--radius-xl);
}

.polaroid {
  position: absolute;
  z-index: 1;
  width: clamp(130px, 28vw, 190px);
  border: 8px solid #fff;
  background: #fff;
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.polaroid-a {
  left: -6px;
  bottom: 28px;
  transform: rotate(-8deg);
}

.polaroid-b {
  right: -8px;
  top: 24px;
  transform: rotate(9deg);
}

.benefits-grid,
.pricing-grid,
.referral-grid,
.reviews-grid {
  display: grid;
  gap: var(--space-lg);
}

.pricing-grid {
  gap: clamp(1rem, 2.2vw, 1.85rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  gap: var(--space-lg);
}

.section-lead {
  margin: -0.6rem 0 1.3rem;
  color: var(--muted);
  max-width: 72ch;
}

.card,
.glass-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(84, 54, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.price-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
  border: 1px solid rgba(224, 189, 174, 0.55);
  box-shadow: 0 4px 8px rgba(74, 46, 32, 0.04), 0 20px 44px rgba(84, 54, 42, 0.075);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card h3,
.price-card h3,
.glass-card h3,
.step h3 {
  line-height: 1.3;
  margin-top: 0;
}

.card a {
  color: #8f4d37;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card a:hover {
  color: var(--accent-dark);
}

.icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff2eb;
  margin-bottom: 0.65rem;
}

.steps {
  display: grid;
  gap: var(--space-md);
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(223, 143, 115, 0.7), rgba(223, 143, 115, 0.1));
  opacity: 0.7;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1rem 3.2rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  translate: 0 -50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffe3d6;
  color: #8f4d37;
  font-weight: 700;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.1rem;
}

.badge {
  position: absolute;
  top: clamp(12px, 2vw, 18px);
  right: clamp(12px, 2vw, 18px);
  background: linear-gradient(135deg, #3a3330 0%, #2f2a28 100%);
  color: #fff;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(47, 42, 40, 0.28);
}

.photos-count {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.price {
  margin: 0.9rem 0 1.15rem;
  line-height: 1.12;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
}

.price-value {
  font-size: clamp(1.85rem, 4.2vw, 2.4rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  color: var(--text);
}

.price-currency {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  flex: 1 1 auto;
  font-size: 0.93rem;
  color: #5f5652;
  line-height: 1.5;
}

.price-card ul li {
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.45;
}

.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 0 0 2px rgba(223, 143, 115, 0.2);
}

.price-card .btn.full {
  margin-top: auto;
}

.price-card .cta-note {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.82rem;
}

.featured {
  border: 2px solid rgba(209, 126, 99, 0.55);
  background: linear-gradient(168deg, #ffffff 0%, #fffaf7 45%, #fff6f0 100%);
  box-shadow: 0 10px 16px rgba(209, 126, 99, 0.1), 0 28px 52px rgba(185, 95, 70, 0.17);
}

@media (min-width: 760px) {
  .price-card.featured {
    transform: translateY(-4px);
  }
}

.full {
  width: 100%;
}

.table-wrap {
  margin-top: var(--space-2xl);
  padding: clamp(0.65rem, 2vw, 1.15rem);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 250, 246, 0.92) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(224, 189, 174, 0.5);
  box-shadow: 0 6px 16px rgba(74, 46, 32, 0.05), 0 22px 48px rgba(84, 54, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow-x: auto;
  position: relative;
  z-index: 1;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-table-caption {
  caption-side: top;
  text-align: left;
  font-family: var(--title-font);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: 0.15rem 0.35rem 1.1rem;
  margin: 0;
}

.compare-table thead th {
  padding: 1rem 1rem 1.05rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #6a5f59;
  text-align: left;
  vertical-align: bottom;
  background: linear-gradient(180deg, #fff8f4 0%, #ffefe6 100%);
  border-bottom: 2px solid rgba(209, 126, 99, 0.38);
}

.compare-table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
  padding-left: 1.15rem;
}

.compare-table thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
  padding-right: 1.15rem;
}

.compare-table .compare-th-featured {
  background: linear-gradient(180deg, #fff2ea 0%, #ffe5d8 100%);
  color: #8f4d37;
  box-shadow: inset 1px 0 0 rgba(209, 126, 99, 0.2), inset -1px 0 0 rgba(209, 126, 99, 0.2);
}

.compare-table tbody th {
  padding: 0.95rem 0.85rem 0.95rem 1.15rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  background: rgba(255, 252, 250, 0.92);
  border-bottom: 1px solid rgba(237, 220, 211, 0.95);
  border-right: 1px solid rgba(237, 220, 211, 0.65);
  vertical-align: middle;
}

.compare-table tbody td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: middle;
  font-size: 0.94rem;
  color: #6a605b;
  border-bottom: 1px solid rgba(237, 220, 211, 0.95);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.compare-table tbody tr td:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.65), rgba(255, 244, 238, 0.5));
  box-shadow: inset 1px 0 0 rgba(209, 126, 99, 0.12), inset -1px 0 0 rgba(209, 126, 99, 0.12);
  color: #5a534e;
}

.compare-table tbody tr.compare-row-price td {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-size: 1.02rem;
}

.compare-table tbody tr.compare-row-price td:nth-child(3) {
  color: #7a4030;
}

.compare-table tbody tr.compare-row-note td {
  font-weight: 600;
  color: #5c534e;
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.compare-table tbody tr:last-child th:first-child {
  border-radius: 0 0 0 var(--radius-lg);
}

.compare-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-lg) 0;
}

.compare-table tbody tr:hover td {
  background-color: rgba(255, 243, 236, 0.92);
  color: var(--text);
}

.compare-table tbody tr:hover td:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 236, 226, 0.95), rgba(255, 228, 215, 0.75));
}

.compare-table tbody tr:hover th[scope="row"] {
  background: rgba(255, 248, 244, 0.98);
}

.compare-table td.compare-included {
  font-weight: 600;
  color: #5a534e;
  padding-left: 1.4rem;
  position: relative;
}

.compare-table td.compare-included::before {
  content: "";
  position: absolute;
  left: 0.48rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 0 0 2px rgba(223, 143, 115, 0.22);
}

@media (max-width: 759px) {
  .compare-table {
    min-width: 580px;
  }

  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.gallery-grid {
  display: grid;
  gap: 0.85rem;
  margin-bottom: var(--space-xl);
  align-items: start;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--bg-soft);
}

.review span {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-weight: 600;
}

.rating-badge {
  margin-top: var(--space-md);
  text-align: center;
  color: #7e4b3b;
  font-weight: 700;
}

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.25rem 1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: #8a5a49;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.faq-item p a {
  color: #8f4d37;
  font-weight: 600;
}

.faq-item p a:hover {
  color: var(--accent-dark);
}

.faq-item[open] summary::after {
  content: "−";
}

.final-cta-inner {
  text-align: center;
  max-width: 750px;
}

.final-cta h2 {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4.8vw, 3rem);
}

.final-cta p {
  color: var(--muted);
}

.site-footer {
  position: relative;
  margin-top: 0;
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(224, 189, 174, 0.55);
  background: linear-gradient(180deg, #fffdf9 0%, #fff8f4 38%, #fff5ef 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(209, 126, 99, 0.45) 20%, rgba(223, 143, 115, 0.65) 50%, rgba(209, 126, 99, 0.45) 80%, transparent 100%);
  pointer-events: none;
}

.footer-inner {
  padding: 2.35rem 0 2rem;
  display: grid;
  gap: 1.85rem;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7b73;
}

.footer-logo {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--text);
  transition: color 0.18s ease;
}

.footer-logo:hover {
  color: var(--accent-dark);
}

.footer-tagline {
  margin: 0 0 0.85rem;
  max-width: 36ch;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #6a605b;
}

.footer-copy .brand-name {
  font-weight: 400;
  color: var(--text);
}

.footer-tg-handle .brand-name {
  font-weight: 400;
}

.trust-line-link .brand-name {
  font-weight: 400;
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-links a {
  color: #5c534e;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-links a:hover {
  color: var(--accent-dark);
  border-bottom-color: rgba(200, 113, 85, 0.45);
}

.footer-tg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-tg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
}

.footer-tg-row .footer-tg-link {
  flex: 1 1 10rem;
  min-width: 0;
}

.copy-handle {
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(209, 126, 99, 0.45);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.copy-handle:hover {
  background: rgba(255, 244, 238, 0.95);
  border-color: rgba(200, 113, 85, 0.65);
}

.copy-handle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-tg-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(224, 189, 174, 0.65);
  box-shadow: 0 6px 18px rgba(84, 54, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.footer-tg-link:hover {
  border-color: rgba(209, 126, 99, 0.55);
  box-shadow: 0 10px 26px rgba(185, 95, 70, 0.1);
  transform: translateY(-1px);
}

.footer-tg-link-support {
  background: linear-gradient(145deg, rgba(255, 252, 250, 0.95) 0%, rgba(255, 244, 238, 0.75) 100%);
  border-color: rgba(209, 126, 99, 0.35);
}

.footer-tg-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #7a6f6a;
  letter-spacing: 0.02em;
}

.footer-tg-handle {
  font-size: 0.95rem;
  font-weight: 700;
  color: #4a3f3a;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr) minmax(0, 280px);
    align-items: start;
    gap: 2rem 1.75rem;
    padding: 2.65rem 0 2.35rem;
  }

  .footer-links {
    gap: 0.45rem;
  }
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 300px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  width: min(calc(100vw - 1.5rem), 420px);
  max-width: calc(100vw - 1.5rem);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  padding: 0.85rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  border-radius: 999px;
  box-shadow: 0 16px 28px rgba(200, 113, 85, 0.36);
  z-index: 45;
}

.back-to-top {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  color: #6f4b3f;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(70, 41, 29, 0.12);
  z-index: 46;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent {
  position: fixed;
  z-index: 120;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.85rem 1rem;
  background: rgba(255, 252, 250, 0.97);
  border: 1px solid rgba(224, 189, 174, 0.75);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(84, 54, 42, 0.14);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-text {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4a3f3a;
}

.cookie-consent-text a {
  color: var(--accent-dark);
  font-weight: 600;
}

.cookie-consent-accept {
  flex: 0 0 auto;
}

body.error-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  background: var(--bg, #fff8f3);
}

.error-main {
  text-align: center;
  max-width: 28rem;
}

.error-code {
  margin: 0 0 0.35rem;
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(200, 113, 85, 0.35);
  line-height: 1;
}

.error-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 700;
}

.error-text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

@media (min-width: 420px) {
  .error-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.section img,
.card,
.price-card,
.glass-card,
.faq-item,
.step {
  content-visibility: auto;
}

.section .hero-visual img {
  content-visibility: visible;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto auto 1fr;
    align-items: center;
    column-gap: clamp(1.05rem, 2.5vw, 1.85rem);
    row-gap: 0.5rem;
  }

  .header-inner .logo {
    grid-column: 2;
    justify-self: end;
  }

  .header-inner .nav {
    grid-column: 3;
    justify-self: start;
  }

  .header-inner .header-tools {
    grid-column: 4;
    justify-self: start;
  }

  .nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    flex: 0 1 auto;
    justify-content: flex-start;
    align-items: center;
    gap: 0.4rem 0.72rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    max-width: none;
    overflow: visible;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: auto;
  }

  .nav a {
    padding: 0;
    font-size: inherit;
    border-bottom: none;
  }

  .nav a::after {
    display: block;
  }

  .nav-backdrop {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .steps::before {
    display: none;
  }

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

  .referral-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mobile-sticky-cta {
    display: none;
  }

  .back-to-top {
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    right: max(14px, env(safe-area-inset-right, 0px));
  }

  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 0;
  }
}

@media (min-width: 1020px) {
  .referral-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .footer-tg-link:hover {
    transform: none;
  }

  .nav,
  .nav-backdrop,
  .nav-toggle-bar {
    transition-duration: 0.01ms !important;
  }

  .site-header.nav-menu-open .nav-toggle-bar:nth-child(1),
  .site-header.nav-menu-open .nav-toggle-bar:nth-child(3) {
    transform: none;
  }
}

/* --- Юридические страницы (privacy, terms) --- */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 759px) {
  body.legal-page {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

.legal-header-inner {
  justify-content: space-between;
  min-height: 64px;
}

.legal-main {
  flex: 1;
  padding: clamp(1.25rem, 4vw, 2.25rem) 0 clamp(2rem, 5vw, 3.5rem);
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.legal-title {
  font-family: var(--title-font);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: var(--text);
}

.legal-updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 2rem;
  line-height: 1.5;
}

.legal-main h2 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
  color: var(--text);
}

.legal-main p,
.legal-main li {
  color: #5c534e;
  max-width: 68ch;
  line-height: 1.65;
  font-size: 0.96rem;
}

.legal-main ul {
  margin: 0.45rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-main a {
  color: #8f4d37;
  font-weight: 600;
}

.legal-main a:hover {
  color: var(--accent-dark);
}

.legal-note {
  margin-top: 2.5rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 244, 236, 0.65);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 68ch;
}

.requisites-placeholder {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(224, 189, 174, 0.5);
  border-radius: var(--radius-md);
}

.requisites-placeholder li {
  margin: 0.35rem 0;
}

.legal-footer {
  margin-top: auto;
  padding: 1.5rem 0 calc(1.35rem + env(safe-area-inset-bottom, 0px)) !important;
}

.legal-footer .container {
  text-align: center;
}

.legal-footer-inner {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
}

.legal-footer-inner a {
  color: #6a605b;
  font-weight: 600;
  text-decoration: none;
}

.legal-footer-inner a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .legal-footer .footer-copy {
  margin: 0;
  font-size: 0.85rem;
}
