.contact-page {
  color: var(--brand);
  background: var(--surface);
}

.contact-shell {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin-inline: auto;
}

/* Hero: Figma section 48:2723 — 1440 × 544 */
.contact-hero {
  height: 544px;
  overflow: hidden;
  background: var(--surface);
}

.contact-hero-inner {
  position: relative;
  height: 100%;
}

.contact-hero-copy {
  position: absolute;
  top: 42.5px;
  right: 0;
  width: 576px;
  height: 403px;
  text-align: right;
}

.contact-eyebrow {
  position: relative;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding-left: 15px;
  color: var(--muted-brand);
  font-size: 14px;
  line-height: 24px;
}

.contact-eyebrow::before {
  position: absolute;
  top: 8.5px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--gold);
}

.contact-hero-copy h1 {
  height: 134px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 24px 0 0;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 54px;
  font-weight: 600;
  line-height: 67px;
  letter-spacing: -1.35px;
}

.contact-hero-copy h1 span {
  display: block;
}

.contact-hero-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.contact-lead {
  width: 460px;
  min-height: 66px;
  margin: 24px 0 0 auto;
  color: rgba(27, 67, 50, 0.66);
  font-size: 16px;
  line-height: 33px;
}

.contact-help-hint {
  height: 21px;
  margin: 24px 0 0;
  color: rgba(27, 67, 50, 0.48);
  font-size: 14px;
  line-height: 21px;
}

