.contact-page {
  background: #ffffff;
  color: var(--dayzy-navy);
}

.contact-hero {
  position: relative;
  min-height: 600px;
  padding: 150px 6% 88px;
  background:
    linear-gradient(90deg, rgba(7, 23, 53, 0.9) 0%, rgba(7, 23, 53, 0.68) 45%, rgba(7, 23, 53, 0.18) 100%),
    url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.contact-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -58px;
  width: 116%;
  height: 118px;
  background: #ffffff;
  border-radius: 50% 50% 0 0;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
  gap: 44px;
}

.contact-hero-copy {
  max-width: 720px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--dayzy-pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.contact-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(255, 122, 151, 0.15);
}

.contact-hero h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: 68px;
  line-height: 1;
  letter-spacing: 0;
}

.contact-hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.45;
}

.contact-hero-panel {
  min-height: 380px;
  position: relative;
}

.contact-info-card {
  position: absolute;
  right: 26px;
  top: 28px;
  width: min(460px, 88%);
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.94)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1000&q=85");
  background-size: cover;
  background-position: center;
  color: var(--dayzy-navy);
  box-shadow: 0 24px 54px rgba(7, 23, 53, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-info-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--dayzy-purple);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.contact-info-card strong {
  display: block;
  max-width: 360px;
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.1;
}

.contact-info-card p {
  max-width: 340px;
  margin: 0;
  color: #596579;
  font-size: 15px;
  line-height: 1.55;
}

.contact-form-section {
  position: relative;
  z-index: 3;
  padding: 44px 6% 62px;
  background:
    linear-gradient(90deg, #fff3f7, #ffffff 48%, #f8f3ff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 480px;
  margin: 0 0 16px;
  color: var(--dayzy-navy);
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-copy p {
  max-width: 520px;
  margin: 0 0 24px;
  color: #596579;
  font-size: 17px;
  line-height: 1.7;
}

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

.contact-detail-list div {
  padding: 18px;
  border: 1px solid var(--dayzy-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.contact-detail-list strong,
.contact-detail-list span {
  display: block;
}

.contact-detail-list strong {
  margin-bottom: 6px;
  color: var(--dayzy-navy);
  font-size: 17px;
}

.contact-detail-list span {
  color: #596579;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--dayzy-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(20, 24, 44, 0.08);
}

.contact-field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-field-group label {
  color: var(--dayzy-navy);
  font-size: 14px;
  font-weight: 900;
}

.contact-field-group input,
.contact-field-group textarea {
  width: 100%;
  border: 1px solid #dfe3ec;
  border-radius: 16px;
  background: #ffffff;
  color: var(--dayzy-navy);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  outline: none;
  transition: 0.2s ease;
}

.contact-field-group input {
  min-height: 52px;
  padding: 0 16px;
}

.contact-field-group textarea {
  min-height: 168px;
  padding: 15px 16px;
  resize: vertical;
}

.contact-field-group input:focus,
.contact-field-group textarea:focus {
  border-color: rgba(112, 71, 232, 0.58);
  box-shadow: 0 0 0 4px rgba(112, 71, 232, 0.11);
}

.contact-alert {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-alert--success {
  border: 1px solid #bde7cd;
  background: #eefaf2;
  color: #17663a;
  font-weight: 800;
}

.contact-alert--error {
  border: 1px solid #ffd1d8;
  background: #fff3f5;
  color: #8f2436;
}

.contact-alert strong {
  display: block;
  margin-bottom: 8px;
}

.contact-alert ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
}

.contact-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 1080px) {
  .contact-hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-panel {
    min-height: 330px;
  }
}

@media (max-width: 820px) {
  .contact-hero {
    min-height: auto;
    padding: 52px 6% 66px;
  }

  .contact-hero::after {
    bottom: -42px;
    height: 82px;
  }

  .contact-hero h1 {
    font-size: 42px;
    line-height: 1.06;
  }

  .contact-hero p {
    font-size: 17px;
    line-height: 1.5;
  }

  .contact-hero-panel {
    display: none;
  }

  .contact-form-section {
    padding: 34px 6% 42px;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-copy h2 {
    font-size: 30px;
    line-height: 1.14;
  }

  .contact-copy p {
    font-size: 15px;
    line-height: 1.6;
  }

  .contact-form {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .contact-field-group input {
    min-height: 50px;
  }

  .contact-field-group textarea {
    min-height: 150px;
  }
}
