/* ============================================================
   INVESTMIND CLUB · Лендфлиппинг в США
   Дизайн-система: Montserrat + Inter | #d32f2f акцент
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333333;
  background: #eceef1;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 15px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.35);
}

.btn--hero {
  background: #d32f2f;
  color: #fff;
  padding: 16px 36px;
  font-size: 16px;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
}

.btn--cta-form {
  background: #fff;
  color: #d32f2f;
  padding: 18px 42px;
  font-size: 16px;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn--sticky {
  background: #d32f2f;
  color: #fff;
  padding: 15px 28px;
  font-size: 14px;
  width: 100%;
  display: flex;
  justify-content: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.30) 0%,
    rgba(26, 26, 46, 0.65) 50%,
    rgba(26, 26, 46, 0.80) 100%
  );
}

.hero__content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.hero__content {
  width: 100%;
  max-width: 780px;
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  padding: 40px 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

.hero__badge {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 32px;
  text-transform: uppercase;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: rgba(51, 51, 51, 0.80);
  margin-bottom: 22px;
  line-height: 1.5;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.hero__highlight {
  font-size: 17px;
  font-weight: 500;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* ============================================================
   SECTION
   ============================================================ */
.section {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 36px 32px;
}

.section__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.section__accent-line {
  flex-shrink: 0;
  width: 6px;
  min-height: 52px;
  background: #d32f2f;
  border-radius: 4px;
  margin-top: 2px;
}

.section__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: rgba(51, 51, 51, 0.28);
  line-height: 1;
  letter-spacing: -0.02em;
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  line-height: 1.7;
}

.section__lead {
  font-size: 17px;
  line-height: 1.65;
  color: #333;
}

.subsection-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1a1a2e;
  margin-top: 4px;
}

/* ============================================================
   MOT-CARD (акцентная цитата)
   ============================================================ */
.mot-card {
  background: #fcebeb;
  border-left: 4px solid #d32f2f;
  border-radius: 0 16px 16px 0;
  padding: 18px 20px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #2a0a0a;
}

/* ============================================================
   COMPARISON BLOCK
   ============================================================ */
.comparison-block {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.comparison-col {
  flex: 1;
  padding: 24px 22px;
}

.comparison-col--left {
  background: #eeeeee;
}

.comparison-col--right {
  background: #1a1a2e;
  color: #fff;
}

.comparison-col__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
  color: inherit;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comparison-col--right .comparison-col__label {
  color: #fff;
  opacity: 1;
}

.comparison-result {
  background: #d32f2f;
  color: #fff;
  border-radius: 0 0 16px 16px;
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ---------- CHECK LISTS ---------- */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  font-size: 14.5px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}

.check-list--bad li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
}

.check-list--good li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: 700;
}

.comparison-col--right .check-list li {
  color: rgba(255,255,255,0.88);
}

.comparison-col--right .check-list--good li::before {
  color: #6ee78c;
}

/* ============================================================
   GRID-2
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ============================================================
   STEP-CARD (серая карточка)
   ============================================================ */
.step-card {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-card__icon {
  font-size: 26px;
  line-height: 1;
}

.step-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a2e;
}

.step-card__val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #d32f2f;
  line-height: 1.1;
}

.step-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555;
}

/* ============================================================
   MATH ROW
   ============================================================ */
.math-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.math-arrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #d32f2f;
  flex-shrink: 0;
}

.math-card {
  background: #fff;
  border: 2px solid #f5f5f7;
  border-radius: 16px;
  padding: 18px 20px;
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.math-card--highlight {
  border-color: #fcebeb;
  background: #fcebeb;
}

.math-card--highlight .math-card__val {
  color: #d32f2f;
}

.math-card--big {
  padding: 24px 28px;
  flex: 1;
  min-width: 160px;
}

.math-card__label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}

.math-card__val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 34px;
  color: #1a1a2e;
  line-height: 1.1;
}

.math-card__val--profit {
  color: #27ae60;
}

.math-card__note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  text-align: center;
  margin-top: 2px;
}

/* ============================================================
   CASE PHOTO
   ============================================================ */
.case-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  position: relative;
}

