.contact-page-body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  color: rgba(0, 0, 0, 0.72);
  background: #fff;
  font-family: var(--font-sans);
}

.contact-main {
  min-height: 100svh;
  padding: clamp(118px, 12vw, 152px) 24px clamp(64px, 7vw, 96px);
  background:
    radial-gradient(circle at 12% 12%, rgba(230, 0, 18, 0.045), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.contact-main *,
.contact-main *::before,
.contact-main *::after {
  box-sizing: border-box;
}

.contact-consultation {
  width: min(100%, 820px);
  margin: 0 auto;
}

.contact-head {
  margin-bottom: clamp(40px, 5vw, 58px);
}

.contact-title {
  max-width: none;
  margin: 0;
  text-align: left;
}

.contact-desc {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(0, 0, 0, 0.56);
  text-align: left;
}

.contact-desc-note {
  margin: 10px 0 0;
  color: rgba(0, 0, 0, 0.42);
  font-size: 14px;
  font-weight: var(--fw-light, 300);
  line-height: 1.8;
  letter-spacing: -0.005em;
}

.contact-form {
  display: grid;
  gap: 0;
}

.contact-form-section {
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.contact-form-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-section-title {
  margin: 0 0 16px;
  color: rgba(0, 0, 0, 0.82);
  font-size: 18px;
  font-weight: var(--fw-semibold, 600);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.contact-field {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contact-field-label {
  color: rgba(0, 0, 0, 0.48);
  font-size: 13px;
  font-weight: var(--fw-medium, 600);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.contact-field input,
.contact-field select,
.contact-phone-field,
.contact-code-row {
  width: 100%;
  color: rgba(0, 0, 0, 0.82);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--cta-radius, 0);
  font-family: var(--font-sans);
}

.contact-field input,
.contact-field select {
  min-height: 50px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: var(--fw-regular, 400);
  line-height: 1;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.45) 50%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.45) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 22px,
    calc(100% - 15px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-field input::placeholder,
.contact-field select:invalid {
  color: rgba(0, 0, 0, 0.32);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-phone-field:focus-within,
.contact-code-row:focus-within {
  border-color: rgba(230, 0, 18, 0.68);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.08);
}

.contact-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
}

.contact-check-item {
  min-height: 38px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(0, 0, 0, 0.66);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: var(--fw-regular, 400);
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.18s ease;
}

.contact-check-item:hover {
  color: rgba(0, 0, 0, 0.82);
  background: transparent;
}

.contact-check-item input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--salang-red);
  flex: 0 0 auto;
}

.contact-auth-section {
  padding-bottom: 24px;
}

.contact-auth-panel {
  min-width: 0;
}

.contact-auth-desc,
.contact-member-verified p {
  max-width: 760px;
  margin: -4px 0 18px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: var(--fw-light, 300);
  line-height: 1.85;
  letter-spacing: -0.005em;
}

.contact-verified-id {
  color: rgba(0, 0, 0, 0.72) !important;
  font-weight: var(--fw-medium, 600) !important;
}

.contact-auth-tabs {
  display: inline-flex;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 28px;
}

.contact-auth-tabs button {
  position: relative;
  min-height: 40px;
  padding: 0 0 12px;
  color: rgba(0, 0, 0, 0.5);
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--fw-medium, 600);
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease;
}

.contact-auth-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--salang-red);
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: left center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-auth-tabs button:hover,
.contact-auth-tabs button.is-active {
  color: var(--salang-red);
}

.contact-auth-tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.contact-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.contact-auth-fields {
  min-width: 0;
}

.contact-auth-mode {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-auth-mode[hidden] {
  display: none;
}

.contact-phone-field {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  overflow: visible;
}

.contact-phone-field input,
.contact-code-row input {
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-phone-field input:focus,
.contact-code-row input:focus {
  border: 0;
  box-shadow: none;
}

.contact-country-trigger {
  min-width: 86px;
  min-height: 50px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.035);
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: var(--fw-medium, 600);
  line-height: 1;
  cursor: pointer;
}

.contact-country-trigger:hover,
.contact-country-trigger[aria-expanded="true"] {
  color: var(--salang-red);
  background: rgba(230, 0, 18, 0.055);
}

.contact-country-trigger span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: 0.01em;
}

