.contact-page {
  background: var(--paper);
}

.contact-page .eyebrow {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.contact-page .desktop-nav a.active {
  color: var(--paper);
}

.contact-page .desktop-nav a.active::after {
  transform: scaleX(1);
}

.contact-page-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 42px 64px;
  background: var(--ink);
  color: var(--paper);
}

.contact-page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(245, 247, 244, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 247, 244, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
  pointer-events: none;
}

.contact-page-hero::after {
  position: absolute;
  top: -60%;
  right: 2%;
  width: 58%;
  height: 190%;
  border-right: 1px solid rgba(110, 231, 197, 0.13);
  background: linear-gradient(110deg, transparent 54%, rgba(110, 231, 197, 0.06) 54.2%, transparent 73%);
  content: "";
  pointer-events: none;
  transform: skewX(-16deg);
}

.contact-hero-grid {
  position: relative;
  z-index: 2;
  width: min(100%, var(--page-width));
  margin: 0 auto;
}

.contact-hero-copy {
  max-width: 1120px;
}

.contact-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 247, 244, 0.58);
}

.contact-hero-copy h1 {
  margin-top: 27px;
  font-size: 4.35rem;
  font-weight: 500;
  line-height: 1.08;
}

body.lang-en .contact-hero-copy h1 {
  font-size: 3.95rem;
}

.contact-hero-copy > p {
  max-width: 720px;
  margin-top: 25px;
  color: rgba(245, 247, 244, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.contact-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 33px;
}

.contact-hero-badges > span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(245, 247, 244, 0.14);
  border-radius: 4px;
  background: rgba(245, 247, 244, 0.04);
  color: rgba(245, 247, 244, 0.74);
  font-size: 12px;
}

.contact-hero-badges svg {
  width: 14px;
  height: 14px;
  stroke: var(--mint);
  stroke-width: 1.5;
}

.contact-page-section {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 54px 42px 110px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 70px;
}

.contact-details {
  position: sticky;
  top: 104px;
}

.contact-details-intro h2 {
  margin-top: 14px;
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1.15;
}

.contact-details-intro > p:last-child {
  max-width: 430px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-channel-list {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.contact-channel {
  display: grid;
  width: 100%;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    color 180ms ease,
    padding-left 220ms var(--ease-out);
}

.contact-channel:hover {
  padding-left: 6px;
  color: #287861;
}

.contact-channel-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.45);
}

.contact-channel-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-channel-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.contact-channel-copy small {
  color: var(--muted);
  font-size: 12px;
}

.contact-channel-copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-arrow {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 220ms var(--ease-out);
}

.contact-channel:hover .channel-arrow {
  transform: translateX(4px);
}

