.contact-page {
  background: #ffffff;
}

.contact-container {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.contact-hero {
  position: relative;
  display: flex;
  min-height: 472px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-navy);
  padding-top: 118px;
}

.contact-hero__map,
.contact-hero__overlay {
  position: absolute;
  inset: 0;
}

.contact-hero__map {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.38;
}

.contact-hero__map img {
  width: min(72vw, 1080px);
  max-width: none;
  height: auto;
  object-fit: contain;
}

.contact-hero__overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.9) 43%, rgba(15, 23, 42, 0.58) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.45));
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 68px;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.contact-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.contact-breadcrumb a:hover {
  color: #ffffff;
}

.contact-breadcrumb .material-symbols-outlined {
  font-size: 16px;
}

.contact-hero .contact-eyebrow {
  color: #ff8a52;
}

.contact-hero h1 {
  max-width: 820px;
  margin-top: 18px;
  color: #ffffff;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-hero p {
  max-width: 700px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.contact-inquiry {
  padding: 104px 0;
  background: #ffffff;
}

.contact-inquiry__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1.06fr);
  gap: 76px;
  align-items: start;
}

.contact-inquiry__intro {
  max-width: 580px;
}

.contact-inquiry__intro h2,
.contact-services__header h2,
.contact-location__content h2 {
  color: var(--color-navy);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.contact-inquiry__intro h2 {
  margin-top: 18px;
}

.contact-inquiry__intro > p {
  margin-top: 20px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.72;
}

.contact-direct {
  margin-top: 34px;
  border-top: 1px solid var(--color-border);
}

.contact-direct__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-direct__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(228, 90, 32, 0.1);
  color: var(--color-primary);
}

.contact-direct__icon .material-symbols-outlined {
  font-size: 22px;
}

.contact-direct__item h3 {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-direct__item p,
.contact-direct__item a {
  display: block;
  margin-top: 7px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.contact-direct__item a:hover {
  color: var(--color-primary);
}

.contact-inquiry__note {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.contact-inquiry__note .material-symbols-outlined {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--color-primary);
  font-size: 20px;
}

.contact-form {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 38px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
}

.contact-form__header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.contact-form__header p {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-form__header h2 {
  margin-top: 10px;
  color: var(--color-navy);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

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

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-field label span {
  color: var(--color-primary);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  padding: 13px 14px;
  color: var(--color-navy);
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-field input,
.contact-field select {
  min-height: 48px;
}

.contact-field textarea {
  min-height: 138px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #94a3b8;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(228, 90, 32, 0.12);
}

.contact-field.is-invalid input,
.contact-field.is-invalid select,
.contact-field.is-invalid textarea {
  border-color: #c82f1e;
  box-shadow: 0 0 0 3px rgba(200, 47, 30, 0.1);
}

.contact-field__error {
  display: none;
  margin-top: 6px;
  color: #c82f1e;
  font-size: 12px;
  line-height: 1.4;
}

.contact-field.is-invalid .contact-field__error {
  display: block;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.contact-form__status {
  flex: 1;
  min-width: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.contact-form__status[data-state="error"] {
  color: #c82f1e;
}

.contact-form__status[data-state="success"] {
  color: #15803d;
}

.contact-form__submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  padding: 0 22px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form__submit:hover {
  background: var(--color-primary-dark);
}

.contact-form__submit .material-symbols-outlined {
  font-size: 18px;
}

.contact-services {
  padding: 96px 0;
  background: #f8fafc;
}

.contact-services__header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-services__header .contact-eyebrow {
  justify-content: center;
}

.contact-services__header h2 {
  margin-top: 18px;
}

.contact-services__header p {
  margin-top: 18px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.72;
}

.contact-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.contact-service {
  padding: 30px 30px 34px 0;
}

.contact-service + .contact-service {
  border-left: 1px solid var(--color-border);
  padding-right: 0;
  padding-left: 30px;
}

.contact-service .material-symbols-outlined {
  color: var(--color-primary);
  font-size: 27px;
}

.contact-service h3 {
  margin-top: 18px;
  color: var(--color-navy);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}

.contact-service p {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.68;
}

.contact-location {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
}

.contact-location__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: 70px;
  align-items: stretch;
  padding-top: 86px;
  padding-bottom: 86px;
}

.contact-location__visual {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.contact-location__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-location__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.contact-location__content::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -122px;
  width: 320px;
  height: 320px;
  background: url("../images/maps.webp") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.contact-location__content > * {
  position: relative;
  z-index: 1;
}

.contact-location__content .contact-eyebrow {
  color: #ff8a52;
}

.contact-location__content h2 {
  max-width: 560px;
  margin-top: 18px;
  color: #ffffff;
}

.contact-location__content > p {
  max-width: 590px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.72;
}

.contact-location__address {
  display: flex;
  gap: 14px;
  max-width: 580px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.contact-location__address .material-symbols-outlined {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--color-primary-light);
  font-size: 21px;
}

@media (max-width: 1024px) {
  .contact-inquiry__layout,
  .contact-location__layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-inquiry__intro {
    max-width: 720px;
  }

  .contact-location__content {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .contact-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-hero {
    min-height: 440px;
    padding-top: 88px;
  }

  .contact-hero__map {
    justify-content: center;
    opacity: 0.22;
  }

  .contact-hero__map img {
    width: 720px;
  }

  .contact-hero__content {
    padding-top: 54px;
    padding-bottom: 52px;
  }

  .contact-hero h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-inquiry,
  .contact-services {
    padding: 72px 0;
  }

  .contact-inquiry__intro h2,
  .contact-services__header h2,
  .contact-location__content h2 {
    font-size: 30px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .contact-form__header {
    padding-bottom: 22px;
  }

  .contact-form__header h2 {
    font-size: 25px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .contact-field--full {
    grid-column: auto;
  }

  .contact-form__footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .contact-form__submit {
    width: 100%;
  }

  .contact-services__grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .contact-service,
  .contact-service + .contact-service {
    padding: 28px 0;
    border-left: 0;
  }

  .contact-service + .contact-service {
    border-top: 1px solid var(--color-border);
  }

  .contact-location__layout {
    gap: 42px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .contact-location__visual {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding-top: 72px;
  }

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

  .contact-direct__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
  }

  .contact-direct__icon {
    width: 40px;
    height: 40px;
  }
}