.case-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.case-photo__caption {
  background: rgba(26, 26, 46, 0.82);
  color: rgba(255,255,255,0.88);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}

/* ============================================================
   CASE PROOF (скриншот реестра)
   ============================================================ */
.case-proof {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-proof__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-proof__icon {
  font-size: 16px;
}

.case-proof__img-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: relative;
  border: 2px solid #e0e0e0;
  cursor: zoom-in;
}

.case-proof__img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.case-proof__img-wrap:hover .case-proof__img {
  transform: scale(1.02);
}

.case-proof__arrows {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px 4px;
  gap: 8px;
  flex-wrap: wrap;
}

.case-proof__badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

.case-proof__badge--buy {
  background: #fcebeb;
  color: #b71c1c;
  border: 1px solid #f5c6c6;
}

.case-proof__badge--sell {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.case-proof__note {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #777;
  line-height: 1.5;
  border-top: 1px solid #e5e5e5;
  padding-top: 10px;
}

/* ============================================================
   CASE NUMBERS ROW
   ============================================================ */
.case-numbers {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.case-arrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #d32f2f;
  flex-shrink: 0;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 4px solid #f5f5f7;
  margin-left: 10px;
  padding-left: 28px;
  padding-bottom: 4px;
}

.timeline__item {
  position: relative;
  padding-bottom: 24px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -42px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #d32f2f;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #d32f2f;
}

.timeline__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.timeline__content p {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

/* ---------- TAGS ---------- */
.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tag {
  background: #f5f5f7;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #555;
  padding: 4px 12px;
}

/* ============================================================
   WARNING BOX (тёмный блок)
   ============================================================ */
.warning-box {
  background: #1a1a2e;
  border-radius: 20px;
  padding: 28px 32px;
  color: #fff;
}

.warning-box__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.warning-box p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

.warning-box strong {
  color: #fff;
}

.warning-box--quote .warning-box__author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #d32f2f;
  margin-bottom: 14px;
}

.warning-box--quote .warning-box__quote {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 12px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: #eceef1;
  padding: 0 16px 32px;
}

.cta-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.cta-block {
  background: #d32f2f;
  border-radius: 24px;
  padding: 44px 40px;
  color: #fff;
  box-shadow: 0 8px 40px rgba(211, 47, 47, 0.25);
}

.cta-block__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 16px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.cta-block__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-block__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.90);
  margin-bottom: 20px;
}

.cta-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.cta-block__list li {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  padding-left: 22px;
  position: relative;
}

.cta-block__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
  position: relative;
}

.cta-banner__img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform 0.35s ease;
}

.cta-banner:hover .cta-banner__img {
  transform: scale(1.015);
}

/* ============================================================
   CTA BUTTON WRAP
   ============================================================ */
.cta-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.form__disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1a1a2e;
  padding: 20px 24px;
}

.footer__inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,0.80);
}

.footer__copy {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.40);
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  display: none;
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — ≤ 600px
   ============================================================ */
@media (max-width: 600px) {

  .hero__content {
    padding: 28px 20px 24px;
    border-radius: 20px 20px 0 0;
  }

  .hero__title {
    font-size: 24px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .section {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .section__title {
    font-size: 19px;
  }

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

  .comparison-block {
    flex-direction: column;
  }

  .comparison-result {
    border-radius: 0 0 16px 16px;
  }

  .math-row {
    flex-direction: column;
    align-items: stretch;
  }

  .math-arrow {
    text-align: center;
    transform: rotate(90deg);
    font-size: 20px;
  }

  .case-photo {
    height: 200px;
  }

  .case-proof__arrows {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .case-numbers {
    flex-direction: column;
    align-items: stretch;
  }

  .case-arrow {
    text-align: center;
    transform: rotate(90deg);
    align-self: center;
  }

  .cta-block {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .cta-block__title {
    font-size: 22px;
  }

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

  .cta-form {
    padding: 20px 16px;
  }

  .sticky-cta {
    display: block;
  }

  /* Отступ снизу под sticky кнопку */
  .footer {
    padding-bottom: 80px;
  }
}

/* На десктопе sticky скрыт */
@media (min-width: 601px) {
  .sticky-cta {
    display: none !important;
  }
}