.contact-channel-status {
  min-width: 42px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.contact-hours {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding: 14px;
  border-radius: 6px;
  background: #e9efea;
}

.contact-hours strong {
  font-size: 13px;
  font-weight: 600;
}

.contact-hours p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.contact-regions-block {
  margin-top: 30px;
}

.contact-region-list {
  display: flex;
  gap: 7px;
  margin-top: 11px;
}

.contact-region-list span {
  display: inline-flex;
  min-width: 48px;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
}

.contact-region-list i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.contact-form-card {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.contact-form-head h2 {
  margin-top: 6px;
  font-size: 1.75rem;
  font-weight: 500;
}

.form-step {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.contact-form-intro {
  max-width: 590px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

#contact-form {
  margin-top: 18px;
}

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

.form-field {
  display: grid;
  gap: 5px;
}

.form-field > span,
.interest-fieldset legend {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(16, 32, 29, 0.13);
  border-radius: 4px;
  background: rgba(245, 247, 244, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.form-field input,
.form-field select {
  height: 38px;
  padding: 0 12px;
}

.form-field textarea {
  height: 76px;
  min-height: 76px;
  padding: 12px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #96a09c;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(40, 120, 97, 0.62);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(110, 231, 197, 0.12);
  outline: 0;
}

.form-field-wide {
  margin-top: 11px;
}

.interest-fieldset {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}

.interest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.interest-options label {
  cursor: pointer;
}

.interest-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.interest-options span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(16, 32, 29, 0.13);
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.interest-options label:hover span {
  border-color: rgba(16, 32, 29, 0.3);
  color: var(--text);
}

.interest-options input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.interest-options input:focus-visible + span {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 13px;
}

.form-consent {
  display: flex;
  max-width: 430px;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  line-height: 1.6;
}

.form-consent input {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin: 1px 0 0;
  accent-color: #287861;
}

.contact-submit {
  display: inline-flex;
  min-width: 142px;
  min-height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--mint);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    transform 220ms var(--ease-out);
}

.contact-submit:hover {
  background: var(--mint-bright);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-submit svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.7;
}

.form-privacy-note {
  margin-top: 7px;
  color: #8c9793;
  font-size: 11px;
  line-height: 1.5;
}

.form-status {
  min-height: 14px;
  margin-top: 4px;
  color: #287861;
  font-size: 12px;
}

.form-status.is-error {
  color: #9b3b32;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-page .brand-copy span {
  font-size: 11px;
}

.contact-page .footer-brand p {
  color: rgba(245, 247, 244, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.contact-page .footer-links strong {
  color: rgba(245, 247, 244, 0.56);
  font-size: 12px;
}

.contact-page .footer-links a {
  color: rgba(245, 247, 244, 0.78);
  font-size: 13px;
}

.contact-page .footer-bottom {
  color: rgba(245, 247, 244, 0.5);
  font-size: 10px;
}

@media (max-width: 1280px) {
  .contact-page-hero {
    padding-right: 30px;
    padding-left: 30px;
  }

  .contact-hero-copy h1 {
    font-size: 3.75rem;
  }

  body.lang-en .contact-hero-copy h1 {
    font-size: 3.4rem;
  }

  .contact-page-section {
    padding-right: 30px;
    padding-left: 30px;
  }

  .contact-page-grid {
    gap: 48px;
  }
}

@media (max-width: 1080px) {
  .contact-page-hero {
    padding-top: 112px;
    padding-bottom: 58px;
  }

  .contact-hero-copy {
    max-width: 900px;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .contact-details-intro {
    grid-column: 1 / -1;
  }

  .contact-channel-list {
    margin-top: 0;
  }

  .contact-hours,
  .contact-regions-block {
    align-self: start;
  }

  .contact-hours {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .contact-page-hero {
    padding: 92px 18px 46px;
  }

  .contact-hero-copy h1 {
    font-size: 2.7rem;
  }

  body.lang-en .contact-hero-copy h1 {
    font-size: 2.45rem;
  }

  .contact-hero-copy > p {
    font-size: 15px;
  }

  .contact-hero-badges {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-page-section {
    padding: 82px 18px 100px;
  }

  .contact-page-grid {
    gap: 45px;
  }

  .contact-details {
    display: block;
  }

  .contact-details-intro h2 {
    font-size: 2.25rem;
  }

  .contact-channel-list {
    margin-top: 28px;
  }

  .contact-hours {
    margin-top: 24px;
  }

  .contact-regions-block {
    margin-top: 24px;
  }

  .contact-form-card {
    padding: 22px 18px;
  }

  .contact-form-head h2 {
    font-size: 1.7rem;
  }

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

  .form-field-wide {
    margin-top: 15px;
  }

  .interest-options span {
    min-height: 34px;
  }

  .form-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }
}

.contact-details-contact {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(110, 231, 197, 0.11), transparent 32%),
    rgba(255, 255, 255, 0.5);
}

.contact-details-contact .contact-details-intro > p:last-child {
  margin-top: 14px;
}

.contact-details-contact .contact-channel-list {
  container-type: inline-size;
  margin-top: 28px;
}

.contact-details-contact .contact-channel {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  text-decoration: none;
}

.contact-details-contact .contact-channel-copy strong {
  font-size: 16px;
}

.contact-channel-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #287861;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

@container (max-width: 280px) {
  .contact-details-contact .contact-channel-whatsapp {
    grid-template-columns: 38px minmax(0, 1fr);
    row-gap: 4px;
  }

  .contact-channel-whatsapp .contact-channel-action {
    grid-column: 2;
    justify-self: start;
  }
}

.contact-details-contact .contact-channel.is-static {
  cursor: default;
}

.contact-details-contact .contact-channel.is-static:hover {
  padding-left: 0;
  color: inherit;
}

.contact-channel[data-locale-only] {
  display: none;
}

body:not(.lang-en) .contact-channel[data-locale-only="zh"],
body.lang-en .contact-channel[data-locale-only="en"] {
  display: grid;
}

@media (max-width: 1080px) {
  .contact-details-contact {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 34px;
  }

  .contact-details-contact .contact-details-intro {
    grid-column: auto;
  }

  .contact-details-contact .contact-channel-list {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .contact-details-contact {
    display: block;
    padding: 22px;
  }

  .contact-details-contact .contact-channel-list {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .contact-hero-copy h1 {
    font-size: 2.3rem;
  }

  body.lang-en .contact-hero-copy h1 {
    font-size: 2.05rem;
  }

  .contact-hero-badges > span {
    width: 100%;
  }

  .contact-form-card {
    padding: 19px 14px;
  }

  .form-field input,
  .form-field select {
    height: 43px;
  }
}

/* Sales-review contact flow */
.contact-process-list {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-process-step {
  display: grid;
  min-height: 88px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-process-step > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(40, 120, 97, 0.22);
  border-radius: 50%;
  color: #287861;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.contact-process-step > div {
  display: grid;
  gap: 4px;
}

.contact-process-step strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-process-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-page-section {
  padding-top: 44px;
}

.contact-form-card {
  padding: 22px 26px;
}

.contact-form-intro {
  max-width: 640px;
  font-size: 14px;
  line-height: 1.65;
}

#contact-form {
  margin-top: 15px;
}

.form-grid {
  gap: 9px 14px;
}

.form-field {
  gap: 5px;
}

.form-field > span,
.interest-fieldset legend {
  font-size: 13px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-size: 15px;
}

.form-field input,
.form-field select {
  height: 39px;
}

.form-field textarea {
  height: 84px;
  min-height: 84px;
}

.form-field-wide {
  margin-top: 9px;
}

.form-consent {
  font-size: 12px;
  line-height: 1.55;
}

.form-privacy-note {
  font-size: 12px;
}

.form-status {
  font-size: 13px;
  line-height: 1.55;
}

.contact-form-card .contact-submit {
  min-height: 42px;
}

@media (max-width: 1080px) {
  .contact-process-list {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .contact-page-section {
    padding-top: 64px;
  }

  .contact-process-step {
    min-height: 82px;
  }

  .contact-form-card {
    padding: 21px 18px;
  }

  .form-field input,
  .form-field select {
    height: 44px;
  }

  .form-field > span,
  .interest-fieldset legend,
  .form-consent {
    font-size: 13px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }
}

.phone-input-group {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.phone-input-group select {
  min-width: 0;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .phone-input-group {
    grid-template-columns: minmax(150px, 0.58fr) minmax(0, 1fr);
    gap: 6px;
  }

  .phone-input-group select {
    padding-right: 6px;
  }
}

@media (max-width: 360px) {
  .phone-input-group {
    grid-template-columns: 1fr;
  }
}
