:root {
  --background: #0b0b0c;
  --background-2: #111112;
  --foreground: #f5e7c2;
  --foreground-soft: rgba(245, 231, 194, 0.74);
  --foreground-muted: rgba(245, 231, 194, 0.50);
  --border: rgba(212, 175, 55, 0.15);
  --border-strong: rgba(212, 175, 55, 0.35);
  --card: #111112;
  --primary: #d4af37;
  --primary-bright: #f0d77a;
  --primary-foreground: #0b0b0c;
  --muted: #1a1a1c;
  --muted-foreground: rgba(245, 231, 194, 0.6);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 12px 34px rgba(212, 175, 55, 0.24);
  --radius-soft: 24px;
  --content-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(212, 175, 55, 0.06), transparent 50%),
    linear-gradient(180deg, var(--background) 0%, var(--background-2) 55%, var(--background) 100%);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

.container-wide,
.container,
.container-narrow {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container {
  max-width: 1260px;
}

.container-narrow {
  max-width: 900px;
}

.progress-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #8f6b16, var(--primary), var(--primary-bright));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 100;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 24px 0;
  transition: all 0.6s ease;
}

.site-header.scrolled {
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-row,
.footer-row,
.price-row,
.option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand,
.hero-title,
.section-title,
.cta-title,
.about-title,
.card-title,
.benefit-title,
.faq-question,
.modal-title {
  color: var(--foreground);
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav button,
.footer-nav button,
.footer-nav a {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.73rem;
  color: rgba(245, 231, 194, 0.62);
  transition: color 0.3s ease;
}

.nav button:hover,
.footer-nav button:hover,
.footer-nav a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px 0 48px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 24px;
  min-height: calc(100vh - 168px);
}

.hero-kicker,
.section-kicker,
.card-kicker,
.faq-kicker {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-kicker {
  margin-bottom: 32px;
}
.hero-kicker1
{
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 32px;
}
.hero-title,
.section-title,
.cta-title,
.about-title,
.card-title,
.benefit-title,
.faq-question,
.quote-mark,
.price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

.hero-title {
  font-style: italic;
  font-size: clamp(5rem, 10vw, 5rem);
  line-height: 0.9;
  margin: 0 0 40px -4px;
}

.hero-text,
.card-text,
.accordion-content,
.faq-answer,
.about-text,
.benefit-text,
.testimonial-text {
  color: var(--foreground-soft);
  line-height: 1.8;
}

.hero-text {
  max-width: 620px;
  font-size: 1.22rem;
  margin-bottom: 0;
}

.hero-links {
  display: grid;
  gap: 18px;
  max-width: 420px;
}

.hero-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 4px 0 4px 24px;
  margin-bottom: 34px;
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  transition: border-color 0.4s ease, transform 0.4s ease, color 0.4s ease;
}

.hero-link:last-child {
  margin-bottom: 0;
}

.hero-link:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 2px;
  height: 24px;
  transform: translateX(-5550%);
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(240, 215, 122, 0.95) 0%,
    rgba(212, 175, 55, 0.72) 55%,
    rgba(212, 175, 55, 0.08) 100%
  );
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.22);
  pointer-events: none;
}

.hero-link:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(240, 215, 122, 0.92);
  border-bottom: 2px solid rgba(240, 215, 122, 0.92);
  transform: translateX(-1000%) rotate(45deg);
  box-shadow: 2px 2px 10px rgba(212, 175, 55, 0.16);
  pointer-events: none;
}

.hero-link span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  transition: transform 0.4s ease, color 0.4s ease;
}

.hero-link:hover {
  border-color: var(--primary);
}

.hero-link:hover span {
  color: var(--primary);
  transform: translateX(10px);
}

.hero-visual-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
   justify-content: center !important;
  position: relative;
}

.author-stage {
  position: relative;
  width: min(100%, 760px);

  display: flex;
  flex-direction: column; /* ВАЖНО */
  align-items: center;    /* центр по горизонтали */
  justify-content: flex-start; /* вверх */

  gap: 24px;
  margin: 0 auto;
}

.author-glow {
  position: absolute;
  inset: auto 10% 10% 10%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0.05) 46%, transparent 74%);
  filter: blur(14px);
}

.hero-author-image {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 760px;   /* увеличили */
  height: auto;

  object-fit: contain;

  transform: scale(1); /* убираем увеличение */
  margin-bottom: 10px; /* небольшой отступ вниз */
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.author-stage {
  width: min(100%, 900px);
}

.hero-visual-wrap {
  min-height: 80vh;
}
@media (max-width: 800px) {
  .hero-author-image {
    max-width: 90%;
    transform: scale(1.05);
  }
}

.about-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  height: 560px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.06), rgba(17, 17, 18, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.14);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.06);
}

.about-author-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.95) contrast(1.04);
  transition: transform 0.7s ease;
}

.about-photo-frame:hover .about-author-image {
  transform: scale(1.03);
}

.halo {
  position: absolute;
  top: 50%;
  right: 20%;
  width: 500px;
  height: 500px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 45%, transparent 72%);
  opacity: 0.8;
  filter: blur(90px);
}

.geo {
  position: absolute;
  pointer-events: none;
}

.geo svg {
  width: 100%;
  height: 100%;
}

