/* ===================================================
   terebenin-max-vk — Терапия Души
   Design: warm editorial, Cormorant Garamond + Nunito
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Nunito:wght@400;600;700&display=swap');

:root {
  --color-primary: #8B6F5E;
  --color-secondary: #3D3530;
  --color-accent: #C9A882;
  --color-bg: #F5EDDF;
  --color-surface: #FFFBF5;
  --color-muted: #A8B5A0;
  --color-text: #2A1F1A;
  --color-text-secondary: #7A6B61;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', Arial, sans-serif;

  --max-width: 1160px;
  --section-padding: 80px 0;
  --section-padding-mobile: 60px 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ======= TYPOGRAPHY ======= */

h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-secondary);
}

h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-secondary);
}

h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-secondary);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ======= BUTTONS ======= */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  padding: 16px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease-out;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFBF5;
}

.btn-primary:hover {
  background: #7A5E4E;
  box-shadow: 0 8px 28px rgba(139, 111, 94, 0.30);
  color: #FFFBF5;
}

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

.btn-secondary:hover {
  background: var(--color-primary);
  color: #FFFBF5;
}

.btn-large {
  font-size: 18px;
  padding: 20px 48px;
}

/* ======= SITE HEADER ======= */

.site-header {
  padding: 20px 0;
  background: var(--color-bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
}

.site-header__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

.site-header__name span {
  color: var(--color-primary);
}

/* ======= HERO ======= */

.hero {
  background: linear-gradient(160deg, #F5EDDF 60%, #EDE0CE 100%);
  padding: 80px 0 60px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero__title {
  color: var(--color-secondary);
}

.hero__subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero__social-proof {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.hero__image {
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 400px;
  border-radius: 16px;
}

/* Clip white-fade edge via background-position: fade on right → anchor left; fade on left → anchor right */
.hero__image--clip-right {
  background-position: left center;
}

.hero__image--clip-left {
  background-position: right center;
}

/* ======= SECTION SHARED ======= */

section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ======= WHY MAX ======= */

.why-max {
  background: var(--color-secondary);
  color: #FFFBF5;
}

.why-max h2 {
  color: var(--color-accent);
}

.why-max__inner {
  max-width: 820px;
  margin: 0 auto;
}

.why-max__lead {
  font-size: 20px;
  line-height: 1.65;
  color: rgba(255, 251, 245, 0.85);
  margin-bottom: 32px;
}

.why-max__lead strong {
  color: #FFFBF5;
}

.why-max__note {
  font-size: 15px;
  color: rgba(255, 251, 245, 0.65);
  margin-top: 24px;
  border-top: 1px solid rgba(255, 251, 245, 0.15);
  padding-top: 20px;
}

/* ======= WHAT YOU GET ======= */

.what-you-get {
  background: var(--color-surface);
}

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

.benefit-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(201, 168, 130, 0.25);
}

.benefit-card__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-card__body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.benefit-card__body p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ======= AUTHOR ======= */

.author {
  background: var(--color-bg);
}

.author__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.author__visual {
  text-align: center;
}

.author__avatar-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}

.author__photo {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
}

.author__stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.author__stat {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.author__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary);
  line-height: 1;
}

.author__text h2 {
  margin-bottom: 16px;
}

.author__text p {
  color: var(--color-text-secondary);
  font-size: 17px;
}

/* ======= LEAD MAGNET ======= */

.lead-magnet {
  background: linear-gradient(160deg, #EDE0CE 0%, #F5EDDF 100%);
  border-top: 1px solid rgba(201, 168, 130, 0.4);
  border-bottom: 1px solid rgba(201, 168, 130, 0.4);
}

.lead-magnet__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.lead-magnet__badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.lead-magnet h2 {
  margin-bottom: 16px;
}

.lead-magnet__desc {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
}

.lead-magnet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.tag {
  background: var(--color-surface);
  border: 1px solid rgba(139, 111, 94, 0.3);
  color: var(--color-text-secondary);
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ======= FAQ ======= */

.faq {
  background: var(--color-surface);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 28px 24px;
  border-left: 3px solid var(--color-accent);
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq-item__answer {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

.faq-item__answer ol {
  padding-left: 16px;
  margin-top: 8px;
}

.faq-item__answer li {
  margin-bottom: 4px;
}

/* ======= FINAL CTA ======= */

.final-cta {
  background: var(--color-secondary);
  color: #FFFBF5;
  text-align: center;
}

.final-cta h2 {
  color: #FFFBF5;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255, 251, 245, 0.75);
  max-width: 560px;
  margin: 0 auto 36px;
}

.final-cta .btn-primary {
  background: var(--color-accent);
  color: var(--color-secondary);
  font-size: 18px;
  padding: 20px 52px;
}

.final-cta .btn-primary:hover {
  background: #D4B893;
  box-shadow: 0 8px 28px rgba(201, 168, 130, 0.4);
}

/* ======= FOOTER ======= */

.site-footer {
  background: #2A1F1A;
  padding: 28px 0;
  text-align: center;
}

.site-footer p {
  font-size: 14px;
  color: rgba(255, 251, 245, 0.45);
  margin-bottom: 0;
}

/* ======= DIVIDER ======= */

.divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 20px auto 32px;
  border: none;
}

/* ======= MOBILE ======= */

@media (max-width: 767px) {

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .btn {
    font-size: 16px;
    padding: 14px 28px;
  }

  .btn-large {
    font-size: 17px;
    padding: 17px 36px;
    width: 100%;
    display: block;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__image {
    order: -1;
    border-radius: 12px;
  }

  .hero__cta-group {
    align-items: stretch;
  }

  .hero__cta-group .btn {
    text-align: center;
  }

  section {
    padding: var(--section-padding-mobile);
  }

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

  .author__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .author__avatar-placeholder {
    width: 140px;
    height: 140px;
    font-size: 52px;
  }

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

  .final-cta .btn-primary {
    width: 100%;
  }

  .section-header {
    margin-bottom: 32px;
  }
}

/* ======= TABLET ======= */

@media (min-width: 768px) and (max-width: 1023px) {

  h1 {
    font-size: 40px;
  }

  .hero__inner {
    gap: 32px;
  }

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

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