/* Closing CTA — full-width image frame (720px), centred two-line headline,
   primary pill + glass pill with the doctor's avatar. */
.cta {
  background: var(--bg);
}

.cta__frame {
  position: relative;
  height: 720px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
}

.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
/* Our photo is brighter than the reference's, so a navy veil keeps the cream headline legible */
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(var(--shadow-tint), .55), rgba(var(--shadow-tint), .25) 70%),
    rgba(var(--shadow-tint), .15);
}

.cta__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta__title {
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: 48px;
  font-weight: 500;
  line-height: 64px;
  letter-spacing: -2.5px;
  color: var(--cream);
}

.cta__actions {
  display: flex;
  gap: 16px;
}
/* home: one line that hands over to the booking form below */
.cta__lead {
  margin: 0;
  max-width: 44ch;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(253, 247, 235, .86);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 32px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .4s cubic-bezier(.23, 1, .32, 1);
}
.btn:active { transform: scale(.95); }

.btn--primary {
  padding: 12px 16px;
  background: var(--gold);
  color: var(--navy);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: inset 0 -1px 0 rgba(var(--shadow-tint), .08), inset 0 1px 0 rgba(var(--shadow-tint), .04);
}
.btn__square {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--navy);
}

.btn--glass {
  padding: 8px 16px 8px 12px;
  background: rgba(var(--shadow-tint), .32);
  color: var(--cream);
  -webkit-backdrop-filter: blur(32px);
          backdrop-filter: blur(32px);
}
.btn__avatar {
  position: relative;
  width: 44px;
  height: 28px;
  flex: none;
}
.btn__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
}
.btn__status {
  position: absolute;
  top: 20px;
  left: 36px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 809.98px) {
  .cta__frame { padding: 0 20px; height: 600px; }
  .cta__title { font-size: 34px; line-height: 44px; letter-spacing: -1.5px; }
  .cta__actions { flex-direction: column; align-items: center; }
}