.geo-1 { top: 50%; right: 15%; width: 600px; height: 600px; transform: translateY(-50%); }
.geo-2 { top: 50%; right: 18%; width: 420px; height: 420px; transform: translateY(-50%); }
.geo-3 { top: 20%; right: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.geo-4 { top: 8%; right: 38%; width: 28px; height: 28px; }
.geo-5 { bottom: 14%; left: 6%; width: 48px; height: 48px; }
.geo-6 { top: -128px; right: -128px; width: 480px; height: 480px; }
.geo-7 { bottom: 96px; right: 64px; width: 22px; height: 22px; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-slow-ccw {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes float-y-rotate {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-24px) rotate(45deg); }
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.06); opacity: 0.18; }
}

.geo-spin { animation: spin-slow 28s linear infinite; }
.geo-spin-ccw { animation: spin-slow-ccw 20s linear infinite; }
.geo-float { animation: float-y 6s ease-in-out infinite; }
.geo-float-slow { animation: float-y-rotate 8s ease-in-out infinite; }
.geo-pulse { animation: pulse-scale 5s ease-in-out infinite; }

.section,
.cta-section {
  padding: 128px 0;
  position: relative;
}

.section.border-top,
.footer {
  border-top: 1px solid rgba(212, 175, 55, 0.10);
}

.section-alt {
  background: linear-gradient(180deg, rgba(17, 17, 18, 0.98), rgba(11, 11, 12, 1));
}

.section-title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  margin: 0;
}

.section-title-small {
  font-size: clamp(3rem, 6vw, 4rem);
}

.centered {
  text-align: center;
}

.mb-24 {
  margin-bottom: 40px;
}

.mb-16 {
  margin-bottom: 64px;
}

.products-grid,
.testimonials-grid {
  display: grid;
  gap: 32px;
}

.products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonials-viewport {
  width: 100%;
  overflow: hidden; /* КЛЮЧЕВОЕ */
}

.testimonials-grid {
  display: grid;
  grid-auto-flow: column;

  /* ровно 3 карточки */
  grid-auto-columns: calc((100% - 64px) / 3);

  gap: 32px;
  transition: transform 0.45s ease;
}

.product-card,
.testimonial-card {
  background: linear-gradient(145deg, #111112, #0d0d0e);
  padding: 40px 40px 34px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.26);
}

.product-card.featured {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), #111112 30%, #0d0d0e 100%);
  padding: 44px 52px 38px;
}

.card-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 20px;
}

.card-text {
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.featured-text {
  max-width: 760px;
  font-size: 1.25rem;
}

.price,
.premium-price {
  font-size: 2rem;
}

.old-price {
  margin-left: 10px;
  text-decoration: line-through;
  color: rgba(245, 231, 194, 0.35);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.option-list {
  display: grid;
  gap: 0;
  margin: 28px 0 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.option-row,
.premium-price-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.option-row:last-child,
.premium-price-item:last-child {
  border-bottom: none;
}

.option-label {
  color: rgba(245, 231, 194, 0.82);
}

.option-price,
.quote-mark,
.price,
.hero-kicker,
.section-kicker,
.card-kicker,
.faq-kicker {
  color: var(--primary);
}

.premium-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.premium-kicker-muted {
  color: rgba(245, 231, 194, 0.5);
}

.accordion {
  margin-top: 22px;
}

.cta-line,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;
  border-radius: 999px;

  border: 1px solid rgba(212, 175, 55, 0.3);

  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;

  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.12),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(6px);

  transition: all 0.3s ease;

  animation: glowPulse 2.5s infinite ease-in-out;
}

.cta-line.large {
  font-size: 1.15rem;
}
.hero-text-second {
  margin-top: 12px;
  margin-bottom: 40px; /* ← вот это главное */
}
.cta-line span:last-child,
.inline-link span:last-child,
.cta-button .arrow {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.cta-line:hover,
.inline-link:hover,
.faq-question:hover {
  color: var(--primary);
}

.cta-line:hover {
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);
}

.cta-line:hover span:last-child,
.inline-link:hover span:last-child,
.cta-button:hover .arrow {
  transform: translateX(8px);
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(245, 231, 194, 0.50);
}

.accordion-content,
.faq-answer {
  display: none;
  padding-top: 32px;
  font-size: 1rem;
}

.accordion.open .accordion-content,
.faq-item.open .faq-answer {
  display: block;
}

.about-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-title {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  margin: 0 0 40px;
}

.about-text {
  font-size: 1.35rem;
  max-width: 860px;
  margin: 0 0 56px;
}

.divider {
  width: 96px;
  height: 1px;
  background: rgba(212, 175, 55, 0.35);
  margin-bottom: 48px;
}

.inline-link {
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.benefits-list {
  display: grid;
  gap: 40px;
}

.benefit {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}

.benefit-number {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.6rem, 8vw, 7rem);
  line-height: 0.85;
  color: rgba(212, 175, 55, 0.18);
}

.benefit-number .ring {
  position: absolute;
  inset: -8px auto auto -8px;
  width: 120px;
  height: 120px;
}

.benefit-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 20px;
}

.benefit-text {
  font-size: 1.25rem;
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 1.1rem;
  min-height: 150px;
  margin-bottom: 40px;
}

.person-name {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.person-role {
  margin-top: 4px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(245, 231, 194, 0.35);
}

.faq-list {
  display: grid;
  gap: 24px;
}

.faq-item {
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.faq-answer {
  padding: 0 0 24px;
  font-size: 1.08rem;
}

.cta-section {
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.07), transparent 45%),
    linear-gradient(180deg, #111112, #0b0b0c);
}

.cta-title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  margin: 0 0 40px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  transition: all 0.3s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  color: var(--primary-foreground);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.18);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.secondary-button {
  background: transparent;
  color: var(--foreground);
  border: 1px solid rgba(212, 175, 55, 0.20);
}

.secondary-button:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--primary);
  border-color: var(--border-strong);
}