.contact-hero-actions {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.contact-hero-actions .btn {
  min-width: 146px;
  min-height: 54px;
}

.contact-help-link {
  color: var(--brand);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-hero-visual {
  position: absolute;
  top: 24px;
  left: 0;
  width: 650px;
  height: 440px;
}

.contact-photo-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 410px;
}

.contact-photo-frame::before {
  position: absolute;
  z-index: 0;
  top: 14px;
  left: -20px;
  width: 400px;
  height: 410px;
  content: "";
  background: var(--canvas);
  border-radius: 26px;
}

.contact-photo-frame img {
  position: relative;
  z-index: 1;
  width: 360px;
  height: 410px;
  object-fit: cover;
  border-radius: 24px;
}

.contact-hero-note {
  position: absolute;
  z-index: 2;
  top: 278px;
  left: 380px;
  width: 270px;
  height: 106px;
  padding: 16px 24px;
  color: var(--surface);
  background: var(--brand);
  border-radius: 0 16px 16px 0;
  text-align: right;
}

.contact-hero-note strong {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.contact-hero-note p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 24px;
}

/* Main contact workspace: Figma section 48:2749 — 1440 × 1361 */
.contact-workspace {
  height: 1361px;
  padding-top: 96px;
  background: var(--canvas);
}

.contact-workspace-grid {
  display: grid;
  grid-template-columns: 480px 744px;
  gap: 56px;
  align-items: start;
  direction: ltr;
}

.contact-sidebar,
.contact-form-panel {
  direction: rtl;
}

.contact-sidebar {
  height: 1133px;
  display: grid;
  grid-template-rows: 468px 290px 154px 149px;
  gap: 24px;
}

.contact-side-card {
  overflow: hidden;
  background: var(--surface);
  border-radius: 18px;
}

.contact-side-card h2,
.contact-side-card p {
  margin: 0;
}

.faq-shortcuts {
  padding: 32px;
}

.faq-shortcuts h2,
.pre-send-card h2 {
  color: var(--brand);
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
}

.faq-shortcuts > p {
  margin-top: 16px;
  color: rgba(27, 67, 50, 0.58);
  font-size: 14px;
  line-height: 25px;
}

.faq-shortcuts nav {
  height: 280px;
  margin-top: 16px;
}

.faq-shortcuts nav a {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(27, 67, 50, 0.83);
  border-top: 1px solid rgba(27, 67, 50, 0.1);
  font-size: 16px;
  line-height: 24px;
}

.faq-shortcuts nav a:first-child {
  border-top: 0;
}

.faq-shortcuts nav i {
  width: 14px;
  color: rgba(27, 67, 50, 0.64);
  font-size: 22px;
  font-style: normal;
  line-height: 14px;
}

.side-text-link {
  height: 24px;
  display: block;
  margin-top: 16px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pre-send-card {
  padding: 32px;
}

.pre-send-card ol {
  height: 183px;
  display: grid;
  grid-template-rows: repeat(5, 24px);
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pre-send-card li {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(27, 67, 50, 0.78);
  font-size: 14px;
  line-height: 24px;
}

.pre-send-card li span {
  width: 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.contact-email-card {
  padding: 32px;
  color: var(--surface);
  background: var(--brand);
}

.contact-email-card h2,
.contact-email-card p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.contact-email-card p {
  margin-top: 8px;
}

.contact-email-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 18px;
}

.specialist-note {
  padding: 24px;
  background: transparent;
  border: 1px solid rgba(27, 67, 50, 0.18);
}

.specialist-note h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.specialist-note h2 span {
  font-size: 15px;
}

.specialist-note p {
  margin-top: 8px;
  color: rgba(27, 67, 50, 0.68);
  font-size: 14px;
  line-height: 24px;
}

.contact-form-panel {
  width: 744px;
  height: 1169px;
  padding: 39px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.contact-form-panel > h2 {
  height: 48px;
  margin: 0;
  color: var(--brand);
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
}

.required-note {
  height: 24px;
  margin: 8px 0 0;
  color: rgba(27, 67, 50, 0.55);
  font-size: 14px;
  line-height: 24px;
}

.contact-form {
  position: relative;
  height: 1001px;
  display: grid;
  grid-template-rows: 81px 162px 81px 263px 81px 32px 53px 56px;
  gap: 24px;
  margin-top: 8px;
  padding-top: 24px;
}

.contact-name-row {
  display: grid;
  grid-template-columns: repeat(2, 320px);
  gap: 24px;
  direction: ltr;
}

.contact-field {
  direction: rtl;
}

.contact-field label,
.inquiry-fieldset legend {
  height: 21px;
  display: block;
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.contact-field label b,
.inquiry-fieldset legend b {
  color: var(--accent);
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  display: block;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid rgba(27, 67, 50, 0.18);
  border-radius: 14px;
  outline: 0;
  font-size: 16px;
  line-height: 24px;
  text-align: right;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input {
  height: 52px;
  padding: 13px 16px;
}

.contact-field textarea {
  height: 197px;
  padding: 16px;
  line-height: 27px;
  resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(27, 67, 50, 0.4);
  opacity: 1;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(27, 67, 50, 0.55);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
  border-color: var(--accent);
}

.inquiry-fieldset {
  min-width: 0;
  height: 162px;
  margin: 0;
  padding: 0;
  border: 0;
}

.inquiry-options {
  height: 133px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.inquiry-options button {
  height: 39px;
  padding: 8px 16px;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid rgba(27, 67, 50, 0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.inquiry-options button:hover,
.inquiry-options button[aria-pressed="true"] {
  color: var(--surface);
  background: var(--brand);
  border-color: var(--brand);
}

.inquiry-fieldset.is-invalid .inquiry-options {
  border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(207, 78, 36, 0.38);
}

.message-field {
  height: 263px;
}

.character-count {
  height: 29px;
  margin: 0;
  padding-top: 8px;
  color: rgba(27, 67, 50, 0.5);
  font-size: 14px;
  line-height: 21px;
  text-align: left;
}

.privacy-check {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  color: rgba(27, 67, 50, 0.85);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
}

.privacy-check input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  accent-color: var(--brand);
}

.privacy-check input[aria-invalid="true"] {
  outline: 2px solid rgba(207, 78, 36, 0.55);
  outline-offset: 2px;
}

.privacy-check a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sensitive-note {
  height: 53px;
  margin: 0;
  padding: 16px;
  color: rgba(27, 67, 50, 0.55);
  background: var(--canvas);
  border-radius: 10px;
  font-size: 14px;
  line-height: 21px;
}

.contact-form-actions {
  height: 56px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding-right: 31px;
}

.contact-form-actions .btn {
  min-width: 131px;
  min-height: 48px;
  padding-block: 11px;
}

.clear-message {
  height: 24px;
  padding: 0 8px;
  color: rgba(27, 67, 50, 0.6);
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-status {
  position: absolute;
  right: 0;
  bottom: -30px;
  margin: 0;
  color: var(--brand);
  font-size: 13px;
}

.contact-form-status.is-error {
  color: var(--accent);
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .contact-hero-visual {
    transform: scale(0.86);
    transform-origin: left top;
  }

  .contact-hero-copy {
    width: 520px;
  }

  .contact-hero-copy h1 {
    font-size: 48px;
  }

  .contact-workspace-grid {
    grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1.28fr);
    gap: 32px;
  }

  .contact-sidebar,
  .contact-form-panel {
    width: 100%;
  }

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

  .inquiry-options button {
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (max-width: 991.98px) {
  .contact-hero,
  .contact-workspace {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .contact-hero {
    padding-block: 64px 88px;
  }

  .contact-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
  }

  .contact-hero-copy,
  .contact-hero-visual {
    position: relative;
    inset: auto;
    width: min(650px, 100%);
    height: auto;
    margin-inline: auto;
  }

  .contact-hero-copy {
    order: 1;
    text-align: center;
  }

  .contact-hero-visual {
    order: 2;
    height: 440px;
  }

  .contact-hero-copy h1 {
    height: auto;
    margin-top: 16px;
    font-size: 46px;
    line-height: 62px;
  }

  .contact-lead {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .contact-hero-actions {
    justify-content: center;
  }

  .contact-workspace {
    padding-block: 72px;
  }

  .contact-workspace-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .contact-form-panel {
    order: 1;
    width: 100%;
    height: auto;
  }

  .contact-sidebar {
    order: 2;
    width: 100%;
    height: auto;
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    height: auto;
    grid-template-rows: none;
  }

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

  .inquiry-fieldset,
  .inquiry-options,
  .message-field,
  .privacy-check,
  .sensitive-note,
  .contact-form-actions {
    height: auto;
  }

  .inquiry-options {
    min-height: 86px;
  }

  .faq-shortcuts,
  .pre-send-card,
  .contact-email-card,
  .specialist-note {
    height: auto;
    min-height: 149px;
  }
}

@media (max-width: 575.98px) {
  .contact-shell {
    width: calc(100% - 32px);
  }

  .contact-hero {
    padding-block: 42px 64px;
  }

  .contact-hero-copy h1 {
    font-size: 36px;
    line-height: 50px;
    letter-spacing: -0.6px;
  }

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

  .contact-help-hint {
    height: auto;
    line-height: 24px;
  }

  .contact-hero-actions {
    height: auto;
    flex-direction: column;
    gap: 14px;
  }

  .contact-hero-actions .btn {
    width: 100%;
  }

  .contact-hero-visual {
    width: 100%;
    height: 420px;
  }

  .contact-photo-frame,
  .contact-photo-frame img {
    width: calc(100% - 22px);
    max-width: 360px;
  }

  .contact-photo-frame::before {
    left: -10px;
    width: calc(100% + 10px);
    max-width: 380px;
  }

  .contact-hero-note {
    top: 286px;
    right: 0;
    left: auto;
    width: min(270px, 82%);
    border-radius: 16px 0 0 16px;
  }

  .contact-workspace {
    padding-block: 56px;
  }

  .contact-form-panel {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .contact-form-panel > h2 {
    height: auto;
    font-size: 27px;
    line-height: 40px;
  }

  .required-note {
    height: auto;
  }

  .contact-form {
    gap: 20px;
    padding-top: 16px;
  }

  .contact-name-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .inquiry-options {
    gap: 8px;
  }

  .inquiry-options button {
    height: auto;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
    white-space: normal;
  }

  .message-field textarea {
    height: 180px;
  }

  .privacy-check {
    align-items: flex-start;
    line-height: 25px;
  }

  .sensitive-note {
    line-height: 24px;
  }

  .contact-form-actions {
    padding-right: 0;
  }

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

  .faq-shortcuts,
  .pre-send-card,
  .contact-email-card {
    padding: 24px;
  }

  .faq-shortcuts nav {
    height: auto;
  }
}
