.consultation-gift {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 30px;
  padding: 28px 30px 26px;
  border: 1px solid #174c3f;
  border-radius: 20px;
  background: #173f37;
  color: #f8fbf3;
  box-shadow: 0 18px 44px rgba(14, 55, 43, .12);
  text-align: left;
  transition: transform .35s ease, box-shadow .35s ease;
}

.consultation-gift::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -104px;
  right: -80px;
  width: 265px;
  height: 265px;
  border: 1px solid rgba(218, 240, 181, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(218, 240, 181, .035), 0 0 0 78px rgba(218, 240, 181, .025);
}

.consultation-gift:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(14, 55, 43, .18);
}

.gift-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.consultation-gift .gift-label {
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(225, 243, 201, .32);
  border-radius: 100px;
  background: #d9edb5;
  color: #173f37;
  font-size: 11px;
  font-weight: 800;
}

.gift-asterisk {
  color: #d9edb5;
  font-size: 29px;
  line-height: 1;
}

.consultation-copy .consultation-gift .gift-intro {
  margin-top: 23px;
  color: #e6f0da;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.045em;
}

.gift-intro strong {
  color: #d9edb5;
  font-size: 1.2em;
  font-weight: 850;
}

.gift-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 168px;
  margin-top: 10px;
}

.consultation-gift h3 {
  color: #fff;
  font-size: clamp(26px, 2.7vw, 34px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.06em;
}

.consultation-gift h3 span {
  color: #d9edb5;
  font-size: 1em;
}

.gift-book {
  position: relative;
  flex: 0 0 109px;
  width: 109px;
  height: 154px;
  padding: 18px 11px 12px 17px;
  border-radius: 3px 7px 7px 3px;
  background: linear-gradient(125deg, #fffef2 4%, #e8ecd4 70%, #cad8ba 100%);
  box-shadow: 9px 13px 20px rgba(0, 0, 0, .23), inset -5px 0 6px rgba(30, 75, 52, .1);
  color: #173f37;
  transform: rotate(8deg);
  animation: gift-book-float 5s ease-in-out infinite;
}

.gift-book::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: rgba(25, 76, 59, .13);
}

.gift-book-mark {
  display: block;
  color: #176a53;
  font-size: 24px;
  line-height: 1;
}

.gift-book-title {
  display: block;
  margin-top: 15px;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.08em;
}

.gift-book-caption {
  position: absolute;
  bottom: 13px;
  left: 17px;
  font-family: Arial, sans-serif;
  font-size: 5px;
  font-weight: 700;
  letter-spacing: .13em;
}

.gift-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  padding-top: 17px;
  border-top: 1px solid rgba(228, 241, 217, .22);
}

.gift-offer strong {
  color: #d9edb5;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.05em;
}

.gift-offer span {
  color: #e6efe1;
  font-size: 12px;
}

.gift-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 47px;
  margin-top: 16px;
  padding: 10px 15px 10px 17px;
  border-radius: 7px;
  background: #d9edb5;
  color: #173f37;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.gift-cta:hover { background: #e9f5d2; transform: translateY(-2px); }
.gift-cta span { font-size: 20px; font-weight: 400; line-height: 1; }

@keyframes gift-book-float {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-5px); }
}

@media (max-width: 640px) {
  .consultation-gift { margin-top: 26px; padding: 23px 23px 22px; }
  .consultation-copy .consultation-gift .gift-intro { margin-top: 21px; font-size: 16px; }
  .gift-main { min-height: 150px; }
  .consultation-gift h3 { font-size: clamp(25px, 7vw, 31px); }
  .gift-book { flex-basis: 94px; width: 94px; height: 137px; padding: 16px 8px 10px 16px; }
  .gift-book-title { font-size: 17px; margin-top: 12px; }
  .gift-book-caption { left: 16px; font-size: 4px; }
}

@media (max-width: 360px) {
  .consultation-gift { padding: 20px 18px; }
  .consultation-gift h3 { font-size: 24px; }
  .gift-book { flex-basis: 78px; width: 78px; height: 123px; }
  .gift-book-title { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .consultation-gift, .gift-cta { transition: none; }
  .gift-book { animation: none; }
}

/* The first meeting is a free on-site diagnosis. */
.consultation-copy .visit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid #c7dcba;
  border-radius: 100px;
  background: #eaf3de;
  color: #176a53;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.visit-eyebrow span {
  font-size: 15px;
  line-height: 1;
}

.consultation-copy p.visit-free {
  margin-top: 19px;
  color: #176a53;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.5;
}

.consultation-copy p.visit-description {
  max-width: 495px;
  margin-top: 15px;
  color: #617368;
  font-size: 13px;
  line-height: 1.9;
}

.visit-steps {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 15px 0;
  border-top: 1px solid #d9e4d4;
  border-bottom: 1px solid #d9e4d4;
  color: #456955;
}

.visit-steps span {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.visit-steps i {
  color: #8aaa83;
  font-size: 13px;
  font-style: normal;
}

.visit-form-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
  padding-bottom: 21px;
  border-bottom: 1px solid #e5ecdf;
}

.visit-form-heading > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #e8f2dc;
  color: #176a53;
  font-size: 23px;
  line-height: 1;
}

.visit-form-heading strong {
  display: block;
  color: #173f37;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}

.visit-form-heading p {
  margin-top: 3px;
  color: #6b7c70;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .consultation-copy .visit-eyebrow { margin-bottom: 16px; }
  .consultation-copy p.visit-free { font-size: 22px; margin-top: 18px; }
  .consultation-copy p.visit-description {
    margin: 14px auto 0;
    font-size: 13px;
  }
  .consultation-copy p.visit-description br { display: none; }
  .visit-steps { justify-content: center; gap: 6px; margin-top: 19px; }
  .visit-steps span { font-size: 10px; }
  .visit-steps i { font-size: 10px; }
  .visit-form-heading strong { font-size: 18px; }
}

@media (max-width: 360px) {
  .visit-steps { gap: 4px; }
  .visit-steps span { font-size: 8px; }
}