.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer {
  padding: 48px 0;
}

.footer-row {
  color: rgba(245, 231, 194, 0.5);
  font-size: 0.92rem;
}

.footer-nav {
  gap: 32px;
  font-size: 0.65rem;
}

.footer-brand {
  font-size: 1.7rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(100%, 560px);
  background: linear-gradient(180deg, #141415, #0b0b0c);
  border: 1px solid rgba(212, 175, 55, 0.16);
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  color: rgba(245, 231, 194, 0.55);
}

.modal-title {
  font-size: 2rem;
  margin: 0 0 6px;
}

.modal-subtitle {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin: 0 0 24px;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.input,
.textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.01);
  color: var(--foreground);
  border: 1px solid rgba(212, 175, 55, 0.18);
  outline: none;
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  border-color: var(--primary);
}

input::placeholder,
textarea::placeholder {
  color: rgba(245, 231, 194, 0.36);
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.form-submit {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  color: var(--primary-foreground);
  border: 0;
}

.form-submit:hover {
  opacity: 0.96;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.success-message {
  display: none;
  padding-top: 8px;
}

.success-text {
  margin-bottom: 20px;
}

.modal.success .form-body {
  display: none;
}

.modal.success .success-message {
  display: block;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual-wrap {
    justify-content: center;
    min-height: auto;
    order: 2;
  }

  .author-stage {
    min-height: 560px;
  }

  .products-grid,
  .testimonials-grid,
  .premium-prices {
    grid-template-columns: 1fr 1fr;
  }

  .product-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-title {
    margin-bottom: 32px;
  }

  .hero-text {
    font-size: 1.05rem;
    margin-bottom: 40px;
  }

  .hero-link {
    margin-bottom: 28px;
  }

  .hero-link:not(:last-child)::after {
    bottom: -24px;
    height: 20px;
  }

  .hero-link:not(:last-child)::before {
    bottom: -25px;
    width: 9px;
    height: 9px;
  }

  .author-stage {
    min-height: 420px;
  }

  .hero-author-image {
    max-height: 62vh;
  }

  .products-grid,
  .testimonials-grid,
  .premium-prices {
    grid-template-columns: 1fr;
  }

  .benefit {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section,
  .cta-section {
    padding: 96px 0;
  }

  .product-card,
  .product-card.featured,
  .testimonial-card {
    padding: 32px 24px;
  }

  .about-text,
  .benefit-text {
    font-size: 1.08rem;
  }

  .faq-question {
    font-size: 1.7rem;
  }

  .geo-1,
  .geo-2,
  .geo-4,
  .geo-6,
  .geo-7 {
    display: none;
  }
}



/* === Consultation + refined products layout === */
.consultation-highlight {
  margin-bottom: 32px;
}

.consultation-card {
  min-height: 0;
  padding: 44px 44px 38px;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 36%),
    linear-gradient(145deg, rgba(212, 175, 55, 0.05), #111112 26%, #0c0c0d 100%);
}

.products-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.products-grid-four .product-card.featured {
  grid-column: auto;
}

.consultation-card .card-title {
  max-width: 16ch;
}

.consultation-card .accordion-content {
  max-width: none;
}

/* === About section redesign === */
.about-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about-side {
  position: sticky;
  top: 110px;
}

.about-content {
  display: grid;
  gap: 40px;
}

.about-wrap {
  display: block;
}

.about-section {
  display: grid;
  gap: 20px;
  padding: 36px 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0.005)),
    linear-gradient(145deg, #111112, #0d0d0e);
  border: 1px solid rgba(212, 175, 55, 0.10);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.20);
}

.about-section-final {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(212, 175, 55, 0.04), #111112 26%, #0d0d0e);
}

.about-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.10);
  color: var(--primary-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-badge {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(212, 175, 55, 0.12);
  color: rgba(245, 231, 194, 0.88);
  line-height: 1.6;
  text-wrap: pretty;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-copy {
  margin: 0;
  color: var(--foreground-soft);
  line-height: 1.9;
  text-wrap: pretty;
}

.accent-copy {
  color: var(--foreground);
  font-weight: 500;
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(245, 231, 194, 0.82);
  line-height: 1.75;
  text-wrap: pretty;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-bright), var(--primary));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.28);
}

.about-content .about-text {
  margin: 0;
  max-width: 100%;
  font-size: 1.18rem;
  line-height: 1.9;
  text-wrap: pretty;
}

@media (max-width: 1100px) {
  .about-layout,
  .about-story-grid,
  .about-badges {
    grid-template-columns: 1fr;
  }

  .about-side {
    position: static;
  }
}

@media (max-width: 800px) {
  .consultation-card {
    padding: 34px 24px 30px;
  }

  .about-section {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .about-layout {
    gap: 28px;
  }
}
/* УМЕНЬШАЕМ ФОТО */
.hero-author-image {
  max-height: 60vh; /* было больше */
}

/* БЛОК ПОД ФОТО */
.hero-author-info {
display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
 width: 100%;
  max-width: 760px;
}

/* СПИСОК ДОСТИЖЕНИЙ */
.hero-author-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-author-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: rgba(245, 231, 194, 0.8);
  letter-spacing: 0.5px;
}

.hero-author-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* КНОПКА "ОБО МНЕ" */
.hero-about-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;

  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: var(--foreground);
  transition: all 0.3s ease;
}

.hero-about-button span {
  color: var(--primary);
  transition: transform 0.1s ease;
}

.hero-about-button:hover {
  border-color: var(--primary);
  background: rgba(212, 175, 55, 0.08);
  color: var(--primary);
}

