* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #111827;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

#contact-form,
#next-steps,
#contact-details {
  scroll-margin-top: 96px;
}

.header-menu-group-title {
  padding: 8px 24px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.header-menu-link {
  display: block;
  padding: 10px 24px;
  color: #374151;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-menu-link:hover,
.header-menu-link[aria-current="page"] {
  background: #fff7ed;
  color: #ea580c;
}

.header-menu-link:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: -2px;
}

.header-menu-link-external {
  position: relative;
  padding-right: 34px;
  font-weight: 600;
}

.header-menu-link-external::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #f97316;
  font-size: 18px;
  font-weight: 700;
}

.header-menu-sections {
  margin-top: 10px;
  padding-top: 8px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.header-menu-group-title-sections {
  padding-top: 4px;
  color: #6b7280;
}

.header-menu-link-anchor {
  position: relative;
  padding-left: 34px;
  color: #4b5563;
  font-size: 14px;
}

.header-menu-link-anchor::before {
  content: "•";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
}

.lang-switch {
  position: relative;
  display: none;
  width: 84px;
  height: 40px;
  padding: 3px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.05);
}

.lang-switch::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 37px;
  height: 32px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
  transition: transform 0.22s ease;
}

.lang-switch[data-active="en"]::before {
  transform: translateX(39px);
}

.lang-option {
  position: relative;
  z-index: 1;
  flex: 1;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-option.is-active {
  color: #111827;
}

.lang-option:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 1px;
  border-radius: 8px;
}

.menu-lang-switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 24px 10px;
  margin-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 700;
}

.menu-lang-switch a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu-lang-switch a.is-active {
  color: #111827;
}

.menu-lang-switch a:hover {
  color: #ea580c;
}

.menu-lang-switch span {
  color: #d1d5db;
}

.contact-shell {
  width: min(100% - 32px, 1152px);
  margin-inline: auto;
}

