.ecx-contact-body {
  background: #f7f8fb;
}

.ecx-contact-page {
  color: #111827;
}

.ecx-contact-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: stretch;
}

.ecx-contact-hero-copy,
.ecx-contact-hero-card,
.ecx-contact-grid article,
.ecx-contact-info-panel,
.ecx-contact-form-card {
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.ecx-contact-hero-copy {
  padding: 44px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 122, 0, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.ecx-contact-hero-copy > span,
.ecx-contact-info-panel > span,
.ecx-contact-form-card > span {
  color: #ff5f00;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ecx-contact-hero-copy h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  max-width: 850px;
}

.ecx-contact-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #4b5563;
  font-size: 1.06rem;
  line-height: 1.7;
}

.ecx-contact-hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ecx-contact-hero-actions a,
.ecx-contact-grid a,
.ecx-contact-form button,
.ecx-contact-hero-card a {
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
}

.ecx-contact-hero-actions a:first-child,
.ecx-contact-form button,
.ecx-contact-hero-card a {
  background: #ff6f00;
  color: #ffffff;
  border: 1px solid #ff6f00;
  box-shadow: 0 12px 24px rgba(255, 111, 0, 0.24);
}

.ecx-contact-hero-actions a,
.ecx-contact-hero-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.ecx-contact-hero-actions a:last-child {
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.ecx-contact-hero-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #111827;
  color: #ffffff;
}

.ecx-contact-hero-card small {
  color: #fed7aa;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ecx-contact-hero-card strong {
  margin-top: 12px;
  font-size: 1.35rem;
  word-break: break-word;
}

.ecx-contact-hero-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.ecx-contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ecx-contact-grid article {
  padding: 24px;
}

.ecx-contact-grid span {
  font-size: 1.7rem;
}

.ecx-contact-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
}

.ecx-contact-grid p {
  color: #6b7280;
  line-height: 1.55;
  margin: 8px 0 16px;
}

.ecx-contact-grid a {
  color: #ff5f00;
}

.ecx-contact-layout {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ecx-contact-info-panel,
.ecx-contact-form-card {
  padding: 30px;
}

.ecx-contact-info-panel h2,
.ecx-contact-form-card h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ecx-contact-info-panel p,
.ecx-contact-form-card p {
  color: #6b7280;
  line-height: 1.65;
}

.ecx-contact-info-panel ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.ecx-contact-info-panel li {
  padding: 13px 14px;
  border-radius: 6px;
  background: #f8fafc;
  color: #4b5563;
  line-height: 1.55;
}

.ecx-contact-info-panel li strong {
  color: #111827;
}

.ecx-contact-social-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 6px;
  background: #fff7ed;
  border: 1px solid rgba(255, 111, 0, 0.16);
}

.ecx-contact-social-card strong {
  display: block;
  margin-bottom: 12px;
}

.ecx-social-header-inline {
  justify-content: flex-start;
}

.ecx-contact-form {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.ecx-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ecx-contact-form label {
  display: grid;
  gap: 8px;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 900;
}

.ecx-contact-form input,
.ecx-contact-form select,
.ecx-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  background: #ffffff;
  padding: 13px 14px;
  font: inherit;
  color: #111827;
  outline: none;
}

.ecx-contact-form input:focus,
.ecx-contact-form select:focus,
.ecx-contact-form textarea:focus {
  border-color: #ff6f00;
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.12);
}

.ecx-contact-form textarea {
  resize: vertical;
}

.ecx-contact-form button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.ecx-contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.ecx-contact-status {
  min-height: 20px;
  margin: 0;
  font-weight: 800;
}

.ecx-contact-status.is-success {
  color: #047857;
}

.ecx-contact-status.is-error {
  color: #b91c1c;
}

@media (max-width: 1100px) {
  .ecx-contact-hero,
  .ecx-contact-layout {
    grid-template-columns: 1fr;
  }

  .ecx-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ecx-contact-hero {
    padding-top: 34px;
  }

  .ecx-contact-hero-copy,
  .ecx-contact-hero-card,
  .ecx-contact-info-panel,
  .ecx-contact-form-card {
    padding: 22px;
  }

  .ecx-contact-grid,
  .ecx-form-grid {
    grid-template-columns: 1fr;
  }
}