.hero-about-button:hover span {
  transform: translateX(6px);
}
/* КОНТЕЙНЕР */
.hero-author-achievements {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, auto));
  gap: 16px 24px;
  justify-content: center;
}
@media (max-width: 900px) {
  .author-stage,
  .hero-author-info {
    width: 100%;
    max-width: 520px;
  }

  .hero-author-achievements {
    flex-wrap: wrap;
  }
}
.hero-author-achievements .achievement {
  flex: 0 0 auto;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .hero-author-achievements {
    flex-wrap: wrap;
  }
}

/* ОДНА КАРТОЧКА */
.achievement {
   flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--foreground);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.12),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

/* ХОВЕР (очень важен для премиума) */
.achievement:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.2);
}


/* =========================================================
   DETAIL / ACCORDION CONTENT — полноценное оформление
   ========================================================= */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-block {
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(212, 175, 55, 0.10);
  border-radius: 18px;
  margin-bottom: 20px;
}

.detail-block:last-child {
  margin-bottom: 0;
}

.detail-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.detail-list li {
  position: relative;
  padding-left: 22px;
  color: var(--foreground-soft);
  line-height: 1.75;
  font-size: 1rem;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-bright), var(--primary));
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.28);
}

.detail-list.compact {
  gap: 10px;
}

.detail-block p {
  margin: 0;
  color: var(--foreground-soft);
  line-height: 1.8;
}

.detail-note {
  margin-top: 24px;
  padding: 20px 26px;
  background: rgba(212, 175, 55, 0.04);
  border-left: 2px solid rgba(212, 175, 55, 0.32);
  border-radius: 0 12px 12px 0;
  color: var(--foreground-soft);
  font-size: 1rem;
  line-height: 1.85;
  font-style: italic;
}

/* === Steps list (numbered cards) === */
.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: steps-counter;
}

.steps-list li {
  counter-increment: steps-counter;
  position: relative;
  padding: 20px 24px 20px 68px;
  background: rgba(255, 255, 255, 0.014);
  border: 1px solid rgba(212, 175, 55, 0.09);
  border-radius: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.steps-list li:hover {
  border-color: rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.04);
}

.steps-list li::before {
  content: counter(steps-counter);
  position: absolute;
  left: 20px;
  top: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.32);
}

.steps-list strong {
  display: block;
  color: var(--foreground);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}

.steps-list span {
  color: var(--foreground-soft);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* === Accordion breathing room === */
.accordion {
  padding-top: 8px;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  margin-top: 28px;
}

.accordion-toggle {
  margin-top: 16px;
}

/* === Card points (bullet lists inside cards) === */
.card-points {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.card-points li {
  position: relative;
  padding-left: 22px;
  color: var(--foreground-soft);
  line-height: 1.7;
  font-size: 1rem;
}

.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

/* === More breathing room in product cards === */
.product-card {
  display: flex;
  flex-direction: column;
  padding: 48px 44px 40px;
}

.card-top {
  flex: 1;
}

.card-kicker {
  margin-bottom: 14px;
}

.card-title {
  margin-bottom: 22px;
}

/* === About section photo caption === */
.about-photo-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.45);
}

/* === About title more space === */
.about-content .about-title {
  margin-bottom: 8px;
}
/* ===== ПРОМО-БЛОК МЕЖДУ HERO И PRODUCTS ===== */

.promo-bridge {
  position: relative;
  padding: 20px 0 40px;
  z-index: 3;
}

.promo-bridge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.promo-bridge-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  color: var(--foreground);
  margin-bottom: 22px;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.08);
}

.promo-bridge-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.18),
    rgba(240, 215, 122, 0.10)
  );
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.92rem;
  overflow: hidden;
  box-shadow:
    0 0 0 rgba(212, 175, 55, 0),
    0 8px 30px rgba(212, 175, 55, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: promoPulse 2.2s ease-in-out infinite;
}

.promo-bridge-button span {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.promo-bridge-button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28), transparent 65%);
  opacity: 0.55;
  z-index: -1;
  animation: promoGlow 2.2s ease-in-out infinite;
}

.promo-bridge-button:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--primary);
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.20),
    0 12px 36px rgba(212, 175, 55, 0.18);
}

.promo-bridge-button:hover span {
  transform: translateX(6px);
}

@keyframes promoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(212, 175, 55, 0.00),
      0 8px 30px rgba(212, 175, 55, 0.10);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 0 10px rgba(212, 175, 55, 0.00),
      0 12px 38px rgba(212, 175, 55, 0.22);
  }
}

@keyframes promoGlow {
  0%, 100% {
    opacity: 0.30;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

@media (max-width: 800px) {
  .promo-bridge {
    padding: 12px 0 28px;
  }

  .promo-bridge-text {
    margin-bottom: 18px;
  }

  .promo-bridge-button {
    width: 100%;
    max-width: 320px;
    min-height: 58px;
    padding: 0 24px;
    font-size: 0.84rem;
  }
}

/* ===== PROMO DETAILS ===== */

.promo-bridge-accordion {
  width: 100%;
  max-width: 1220px;
  margin-top: 22px;
  border-top: none;
  padding-top: 0;
}

.promo-bridge-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(245, 231, 194, 0.62);
  transition: color 0.3s ease, transform 0.3s ease;
}

.promo-bridge-more:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.promo-bridge-content {
  width: 100%;
  padding-top: 36px;
}

.promo-product-card {
  width: 100%;
  text-align: left;
  padding: 44px 44px 40px;
}

.promo-product-bottom {
  margin-top: 28px;
}

.promo-product-bottom .detail-block {
  margin-top: 28px;
}

.promo-product-bottom .detail-list {
  margin-top: 24px;
}

.promo-product-bottom .detail-note {
  margin-top: 24px;
}

@media (max-width: 800px) {
  .promo-bridge-content {
    padding-top: 24px;
  }

  .promo-product-card {
    padding: 32px 24px;
  }
}
html, body {
  overflow-x: hidden;
}
/* ===== ABOUT COMPACT ===== */

.about-section-compact {
  padding: 96px 0;
}

.about-compact-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
}

