.custom-page {
  background: #f5f7fb;
}

.custom-hero {
  padding: 80px 0 60px;
  background:
    linear-gradient(120deg, rgba(7,17,31,.94), rgba(7,17,31,.82)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.custom-hero span {
  display: inline-block;
  color: #ffb347;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.custom-hero h1 {
  font-size: 48px;
  max-width: 850px;
  margin: 0 auto 18px;
}

.custom-hero p {
  color: #dbeafe;
  font-size: 17px;
  max-width: 720px;
  margin: auto;
  line-height: 1.8;
}

.custom-section {
  padding: 70px 0 100px;
}

.custom-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.custom-form-card,
.custom-info-card {
  background: white;
  border-radius: 28px;
  padding: 30px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.custom-form-card h2 {
  color: #07111f;
  font-size: 28px;
  margin-bottom: 20px;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.custom-form-card label {
  display: block;
  color: #07111f;
  font-weight: 900;
  margin-bottom: 8px;
}

.custom-form-card input,
.custom-form-card select,
.custom-form-card textarea {
  width: 100%;
  border: 1px solid #dbe3ec;
  border-radius: 15px;
  padding: 15px;
  outline: 0;
  font-size: 15px;
}

.custom-form-card input:focus,
.custom-form-card select:focus,
.custom-form-card textarea:focus {
  border-color: #ff8a00;
  box-shadow: 0 0 0 4px rgba(255,138,0,.12);
}

.custom-form-card textarea {
  min-height: 140px;
  resize: vertical;
  margin-bottom: 22px;
}

.measure-result {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 32px;
}

.measure-result h3 {
  color: #c2410c;
  margin-bottom: 12px;
}

.measure-result p {
  color: #334155;
  line-height: 1.8;
}

.measure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.measure-item {
  background: white;
  border-radius: 16px;
  padding: 15px;
  border: 1px solid #fed7aa;
}

.measure-item strong {
  display: block;
  color: #07111f;
  margin-bottom: 6px;
}

.measure-item span {
  color: #2563eb;
  font-weight: 950;
}

.custom-submit-btn {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg,#ff8a00,#ffb347);
  color: #111827;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
}

.custom-info-card {
  height: max-content;
  position: sticky;
  top: 100px;
}

.custom-info-card h3 {
  color: #07111f;
  font-size: 24px;
  margin-bottom: 18px;
}

.custom-info-card ul {
  list-style: none;
}

.custom-info-card li {
  padding: 13px 0;
  color: #334155;
  font-weight: 800;
  border-bottom: 1px solid #e5e7eb;
}

.custom-info-card li::before {
  content: "✓";
  color: #ff8a00;
  margin-right: 10px;
}

.custom-warning {
  margin-top: 22px;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  color: #475569;
  line-height: 1.7;
}

.custom-success {
  margin-top: 18px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 16px;
  font-weight: 900;
}

.custom-error {
  margin-top: 18px;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 16px;
  font-weight: 900;
}

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

  .custom-info-card {
    position: relative;
    top: 0;
  }

  .measure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 650px) {
  .custom-hero {
    padding: 55px 0 42px;
  }

  .custom-hero h1 {
    font-size: 32px;
  }

  .custom-grid,
  .measure-grid {
    grid-template-columns: 1fr;
  }

  .custom-form-card,
  .custom-info-card {
    padding: 22px;
    border-radius: 22px;
  }
}