* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background: #fff;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.logo {
  display: block;
  width: 290px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.certificate-section {
  background: #eee;
  padding: 38px 0;
}

.certificate-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.certificate-title {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.1;
}

.certificate-discount {
  margin: 0 0 14px;
  font-size: 58px;
  line-height: 1;
  font-weight: 700;
  color: #f05a0f;
}

.certificate-description {
  margin: 0;
  max-width: 640px;
  font-size: 21px;
  line-height: 1.3;
}

.certificate-image-wrap {
  text-align: right;
}

.certificate-image {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.lead-section {
  padding: 34px 0 40px;
  background: #fff;
}

.lead-grid {
  display: grid;
  gap: 28px;
  align-items: start;
  grid-template-columns: 1fr 1fr;
}

.lead-image {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.lead-form-wrap {
  background: #fff;
}

.lead-form-wrap h2 {
  margin: 0 0 10px;
  font-size: 46px;
  line-height: 1.1;
}

.lead-form-subtitle {
  margin: 0 0 16px;
  color: #707070;
  font-size: 16px;
}

.lead-form {
  display: grid;
  gap: 8px;
}

.field-label {
  font-size: 15px;
  font-weight: 600;
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  height: 52px;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 16px;
}

.consent {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #707070;
  font-size: 13px;
  line-height: 1.35;
}

.lead-form button {
  margin-top: 12px;
  height: 56px;
  border: none;
  border-radius: 6px;
  background: #333;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.lead-form button:hover {
  background: #505050;
}

.form-status {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 14px;
  color: #444;
}

.form-status.success {
  color: #116b2b;
}

.form-status.error {
  color: #9f1c1c;
}

.map-section {
  padding: 26px 0 36px;
  background: #fff;
}

.map-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.map-column h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.map-section h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.map-frame {
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 8px;
}

.contacts-card {
  background: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 18px;
}

.contacts-card p {
  margin: 0 0 10px;
  line-height: 1.4;
}

.contacts-card .contacts-address {
  margin-top: 16px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .certificate-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .certificate-image-wrap {
    text-align: left;
  }

  .certificate-title {
    font-size: 34px;
  }

  .certificate-discount {
    font-size: 48px;
  }

  .lead-form-wrap h2 {
    font-size: 36px;
  }

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