.about-compact-side {
  display: flex;
  justify-content: center;
}

.about-photo-frame-compact {
  max-width: 300px;
  height: 380px;
}

.about-compact-content {
  display: grid;
  gap: 20px;
}

.about-title-compact {
  margin: 0 0 8px;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.about-compact-top {
  display: grid;

  gap: 16px;
}

.about-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-compact-card {
  display: grid;
  gap: 14px;
  padding: 22px 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0.006)),
    linear-gradient(145deg, #111112, #0d0d0e);
  border: 1px solid rgba(212, 175, 55, 0.10);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.about-compact-final {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(212, 175, 55, 0.04), #111112 26%, #0d0d0e);
}

.compact-text,
.about-compact-card .about-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.compact-badges {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compact-badges .about-badge {
  padding: 14px 14px 12px;
  border-radius: 14px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.compact-list {
  gap: 8px;
}

.compact-list li {
  line-height: 1.55;
  padding-left: 16px;
}

.about-section-compact .inline-link {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .about-compact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-compact-side {
    justify-content: flex-start;
  }

  .about-compact-top,
  .about-compact-grid,
  .compact-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .about-section-compact {
    padding: 72px 0;
  }

  .about-photo-frame-compact {
    max-width: 280px;
    height: 340px;
  }

  .about-compact-card {
    padding: 18px 18px;
    border-radius: 18px;
  }

  .about-title-compact {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }
}
/* === FORCE FIX ABOUT SIZE === */

#about .about-layout,
#about .about-compact-layout {
  grid-template-columns: 520px 1fr !important;
  gap: 48px !important;
}

/* убиваем ограничения старых классов */
#about .about-photo-frame,
#about .about-photo-frame-compact {
  width: 100% !important;
  max-width: 520px !important;
  height: 700px !important;
}


/* УМЕНЬШАЕМ ОТСТУП МЕЖДУ БЛОКАМИ */

.promo-bridge {
  padding-bottom: 40px !important;
}

#products.section {
  padding-top: 40px !important;
}
/* ВЫРАВНИВАЕМ КАРТОЧКИ В ABOUT */

.about-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ВАЖНО: одинаковая высота */
.about-compact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* чтобы строки были ровные */
.about-compact-grid > * {
  height: 100%;
}
.about-compact-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.about-achievements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.about-achievements .achievement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  padding: 14px 16px;
}

@media (max-width: 800px) {
  .about-achievements {
    grid-template-columns: 1fr 1fr;
    max-width: 360px;
  }

  .about-achievements .achievement {
    min-height: 64px;
    font-size: 0.82rem;
  }
}
.product-card > div > .option-price:not(.option-row .option-price),
.product-card .card-top > .option-price {
  display: inline-block;
  width: 100%;
  margin: 28px 0 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    border-color: rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.6);
    border-color: var(--primary);
  }
}
#about .about-compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#about .about-compact-grid > :nth-child(3),
#about .about-compact-grid > :nth-child(4) {
  grid-column: span 2;
}


#about .about-compact-side {
  padding-top: 55px;
}
#about .about-author-image {
  height: 880px;
  width: auto;
}
#about .about-compact-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 150px; /* расстояние между фото и достижениями */
}
/* ===== Testimonials slider ===== */

.testimonials-section .container {
  position: relative;
}

.testimonials-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 3);
  gap: 32px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-card {
  min-width: 0;
  height: 100%;
}

.testimonials-arrow {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(11, 11, 12, 0.92);
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  transition: all 0.25s ease;
  z-index: 2;
}

.testimonials-arrow:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18);
}

.testimonials-arrow.is-visible {
  display: inline-flex;
}

.testimonials-arrow[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .testimonials-grid {
    grid-auto-columns: calc((100% - 32px) / 2);
  }
}

@media (max-width: 700px) {
  .testimonials-slider {
    gap: 10px;
  }

  .testimonials-grid {
    grid-auto-columns: 100%;
    gap: 20px;
  }

  .testimonials-arrow {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 1.8rem;
  }
}
.promo-product-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-product-bottom .cta-line {
  margin-left: auto;
  margin-right: auto;
}
.promo-product-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-product-bottom .cta-line,
.promo-product-bottom .detail-block,
.promo-product-bottom .detail-list,
.promo-product-bottom .detail-note {
  width: 100%;
  max-width: 1120px;
}

.promo-product-bottom .cta-line {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}
.promo-product-card .card-top {
  text-align: center;
}

.promo-product-card .button-row {
  justify-content: center;
}

/* === Final CTA alignment fix for product cards === */
.products-grid,
.products-grid-four {
  align-items: stretch;
}

.products-grid-four > .product-card,
.products-grid > .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.products-grid-four > .product-card > :first-child,
.products-grid > .product-card > :first-child {
  flex: 1 1 auto;
}

