[data-tp="od-plan"] {
.wrap {
  padding: clamp(2rem, 4vw, 3rem) 0 calc(clamp(2rem, 4vw, 3rem) + 4.5rem);
  background: linear-gradient(165deg, #1f1f1f 0%, #2a2a2a 55%, #1f1f1f 100%);
  color: #fff;
  text-align: center;
}

@media (min-width: 992px) {
  .wrap {
    padding-bottom: clamp(2rem, 4vw, 3rem);
  }
}

.inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.kicker {
  margin: 0 0 0.4rem;
  color: #fca5a5;
  font-size: var(--tp-section-kicker-fs);
  font-weight: var(--tp-section-kicker-weight);
  letter-spacing: var(--tp-section-kicker-tracking);
  text-transform: uppercase;
}

.title {
  margin: 0 0 0.65rem;
  font-family: var(--heading-font-family, inherit);
  font-size: var(--tp-section-title-fs);
  font-weight: var(--tp-section-title-weight);
  line-height: var(--tp-section-title-lh);
  color: #fff;
}

.lead {
  margin: 0 auto 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.primary {
  background: var(--tp-brand, #e53935);
  color: #fff;
}

.secondary {
  background: #fff;
  color: #0f172a;
}

/* Above sticky header (100–200) and mobile drawer (1000); below search (11000). */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 10500;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem
    max(1rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

/* Do not use Bootstrap's .modal class — it forces display:none. */
.planDialog {
  position: relative;
  display: block;
  width: min(100%, 560px);
  max-height: min(88vh, 640px);
  overflow: visible;
  background: #fff;
  color: #0f172a;
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 28px 64px rgba(15, 23, 42, 0.35);
}

.close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.close:hover {
  background: #e2e8f0;
}

.planDialogHead {
  text-align: left;
  margin: 0 2rem 1rem 0;
}

.planDialogKicker {
  margin: 0 0 0.25rem;
  color: var(--tp-brand, #e53935);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.planDialogTitle {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #0f172a;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.85rem;
}

.span2 {
  grid-column: 1 / -1;
}

.label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #475569;
  text-align: left;
}

.input {
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input:hover {
  border-color: #cbd5e1;
}

.input:focus {
  outline: none;
  border-color: rgba(229, 57, 53, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.submit {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.88rem;
  text-align: left;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fallback {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

.fallback a {
  color: var(--tp-brand, #e53935);
  font-weight: 600;
}

.success {
  text-align: center;
  padding: 1.5rem 0.5rem 0.75rem;
}

.success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.success p {
  margin: 0 0 1.1rem;
  color: #475569;
}

@media (max-width: 575.98px) {
  .overlay {
    align-items: flex-end;
    padding: 0;
  }

  .planDialog {
    width: 100%;
    max-height: min(92vh, 720px);
    border-radius: 18px 18px 0 0;
    padding: 1.15rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.7rem;
  }

  .label {
    font-size: 0.74rem;
  }

  .input {
    min-height: 40px;
    font-size: 0.88rem;
  }
}

}