.contact-country-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: min(260px, 100%);
  max-height: 260px;
  padding: 8px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.contact-country-search {
  width: 100%;
  min-height: 38px;
  margin-bottom: 6px;
  padding: 0 10px;
  color: rgba(0, 0, 0, 0.78);
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: var(--fw-regular, 400);
  outline: 0;
}

.contact-country-menu button {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(0, 0, 0, 0.62);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: var(--fw-regular, 400);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.contact-country-menu button:hover,
.contact-country-menu button[aria-selected="true"] {
  color: var(--salang-red);
  background: rgba(230, 0, 18, 0.06);
}

.contact-code-row {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.contact-code-row button {
  min-width: 112px;
  padding: 0 14px;
  color: rgba(0, 0, 0, 0.68);
  background: rgba(0, 0, 0, 0.035);
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 13px;
  font-weight: var(--fw-medium, 600);
  line-height: 1;
  cursor: pointer;
}

.contact-code-row button:hover:not(:disabled) {
  color: var(--salang-red);
  background: rgba(230, 0, 18, 0.055);
}

.contact-code-row button:disabled {
  cursor: wait;
  color: rgba(0, 0, 0, 0.3);
}

.contact-benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.contact-benefit-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(0, 0, 0, 0.58);
  font-size: 14px;
  font-weight: var(--fw-light, 300);
  line-height: 1.7;
}

.contact-benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--salang-red);
}

.contact-form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: var(--fw-light, 300);
  line-height: 1.7;
}

.contact-form-status.is-error {
  color: rgba(215, 0, 26, 0.9);
}

.contact-form-status.is-success {
  color: rgba(0, 0, 0, 0.72);
}

.contact-submit-button {
  width: fit-content;
  min-width: 188px;
  min-height: 52px;
  margin-top: 10px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--salang-red);
  border: 0;
  border-radius: var(--cta-radius, 0);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--fw-medium, 600);
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(215, 0, 26, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.contact-submit-button:hover {
  background: #e60012;
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(215, 0, 26, 0.24);
}

.contact-bottom-info {
  margin-top: clamp(42px, 5vw, 60px);
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.contact-bottom-info div {
  display: grid;
  gap: 8px;
}

.contact-bottom-info span {
  color: rgba(0, 0, 0, 0.42);
  font-size: 13px;
  font-weight: var(--fw-medium, 600);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.contact-bottom-info a {
  color: rgba(0, 0, 0, 0.78);
  font-size: 20px;
  font-weight: var(--fw-medium, 600);
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.18s ease;
}

.contact-bottom-info a:hover {
  color: var(--salang-red);
}

@media (prefers-reduced-motion: reduce) {
  .contact-submit-button,
  .contact-auth-tabs button,
  .contact-auth-tabs button::after,
  .contact-check-item {
    transition: none;
  }
}

@media (max-width: 720px) {
  .contact-main {
    padding: 96px 18px 58px;
  }

  .contact-head {
    margin-bottom: 34px;
  }

  .contact-title {
    font-size: clamp(38px, 10.2vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.045em;
  }

  .contact-desc {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.8;
  }

  .contact-form-section {
    padding: 24px 0;
  }

  .contact-check-list,
  .contact-auth-layout,
  .contact-auth-mode,
  .contact-bottom-info {
    grid-template-columns: 1fr;
  }

  .contact-benefit-list {
    margin-top: 4px;
  }

  .contact-auth-tabs {
    width: 100%;
    gap: 24px;
  }

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

@media (max-width: 430px) {
  .contact-main {
    padding-inline: 16px;
  }

  .contact-country-trigger {
    min-width: 76px;
    padding-inline: 10px;
  }

  .contact-code-row button {
    min-width: 104px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .contact-country-menu {
    width: min(240px, calc(100vw - 48px));
  }
}
