/* FILE: public/assets/css/index.css */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.hero-left,
.hero-right {
  min-width: 0;
}

.hero-title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-text {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-image-wrapper {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.hero-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.section-title {
  margin: 0 0 18px;
  color: #111827;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.block,
.card-wide {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.block-text,
.intro-text {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.block-text:last-child,
.intro-text:last-child {
  margin-bottom: 0;
}

.block-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.card-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.card-text {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
}

.steps-list {
  margin: 0;
  padding-left: 20px;
  color: #111827;
}

.steps-list li {
  margin-bottom: 12px;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}

.steps-list li:last-child {
  margin-bottom: 0;
}

.form-row {
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.form-input:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.18);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  padding-top: 12px;
}

.form-note {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  font-size: 14px;
  line-height: 1.55;
}

.checkbox-label input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.leaders-search__field {
  max-width: 520px;
}

@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-image-wrapper img {
    min-height: 300px;
  }

  .section-title {
    font-size: 28px;
  }

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

@media (max-width: 640px) {
  .hero {
    gap: 20px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-image-wrapper {
    border-radius: 22px;
  }

  .hero-image-wrapper img {
    min-height: 240px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .block,
  .card-wide {
    padding: 18px;
    border-radius: 20px;
  }

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

  .card {
    padding: 18px;
    border-radius: 18px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-text,
  .block-text,
  .intro-text,
  .steps-list li,
  .form-note {
    font-size: 14px;
  }
}