.hero-landing {
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.contact-hero {
  padding: 48px 0 64px;
}

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

.contact-hero__copy {
  padding-top: 18px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin: 16px 0 0;
  color: #111827;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.07;
  font-weight: 800;
}

.hero-sub {
  max-width: 700px;
  margin: 14px 0 0;
  color: #4b5563;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
}

.contact-person {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.contact-person__profile {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid #e5e7eb;
  background: #f8fafc;
}

.contact-person__photo {
  width: 104px;
  height: 104px;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center;
}

.contact-person__eyebrow,
.contact-person h2,
.contact-person__role {
  margin: 0;
}

.contact-person__eyebrow {
  margin-top: 18px;
  color: #9333ea;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.contact-person__identity h2 {
  margin-top: 4px;
  color: #111827;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.contact-person__role {
  margin-top: 4px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.contact-person__company {
  min-width: 0;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.contact-person__company h3,
.contact-person__company dl,
.contact-person__company dt,
.contact-person__company dd {
  margin: 0;
}

.contact-person__company h3 {
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.contact-person__company .contact-person__company-data {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-person__company-data > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.contact-person__company-data dt {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.contact-person__company-data dd {
  max-width: 100%;
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.contact-person__direct {
  min-width: 0;
  padding: 28px;
}

.contact-person__direct h3,
.contact-person__direct > p {
  margin: 0;
}

.contact-person__direct h3 {
  color: #111827;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.contact-person__direct > p {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.contact-person__contacts {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-person__contacts li {
  min-width: 0;
}

.contact-direct-link,
.contact-direct-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  line-height: 1.4;
}

.contact-direct-link {
  height: 100%;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contact-direct-link:hover {
  border-color: #f97316;
  background: #fff7ed;
  color: #ea580c;
}

.contact-direct-link:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

.contact-direct-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f97316;
  color: #fff;
}

.contact-direct-link__icon svg {
  width: 20px;
  height: 20px;
}

.contact-direct-link__meta,
.contact-direct-link__value {
  display: block;
}

.contact-direct-link__meta {
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-direct-link__value {
  margin-top: 3px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-direct-link:hover .contact-direct-link__value {
  color: #ea580c;
}

.contact-note {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid #f97316;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.contact-note strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
}

.contact-note p {
  margin: 0;
}

.contact-form-card {
  align-self: start;
}

.contact-form-card__intro h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

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

.contact-form__optional {
  font-size: 12px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  color: #111827;
  font-size: 16px;
  line-height: 1.5;
}

.contact-form select {
  min-height: 50px;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23374151' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}

@media (forced-colors: active) {
  .contact-form select {
    -webkit-appearance: auto;
    appearance: auto;
    padding-right: 16px;
    background-image: none;
  }
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.contact-form__privacy {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-form__privacy input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #f97316;
}

.contact-form__privacy a {
  color: #f97316;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__privacy a:hover {
  color: #ea580c;
}

.contact-submit {
  font-size: 18px;
  font-weight: 600;
}

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

[data-lead-form-status] {
  margin: 0;
  padding: 11px 13px;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  font-size: 14px;
  font-weight: 700;
}

[data-lead-form-status].text-red-700 {
  background: #fff1f2;
  color: #be123c;
}

.contact-steps {
  padding: 88px 0;
  background: #fff;
}

.section-head {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.15;
  font-weight: 800;
}

.section-head p {
  margin: 14px 0 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.65;
}

.contact-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.process-step {
  padding: 18px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.contact-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 13px;
  font-weight: 700;
}

.process-step h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.26);
}

.contact-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-modal__head h3 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.contact-modal__head p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.45;
}

.contact-modal__close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover {
  background: #e5e7eb;
}

.contact-modal__form {
  display: grid;
  gap: 14px;
}

.contact-modal__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-modal__field label {
  display: block;
  margin-bottom: 7px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.contact-modal__field input,
.contact-modal__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-modal__field input:focus,
.contact-modal__field textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.contact-modal__field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-modal__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

.contact-modal__privacy input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-modal__privacy a {
  color: #ea580c;
}

.contact-modal__privacy a:hover {
  color: #c2410c;
}

.contact-modal__status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.contact-modal__status.is-visible {
  display: block;
}

.contact-modal__status.is-success {
  border-color: #86efac;
  background: #ecfdf3;
  color: #166534;
}

.contact-modal__status.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.contact-modal__submit {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #f97316;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-modal__submit:hover {
  background: #ea580c;
}

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

.contact-modal__close:focus-visible,
.contact-modal__submit:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.45);
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .contact-modal {
    padding: 12px;
  }

  .contact-modal__panel {
    max-height: calc(100dvh - 24px);
    padding: 16px;
    border-radius: 14px;
  }

  .contact-modal__head h3 {
    font-size: 24px;
  }

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

@media (min-width: 640px) {
  .lang-switch {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 1120px) {
  .contact-hero__grid {
    grid-template-columns: 1fr;
  }

  .contact-hero__copy {
    padding-top: 0;
  }

  .contact-form-card {
    width: 100%;
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .contact-steps__grid {
    grid-template-columns: 1fr;
  }

  .contact-steps {
    padding: 74px 0;
  }
}

@media (max-width: 680px) {
  .hero-title {
    font-size: clamp(32px, 9vw, 44px);
  }

  .contact-hero {
    padding: 36px 0 52px;
  }

  .contact-hero__grid {
    gap: 40px;
  }

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

  .contact-person__profile {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .contact-person__photo {
    width: 88px;
    height: 88px;
  }

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

  .contact-person__company {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
    padding-top: 18px;
  }

  .contact-person__company h3 {
    grid-column: 1 / -1;
  }

  .contact-person__company .contact-person__company-data {
    display: contents;
  }

  .contact-person__direct {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .contact-shell {
    width: min(100% - 24px, 1152px);
  }

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

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

  .contact-person__direct h3 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .contact-direct-link,
  .contact-direct-item,
  .contact-person,
  .process-step {
    border: 1px solid CanvasText;
  }
}
