.contact-page {
  background: linear-gradient(180deg, #f6f7fb 0%, #edf0f8 100%);
  padding: 56px 0 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: start;
}

.contact-info-panel {
  padding: 6px 0 0;
  background: transparent;
}

.contact-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #76758a;
  font-weight: 700;
}

.contact-company {
  margin: 0 0 20px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #151327;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: #2d2d39;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.48;
}

.contact-list i {
  width: 18px;
  height: 18px;
  color: #5b2458;
  font-size: 14px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

.contact-list a:hover {
  color: #4A1E46;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form-panel {
  padding: 6px 0 0 58px;
  border-left: 1px solid #d8dbe8;
}

.contact-form-head h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #171627;
  line-height: 1.05;
}

.contact-form-head p {
  margin: 0 0 26px;
  font-size: 16px;
  color: #5a5a6c;
  line-height: 1.5;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid #daddea;
  background: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 16px;
  color: #1f1f29;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  font-family: inherit;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #8a8a9a;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #87689a;
  box-shadow: 0 0 0 3px rgba(125, 69, 124, 0.14);
}

.contact-textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.5;
}

.contact-field-error {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #be314f;
  font-weight: 600;
}

.contact-input--error,
.contact-textarea--error {
  border-color: #be314f !important;
}

.contact-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff0f3;
  border: 1px solid #f5c2cc;
  color: #8b1a2f;
  font-size: 14px;
  font-weight: 600;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 32px 0 8px;
}

.contact-success-icon {
  font-size: 40px;
  color: #3d9e5e;
  line-height: 1;
}

.contact-success-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #151327;
}

.contact-success-body {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #4a4a5b;
  max-width: 480px;
}

.contact-submit {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

@media (max-width: 1080px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .contact-form-panel {
    border-left: 0;
    border-top: 1px solid #d8dbe8;
    padding: 28px 0 0;
  }
}

@media (max-width: 900px) {
  .about-hero { padding: 92px 0 54px; }
  .about-hero h1 { font-size: clamp(38px, 13vw, 58px); }
  .contact-page { padding-top: 44px; }
  .contact-form-head h2 { font-size: clamp(30px, 9vw, 42px); }
  .contact-company { font-size: clamp(24px, 8vw, 34px); }
  .contact-list li { font-size: 14px; }
}

@media (max-width: 560px) {
  .about-hero { padding: 82px 0 44px; }
  .contact-textarea { min-height: 170px; }
  .contact-form-panel,
  .contact-info-panel { padding-left: 0; padding-right: 0; }
}
