/* БАННЕР */
.hero-banner {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.hero-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 10, 55, 0.55);
  z-index: 1;
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
}

.hero-banner__title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.hero-banner__subtitle {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 460px;
}

/* ТЕКСТ О НАС */
.page-content {
  padding: 50px 80px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.about-intro {
  margin-bottom: 36px;
}

.about-intro__text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-color-grey);
  margin-bottom: 16px;
}

.about-content {
  margin-bottom: 16px;
}

.about-content::after {
  content: "";
  display: table;
  clear: both;
}

.about__text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-color-grey);
  margin-bottom: 14px;
}

.about-card {
  float: right;
  width: 340px;
  margin: 4px 0 20px 30px;
  background: linear-gradient(135deg, #6b2d84, #472567);
  color: #fff;
  padding: 28px 26px;
  border-radius: 10px;
}

.about-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.about-card__body {
  font-size: 18px;
  line-height: 1.75;
  opacity: 0.92;
  margin-bottom: 24px;
  color: #fff;
}

.about-card__btn {
  display: block;
  margin: 0 auto;
  padding: 9px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

.about-card__btn:hover {
  background: #fff;
  color: var(--bg-dark-magenta);
}

.about-bottom {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-color-grey);
  margin-bottom: 50px;
}

/* КАРТОЧКИ */
.contacts-section {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
  width: 100%;
  padding: 0 40px;
}

.contact-card {
  padding: 32px 24px 28px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bg-purple), var(--bg-indigo));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.contact-card__icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.contact-card__title {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-color-dark);
  margin-bottom: 8px;
}

.contact-card__info {
  font-size: 16px;
  color: var(--text-color-grey);
  line-height: 1.7;
}

.contact-card__link {
  color: var(--text-color-grey);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-card__link:hover {
  color: #5b2c6f
}

/* ФОРМА */
.form-section {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto 60px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-section__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
  display: block;
}

.form-section__body {
  padding: 40px 44px;
}

.form-section__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-color-dark);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color-dark);
  margin-bottom: 6px;
}

.form-group label span {
  color: var(--bg-dark-magenta);
}

.form-group input {
  height: 44px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border-color-light-grey);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 16px;
  color: var(--text-color-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--bg-purple);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  padding: 11px 28px;
  margin-top: 6px;
  border: none;
  border-radius: 6px;
  background: var(--bg-dark-magenta);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.btn-submit:hover {
  background: var(--bg-indigo);
}
.btn-submit:active {
  transform: scale(0.97);
}

/* Планшет — до 1024px */
@media (max-width: 1024px) {
  .hero-banner {
    height: 380px;
  }

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

  .page-content {
    padding: 36px 32px;
  }

  .about-card {
    float: none;
    width: 100%;
    max-width: 370px;
    margin: 0 auto 24px;
  }

  .form-section {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .form-section__image {
    display: none;
  }

  .form-section__body {
    padding: 32px 24px;
  }
}
/* Планшет — до 860px */
@media (max-width: 860px) {
  .contacts-section {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 16px;
  }
}

/* Мобильный — до 640px */
@media (max-width: 640px) {
  .hero-banner {
    height: 240px;
  }

  .hero-banner__title {
    font-size: 22px;
  }

  .hero-banner__subtitle {
    font-size: 16px;
  }

  .page-content {
    padding: 24px 16px;
  }

  .about-card {
    padding: 20px 18px;
  }

  .about-card__title {
    font-size: 17px;
  }

  .about-intro__text,
  .about__text {
    font-size: 16px;
  }

  .contacts-section {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 12px;
    margin-bottom: 36px;
  }

  .contact-card {
    width: 100%;
    max-width: 300px;
    height: 220px;
    margin: 0 auto;
  }

  .form-section {
    padding: 0 16px;
    margin-bottom: 36px;
  }

  .form-section__body {
    padding: 24px 16px;
  }

  .form-section__title {
    font-size: 20px;
  }

  .form-group label {
    font-size: 15px;
  }
}
