/**
 * WGT NEW Contact page styles.
 *
 * @package WorkScout_Child
 */

.wgt-page .contact-hero {
  background: var(--ink);
  color: var(--white);
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}

.wgt-page .contact-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.08;
}

.wgt-page .contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 24px;
  margin: 0 auto;
  text-align: center;
}

.wgt-page .contact-hero h1 {
  color: var(--white) !important;
  margin-bottom: 14px;
}

.wgt-page .contact-hero h1 .accent {
  color: var(--amber) !important;
}

.wgt-page .contact-hero p.lede {
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 auto 28px;
}

.wgt-page .quick-contact {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.wgt-page .quick-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 22px;
  border-radius: var(--radius-pill, 999px);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.15s ease;
  text-decoration: none;
}

.wgt-page .quick-contact a:hover {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.wgt-page .quick-contact a .ico {
  font-size: 16px;
}

.wgt-page .contact-body {
  padding: 72px 0 88px;
}

.wgt-page .contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.wgt-page .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.wgt-page .form-card h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.wgt-page .form-card .subhead {
  color: var(--steel);
  font-size: 14px;
  margin-bottom: 24px;
}

.wgt-page .field {
  margin-bottom: 18px;
}

.wgt-page .field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 6px;
}

.wgt-page .field input,
.wgt-page .field select,
.wgt-page .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.wgt-page .field input:focus,
.wgt-page .field select:focus,
.wgt-page .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.18);
}

.wgt-page .field textarea {
  resize: vertical;
  min-height: 120px;
}

.wgt-page .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wgt-page .field-hint {
  font-size: 12px;
  color: var(--steel);
  margin-top: 4px;
}

.wgt-page .role-toggle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.wgt-page .role-toggle input {
  display: none;
}

.wgt-page .role-toggle label {
  background: var(--concrete);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  color: var(--charcoal);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0;
  transition: all 0.15s ease;
}

.wgt-page .role-toggle input:checked + label {
  background: var(--ink);
  color: var(--amber);
  border-color: var(--ink);
}

.wgt-page .role-toggle label:hover {
  border-color: var(--amber);
}

.wgt-page .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--steel);
  margin: 18px 0 24px;
}

.wgt-page .consent input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.wgt-page .consent label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--steel);
  margin: 0;
}

.wgt-page .consent a {
  color: var(--amber-dark);
  font-weight: 600;
}

.wgt-page .submit-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.wgt-page .form-meta {
  font-size: 12px;
  color: var(--steel);
}

.wgt-page .aside-stack {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.wgt-page .aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--amber);
}

.wgt-page .aside-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0;
}

.wgt-page .aside-card p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 6px;
}

.wgt-page .aside-card p:last-child {
  margin-bottom: 0;
}

.wgt-page .aside-card a {
  color: var(--amber-dark);
  font-weight: 600;
}

.wgt-page .aside-card .map-frame {
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
}

.wgt-page .aside-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.wgt-page .next-steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.wgt-page .next-steps li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--charcoal);
}

.wgt-page .next-steps li .num {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.wgt-page .wgt-contact-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  display: none;
}

.wgt-page .wgt-contact-status.is-success {
  display: block;
  background: #e6f7ee;
  color: #1a7a45;
  border: 1px solid #b7e4c7;
}

.wgt-page .wgt-contact-status.is-error {
  display: block;
  background: #fdeaea;
  color: #9b1c1c;
  border: 1px solid #f5c2c2;
}

.wgt-page .wgt-contact-status.is-info {
  display: block;
  background: var(--amber-tint);
  color: var(--ink);
  border: 1px solid #f0d78a;
}

.wgt-page #wgt-contact-form button.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.wgt-page .faq-redirect {
  background: var(--concrete);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 56px;
}

.wgt-page .faq-redirect p {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .wgt-page .contact-grid {
    grid-template-columns: 1fr;
  }

  .wgt-page .aside-stack {
    position: static;
  }

  .wgt-page .field-row,
  .wgt-page .role-toggle {
    grid-template-columns: 1fr 1fr;
  }
}
