body.contact-page {
  background: #fbfbfb;
  color: #171315;
}

.contact-page .hero__signup {
  margin-left: auto;
}

.contact-hero {
  padding: 18px;
}

.contact-hero__shell {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #e9dcff;
  border-radius: 20px;
  background: #fff8f1;
  overflow: hidden;
}

.contact-hero__shell::after {
  content: "contact";
  position: absolute;
  left: 0;
  bottom: 0;
  color: rgba(98, 75, 42, 0.08);
  font-size: clamp(22vw, 33vw, 35vw);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  padding: 88px 16px 64px;
}

.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: #ff880b;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.contact-hero__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffb34d;
}

.contact-hero__content h1 {
  margin: 0;
  color: #000;
  font-size: clamp(62px, 8vw, 92px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.contact-hero__lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #171315;
  font-size: 20px;
  line-height: 1.45;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 226px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}

.contact-hero__button--primary {
  background: linear-gradient(90deg, #ff9705 0%, #ff8a00 100%);
  color: #fff;
}

.contact-hero__button--secondary {
  border: 1.5px solid #ff9a1f;
  color: #ff8a00;
  background: rgba(255, 255, 255, 0.72);
}

.contact-support-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0 18px;
  margin: 0 0 18px;
}

.contact-support-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 106px;
    padding: 14px 20px;
    border-radius: 24px;
    background: #FAF0E4;
}

.contact-support-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #ffd8b0;
}

.contact-support-card__copy h2 {
  margin: 0 0 4px;
  color: #171315;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.contact-support-card__copy p {
  margin: 0;
  max-width: 290px;
  color: #171315;
  font-size: 16px;
  line-height: 1.25;
}

.contact-message {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
  gap: 24px;
  padding: 0 18px;
  margin: 0 0 18px;
}

.contact-message__form-panel,
.contact-message__details-panel {
  border-radius: 35px;
  background: #FAF0E4;
}

.contact-message__form-panel {
  padding: 24px 24px 20px;
}

.contact-message__details-panel {
  padding: 18px 18px 20px;
}

.contact-message__intro h2,
.contact-message__details-intro h2 {
  margin: 0;
  color: #2d2343;
  font-size: clamp(42px, 4.4vw, 63px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.contact-message__intro h2 {
  color: #1e112e;
  font-size: 54px;
}

.contact-message__details-intro h2 {
  color: #000;
  font-size: 24px;
}

.contact-message__intro p,
.contact-message__details-intro p {
  margin: 10px 0 0;
  color: #171315;
  font-size: 18px;
  line-height: 1.42;
}

.contact-message__intro p {
  color: #000;
  font-size: 20px;
}

.contact-message__details-intro p {
  color: #333;
  font-size: 16px;
}

.contact-message__form {
  margin-top: 26px;
}

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

.contact-message__field {
  display: grid;
  gap: 8px;
}

.contact-message__field > span {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.contact-message__field > span em {
  color: red;
  font-style: normal;
}

.contact-message__input-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #ffe4bb;
}

.contact-message__input-shell svg,
.contact-message__submit svg,
.contact-detail__icon svg,
.contact-message__directions svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #6f6358;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact-message__input-shell input,
.contact-message__field textarea,
.contact-message__topic-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: #000;
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  outline: 0;
}

.contact-message__input-shell input::placeholder,
.contact-message__field textarea::placeholder,
.contact-message__topic-trigger {
  color: #000;
}

.contact-message__field--topic {
  position: relative;
}

.contact-message__topic-trigger {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 48px 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #ffe4bb;
  text-align: left;
  cursor: pointer;
}

.contact-message__topic-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid #2d2343;
  border-bottom: 1.6px solid #2d2343;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.contact-message__field--topic.is-open .contact-message__topic-trigger::after {
  transform: translateY(-30%) rotate(-135deg);
}

.contact-message__topic-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 5;
  padding: 10px;
  border: 1px solid rgba(45, 35, 67, 0.08);
  border-radius: 18px;
  background: #fffdfa;
}

.contact-message__topic-option {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #000;
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.contact-message__topic-option:hover {
  background: rgba(255, 136, 11, 0.08);
}

.contact-message__field--full {
  margin-top: 18px;
}

.contact-message__field textarea {
  min-height: 260px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #ffe4bb;
  resize: vertical;
}

.contact-message__status {
  min-height: 24px;
  margin: 16px 0 0;
  color: #6f6358;
  font-size: 14px;
  line-height: 1.4;
}

.contact-message__status.is-info {
  color: #6f6358;
}

.contact-message__status.is-success {
  color: #2f8753;
}

.contact-message__status.is-error {
  color: #d9534f;
}

.contact-message__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9705 0%, #ff8a00 100%);
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
}

.contact-message__submit svg {
  stroke: #fff;
}

