/* Современная карточка */
.modern-card-cont {
  max-width: 1280px;
  margin: 0 auto;
}
.modern-card {
  width: 100%;
  margin-top: 35px;
  background: #ffffff;
  border-radius: 48px;
  border: solid 1px #ddd;
  overflow: hidden;
  transition: transform 0.2s ease;
}

/* Внутренний отступ */
.card-inner {
  padding: 48px 56px 64px;
}

@media (max-width: 768px) {

  .card-inner {
    padding: 32px 24px 48px;
  }
}

/* Заголовочный блок */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #014898;
  background: rgba(1, 72, 152, 0.08);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  color: #0a1c2f;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #014898;
  background: linear-gradient(120deg, #014898, #2c7ac9);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 400;
  color: #2c3e50;
  max-width: 800px;
  margin: 0 auto;
}

/* Инфо-блок с контактами */
.info-contact {
  background: #f8fafd;
  border-radius: 28px;
  padding: 28px 32px;
  margin-bottom: 48px;
  border: 1px solid #e9edf2;
  transition: all 0.2s;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  color: #1e2a3a;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #014898;
  box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.1);
}

.contact-value {
  font-weight: 700;
  font-size: 20px;
  color: #014898;
  text-decoration: none;
  transition: 0.2s;
}

.contact-value:hover {
  color: #003062;
  text-decoration: underline;
}

@media (max-width: 780px) {
  .contact-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-contact {
    padding: 24px;
  }
}

/* Стили формы */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row-2cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.row-3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 18px;
  pointer-events: none;
}

.input-field,
.textarea-field {
  width: 100%;
  padding: 16px 20px 16px 50px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  transition: all 0.2s ease;
  outline: none;
  color: #0f172a;
}

.textarea-field {
  padding: 16px 20px;
  resize: vertical;
  min-height: 130px;
}

.input-field:focus,
.textarea-field:focus {
  border-color: #014898;
  box-shadow: 0 0 0 4px rgba(1, 72, 152, 0.12);
}

.input-field::placeholder,
.textarea-field::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* кнопка */
.submit-btn-mc {
  background: linear-gradient(105deg, #014898 0%, #0a5eb0 100%);
  border: none;
  padding: 18px 32px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
  border-radius: 60px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  box-shadow: 0 10px 20px -5px rgba(1, 72, 152, 0.3);
}

.submit-btn-mc i {
  font-size: 20px;
  transition: transform 0.2s;
}

.submit-btn-mc:hover {
  transform: translateY(-3px);
  background: linear-gradient(105deg, #003470 0%, #014898 100%);
  box-shadow: 0 20px 25px -10px rgba(1, 72, 152, 0.4);
}

.submit-btn-mc:hover i {
  transform: translateX(6px);
}

.submit-btn-mc:active {
  transform: translateY(2px);
}

/* Honeypot */
.hidden-antispam {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 780px) {
  .row-3cols,
  .row-2cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* мелкие улучшения */
.fine-print {
  text-align: center;
  font-size: 13px;
  color: #5b6e8c;
  margin-top: 32px;
  border-top: 1px solid #ecf3fa;
  padding-top: 24px;
}
