/* === CTA (адаптивный, только CTA-блок) === */
:root {
  --primary: #1b5e30;
  --primary-dark: #134523;
  --primary-light: #eaf5ec;
  --accent: #2ecc71;
  --white: #ffffff;
  --text: #1a2a1c;
  --text-secondary: #4a5b4d;
  --border: #dcebe0;
  --shadow-sm: 0 4px 10px rgba(20, 70, 30, 0.06);
  --shadow-md: 0 12px 28px rgba(20, 70, 30, 0.1);
  --shadow-lg: 0 20px 40px rgba(20, 70, 30, 0.12);
  --radius: 20px;
  --radius-lg: 28px;
  --transition: all 0.25s ease;
}

/* CTA */
.cta-section {
  background: #c8f0dd;
  padding: 2rem 2rem 5rem;
}

.cta-banner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1b5e30 0%, #236b38 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  flex: 1 1 300px;
  position: relative;
  z-index: 2;
}

.cta-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.cta-sub {
  font-weight: 400;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-white:hover {
  background: #eaf5ec;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-ghost-white {
  background: transparent;
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ========= АДАПТИВНОСТЬ CTA ========= */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .cta-section {
    padding: 1.5rem 1.5rem 4rem;
  }

  .cta-banner {
    padding: 3rem 2.5rem;
    gap: 1.8rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-sub {
    font-size: 0.9rem;
  }

  .btn-white,
  .btn-ghost-white {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
}

/* Планшеты (до 900px) */
@media (max-width: 900px) {
  .cta-section {
    padding: 1.2rem 1.2rem 3.5rem;
  }

  .cta-banner {
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-sub {
    font-size: 0.88rem;
  }

  .btn-white,
  .btn-ghost-white {
    padding: 0.75rem 1.6rem;
    font-size: 0.9rem;
  }
}

/* Смартфоны (до 768px) */
@media (max-width: 768px) {
  .cta-section {
    padding: 1rem 1rem 3rem;
  }

  .cta-banner {
    padding: 2.2rem 1.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    border-radius: var(--radius);
  }

  .cta-content {
    flex: 1 1 auto;
    width: 100%;
  }

  .cta-title {
    font-size: 1.7rem;
  }

  .cta-sub {
    font-size: 0.85rem;
  }

  .cta-actions {
    width: 100%;
    flex-direction: row;
    gap: 0.8rem;
  }

  .btn-white,
  .btn-ghost-white {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
  }
}

/* Смартфоны (до 600px) */
@media (max-width: 600px) {
  .cta-section {
    padding: 0.8rem 0.8rem 2.5rem;
  }

  .cta-banner {
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    border-radius: var(--radius);
  }

  .cta-label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .cta-sub {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .cta-actions {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
  }

  .btn-white,
  .btn-ghost-white {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
}

/* Маленькие смартфоны (до 480px) */
@media (max-width: 480px) {
  .cta-section {
    padding: 0.6rem 0.6rem 2rem;
  }

  .cta-banner {
    padding: 1.8rem 1.2rem;
    gap: 1rem;
  }

  .cta-label {
    font-size: 0.72rem;
  }

  .cta-title {
    font-size: 1.3rem;
  }

  .cta-sub {
    font-size: 0.78rem;
  }

  .btn-white,
  .btn-ghost-white {
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
  }

  .cta-banner::after {
    width: 150px;
    height: 150px;
    right: -40px;
    bottom: -50px;
  }
}

/* Очень маленькие устройства (до 380px) */
@media (max-width: 380px) {
  .cta-section {
    padding: 0.5rem 0.4rem 1.5rem;
  }

  .cta-banner {
    padding: 1.5rem 1rem;
    gap: 0.8rem;
  }

  .cta-label {
    font-size: 0.68rem;
  }

  .cta-title {
    font-size: 1.2rem;
  }

  .cta-sub {
    font-size: 0.75rem;
  }

  .btn-white,
  .btn-ghost-white {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}