/* Small additions for the standalone landing pages (zygomatic-dental-implants, second-chances, lp, lp1). */

/* Hero photo is bright behind the headline: darken it evenly so the white text stays readable */
.page-zygomatic-landing .ds-hero-bg::after { background: rgba(10, 37, 64, 0.72); }
.page-zygomatic-landing .ds-hero--cover { align-items: center; }

/* Form card sits on top of the dark hero photo */
.page-zygomatic-landing .ds-form-card,
.page-second-chances .ds-form-card,
.page-landing .ds-form-card { background: #fff; color: var(--ds-text); }
.page-zygomatic-landing .ds-form-card .ds-h3,
.page-second-chances .ds-form-card .ds-h3,
.page-landing .ds-form-card .ds-h3 { color: var(--ds-navy); }

/* lp / lp1 */
.page-landing .lp-banner { display: block; }
.page-landing .lp-banner img { display: block; width: 100%; height: auto; }
.page-landing .lp-why-icon { display: block; width: 96px; height: 96px; margin: 0 auto 18px; }
.page-landing .ds-cta .ds-eyebrow { color: #bdeeff; }
.page-landing .lp-accent-light { color: #bdeeff; }
.page-landing .lp-offer { margin-top: 22px; background: rgba(255, 255, 255, 0.14); color: #fff; }
.page-landing .lp-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }

/* lp / lp1 — form sections: text column + form card (coloured header, survey, phone footer) */
.page-landing .lp-form-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.page-landing .lp-hero { background: radial-gradient(900px 500px at 85% 10%, rgba(0, 185, 242, 0.16), transparent 60%), linear-gradient(180deg, var(--ds-surface) 0%, #fff 100%); }
.page-landing .lp-hero-text { padding-top: clamp(0px, 2vw, 24px); }
.page-landing .lp-hero-text .ds-lead { margin-top: 18px; max-width: 560px; }
.page-landing .lp-hero-text .ds-list { margin-top: 24px; }
.page-landing .lp-schedule-img { margin-top: 28px; }

.page-landing .lp-form {
  position: relative; overflow: hidden;
  border-radius: calc(var(--ds-radius) + 4px);
  background: #fff; color: var(--ds-text);
  border: 1px solid var(--ds-line);
  box-shadow: var(--ds-shadow-lg);
}
.page-landing .lp-form-head {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  padding: 22px clamp(20px, 2.6vw, 30px);
  background: var(--ds-gradient); color: #fff;
}
.page-landing .lp-form-head::after { content: ''; position: absolute; right: -50px; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); pointer-events: none; }
.page-landing .lp-form--navy .lp-form-head { background: var(--ds-navy); }
.page-landing .lp-form-icon {
  flex: none; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28);
}
.page-landing .lp-form-icon svg { width: 26px; height: 26px; }
.page-landing .lp-form-title { margin: 0; font-family: var(--ds-font-head); font-size: clamp(20px, 1.6vw, 24px); font-weight: 800; line-height: 1.2; color: #fff; }
.page-landing .lp-form-sub { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }
.page-landing .lp-form-body { padding: 10px clamp(8px, 1.4vw, 16px) 4px; }
.page-landing .lp-form-body iframe { display: block; width: 100%; min-height: 520px; border: 0; }
.page-landing .lp-form-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
  padding: 16px 20px; border-top: 1px solid var(--ds-line);
  background: var(--ds-surface); color: var(--ds-muted); font-size: 14px; text-decoration: none;
  transition: background .2s var(--ds-ease);
}
.page-landing .lp-form-foot:hover { background: #eaf6fd; }
.page-landing .lp-form-foot strong { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ds-font-head); font-size: 16px; color: var(--ds-navy); }
.page-landing .lp-form-foot svg { width: 18px; height: 18px; color: var(--ds-brand); }

@media (max-width: 960px) {
  .page-landing .lp-form-split { grid-template-columns: minmax(0, 1fr); }
  .page-landing .lp-form-split > * { width: 100%; max-width: 620px; margin-inline: auto; }
  .page-landing .ds-sticky { position: static; }
}

/* ---------- Dental Implant Pricing (/dental-implant-pricing/) — compact 4-step form ----------
   Heading as on the live page; the 19-field form is split into 4 short steps (includes/ghl/forms.php 'steps',
   navigation in js/main.js). Without JavaScript all steps show one under the other. */
.price-page { padding-bottom: clamp(48px, 6vw, 80px); background: linear-gradient(180deg, #fff 0%, var(--ds-surface) 100%); }
.price-head { max-width: 900px; margin: 0 auto clamp(24px, 3vw, 36px); text-align: center; }
.price-title {
  margin: 0; font-family: var(--ds-font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .8px;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.1; color: #232323;
}
.price-sub {
  margin: 12px auto 0; max-width: 760px; font-family: var(--ds-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  font-size: clamp(14px, 1.3vw, 18px); line-height: 1.35; color: #00b9f2;
}
.price-panel {
  max-width: 760px; margin: 0 auto;
  padding: clamp(20px, 3.2vw, 40px);
  border-radius: calc(var(--ds-radius) + 4px); background: #fff;
  border: 1px solid var(--ds-line); border-top: 5px solid #00b9f2;
  box-shadow: var(--ds-shadow-lg);
}

/* Progress: "Step 2 of 4", bar, numbered dots with step names */
.sf-progress { margin-bottom: 22px; }
.sf-progress-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.sf-progress-count { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #00a3d6; }
.sf-progress-track { height: 6px; border-radius: 99px; background: #e6f6fd; overflow: hidden; }
.sf-progress-fill { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, #00b9f2, #0a7fd1); transition: width .35s var(--ds-ease); }
.sf-progress-dots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.sf-progress-dots li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; color: var(--ds-muted); }
.sf-progress-dots span {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--ds-line); background: #fff; font-size: 12px; font-weight: 700; color: var(--ds-muted);
}
.sf-progress-dots em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-progress-dots li.is-done span { border-color: #00b9f2; background: #00b9f2; color: #fff; }
.sf-progress-dots li.is-current span { border-color: #00b9f2; color: #00a3d6; }
.sf-progress-dots li.is-current { color: var(--ds-navy); font-weight: 600; }

/* Steps */
.sf-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.sf-stepped.is-wizard .sf-step:not(.is-active) { display: none; }
.sf-stepped.is-wizard .sf-step.is-active { animation: sf-in .3s var(--ds-ease); }
@keyframes sf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sf-stepped:not(.is-wizard) .sf-step + .sf-step { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ds-line); }
.sf-step-title { display: block; width: 100%; padding: 0; margin: 0 0 4px; font-family: var(--ds-font-head); font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; color: var(--ds-navy); }
.sf-step-kicker { display: block; margin-bottom: 2px; font-family: var(--ds-font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #00a3d6; }
.sf-stepped.is-wizard .sf-step-kicker { display: none; }   /* the progress bar already says it */
.sf-step-intro { margin: 0 0 4px; color: var(--ds-muted); font-size: 15px; }
.sf-stepped .ds-site-form-grid { gap: 16px 14px; margin: 16px 0 22px; }

/* Question rows: number badge + question, input under it */
.sf-stepped .ds-field label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ds-ink); }
.sf-num {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%;
  background: #e6f6fd; font-size: 13px; font-weight: 700; color: #0a7fd1;
}
.sf-stepped .ds-field:has(.sf-num) input { margin-left: 36px; width: calc(100% - 36px); }
.sf-stepped .ds-field:has(.sf-num) .ds-field-error { margin-left: 36px; }
.sf-stepped .ds-field input { height: 48px; padding: 11px 16px; border-radius: 12px; }

/* Back / Next / Get My Pricing */
.sf-step-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.sf-step-actions [data-step-prev] { margin-right: auto; }
.sf-stepped:not(.is-wizard) [data-step-prev], .sf-stepped:not(.is-wizard) [data-step-next] { display: none; }
.sf-step-actions .ds-btn { min-width: 140px; justify-content: center; }
.sf-stepped > .ds-error { margin: 0 0 14px; }

@media (max-width: 600px) {
  .price-panel { border-radius: var(--ds-radius); }
  .sf-progress-dots em { display: none; }             /* phones: numbered dots only */
  .sf-progress-dots { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .sf-stepped .ds-field:has(.sf-num) input { margin-left: 0; width: 100%; }
  .sf-stepped .ds-field:has(.sf-num) .ds-field-error { margin-left: 0; }
  .sf-step-actions .ds-btn { flex: 1; min-width: 0; }
  .sf-step-actions [data-step-prev] { flex: 0 0 auto; margin-right: 0; }
}