.products-grid-four > .product-card .accordion,
.products-grid > .product-card .accordion {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-grid-four > .product-card .cta-line,
.products-grid > .product-card .cta-line {
  width: min(100%, 320px);
  min-height: 58px;
}

.products-grid-four > .product-card.featured .cta-line,
.products-grid > .product-card.featured .cta-line {
  width: min(100%, 360px);
}

.products-grid-four > .product-card .accordion-toggle,
.products-grid > .product-card .accordion-toggle {
  width: auto;
  text-align: center;
  margin-top: 16px;
}


/* === Products cards alignment fix === */
#products .products-grid,
#products .products-grid-four {
  align-items: stretch;
}

#products .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#products .product-card > :first-child {
  flex: 1 1 auto;
}

#products .accordion {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

#products .cta-line {
  min-width: 282px;
  justify-content: center;
  margin-bottom: 8px;
}

#products .accordion-toggle {
  width: auto;
  text-align: center;
  margin-top: 0;
  padding: 6px 0 0;
}

/* remove extra divider lines right above CTA area */
#products .option-list {
  margin-bottom: 0;
  border-bottom: none;
}

#products .option-row,
#products .premium-price-item {
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

#products .option-row:last-child,
#products .premium-price-item:last-child {
  border-bottom: none;
}

@media (max-width: 800px) {
  #products .cta-line {
    min-width: 100%;
  }
}


/* === Legal footer links === */
.footer-row {
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  max-width: 760px;
}

.footer-nav a,
.footer-nav button {
  font-size: 0.68rem;
  line-height: 1.5;
}

/* === Legal checkboxes === */
.checkbox-row-legal {
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.checkbox-row-legal input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.checkbox-row-legal a {
  color: var(--primary-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox-row-optional {
  color: var(--foreground-soft);
}

.form-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(11, 11, 12, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  color: var(--foreground-soft);
  line-height: 1.6;
  max-width: 860px;
}

.cookie-banner__text a {
  color: var(--primary-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-button {
  min-width: 170px;
}

@media (max-width: 800px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }
}

/* === Legal pages === */
.legal-page {
  min-height: 100vh;
  padding: 120px 0 64px;
}

.legal-article {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 32px;
  background: linear-gradient(145deg, #111112, #0d0d0e);
  border: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.26);
}

.legal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 12px;
}

.legal-subtitle {
  color: var(--foreground-soft);
  margin: 0 0 28px;
  line-height: 1.7;
}

.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin: 32px 0 16px;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 24px 0 12px;
  color: var(--primary-bright);
  letter-spacing: 1px;
}

.legal-content p,
.legal-content li {
  color: var(--foreground-soft);
  line-height: 1.8;
}

.legal-content ul {
  margin: 0 0 16px 0;
  padding-left: 22px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 20px;
}

@media (max-width: 800px) {
  .legal-page {
    padding-top: 104px;
  }

  .legal-article {
    padding: 28px 20px;
  }
}
.promo-subscribe-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(100%, 750px);
  min-height: 96px;
  padding: 18px 42px;
  border-radius: 999px;

  border: 1px solid rgba(212, 175, 55, 0.3);

  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  line-height: 1.45;

  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.12),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(6px);

  color: var(--foreground);

  cursor: default;
  pointer-events: none;

  text-align: center;
}
.promo-channel-button {
  border-radius: 999px;

  padding: 14px 28px;

  border: 1px solid rgba(212, 175, 55, 0.35);

  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.12),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(6px);

  text-transform: uppercase;
  letter-spacing: 2px;

  font-size: 0.8rem;

  transition: all 0.3s ease;

  animation: glowPulse 2.5s infinite ease-in-out;
  min-width: 180px;
}
.promo-channel-button:hover {
  color: var(--primary);

  transform: translateY(-2px);

  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);

  border-color: var(--primary);
}
.promo-subscribe-wrap {
  display: flex;
  justify-content: center;
   margin-bottom: 40px; /* ← увеличивает отступ вниз (было меньше) */
}
.promo-channel-row {
  justify-content: center;
  gap: 24px; /* расстояние между кнопками */
  margin-top: 10px; /* дополнительный отступ сверху */
}
/* =========================================================
   RESPONSIVE STABILITY PATCH — 2026-04-29
   Fixes desktop/mobile adaptation, overflow, hero arrows.
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 320px;
}

*,
*::before,
*::after {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
a,
button,
span,
div {
  overflow-wrap: anywhere;
}

.container-wide,
.container,
.container-narrow {
  width: min(100% - 32px, var(--content-width));
  padding-left: 0;
  padding-right: 0;
}

.site-header {
  width: 100%;
}

.header-row {
  min-width: 0;
}

.nav,
.footer-nav {
  flex-wrap: wrap;
  row-gap: 14px;
  column-gap: clamp(16px, 3vw, 40px);
  justify-content: flex-end;
}

.nav a,
.nav button,
.footer-nav a,
.footer-nav button {
  white-space: nowrap;
}

.hero {
  overflow: clip;
  padding-top: clamp(104px, 10vw, 132px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 4vw, 64px);
}

.hero-content,
.hero-visual-wrap,
.author-stage,
.hero-author-info {
  min-width: 0;
}

.hero-title {
  font-size: clamp(3.4rem, 8vw, 5rem);
  max-width: 100%;
}

.hero-kicker1,
.hero-kicker,
.section-kicker,
.card-kicker,
.faq-kicker {
  letter-spacing: clamp(2px, 0.45vw, 4px);
}

.hero-text {
  max-width: 100%;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.hero-links {
  width: min(100%, 460px);
  max-width: 100%;
}

.hero-link {
  width: 100%;
  padding-left: 28px;
  margin-bottom: 32px;
}

.hero-link span {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.12;
}

/* Stable arrows: tied to the left timeline instead of viewport-based huge transforms */
.hero-link:not(:last-child)::after {
  left: 0;
  bottom: -28px;
  transform: translateX(-50%);
  height: 24px;
}

