:root {
  --blue: #005aaa;
  --blue-strong: #003d75;
  --accent: #0073d6;
  --pale: #e6f2fb;
  --ink: #212121;
  --muted: #4a4a4a;
  --line: #e5e7eb;
  --serif: Georgia, Gelasio, serif;
  --body: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
#reserve {
  scroll-margin-top: 80px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--muted);
  font-family: var(--body);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #f5ae33;
  outline-offset: 3px;
}

[hidden] {
  display: none;
}

body > main {
  font-size: 16px;
  line-height: 1.5;
}

.header-actions {
  gap: 16px;
}

.header-shell {
  border-bottom: 2px solid #0073d6;
  background: #ffffff;
}

.header-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 54px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-heading {
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 22px;
  color: #005aaa;
  line-height: 1.2;
}

.brand-byline {
  font-size: 14px;
  color: #212121;
  line-height: 1.35;
}

.header-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-contact-label {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-contact-link {
  font-weight: 700;
  color: #212121;
  text-decoration: none;
  font-size: 22px;
}

.header-action {
  display: inline-block;
  background: #005aaa;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 6px;
  min-height: 44px;
  box-sizing: border-box;
}

.section-primary {
  background: #005aaa;
  color: #ffffff;
}

.hero-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.hero-content {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eyebrow-inverse {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cbe2f4;
}

.hero-title {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.1;
  color: #ffffff;
}

.hero-subtitle {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.35;
  color: #ffffff;
}

.hero-rule {
  width: 96px;
  height: 5px;
  background: #cbe2f4;
}

.hero-description {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #cbe2f4;
}

.hero-disclaimer {
  border-left: 4px solid #cbe2f4;
  padding: 2px 0 2px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
  line-height: 1.45;
  color: #ffffff;
}

.detail-strong {
  font-weight: 700;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

.hero-action-primary {
  display: inline-block;
  background: #ffffff;
  color: #005aaa;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 15px 28px;
  border-radius: 6px;
}

.hero-call-action {
  display: inline-block;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  padding: 15px 4px;
}

.event-card-layout {
  flex: 1 1 340px;
  min-width: 0;
  background: #ffffff;
  color: #212121;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.event-card-image-wrap {
  margin: 0;
  position: relative;
}

.event-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.event-availability {
  background: #fff4d6;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-availability-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a5a00;
}

.event-availability-count {
  font-weight: 700;
  font-size: 16px;
  color: #212121;
}

.event-detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 14px;
}

.event-detail-label {
  font-size: 13px;
  color: #6b7280;
}

.event-date {
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 20px;
  color: #005aaa;
}

.detail-muted {
  font-size: 15px;
  color: #4a4a4a;
}

.event-detail-value {
  font-weight: 700;
  font-size: 18px;
}

.event-detail-note {
  font-size: 15px;
}

.event-cost-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-white {
  background: #ffffff;
}

.stacked-section-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0073d6;
}

.section-heading {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  color: #005aaa;
}

.body-copy {
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.problem-card {
  background: #f9fafb;
  border-top: 4px solid #0073d6;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.problem-card-title {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-size: 19px;
  color: #005aaa;
}

.section-navy {
  background: #003d75;
  color: #ffffff;
}

.quote-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
}

.quote-photo {
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #ffffff;
}

.quote-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-text {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-size: 26px;
  line-height: 1.45;
  color: #ffffff;
}

.quote-author {
  margin: 0;
  font-weight: 700;
  color: #cbe2f4;
}

.section-heading-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

.benefit-card {
  background: #e6f2fb;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-title {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-size: 20px;
  color: #005aaa;
}

.section-pale {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.feature-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
}

.method-card {
  background: #ffffff;
  border-top: 4px solid #0073d6;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gallery-heading {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.gallery-caption {
  font-weight: 700;
  color: #ffffff;
}

.gallery-note {
  margin: 0;
  font-size: 14px;
  color: #cbe2f4;
}

.section-bordered {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
}

.process-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-number {
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 34px;
  color: #0073d6;
  line-height: 1;
}

.pricing-container {
  background: transparent;
  color: #212121;
  border: 2px solid #27496d;
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}

.pricing-copy {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.pricing-headline {
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: #005aaa;
}

.pricing-description {
  margin: 0;
  color: #4a4a4a;
  font-size: 17px;
}

.pricing-grid {
  flex: 999 1 460px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pricing-tier-basic {
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: 1px solid #9bb6d3;
  border-radius: 6px;
  padding: 16px 18px;
}

.pricing-tier-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7aa0c7;
}

.pricing-tier-price {
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: #005aaa;
}

.pricing-tier-featured {
  flex: 1 1 200px;
  min-width: 0;
  background: #e6f2fb;
  color: #212121;
  border: 1px solid #9bb6d3;
  border-radius: 6px;
  padding: 16px 18px;
}

.pricing-featured-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0073d6;
}

.pricing-inclusions {
  flex: 1 1 100%;
  min-width: 0;
  border-top: 1px solid #d7e3ed;
  padding-top: 12px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.5;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.doctor-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}

.doctor-image {
  flex: 0 0 140px;
  width: 140px;
  height: 170px;
  border-radius: 6px;
  object-fit: cover;
}

.doctor-info {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doctor-title {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-size: 22px;
  color: #005aaa;
}

.two-column-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.schedule-intro {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-rows {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.schedule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.schedule-time {
  flex: 0 0 140px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0073d6;
}

.schedule-details {
  flex: 1 1 280px;
  min-width: 0;
}

.schedule-title {
  margin: 0 0 4px;
  font-family: Georgia, Gelasio, serif;
  font-size: 19px;
  color: #212121;
}

.schedule-last-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 0;
}

.section-lead-form {
  background: #e6f2fb;
}

.lead-section-copy {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-callout {
  background: #005aaa;
  margin-top: 15px;
  color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-callout-label {
  font-size: 14px;
  color: #cbe2f4;
}

.phone-callout-number {
  color: #ffffff;
  font-weight: 700;
  font-size: 26px;
  text-decoration: none;
}

.faq-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-heading {
  margin: 0 0 16px;
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  color: #005aaa;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  margin: 0 0 6px;
  font-family: Georgia, Gelasio, serif;
  font-size: 19px;
  color: #212121;
}

.faq-last-item {
  padding: 18px 0;
}

.last-cta-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.last-cta-copy {
  flex: 999 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.last-cta-headline {
  margin: 0;
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: #ffffff;
}

.last-cta-caption {
  margin: 0;
  color: #cbe2f4;
}

.last-cta-actions {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.last-cta-primary {
  display: block;
  text-align: center;
  background: #ffffff;
  color: #005aaa;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 15px 24px;
  border-radius: 6px;
}

.last-cta-phone {
  display: block;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
}

.footer-shell {
  background: #003d75;
  color: #cbe2f4;
}

.footer-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  font-size: 14px;
}

.footer-about {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-about-title {
  font-family: Georgia, Gelasio, serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

.footer-fineprint {
  flex: 1 1 340px;
  max-width: 420px;
}

.policy-header-layout {
  max-width: 1100px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.policy-title {
  font: 700 19px var(--serif);
  color: #005aaa;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid #d7e3ed;
  box-shadow: 0 3px 16px rgba(0, 48, 88, 0.08);
}

.site-header .header-inner {
  max-width: 1100px;
  padding: 11px 24px;
  gap: 18px;
}

.site-brand > div:first-child {
  font-size: 19px;
}

.site-brand .brand-support {
  font-size: 10px;
}

.header-phone > a {
  font-size: 17px;
}

.header-phone > div {
  font-size: 10px;
}

.page-section > .section-inner {
  max-width: 1100px;
  padding: 80px 24px;
  gap: 25px;
}

.page-section h1 {
  font-size: clamp(34px, 3.5vw, 44px);
  line-height: 1.12;
}

.page-section h2 {
  font-size: clamp(26px, 2.7vw, 31px);
  line-height: 1.23;
}

.page-section h3 {
  font-size: 19px;
  line-height: 1.3;
}

.page-section p {
  line-height: 1.5;
}

.page-section :is(.problem-card, .benefit-card, .method-card) {
  padding: 19px;
}

.page-section .process-card {
  padding: 19px;
}

.page-section :is(.event-card-layout, .pricing-container) {
  padding: 22px;
}

.hero > .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(315px, 0.82fr);
  gap: 34px;
  padding-top: 50px;
  padding-bottom: 80px;
  align-items: start;
}

.hero-copy {
  gap: 16px;
}

.hero-copy > p.hero-subtitle {
  font-size: 20px;
  line-height: 1.35;
}

.hero-copy > p.hero-description {
  font-size: 16px;
  line-height: 1.5;
}

.hero-copy > div.hero-disclaimer {
  font-size: 13px;
  gap: 3px;
}

.hero-copy > div.hero-disclaimer > div:first-child {
  font-size: 14px;
}

.hero .event-card {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  align-self: start;
}

.event-card > .event-detail-row {
  padding-bottom: 7px;
  gap: 2px;
}

.event-card > .event-detail-row > div.event-date {
  font-size: 16px;
}

.event-card > .event-detail-row > div.event-detail-value {
  font-size: 15px;
}

.event-card > div:is(.detail-muted, .event-detail-note),
.event-card > div > div:is(.detail-muted, .event-detail-note) {
  font-size: 12px;
  line-height: 1.42;
}

.event-card > div.event-availability {
  padding: 8px 10px;
}

.event-card > div.event-availability > div:last-child {
  font-size: 13px;
  line-height: 1.35;
}

.page-section :is(.feature-grid, .gallery-grid, .doctors-grid) {
  gap: 15px;
}

.page-section :is(.feature-grid, .gallery-grid, .doctors-grid) > div {
  min-width: 0;
}

.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  min-height: 46px;
  padding: 11px 21px;
  font-size: 16px;
  max-width: 100%;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 30, 80, 0.16);
}

.cta-group {
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hero-copy > .cta-group {
  justify-content: flex-start;
  align-items: center;
  margin: 5px 0 20px;
}

.hero-copy > .cta-group .cta-btn {
  min-height: 55px;
  padding: 15px 28px;
  font-size: 18px;
  min-width: 235px;
}

.quote-section > .section-inner {
  align-items: center;
}

.quote-section > .section-inner > img {
  width: 158px;
  height: 158px;
  max-width: 158px;
  flex: 0 0 158px;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}

.pricing-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  align-items: center;
  border-radius: 10px;
  padding: 26px;
}

.pricing-callout > div:first-child {
  width: auto;
}

.pricing-callout > div:nth-child(2) {
  width: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-callout > div:nth-child(2) > div {
  min-width: 0;
}

.pricing-callout > div:nth-child(2) > div:last-child {
  grid-column: 1/-1;
}

.pricing-action {
  display: flex;
  justify-content: center;
}

.pricing-action .pricing-cta {
  min-height: 55px;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 15px rgba(0, 60, 110, 0.14);
}

.final-cta > .section-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding-top: 78px;
  padding-bottom: 78px;
}

.final-cta h2 {
  line-height: 1.18;
}

.final-cta .cta-btn {
  min-height: 59px;
  padding: 17px 25px;
  font-size: 19px;
}

.final-cta > .section-inner > div {
  flex: auto;
  width: 100%;
  max-width: 780px;
}

.final-cta .cta-group {
  align-items: center;
  max-width: 420px;
  margin: auto;
}

.final-cta > .section-inner > .cta-group {
  width: 100%;
  max-width: 420px;
  flex: 0 1 auto;
}

.final-cta .cta-btn {
  width: 100%;
}

.page-section :is(.quote-text, .pricing-headline, .phone-callout-number) {
  font-size: 23px;
}

.page-section :is(.pricing-tier-price, .last-cta-headline) {
  font-size: 27px;
}

.page-section
  :is(.section-heading, .gallery-heading, .process-number, .faq-heading):not(
    h2
  ) {
  font-size: 29px;
}

.page-section :is(.brand-heading, .header-contact-link, .doctor-title):not(h3) {
  font-size: 19px;
}

.page-section img[alt="Elias Achey, DMD"],
.page-section img[alt="Jared Van Ittersum, DDS"] {
  max-width: 140px;
}

.lead-section > .section-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: start;
  gap: 50px;
}

.lead-section > .section-inner > div:first-child {
  gap: 13px;
}

.lead-section
  > .section-inner
  > div:first-child
  > div:is(.header-action, .section-primary, .phone-callout) {
  padding: 18px;
}

.lead-section
  > .section-inner
  > div:first-child
  > div:is(.header-action, .section-primary, .phone-callout)
  a {
  font-size: 22px;
}

.lead-form {
  padding: 40px 30px 30px;
  container-type: inline-size;
  display: block;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #d4e5f3;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 60, 110, 0.08);
  font-family: var(--body);
  color: var(--ink);
}

.form-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.form-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.form-time {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.lead-form .form-main-title {
  font: 700 24px/1.18 var(--serif);
  color: var(--blue);
  margin: 0 0 22px;
}

.form-intro {
  margin: 0;
  color: #5b6573;
}

.form-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #53687c;
  font-weight: 700;
  font-size: 12px;
  margin: 12px 0 15px;
}

.form-progress-track {
  height: 6px;
  border-radius: 20px;
  background: #e6eef5;
  overflow: hidden;
}

.form-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 20px;
  transition: width 0.25s ease;
}

.step-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: var(--pale);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.lead-form .step-head h4 {
  font: 700 18px/1.2 var(--serif);
  margin: 0 0 2px;
}

.step-head p {
  color: #64748b;
  margin: 0;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.form-fields.contact-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-fields .field {
  min-width: 0;
}

.contact-fields .field small {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
}

.field {
  display: flex;
  flex-direction: column;
  color: #273546;
  font-weight: 700;
}

.field b {
  color: var(--accent);
}

.field input,
.field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #c8d2df;
  background: #fff;
  border-radius: 7px;
  color: #1f2937;
  font-weight: 400;
  appearance: auto;
}

.field input::placeholder {
  color: #8b96a5;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 115, 214, 0.15);
}

.field input[aria-invalid="true"] {
  border-color: #b42318;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f3f8fc;
  border: 1px solid #d9e8f4;
  border-radius: 9px;
  color: #37475a;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  accent-color: var(--blue);
}

.form-consent strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.form-consent small {
  display: block;
  font-weight: 400;
  color: #48586b;
  line-height: 1.35;
  font-size: 13px;
}

.form-footnote {
  color: #657587;
  margin: 10px 0 0;
}

.form-data-notice {
  border-top: 1px solid #e1eaf3;
  padding-top: 10px;
}

.choice-fieldset {
  padding: 0;
  margin: 0 0 14px;
  border: 0;
  min-width: 0;
}

.choice-fieldset legend {
  font-size: 13px;
  font-weight: 700;
  color: #273546;
  margin-bottom: 8px;
  padding: 0;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid #d4dee8;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.32;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.choice-card:has(input:checked) {
  background: #edf6fd;
  border-color: var(--accent);
}

.choice-card input {
  margin: 0;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}

.payment-intro {
  background: #f2f7fb;
  border-left: 3px solid var(--accent);
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 12px;
  color: #44576b;
  margin-bottom: 12px;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.form-actions button {
  border-radius: 8px;
  min-height: 46px;
  border: 0;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 700;
  transition: filter 0.15s;
}

.form-actions button:hover {
  filter: brightness(1.07);
}

.form-next,
.form-submit {
  flex: 1;
  min-width: 0;
  background: var(--blue);
  color: #fff;
}

.form-back {
  background: #eff3f7;
  color: var(--blue);
  min-width: 90px;
}

.form-alert {
  padding: 11px 13px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 15px;
}

.form-alert-error {
  color: #84251d;
  background: #fff4f3;
  border: 1px solid #f1b5ad;
}

.form-alert-success {
  color: #14613e;
  background: #e8f8f0;
  border: 1px solid #a9dfc1;
}

.site-footer {
  background: var(--blue-strong);
  color: #cbe2f4;
}

.site-footer .footer-inner {
  padding: 31px 24px;
  max-width: 1100px;
  gap: 20px;
}

.site-footer .footer-inner > div {
  font-size: 12px;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1100px;
  padding: 16px 24px 24px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 12px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-callout > div:nth-child(2) > div:first-child {
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.site-brand > div:last-child {
  min-width: 0;
}

.brand-logo {
  align-self: center;
}

.hero-copy > div:first-child {
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero .event-card {
  padding: 16px;
  gap: 8px;
}

.pricing-callout {
  gap: 22px;
}

.pricing-callout > div:first-child {
  gap: 10px;
}

.pricing-callout > div:nth-child(2) {
  gap: 16px;
}

.pricing-action .pricing-cta {
  margin-top: 10px;
}

.lead-form .form-main-title {
  font-size: 23px;
}

.form-topline {
  margin-bottom: 4px;
}

.form-intro {
  font-size: 12px;
  line-height: 1.35;
}

.form-step {
  margin-top: 10px;
}

.lead-form .step-head h4 {
  font-size: 17px;
}

.step-head p {
  font-size: 11px;
}

.field {
  font-size: 12px;
  margin-bottom: 10px;
}

.field input,
.field select {
  padding: 9px 11px;
  font-size: 14px;
}

.form-consent {
  padding: 10px 11px;
}

.form-footnote {
  font-size: 12px;
  line-height: 1.38;
  margin-top: 8px;
}

.final-cta p {
  white-space: nowrap;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-section figure img {
  aspect-ratio: auto;
  object-fit: cover;
}

body {
  line-height: 1.65;
}

.policy-wrap {
  max-width: 810px;
  margin: 0 auto;
  padding: 44px 22px 80px;
}

.policy-wrap h1,
.policy-wrap h2 {
  font-family: var(--serif);
  color: var(--blue);
}

.policy-wrap h1 {
  font-size: 36px;
}

.policy-wrap h2 {
  font-size: 23px;
  margin-top: 32px;
}

.policy-note {
  border: 1px solid #b45309;
  background: #fffbeb;
  color: #824d13;
  padding: 13px 16px;
  border-radius: 8px;
}

.policy-wrap p,
.policy-wrap li {
  font-size: 16px;
}

.policy-wrap a {
  color: var(--blue);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.site-brand > div {
  min-width: 0;
}

.site-brand .brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.site-brand .brand-title {
  font:
    700 19px/1.2 Georgia,
    Gelasio,
    serif;
  color: #005aaa;
}

.site-brand .brand-support {
  color: #212121;
  line-height: 1.35;
}

.hero-copy > .hero-eyebrow {
  padding-top: 30px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.pricing-callout {
  background: transparent;
  color: #212121;
  border: 2px solid #27496d;
}

.pricing-callout .price-text-primary {
  color: #005aaa;
}

.pricing-callout .price-text-muted {
  color: #4a4a4a;
}

.pricing-callout .price-card-outline {
  background: transparent;
  border: 1px solid #9bb6d3;
}

.pricing-callout .price-card-outline .price-eyebrow {
  color: #4779a5;
}

.pricing-callout .price-card-outline .price-value {
  color: #005aaa;
}

.pricing-callout .price-card-outline .price-description {
  color: #4a4a4a;
}

.pricing-callout .price-card-pale {
  background: #e6f2fb;
  border: 1px solid #9bb6d3;
}

.pricing-callout .pricing-included {
  border-color: #d7e3ed;
  color: #4a4a4a;
}

.pricing-action {
  margin-top: 26px;
}

.pricing-action .pricing-cta {
  width: min(100%, 430px);
}

.lead-form .form-step[hidden] {
  display: none;
}

.lead-form .form-progress-track {
  margin: 0;
}

.spam-trap {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-progress-fill {
  width: 25%;
}

.lead-form.step-progress-1 .form-progress-fill {
  width: 25%;
}

.lead-form.step-progress-2 .form-progress-fill {
  width: 50%;
}

.lead-form.step-progress-3 .form-progress-fill {
  width: 75%;
}

.lead-form.step-progress-4 .form-progress-fill {
  width: 100%;
}

.field input,
.field select {
  min-height: 42px;
}

.field {
  gap: 3px;
}

.form-fields.contact-fields {
  gap: 8px 10px;
}

.form-consent {
  margin-top: 10px;
}

.final-cta h2 {
  font-size: clamp(31px, 3.6vw, 41px);
}

.site-footer .footer-inner {
  padding-top: 48px;
}

.tracking-consent {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 999;
  background: white;
  color: #273546;
  max-width: 650px;
  margin: 0 auto;
  border: 1px solid #cbd9e8;
  border-radius: 10px;
  box-shadow: 0 12px 28px #142d4b30;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.tracking-consent[hidden] {
  display: none;
}

.tracking-consent p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}

.tracking-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tracking-actions button {
  border: 1px solid #005aaa;
  background: #fff;
  color: #005aaa;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.tracking-actions button:last-child {
  background: #005aaa;
  color: #fff;
}

.policy-wrap .site-brand {
  gap: 10px;
}

.pricing-callout > div:nth-child(2) > .price-card-outline {
  background: transparent;
}

.pricing-callout > div:nth-child(2) > .price-card-outline > .price-eyebrow {
  color: #fff;
}

.pricing-callout > div:nth-child(2) > .price-card-outline > .price-value {
  color: #fff;
}

.pricing-callout > div:nth-child(2) > .price-card-outline > .price-description {
  color: #cbe2f4;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    padding: 10px 18px;
  }

  .header-phone {
    display: none;
  }

  .hero > .section-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 20px;
  }

  .hero-copy > p.hero-subtitle {
    font-size: 18px;
  }

  .page-section > .section-inner {
    padding: 43px 20px;
  }

  .lead-section > .section-inner {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .lead-section
    > .section-inner
    > div:first-child
    > div:is(.header-action, .section-primary, .phone-callout) {
    display: none;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 70px;
  }

  body > main {
    font-size: 15px;
  }

  .site-header .header-inner {
    flex-wrap: nowrap;
    gap: 9px;
    padding: 11px 16px;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand > div:first-child {
    font-size: 16px;
    line-height: 1.15;
  }

  .header-actions {
    gap: 0;
    flex: 0 0 auto;
  }

  .header-cta {
    font-size: 13px;
    min-height: 40px;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .page-section > .section-inner {
    padding: 60px 20px;
    gap: 20px;
  }

  .page-section h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .page-section h2 {
    font-size: 26px;
    line-height: 1.23;
  }

  .page-section h3 {
    font-size: 18px;
  }

  .hero > .section-inner {
    display: flex;
    flex-direction: column;
    gap: 21px;
    padding: 50px 20px 80px;
  }

  .hero-copy {
    width: 100%;
    gap: 13px;
  }

  .hero-copy > p.hero-subtitle {
    font-size: 18px;
  }

  .hero-copy > p.hero-description {
    font-size: 15px;
  }

  .hero-copy > div.hero-disclaimer {
    font-size: 12.5px;
    margin-bottom: 30px;
  }

  .hero-copy > .cta-group {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 9px;
  }

  .hero-copy > .cta-group .cta-btn {
    width: 100%;
    max-width: 100%;
    align-self: flex-start;
    margin: 0;
  }

  .hero-copy > .cta-group > a[href^="tel:"] {
    text-align: left;
    font-size: 14px;
    padding: 5px 0;
  }

  .hero .event-card {
    width: 100%;
    padding: 16px;
    gap: 8px;
    align-self: stretch;
  }

  .page-section :is(.feature-grid, .gallery-grid, .doctors-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .page-section
    :is(
      .hero-layout,
      .hero-actions,
      .quote-layout,
      .pricing-container,
      .pricing-grid,
      .doctor-card,
      .two-column-section,
      .schedule-row,
      .schedule-last-row,
      .last-cta-layout
    ) {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .page-section
    :is(
      .hero-layout,
      .hero-actions,
      .quote-layout,
      .pricing-container,
      .pricing-grid,
      .doctor-card,
      .two-column-section,
      .schedule-row,
      .schedule-last-row,
      .last-cta-layout
    )
    > * {
    width: 100%;
    flex-basis: auto;
    min-width: 0;
  }

  .page-section :is(.problem-card, .benefit-card, .method-card) {
    padding: 16px;
  }

  .page-section .process-card {
    padding: 16px;
  }

  .page-section .pricing-container {
    padding: 17px;
  }

  .page-section img[alt="Elias Achey, DMD"],
  .page-section img[alt="Jared Van Ittersum, DDS"] {
    width: 98px;
    height: 108px;
    flex: 0 0 auto;
  }

  .page-section img.quote-photo {
    width: 110px;
    height: 110px;
    align-self: center;
  }

  .quote-section > .section-inner > img {
    width: 140px;
    height: 140px;
    max-width: 140px;
    flex: 0 0 140px;
    align-self: flex-start;
    border-radius: 9px;
  }

  .quote-section > .section-inner {
    align-items: flex-start;
  }

  .page-section figure img {
    aspect-ratio: 3/2;
    max-height: 220px;
  }

  .page-section .cta-btn {
    min-width: 0;
    width: 100%;
    max-width: 360px;
    align-self: center;
    margin: 0 auto;
  }

  .pricing-callout {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .pricing-callout > div:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-action .pricing-cta {
    width: min(100%, 390px);
    margin: 0 auto;
    align-self: center;
  }

  .final-cta > .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 61px;
    padding-bottom: 61px;
  }

  .lead-section > .section-inner {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .lead-section > .section-inner > div:first-child {
    width: 100%;
    text-align: center;
  }

  .lead-section
    > .section-inner
    > div:first-child
    > div:is(.header-action, .section-primary, .phone-callout) {
    display: none;
  }

  .lead-form {
    width: 100%;
  }

  .form-fields.contact-fields {
    grid-template-columns: 1fr;
  }

  .form-actions .form-back {
    min-width: 80px;
  }

  .site-footer .footer-inner {
    padding: 48px 18px 29px;
  }

  .footer-bottom {
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}

@media (max-width: 380px) {
  .page-section h1 {
    font-size: 30px;
  }

  .site-brand > div:first-child {
    font-size: 14px;
  }

  .header-cta {
    font-size: 12px;
    padding: 9px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta-btn,
  .form-progress-fill,
  .choice-card {
    transition: none;
  }
}

@container (max-width:500px) {
  .form-fields.contact-fields {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .pricing-callout {
    grid-template-columns: 1fr;
  }

  .pricing-callout > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .pricing-callout > div:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .pricing-callout > div:nth-child(2) > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .doctor-card {
    flex-wrap: nowrap;
    flex-direction: row !important;
  }

  .step-head {
    margin-bottom: 8px;
  }

  .form-fields {
    gap: 9px;
  }
}

@media (max-width: 900px) {
  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (max-width: 700px) {
  .site-brand {
    gap: 8px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .hero-copy > div:first-child {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .page-section figure img {
    height: 200px;
  }

  .pricing-action {
    margin-top: 22px;
  }

  .final-cta p {
    white-space: normal;
    text-overflow: clip;
  }
}

@media (max-width: 700px) {
  .site-brand {
    gap: 8px;
  }

  .site-brand .brand-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .site-brand .brand-title {
    font-size: 15px;
  }

  .hero-copy > .hero-eyebrow {
    font-size: 10.8px;
    letter-spacing: 0.04em;
  }

  .tracking-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }

  .tracking-actions {
    justify-content: stretch;
  }

  .tracking-actions button {
    flex: 1;
  }
}

/* Shared interaction styles. Component modifiers keep the existing visual design. */
.btn {
  cursor: pointer;
  font-family: inherit;
}
.btn:focus-visible {
  outline: 2px solid #f5ae33;
  outline-offset: 3px;
}
.hero-copy > .hero-actions .cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  min-width: 235px;
  padding: 14px 27px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.hero-copy > .hero-actions .cta-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 700px) {
  .hero-copy > .hero-actions .cta-outline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }
  .hero > .section-inner {
    gap: 45px !important;
  }
  .hero-copy > .cta-group {
    margin: 15px 0 20px;
  }
}

/* Thank-you and 404 pages */

.message-page {
  min-height: 65vh;
  padding: 70px 20px;
  background: var(--pale);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.message-card {
  width: 100%;
  max-width: 720px;
  padding: 48px;
  background: #fff;
  border: 1px solid #d4e5f3;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 60, 110, 0.08);
  text-align: center;
}

.message-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.message-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.message-card h1 {
  font-family: var(--serif);
  color: var(--blue);
  font-size: clamp(34px, 4vw, 46px);
  margin: 12px 0;
}

.message-card h2 {
  font-family: var(--serif);
  color: var(--blue);
  font-size: 25px;
  margin: 38px 0 24px;
}

.message-card p {
  color: var(--muted);
  line-height: 1.5;
}

.message-lead {
  font-size: 19px;
  font-weight: 600;
}

.message-steps {
  display: grid;
  gap: 14px;
  text-align: left;
}

.message-step {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.message-step > span {
  color: var(--accent);
  font-weight: 700;
  font-size: 21px;
}

.message-step h3 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 17px;
}

.message-step p {
  margin: 0;
  font-size: 14px;
}

.message-button {
  display: inline-flex;
  margin-top: 30px;
  background: var(--blue);
  color: #fff;
  min-width: 220px;
}

@media (max-width: 700px) {
  .message-page {
    padding: 35px 16px;
  }

  .message-card {
    padding: 28px 20px;
  }

  .message-button {
    width: 100%;
  }
}

.turnstile-container {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
}

.turnstile-container:empty {
  display: none;
}

/* Global floating CTA */

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));

  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);

  box-shadow: 0 -4px 20px rgba(0, 40, 80, 0.08);

  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s;
}

.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floating-cta__button {
  width: min(100%, 390px);
  min-height: 50px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
}

.floating-cta__button:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .floating-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    transition: none;
  }
}

@media (min-width: 701px) {
  .floating-cta {
    display: none;
  }
}

/* Compact multi-step form */

.lead-form {
  position: relative;
}

/* Visually hidden, still available to screen readers */
.form-progress-head {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Progress bar attached to top of card */
.lead-form .form-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 7px;
  margin: 0;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  z-index: 1;
}

/* Compact step heading */
.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.step-icon {
  width: auto;
  min-width: 42px;
  height: 28px;
  flex: 0 0 auto;
  padding: 0 8px;
  border-radius: 7px;
}

.lead-form .step-head h4 {
  margin: 0;
}

/* Hide step descriptions if still present */
.step-head p {
  display: none;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-grid > .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.reveal-grid > .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.reveal-grid > .reveal:nth-child(4) {
  transition-delay: 270ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
