body.page-contact #content.tg-contact2 {
  padding-top: 150px;
  padding-bottom: 110px;
}

/* Theme tokens */
.page-contact.theme-dark {
  --tg-bg: #000;
  --tg-text: #fff;
  --tg-muted: rgba(255, 255, 255, 0.7);
  --tg-line: rgba(255, 255, 255, 0.25);
  --tg-line-strong: rgba(255, 255, 255, 0.5);
}

.page-contact.theme-light {
  --tg-bg: #fff;
  --tg-text: #111;
  --tg-muted: rgba(0, 0, 0, 0.65);
  --tg-line: rgba(0, 0, 0, 0.22);
  --tg-line-strong: rgba(0, 0, 0, 0.4);
}

.page-contact {
  background: var(--tg-bg);
  color: var(--tg-text);
}

/* Layout */
.page-contact .tg-contact2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

@media (max-width: 1024px) {
  .page-contact .tg-contact2__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Left panel */
.page-contact .tg-contact2__aside {
  position: sticky;
  top: 120px;
}

@media (max-width: 1024px) {
  .page-contact .tg-contact2__aside {
    position: static;
  }
}

.page-contact .tg-contact2__title {
  font-size: 110px;
  line-height: 0.9;
  letter-spacing: -2px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 40px 0;
}

@media (max-width: 1024px) {
  .page-contact .tg-contact2__title {
    font-size: 64px;
    letter-spacing: -1px;
  }
}

.page-contact .tg-contact2__desc {
  max-width: 520px;
  margin: 0 0 24px 0;
  color: var(--tg-muted);
}

.page-contact .tg-contact2__next {
  border-left: 1px solid var(--tg-line);
  padding-left: 16px;
  margin: 22px 0 30px 0;
}

.page-contact .tg-contact2__kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tg-muted);
  margin-bottom: 10px;
}

.page-contact .tg-contact2__steps {
  margin: 0;
  padding-left: 18px;
  color: var(--tg-text);
  opacity: 0.9;
}

.page-contact .tg-contact2__info {
  list-style: none;
  padding: 0;
  margin: 22px 0 0 0;
}

.page-contact .tg-contact2__info li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}

.page-contact .tg-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.page-contact .tg-contact2__info a {
  color: inherit;
  text-decoration: none;
}
.page-contact .tg-contact2__info a:after {
  display: none !important;
}

/* Copy micro feedback */
.page-contact .tg-copy__badge {
  margin-left: 8px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.15s ease;
  color: var(--tg-muted);
}
.page-contact .tg-copy.is-copied .tg-copy__badge {
  opacity: 1;
}

/* Right panel (form card) */
.page-contact .tg-contact2__formWrap {
  border: 1px solid var(--tg-line);
  padding: 26px 26px 22px 26px;
}

@media (max-width: 600px) {
  .page-contact .tg-contact2__formWrap {
    padding: 18px;
  }
}

/* Stepper */
.page-contact .tg-stepper {
  margin-bottom: 18px;
}
.page-contact .tg-stepper__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tg-muted);
  margin-bottom: 10px;
}
.page-contact .tg-stepper__track {
  height: 2px;
  background: var(--tg-line);
  position: relative;
}
.page-contact .tg-stepper__bar {
  height: 2px;
  width: 50%;
  background: currentColor;
  opacity: 0.85;
  transition: width 0.2s ease;
}

/* Steps */
.page-contact .tg-step {
  display: none;
}
.page-contact .tg-step.is-active {
  display: block;
}

.page-contact .tg-field {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 20px;
}

.page-contact .tg-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tg-muted);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.page-contact .tg-field input,
.page-contact .tg-field textarea,
.page-contact .tg-field select {
  width: 100%;
  padding: 14px 16px;
  background: transparent !important;
  border: 1px solid var(--tg-line-strong);
  color: var(--tg-text);
  border-radius: 0;
  outline: none;
  font-size: 16px;
}

.page-contact .tg-field select option {
  background-color: var(--tg-bg);
  color: var(--tg-text);
}

/* Change label color when user clicks into the input */
.page-contact .tg-field input:focus + label,
.page-contact .tg-field textarea:focus + label {
  color: var(--tg-text);
}

.page-contact .tg-field input:focus,
.page-contact .tg-field textarea:focus {
  border-color: var(--tg-text);
}

/* Help text */
.page-contact .tg-help {
  margin-top: 8px;
  font-size: 12px;
  color: var(--tg-muted);
}

/* Two-up row */
.page-contact .tg-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .page-contact .tg-row2 {
    grid-template-columns: 1fr;
  }
}

/* Chips */
.page-contact .tg-chips {
  border: 0;
  padding: 0;
  margin: 0 0 14px 0;
}
.page-contact .tg-chips legend {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tg-muted);
  margin-bottom: 10px;
}
.page-contact .tg-chips__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-contact .tg-chip {
  background: transparent !important;
  border: 1px solid var(--tg-line-strong);
  color: var(--tg-text);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.9;
}
.page-contact .tg-chip[aria-pressed="true"] {
  border-width: 2px;
}

/* Actions */
.page-contact .tg-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.page-contact .tg-actions--split {
  justify-content: space-between;
}

/* --- BUTTON VISIBILITY FIX --- */
.page-contact .tg-btn {
  background: transparent !important;
  border: 1px solid currentColor;
  color: var(--tg-text) !important;
  padding: 12px 24px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 1 !important;
  transition: all 0.2s ease;
}

.page-contact .tg-btn[disabled] {
  opacity: 0.2 !important;
  cursor: not-allowed;
}

/* --- INPUT BORDER FIX --- */
.page-contact .tg-field input,
.page-contact .tg-field textarea,
.page-contact .tg-field select {
  border: 1px solid var(--tg-line-strong) !important;
}

/* --- SUCCESS MESSAGE TEXT COLOR --- */
.page-contact .tg-success {
  color: var(--tg-text);
}