.hero-link:not(:last-child)::before {
  left: 0;
  bottom: -31px;
  transform: translateX(-50%) rotate(45deg);
}

.hero-link:hover span {
  transform: translateX(6px);
}

.hero-visual-wrap {
  min-height: auto;
}

.author-stage {
  width: min(100%, 760px);
  min-height: 0 !important;
}

.hero-author-image {
  width: min(100%, 680px);
  max-width: 100%;
  max-height: min(62vh, 720px);
  object-fit: contain;
  transform: none !important;
}

.hero-author-achievements {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px;
  justify-content: center;
}

.hero-author-achievements .achievement,
.achievement {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.products-grid,
.products-grid-four,
.premium-prices,
.benefits-grid,
.about-story-grid,
.about-badges,
.about-compact-grid,
.detail-grid {
  min-width: 0;
}

.product-card,
.testimonial-card,
.benefit,
.about-section,
.about-compact-card,
.detail-block,
.legal-article,
.modal-panel,
.payment-summary {
  max-width: 100%;
  overflow: hidden;
}

.price-row,
.option-row,
.payment-summary-row,
.button-row,
.promo-channel-row {
  flex-wrap: wrap;
}

.option-label,
.price,
.old-price,
.premium-price {
  min-width: 0;
  overflow-wrap: anywhere;
}

.card-title,
.section-title,
.cta-title,
.about-title,
.benefit-title,
.faq-question,
.legal-title {
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.card-text br,
.hero-link br,
.hero-text br {
  display: initial;
}

.testimonials-slider {
  min-width: 0;
}

.testimonials-viewport {
  min-width: 0;
  overflow: hidden;
}

#about .about-layout,
#about .about-compact-layout {
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr) !important;
}

#about .about-photo-frame,
#about .about-photo-frame-compact {
  max-width: 100% !important;
  height: clamp(440px, 58vw, 700px) !important;
}

#about .about-author-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.modal {
  padding: 16px;
}

.modal-panel {
  width: min(100%, 640px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}

.cookie-banner {
  max-width: calc(100% - 32px);
}

.legal-content {
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-content,
  .hero-visual-wrap {
    order: initial;
  }

  .hero-visual-wrap {
    justify-content: center !important;
  }

  .hero-author-image {
    max-height: 58vh;
  }

  .products-grid,
  .products-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container-wide,
  .container,
  .container-narrow {
    width: min(100% - 28px, var(--content-width));
  }

  .site-header,
  .site-header.scrolled {
    padding: 14px 0;
  }

  .brand {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .nav {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 44px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-title {
    margin-bottom: 28px;
  }

  .hero-text {
    margin-bottom: 28px;
  }

  .hero-links {
    width: 100%;
  }

  .hero-link {
    padding-left: 24px;
    margin-bottom: 28px;
  }

  .hero-link:not(:last-child)::after {
    bottom: -24px;
    height: 20px;
  }

  .hero-link:not(:last-child)::before {
    bottom: -27px;
    width: 9px;
    height: 9px;
  }

  .hero-author-image {
    width: min(100%, 520px);
    max-height: 54vh;
  }

  .hero-author-achievements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievement {
    font-size: 0.68rem;
    letter-spacing: 1px;
    padding: 9px 10px;
  }

  .products-grid,
  .products-grid-four,
  .premium-prices,
  .benefit,
  #about .about-layout,
  #about .about-compact-layout,
  #about .about-compact-grid {
    grid-template-columns: 1fr !important;
  }

  #about .about-compact-grid > :nth-child(3),
  #about .about-compact-grid > :nth-child(4) {
    grid-column: auto;
  }

  #about .about-compact-side {
    padding-top: 0;
    gap: 28px;
  }

  #about .about-photo-frame,
  #about .about-photo-frame-compact {
    width: min(100%, 360px) !important;
    height: 460px !important;
    margin-inline: auto;
  }

  .section,
  .cta-section {
    padding: 72px 0;
  }

  .product-card,
  .product-card.featured,
  .testimonial-card,
  .consultation-card,
  .detail-block {
    padding: 28px 20px;
  }

  .option-row,
  .price-row,
  .payment-summary-row {
    align-items: flex-start;
    gap: 8px;
  }

  .promo-subscribe-text {
    width: 100%;
    min-height: 78px;
    padding: 16px 20px;
    border-radius: 24px;
  }

  .promo-channel-row,
  .button-row {
    gap: 12px;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .legal-page {
    padding-top: 96px;
  }
}

