.package-card {
  align-items: center;
  text-align: center;
}

.package-card__eyebrow,
.package-card > strong,
.package-card__description,
.package-card__price {
  width: 100%;
}

.package-card__description {
  white-space: pre-line;
}

.package-card__list {
  display: grid;
  gap: 7px;
  width: min(100%, 300px);
  margin: 16px auto 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.package-card__list li {
  position: relative;
  padding-left: 16px;
}

.package-card__list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue);
  content: '•';
  font-weight: 800;
}

.photo-frame.has-image::before,
.photo-frame.has-image::after,
.photo-frame.has-image .photo-frame__center {
  display: none;
}

.photo-frame.has-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  align-items: center;
  min-height: auto;
}

.offer-heading {
  align-self: center;
}

.offer-heading > p:last-child {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.lead-form {
  position: relative;
  width: 100%;
  max-width: 720px;
  justify-self: end;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line-blue);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lead-form label {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.lead-form label > span small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input {
  min-height: 52px;
  padding: 0 15px;
}

.lead-form textarea {
  min-height: 126px;
  resize: vertical;
  padding: 14px 15px;
  line-height: 1.5;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.11);
}

.lead-form__wide {
  grid-column: 1 / -1;
}

.lead-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 11px !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.lead-consent input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.lead-honeypot {
  position: absolute;
  top: -10000px;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.turnstile-shell {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line-blue);
  border-radius: 16px;
  background: #f8fbff;
}

.turnstile-shell[hidden] {
  display: none;
}

.turnstile-shell small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

#turnstile-widget {
  width: min(100%, 320px);
  min-height: 65px;
}

.lead-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 22px;
}

.lead-actions .button {
  width: 100%;
  min-height: 58px;
}

.button--outline {
  border-color: var(--line-blue);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-text);
  box-shadow: none;
}

.lead-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1040px) {
  .offer-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .lead-form {
    max-width: 820px;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .package-card {
    align-items: center;
    text-align: center;
  }

  .package-card__list {
    width: min(100%, 270px);
  }

  .offer-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .lead-form {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .lead-form__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .lead-form__wide {
    grid-column: auto;
  }

  .lead-actions .button {
    padding-inline: 18px;
    font-size: 13px;
  }
}
