.contact-section {
  color: var(--ink, #20211f);
}

.talk-eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .09em;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
}

.contact-intro h2 {
  margin: 0;
  text-wrap: balance;
}

.contact-intro h2 span {
  color: var(--muted, #686a64);
}

.contact-intro > p {
  max-width: 560px;
  margin: 20px 0 28px;
  font-size: 20px;
  line-height: 28px;
  color: #595b55;
}

.contact-talk-button,
.talk-submit {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 20px;
  background: var(--accent, #f79f4e);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-talk-button svg,
.talk-submit svg {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform .2s ease;
}

.contact-talk-button:hover,
.talk-submit:not(:disabled):hover {
  background: #ef8b38;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px #e17a1920;
}

.contact-talk-button:hover svg,
.talk-submit:not(:disabled):hover svg:not(.talk-spinner) {
  transform: translate(2px, -2px);
}

.contact-talk-button:active,
.talk-submit:not(:disabled):active {
  transform: translateY(0);
}

.contact-details {
  min-width: 0;
}

.contact-detail {
  display: flex;
  padding: 24px 0;
  border-top: 1px solid var(--line, #d9d9d9);
}

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

.contact-detail-link {
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: inherit;
  text-decoration: none;
}

.contact-detail-label,
.contact-detail-value,
.contact-timezone {
  display: block;
}

.contact-detail-label {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted, #686a64);
  margin-bottom: 8px;
}

.contact-detail-value {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.contact-detail-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: transform .2s ease;
}

.contact-detail-link:hover svg {
  transform: translate(3px, -3px);
}

.contact-detail-link:hover .contact-detail-value {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.contact-location {
  flex-direction: column;
  padding-bottom: 0;
}

.contact-timezone {
  margin-top: 8px;
  color: var(--muted, #686a64);
  font-size: 16px;
  line-height: 24px;
}

.talk-dialog {
  box-sizing: border-box;
  width: min(600px, calc(100vw - 32px));
  max-width: none;
  max-height: min(90dvh, 900px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffffffb3;
  border-radius: 22px;
  background: #fff;
  color: var(--ink, #20211f);
  color-scheme: light;
  font-family: inherit;
  box-shadow: 0 24px 100px #1c211e30;
}

.talk-dialog::backdrop {
  background: #24272260;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.talk-dialog[open] {
  animation: talk-appear .3s cubic-bezier(.2, .8, .2, 1) both;
}

.talk-dialog[open]::backdrop {
  animation: talk-backdrop .25s ease both;
}

.talk-dialog-inner {
  padding: 38px;
  position: relative;
}

.talk-close {
  display: grid;
  place-items: center;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--panel, #f7f6f4);
  color: var(--ink, #20211f);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.talk-close svg {
  width: 18px;
  height: 18px;
}

.talk-close:hover {
  background: #ebe9e5;
  transform: rotate(90deg);
}

.talk-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding-right: 28px;
  color: var(--muted, #686a64);
}

.talk-dialog h2 {
  margin: 0;
  padding-right: 10px;
  font-size: clamp(27px, 4vw, 35px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.talk-intro {
  margin: 12px 0 28px;
  color: var(--muted, #686a64);
  font-size: 13px;
  line-height: 1.6;
}

.talk-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.talk-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.talk-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.talk-field label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.talk-field input:not([type="hidden"]),
.talk-field textarea,
.talk-select-trigger {
  --talk-field-background: #faf9f7;
  --talk-field-ring: 0 0 0 0 transparent;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #e5e3df;
  border-radius: 8px;
  background: var(--talk-field-background);
  color: var(--ink, #20211f);
  -webkit-text-fill-color: currentColor;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: var(--talk-field-ring);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.talk-field input:not([type="hidden"]) {
  height: 46px;
  padding-block: 10px;
}

.talk-field textarea {
  resize: vertical;
  min-height: 114px;
}

.talk-field input::placeholder,
.talk-field textarea::placeholder {
  color: #90918c;
  -webkit-text-fill-color: #90918c;
  opacity: 1;
}

.talk-field input:not([type="hidden"]):focus,
.talk-field textarea:focus,
.talk-select-trigger:focus-visible {
  --talk-field-background: #fff;
  --talk-field-ring: 0 0 0 3px #f79f4e25;
  outline: none;
  border-color: #d18443;
}

.talk-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink, #20211f);
  caret-color: var(--ink, #20211f);
  -webkit-box-shadow: inset 0 0 0 1000px var(--talk-field-background), var(--talk-field-ring);
  box-shadow: inset 0 0 0 1000px var(--talk-field-background), var(--talk-field-ring);
}

@supports selector(:autofill) {
  .talk-field input:autofill {
    color: var(--ink, #20211f);
    box-shadow: inset 0 0 0 1000px var(--talk-field-background), var(--talk-field-ring);
  }
}

.talk-select {
  position: relative;
  min-width: 0;
}

.talk-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding-block: 10px;
  text-align: left;
  font-weight: 400;
  cursor: pointer;
}

.talk-select-trigger[aria-expanded="true"] {
  --talk-field-background: #fff;
  border-color: var(--line, #d9d9d9);
}

.talk-select-trigger [data-inquiry-label] {
  min-width: 0;
  overflow-wrap: anywhere;
}

.talk-select-chevron {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--muted, #686a64);
  transition: transform .2s ease;
}

.talk-select-trigger[aria-expanded="true"] .talk-select-chevron {
  transform: rotate(180deg);
}

.talk-select-options {
  position: absolute;
  z-index: 4;
  inset: calc(100% + 6px) 0 auto;
  box-sizing: border-box;
  max-height: min(240px, 40dvh);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 1px solid #efeeeb;
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #20211f);
  box-shadow: 0 10px 40px #20211f14;
}

.talk-select-options [role="option"] {
  position: relative;
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 38px 11px 12px;
  border-radius: 7px;
  outline: none;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.talk-select-options:not([data-input="keyboard"]) [role="option"]:hover,
.talk-select-options:not([data-input="keyboard"]):not(:has([role="option"]:hover)) [aria-selected="true"],
.talk-select-options[data-input="keyboard"] [role="option"]:focus {
  background: #fff0e1;
}

.talk-select-options[data-input="keyboard"] [role="option"]:focus {
  outline: 2px solid var(--muted, #686a64);
  outline-offset: -2px;
}

.talk-select-options [aria-selected="true"]::after {
  content: '';
  position: absolute;
  top: calc(50% - 6px);
  right: 16px;
  width: 6px;
  height: 10px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  color: var(--muted, #686a64);
  transform: rotate(45deg);
}

.talk-field [aria-invalid="true"] {
  border-color: #bc493d;
}

.talk-field [aria-invalid="true"]:focus {
  --talk-field-ring: 0 0 0 3px #bc493d18;
}

.talk-error {
  color: #a13b32;
  font-size: 11px;
  line-height: 1.4;
}

.talk-explanation {
  margin: -2px 0 0;
  color: var(--muted, #686a64);
  font-size: 11px;
  line-height: 1.6;
  max-width: 400px;
}

.talk-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.talk-submit {
  min-height: 48px;
  font-size: 13px;
  gap: 25px;
}

.talk-submit:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
  box-shadow: none;
}

.talk-spinner {
  display: inline-block;
  box-sizing: border-box;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff60;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: talk-spin .75s linear infinite;
}

.talk-status {
  padding: 12px 14px;
  margin: 0;
  border: 1px solid #ebdfd0;
  border-radius: 8px;
  background: #fff8ef;
  color: #625342;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.talk-status[data-state="success"] {
  border-color: #cbdcc8;
  background: #f1f7ef;
  color: #365a30;
}

.talk-status[data-state="error"] {
  border-color: #ebc9c4;
  background: #fff3f1;
  color: #933c32;
}

.talk-form [hidden] {
  display: none;
}

.contact-section button:focus-visible,
.contact-section a:focus-visible,
.talk-dialog button:not(.talk-select-trigger):focus-visible {
  outline: 2px solid var(--accent-strong, #f67328);
  outline-offset: 5px;
}

@keyframes talk-appear {
  from { opacity: 0; transform: translateY(16px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes talk-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes talk-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .contact-grid { gap: 32px; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-details { border-top: 1px solid var(--line); padding-top: 24px; }
}

@media (max-width: 700px) {
  .contact-intro > p { font-size: 17px; line-height: 26px; margin: 16px 0 24px; }
}

@media (max-width: 640px) {
  .talk-dialog { border-radius: 17px; max-height: calc(100dvh - 24px); width: calc(100vw - 24px); }
  .talk-dialog-inner { padding: 32px 22px 24px; }
  .talk-close { top: 12px; right: 12px; width: 34px; height: 34px; }
  .talk-field-row { grid-template-columns: 1fr; gap: 19px; }
  .talk-field input:not([type="hidden"]), .talk-field textarea, .talk-select-trigger,
  .talk-select-options [role="option"] { font-size: 16px; }
  .talk-dialog h2 { padding-right: 8px; }
  .talk-intro { margin-bottom: 24px; }
  .talk-actions { gap: 14px; }
  .talk-submit { gap: 16px; padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-section *, .talk-dialog *, .talk-dialog, .talk-dialog::backdrop {
    animation: none !important;
    transition: none !important;
  }
}
