.contact-page{
  background:
    radial-gradient(circle at right top, rgba(240,138,44,.10), transparent 26%),
    radial-gradient(circle at left bottom, rgba(47,128,237,.08), transparent 28%),
    #fbf7f2;
}

.contact-shell{
  padding: 60px 0 84px;
}

.contact-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 34px;
  align-items: start;
}

.contact-left,
.contact-right-card{
  min-width: 0;
}

.contact-eyebrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: #fff0e7;
  color: #f07d4f;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.contact-eyebrow--side{
  margin-bottom: 12px;
}

.contact-left h1{
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.15;
  color: #15233d;
  font-weight: 900;
}

.contact-lead{
  margin: 0 0 24px;
  color: #5f6d80;
  line-height: 1.95;
  font-size: 1rem;
}

.contact-form-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)),
    #fff;
  border: 1px solid #ede4d8;
  border-radius: 30px;
  padding: 28px 26px 24px;
  box-shadow: 0 18px 44px rgba(24,39,63,.08);
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-field{
  display: flex;
  flex-direction: column;
}

.contact-field label{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: .96rem;
  line-height: 1.4;
  color: #15233d;
  font-weight: 800;
}

.contact-field label span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffefe5;
  color: #f07d4f;
  font-size: .72rem;
  font-weight: 800;
}

.input,
.select,
.textarea{
  width: 100%;
  border: 1.5px solid #e7ddd1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfa, #fff8f3);
  color: #17253f;
  padding: 15px 16px;
  outline: none;
  font-size: 1rem;
  margin: 0;
  transition: .2s ease;
}

.input:focus,
.select:focus,
.textarea:focus{
  border-color: #f08a2c;
  box-shadow: 0 0 0 4px rgba(240,138,44,.10);
}

.textarea{
  min-height: 160px;
  resize: vertical;
}

.contact-submit{
  margin-top: 8px;
  background: linear-gradient(135deg, #1d2945, #2f426b);
  box-shadow: 0 14px 28px rgba(29,41,69,.18);
}

.contact-submit:hover{
  transform: translateY(-2px);
  opacity: .95;
}

.contact-note{
  margin-top: 12px;
  color: #7a8698;
  line-height: 1.8;
}

.form-alert{
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 18px;
  line-height: 1.8;
  font-weight: 700;
}

.form-alert ul{
  margin: 0;
  padding-left: 1.2em;
}

.form-alert--error{
  background: #fff1f1;
  border: 1px solid #f3c5c5;
  color: #b14c4c;
}

.form-alert--success{
  background: #eefaf1;
  border: 1px solid #bde3c7;
  color: #2d7b46;
}

.contact-right-card{
  background:
    radial-gradient(circle at top right, rgba(240,138,44,.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(47,128,237,.10), transparent 30%),
    #ffffff;
  border-radius: 28px;
  padding: 26px 22px 28px;
  box-shadow:
    0 16px 34px rgba(24,39,63,.08),
    inset 0 0 0 1px rgba(24,39,63,.04);
  position: sticky;
  top: 108px;
  overflow: hidden;
}

.contact-right-card::before{
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -90px;
  right: -80px;
  border-radius: 50%;
  background: rgba(240,138,44,.10);
}

.contact-right-card::after{
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: -70px;
  border-radius: 50%;
  background: rgba(47,128,237,.08);
}

.cr-title{
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 1.7rem;
  line-height: 1.3;
  color: #15233d;
  font-weight: 900;
}

.g-reviews{
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: grid;
  gap: 14px;
  max-height: 560px;
  overflow: hidden;
}

.g-reviews::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}

.g-review{
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(24,39,63,.06);
  border: 1px solid rgba(24,39,63,.06);
}

.g-review__head{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.g-avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f80ed, #5ea8ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.g-name{
  font-weight: 800;
  color: #15233d;
}

.g-subline{
  font-size: 13px;
  color: #6d7787;
}

.g-stars{
  color: #f2b01e;
  margin-right: 8px;
  letter-spacing: 1px;
}

.g-text{
  line-height: 1.7;
  color: #4e5c73;
  font-size: .95rem;
}

@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }

  .contact-right-card{
    position: static;
  }
}

@media (max-width: 767px){
  .contact-shell{
    padding: 44px 0 70px;
  }

  .contact-left h1{
    font-size: 2rem;
  }

  .contact-lead br{
    display: none;
  }

  .contact-form-card,
  .contact-right-card{
    border-radius: 24px;
    padding: 20px 18px 22px;
  }

  .g-reviews{
    max-height: 520px;
  }
}