.contact-message__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-message__submit.is-loading::after {
  content: " ...";
}

.contact-message__field.is-invalid .contact-message__input-shell,
.contact-message__field.is-invalid textarea,
.contact-message__field--topic.is-invalid .contact-message__topic-trigger {
  border-color: #e16c68;
}

.contact-message__details-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

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

.contact-detail__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ffd8b0;
}

.contact-detail__icon svg {
  stroke: #ff880b;
}

.contact-detail__copy h3 {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-detail__copy a,
.contact-detail__copy p {
  margin: 2px 0 0;
  color: #2d2d2d;
  font-size: 13px;
  line-height: 1.32;
}

.contact-detail__copy a {
  display: inline-block;
  font-weight: 600;
  color: #000;
  font-size: 18px;
}

.contact-message__map-shell {
  position: relative;
  width: 100%;
  height: 343px;
  margin-top: 24px;
  border-radius: 34px;
  overflow: hidden;
  background: #e8ddd0;
}

.contact-message__map {
  width: 100%;
  height: 100%;
}

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

.contact-message__directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  margin-top: 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 22px;
  font-weight: 600;
}

.contact-message__directions svg {
  stroke: #171315;
}

.contact-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 18px;
  margin: 0 0 18px;
}

.contact-highlights__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 94px;
    padding: 12px 18px;
    border-radius: 24px;
    background: #FAF0E4;
}

.contact-highlights__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 136, 11, 0.18);
}

.contact-highlights__copy h2 {
  margin: 0 0 4px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}

.contact-highlights__copy p {
  margin: 0;
  color: #2d2d2d;
  font-size: 13px;
  line-height: 1.35;
}

.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}

.signup-modal[hidden] {
  display: none;
}

.signup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 12, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.signup-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 32px 30px 28px;
  border-radius: 28px;
  background: radial-gradient(circle at top right, rgba(255, 178, 61, 0.22), transparent 34%), linear-gradient(180deg, #fff9f0 0%, #fff2dd 100%);
  border: 1px solid rgba(255, 170, 67, 0.2);
  text-align: center;
}

.signup-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #5d4938;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.signup-modal__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffb345 0%, #ff880b 100%);
}

.signup-modal__icon svg {
  width: 42px;
  height: 42px;
}

.signup-modal__icon circle {
  fill: rgba(255, 255, 255, 0.18);
}

.signup-modal__icon path {
  fill: #ffffff;
}

.signup-modal__title {
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #2d2343;
}

.signup-modal__message {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  color: #6c5c52;
}

.signup-modal__button {
  min-width: 180px;
  min-height: 54px;
  margin-top: 24px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9705 0%, #ff8a00 100%);
  color: #ffffff;
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .contact-hero__shell::after {
    right: -10px;
    bottom: 10px;
  }

  .contact-hero__content {
    padding-top: 72px;
  }

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

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

  .contact-message__details-panel {
    order: 2;
  }

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

@media (max-width: 768px) {
  .contact-page .hero__nav {
    position: relative;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .contact-page .hero__signup {
    margin-left: 0;
  }

  .contact-hero__shell {
    padding: 18px;
  }

  .contact-hero__shell::after {
    display: none;
  }

  .contact-hero__content {
    padding: 56px 0 40px;
  }

  .contact-hero__eyebrow {
    font-size: 16px;
  }

  .contact-hero__content h1 {
    font-size: 58px;
  }

  .contact-hero__lead {
    font-size: 18px;
  }

  .contact-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-hero__button {
    width: 100%;
    min-width: 0;
  }

  .contact-support-strip {
    gap: 16px;
    margin-bottom: 12px;
  }

  .contact-support-card {
    min-height: 0;
    padding: 16px 18px;
  }

  .contact-message {
    gap: 16px;
    margin-bottom: 12px;
  }

  .contact-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 12px;
  }

  .contact-message__form-panel,
  .contact-message__details-panel {
    padding: 18px;
    border-radius: 28px;
  }

  .contact-message__intro h2,
  .contact-message__details-intro h2 {
    font-size: 44px;
  }

  .contact-message__intro p,
  .contact-message__details-intro p,
  .contact-detail__copy a,
  .contact-detail__copy p,
  .contact-message__field > span {
    font-size: 16px;
  }

  .contact-message__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-message__field--full {
    margin-top: 14px;
  }

  .contact-message__field textarea {
    min-height: 180px;
  }

  .contact-message__map-shell {
    height: 280px;
  }

  .contact-message__directions,
  .contact-message__submit {
    min-height: 56px;
    font-size: 17px;
  }

  .contact-highlights__card {
    min-height: 0;
    padding: 14px 16px;
  }

  .signup-modal__dialog {
    padding: 28px 22px 24px;
  }

  .signup-modal__message {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contact-page .hero__nav {
    padding: 0;
  }
}
