.contact-page {
  min-height: 100vh;
  background: #fffafa;
}

html {
  scroll-behavior: smooth;
}

.contact-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.contact-home svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.contact-hero {
  position: relative;
  min-height: calc(100vh - 200px);
  padding: 150px 0 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 173, 179, 0.18), transparent 25%),
    linear-gradient(145deg, #fff 0%, #fffafa 52%, #fffafa 100%);
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-shape--one {
  width: 380px;
  height: 380px;
  inset: -110px auto auto -130px;
  border: 70px solid rgba(175, 0, 17, 0.035);
}

.contact-shape--two {
  width: 260px;
  height: 260px;
  inset: auto -90px -80px auto;
  background: rgba(239, 173, 179, 0.12);
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  /* align-items: center; */
  gap: clamp(50px, 7vw, 95px);
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.contact-kicker svg {
  width: 15px;
  height: 15px;
  fill: #e7bb00;
}

.contact-intro h1 {
  margin: 22px 0 14px;
  font-size: clamp(42px, 4.3vw, 68px);
  line-height: 1.22;
  letter-spacing: -1.6px;
}

.contact-intro h1 em {
  color: var(--red);
  font-style: normal;
}

.contact-intro > p {
  max-width: 530px;
  color: var(--body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.contact-topics {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.topic-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border-color: rgba(175, 0, 17, 0.18);
  box-shadow: 0 22px 300px rgba(30, 2, 2, 0.06);
}

.topic-card--link {
  color: inherit;
}

.topic-card:hover,
.topic-card:focus-visible {
  transform: translateX(-4px);
  border-color: rgba(175, 0, 17, 0.18);
  box-shadow: 0 12px 30px rgba(30, 2, 2, 0.06);
}

.topic-card:focus-visible {
  outline: 3px solid rgba(175, 0, 17, 0.14);
  outline-offset: 3px;
}

.topic-card__icon,
.contact-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--pink);
  color: var(--red);
}

.topic-card__icon svg,
.contact-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-card h2 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
}

.topic-card p {
  color: var(--body);
  font-size: 12px;
}

.topic-card--link p {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.15px;
}

.contact-card {
  padding: clamp(24px, 3vw, 42px);
}

.contact-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
}

.contact-card__head h2 {
  margin: 0 0 4px;
  font-size: 23px;
  font-weight: 800;
}

.contact-card__head p {
  color: var(--body);
  font-size: 13px;
}

.contact-form,
.field {
  display: grid;
}

.contact-form {
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  gap: 7px;
}

.field label,
.label-line {
  color: var(--label);
  font-size: 13px;
  font-weight: 700;
}

.field label span,
.label-line span {
  color: #8d8585;
  font-size: 11px;
  font-weight: 500;
}

.label-line {
  display: flex;
  justify-content: space-between;
}

.input-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 15px;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  fill: none;
  stroke: #9b8f90;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #eadfe0;
  border-radius: 13px;
  outline: none;
  background: #fffdfd;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 51px;
  padding: 0 45px 0 14px;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
}

.input-wrap--select::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 17px;
  width: 7px;
  height: 7px;
  border-left: 1.5px solid #8d8585;
  border-bottom: 1.5px solid #8d8585;
  transform: rotate(-45deg);
  pointer-events: none;
}

.contact-form textarea {
  min-height: 126px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.7;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa1a2;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(175, 0, 17, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(175, 0, 17, 0.07);
}

.field-error {
  display: none;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
}

.field.is-invalid .field-error {
  display: block;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--red);
}

.contact-submit {
  width: 100%;
  height: 56px;
  margin-top: 2px;
  font-family: inherit;
  font-size: 16px;
}

.contact-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-note {
  color: #8d8585;
  font-size: 10px;
  text-align: center;
}

.form-note a {
  color: var(--red);
  font-weight: 700;
}

.form-status {
  display: none;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f4f8f3;
  color: #2d6b2a;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.contact-footer {
  padding: 28px 20px;
  background: var(--pink);
}

.contact-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.contact-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}

.contact-footer__brand img {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(30, 2, 2, 0.1);
}

.contact-footer__brand span {
  display: grid;
}

.contact-footer__brand b {
  color: var(--red);
  font-size: 16px;
}

.contact-footer__brand small,
.contact-footer__inner > p {
  color: var(--body);
  font-size: 10px;
}

.contact-footer nav {
  display: flex;
  gap: 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.contact-footer nav a:hover {
  text-decoration: underline;
}

.contact-footer__inner > p {
  justify-self: end;
}

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

  .contact-container {
    grid-template-columns: 1fr;
    gap: 38px;
    width: min(680px, calc(100% - 32px));
  }

  .contact-intro {
    text-align: center;
  }

  .contact-intro > p {
    margin-inline: auto;
  }

  .contact-topics {
    grid-template-columns: repeat(3, 1fr);
  }

  .topic-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-footer__brand,
  .contact-footer__inner > p {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .contact-page .nav__bar {
    width: 100%;
  }

  .contact-home {
    display: none;
  }

  .contact-hero {
    padding: 108px 0 10px;
  }

  .contact-intro h1 {
    margin-top: 17px;
    font-size: 38px;
    letter-spacing: -0.8px;
  }

  .contact-intro > p {
    font-size: 15px;
  }

  .contact-topics {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .topic-card {
    flex-direction: row;
    text-align: right;
  }

  .contact-card {
    padding: 22px 17px;
    border-radius: 22px;
  }

  .contact-card__head h2 {
    font-size: 19px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-footer nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card,
  .contact-submit,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    transition: none;
  }
}

/* .contact-hero-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

} */