@media (max-width: 640px) {
  .container-wide,
  .container,
  .container-narrow {
    width: min(100% - 24px, var(--content-width));
  }

  .hero-title {
    font-size: clamp(3rem, 17vw, 4.2rem);
    margin-left: 0;
  }

  .hero-kicker1 {
    font-size: 0.82rem;
    margin-bottom: 22px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-link span {
    font-size: 1.28rem;
  }

  .hero-author-image {
    max-height: none;
    width: min(100%, 390px);
  }

  .hero-author-achievements {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .products-grid,
  .products-grid-four,
  .testimonials-grid,
  .premium-prices {
    grid-template-columns: 1fr !important;
  }

  .testimonials-grid {
    grid-auto-columns: 100%;
  }

  .testimonials-slider {
    gap: 8px;
  }

  .testimonials-arrow {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 1.55rem;
  }

  .card-text br,
  .hero-text br {
    display: none;
  }

  .section-title,
  .cta-title,
  .about-title,
  .legal-title {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .card-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .faq-question {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
  }

  .primary-button,
  .secondary-button,
  .cta-line,
  .promo-bridge-button,
  .promo-channel-button,
  .form-submit,
  .cookie-button {
    width: 100%;
    max-width: 100%;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    padding: 28px 18px;
    max-height: calc(100dvh - 20px);
  }

  .legal-article {
    padding: 24px 16px;
  }

  .legal-content h2 {
    font-size: 1.65rem;
  }

  .legal-content h3 {
    font-size: 1rem;
    letter-spacing: 0.4px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-link {
    padding-left: 20px;
  }

  .product-card,
  .product-card.featured,
  .testimonial-card,
  .consultation-card,
  .detail-block {
    padding: 24px 16px;
  }
}

/* ===== FIX: отзывы на мобильной версии =====
   Правка затрагивает только блок #testimonials.
   Убирает сжатие слайдера стрелками и исключает появление узкой полосы соседнего отзыва.
*/
@media (max-width: 700px) {
  #testimonials .testimonials-slider {
    display: block;
    position: relative;
    padding: 0 0 58px;
  }

  #testimonials .testimonials-viewport {
    width: 100%;
    overflow: hidden;
  }

  #testimonials .testimonials-grid {
    display: flex !important;
    grid-template-columns: none !important;
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    gap: 0;
  }

  #testimonials .testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    padding: 32px 24px;
  }

  #testimonials .testimonial-text {
    min-height: auto;
    font-size: 1rem;
    line-height: 1.75;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  #testimonials .testimonials-arrow {
    position: absolute;
    bottom: 0;
    top: auto;
    width: 42px;
    height: 42px;
    flex-basis: auto;
    z-index: 3;
  }

  #testimonials .testimonials-arrow-left {
    left: calc(50% - 52px);
  }

  #testimonials .testimonials-arrow-right {
    right: calc(50% - 52px);
  }
}
/* =========================================================
   MOBILE MENU + BACK TO TOP
   Добавляет меню только для мобильной версии и кнопку возврата наверх.
   ========================================================= */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 80;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(12px);
}

.mobile-menu-toggle span {
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: var(--foreground);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.mobile-menu-toggle.open span { background: var(--primary-bright); }
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }



@media (max-width: 800px) {
  .site-header { padding: 14px 0; }
  .site-header.scrolled { padding: 10px 0; }
  .header-row { min-height: 46px; }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-menu {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    z-index: 75;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(17, 17, 18, 0.98), rgba(11, 11, 12, 0.96));
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu button {
    width: 100%;
    padding: 15px 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.10);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2.6px;
    font-size: 0.78rem;
    color: rgba(245, 231, 194, 0.82);
  }

  .mobile-menu button:last-child { border-bottom: 0; }
  .mobile-menu button:active,
  .mobile-menu button:hover { color: var(--primary-bright); }


}



/* Только для бесплатного продукта: форма согласия перед переходом в мессенджер */
.modal.free-messenger-mode .form-grid > .label {
  display: none;
}

.modal.free-messenger-mode #planField {
  display: none !important;
}
/* === Помещаем "Забери бесплатно" в первый экран Hero === */

.hero {
  min-height: 100vh;
  padding: 96px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  min-height: auto !important;
  flex: 0 0 auto;
}

.hero-visual-wrap {
  min-height: auto !important;
}

.hero-author-image {
  max-height: 46vh !important;
  max-width: 640px;
}

.author-stage {
  gap: 12px;
}

.hero-author-info {
  gap: 12px;
}

.hero-author-achievements {
  gap: 10px 16px;
}

.achievement {
  padding: 8px 12px;
  font-size: 0.62rem;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-text-second {
  margin-bottom: 24px;
}

.hero-link {
  margin-bottom: 24px;
}

.hero-link span {
  font-size: 1.45rem;
}

.promo-bridge {
  padding: 4px 0 0 !important;
}

.promo-bridge-text {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.promo-bridge-button {
  min-height: 52px;
}

.promo-bridge-accordion {
  margin-top: 10px;
}

.promo-bridge-more {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .hero {
    justify-content: flex-start;
  }

  .hero-author-image {
    max-height: 42vh !important;
  }
}
.promo-bridge {
  transform: translateY(-80px);
}
/* === Mobile hero promo fix === */
@media (max-width: 800px) {
  .hero {
    padding-top: 96px !important;
    padding-bottom: 32px !important;
  }

  .hero-grid {
    gap: 20px !important;
  }

  .hero-visual-wrap {
    margin-top: -20px;
  }

  .hero-author-image {
    max-height: 34vh !important;
    object-fit: contain;
  }

  .author-stage {
    min-height: auto !important;
    gap: 16px !important;
  }

  .hero-author-achievements {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100%;
  }

  .hero-author-achievements .achievement {
    width: 100%;
    white-space: normal !important;
    font-size: 0.72rem;
    min-height: 48px;
  }

  .hero-about-button {
    display: none;
  }

   .promo-bridge {
    transform: none !important;
    margin-top: 24px !important;
    padding-top: 16px !important;
    padding-bottom: 56px !important;
  }

  .promo-bridge-text {
    font-size: clamp(2.6rem, 11vw, 4rem) !important;
    line-height: 0.9 !important;
    margin-bottom: 28px !important;
    max-width: 100%;
  }

  .promo-bridge-button {
    width: 100% !important;
    max-width: 360px !important;
    min-height: 64px !important;
    margin-top: 0 !important;
  }

  .promo-bridge-more {
    margin-top: 26px !important;
  }
    .hero-author-achievements {
    margin-bottom: 36px !important;
  }

  #products.section {
    padding-top: 80px !important;
  }
}