/* ============================================================
   Incremental Care — LP below-fold CSS (v2 class names)
   Deferred (print→all) on page-landing.php.
   Above-fold CSS lives in parent landing-critical.css (inlined).
   Brand var overrides are in style.css (also inlined on LP).
   ============================================================ */

/* ── LP header container — landing-critical.css has no max-width on .lp-header-inner ── */
.lp-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 36px;
}

/* Style the header phone as a compact button CTA */
.lp-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--lp-primary);
  color: #fff !important;
  border-radius: var(--lp-radius);
  font-family: var(--lp-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s;
  flex-direction: row !important;
  white-space: nowrap;
}
.lp-header-phone:hover { background: var(--lp-secondary); }
.lp-header-phone svg { display: none; }

/* ── Hero extras not covered by landing-critical.css ── */
.lp-hero { padding-bottom: 0; }
/* Hero grid has no lp-container wrapper in this template — add equivalent spacing */
.lp-hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px;
}
.lp-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.lp-kicker {
  font-family: var(--lp-sans);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  color: var(--lp-mute);
  margin: 12px 0 8px;
  letter-spacing: 0.02em;
}
.lp-subheadline {
  font-family: var(--lp-sans);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--lp-ink-soft);
  line-height: 1.55;
  margin-bottom: 28px;
}
/* Prevent phone from wrapping below the CTA button — override landing-critical flex-wrap */
.lp-hero-ctas { flex-wrap: nowrap; }
@media (max-width: 540px) { .lp-hero-ctas { flex-wrap: wrap; } }

/* Hero button — tighter padding + prevent text wrap */
.lp-hero-ctas .lp-btn-primary {
  padding: 18px 15px !important;
  font-size: 15px !important;
  white-space: nowrap;
}
/* Phone tag + number — no internal wrapping */
.lp-hero-ctas .lp-btn-phone .lp-tag,
.lp-hero-ctas .lp-btn-phone .lp-num { white-space: nowrap; }

/* "Therapy for Children and Teens in Winter Park" — last line of the subheadline */
.lp-subheadline p:last-child {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--lp-ink);
}

.lp-hero-cta-box {
  background: var(--lp-wash);
  border-left: 3px solid var(--lp-primary);
  padding: 16px 20px;
  border-radius: 2px;
  margin-bottom: 20px;
  max-width: 520px;
}
.lp-hero-cta-box p {
  margin: 0;
  font-size: 15px;
  color: var(--lp-ink-soft);
  line-height: 1.5;
}
.lp-btn-popup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  font-family: var(--lp-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--lp-radius);
  border: 0;
  cursor: pointer;
  transition: all .35s var(--lp-ease);
  text-decoration: none;
  background: var(--lp-primary);
  color: #fff;
}
.lp-btn-popup:hover {
  background: var(--lp-secondary);
  transform: translateY(-1px);
}

/* ── Scroll reveal — scoped to below-fold sections only ──
   The hero .lp-fade-up elements must stay visible (landing-critical.css
   sets opacity:1 globally; we must not override that for above-fold content). */
.lp-pain .lp-fade-up,
.lp-cta-band .lp-fade-up,
.lp-helps .lp-fade-up,
.lp-authority .lp-fade-up,
.lp-process .lp-fade-up,
.lp-trust .lp-fade-up,
.lp-testimonials .lp-fade-up,
.lp-faq .lp-fade-up,
.lp-form-section .lp-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.lp-pain .lp-fade-up.visible,
.lp-cta-band .lp-fade-up.visible,
.lp-helps .lp-fade-up.visible,
.lp-authority .lp-fade-up.visible,
.lp-process .lp-fade-up.visible,
.lp-trust .lp-fade-up.visible,
.lp-testimonials .lp-fade-up.visible,
.lp-faq .lp-fade-up.visible,
.lp-form-section .lp-fade-up.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .lp-pain .lp-fade-up,
  .lp-cta-band .lp-fade-up,
  .lp-helps .lp-fade-up,
  .lp-authority .lp-fade-up,
  .lp-process .lp-fade-up,
  .lp-trust .lp-fade-up,
  .lp-testimonials .lp-fade-up,
  .lp-faq .lp-fade-up,
  .lp-form-section .lp-fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── Shared section padding ── */
.lp-pain,
.lp-cta-band,
.lp-helps,
.lp-authority,
.lp-process,
.lp-trust,
.lp-testimonials,
.lp-faq,
.lp-form-section { padding: 80px 0; }

/* ── Shared section title ── */
.lp-section-title {
  font-family: var(--lp-serif);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  color: var(--lp-ink);
  line-height: 1.1;
  margin: 0 0 48px;
  letter-spacing: -.01em;
  text-align: center;
}

/* ── Two-column layout ── */
.lp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lp-single-col {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.lp-img-col img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.lp-img-col img + img { margin-top: 16px; }
.lp-text-col h3 {
  font-family: var(--lp-serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: var(--lp-ink);
  line-height: 1.12;
  margin: 0 0 24px;
  letter-spacing: -.01em;
}
.lp-body-copy p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--lp-ink-soft);
  margin: 0 0 16px;
}
.lp-body-copy ul { margin: 16px 0; padding-left: 20px; }
.lp-body-copy li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--lp-ink-soft);
  margin-bottom: 8px;
}

/* ── Pain section ── */
.lp-pain { background: var(--lp-paper); }
/* Image matches text-column height via position:absolute trick.
   Absolute img has zero intrinsic height → row height = text column height.
   The stretched column then fills with the absolutely positioned image. */
.lp-pain .lp-two-col { align-items: stretch; }
.lp-pain .lp-img-col {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 280px;
}
.lp-pain .lp-img-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ── CTA band ── */
.lp-cta-band {
  background: var(--lp-charcoal);
  color: var(--lp-paper);
  text-align: center;
  padding: 72px 0;
}
.lp-cta-band h3 {
  font-family: var(--lp-serif);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--lp-paper);
  margin: 0 auto 24px;
  max-width: 700px;
  line-height: 1.15;
}
.lp-cta-body { margin-bottom: 32px; }
.lp-cta-body p {
  color: rgba(248,246,241,.76);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 12px;
}
.lp-cta-band .lp-btn-primary { background: var(--lp-primary); }
.lp-cta-band .lp-btn-primary:hover { background: var(--lp-secondary); }
.lp-cta-band .lp-btn-popup { margin: 0 auto; display: inline-flex; }

/* ── Helps section ── */
.lp-helps { background: var(--lp-wash); }
.lp-helps .lp-two-col { align-items: stretch; }
.lp-helps .lp-img-col {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 320px;
}
.lp-helps .lp-img-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lp-helps h3 {
  font-family: var(--lp-serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: var(--lp-ink);
  line-height: 1.12;
  margin: 0 0 24px;
  letter-spacing: -.01em;
}
.lp-helps-intro {
  font-size: 17px;
  line-height: 1.72;
  color: var(--lp-ink-soft);
  max-width: 800px;
  margin: 0 0 20px;
}
.lp-helps-cue {
  font-size: 17px;
  color: var(--lp-ink);
  margin: 32px 0 16px;
}
.lp-helps-list {
  margin: 0;
  padding-left: 22px;
  max-width: 700px;
}
.lp-helps-list li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--lp-ink-soft);
  margin-bottom: 10px;
  padding-left: 4px;
}
.lp-helps-list li::marker { color: var(--lp-primary); }

/* ── Authority section ── */
.lp-authority { background: var(--lp-paper-warm); }
/* No image — restore lp-container's own cap (single-col was capping at 720px) */
.lp-authority .lp-single-col { max-width: 1280px; }
/* Three trust cards — echoes the main site's service card top-border accent */
.lp-authority .lp-body-copy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.lp-authority .lp-body-copy p {
  background: var(--lp-paper);
  border-top: 2px solid var(--lp-primary);
  border-radius: 4px;
  padding: 26px 22px;
  margin: 0;
}
.lp-authority .lp-body-copy p strong {
  display: block;
  color: var(--lp-primary);
  font-size: 15px;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .lp-authority .lp-body-copy { grid-template-columns: 1fr; }
}

/* ── Process section ── */
.lp-process { background: var(--lp-paper); }
.lp-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lp-process-card {
  position: relative;
  background: var(--lp-wash);
  border-radius: 4px;
  padding: 32px 28px 28px;
  border-top: 3px solid var(--lp-primary);
}
.lp-process-card-top h3 {
  font-family: var(--lp-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.lp-step-number {
  font-family: var(--lp-serif);
  font-size: 68px;
  font-weight: 700;
  color: var(--lp-line);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.lp-process-card-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--lp-mute);
  margin: 0;
}

/* ── Trust section ── */
.lp-trust {
  background: var(--lp-charcoal);
  color: var(--lp-paper);
}
.lp-trust-title {
  font-family: var(--lp-serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: var(--lp-paper);
  margin: 0 0 48px;
  line-height: 1.1;
}
.lp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lp-trust-grid--no-image {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.lp-trust-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.lp-trust-item h4 {
  font-family: var(--lp-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-paper);
  margin: 0 0 8px;
}
.lp-trust-item p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(248,246,241,.7);
  margin: 0;
}
.lp-trust-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* ── Testimonials ── */
.lp-testimonials { background: var(--lp-paper-warm); }
.lp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.lp-testimonial {
  background: var(--lp-paper);
  border-radius: 4px;
  padding: 32px 28px;
  border-left: 3px solid var(--lp-primary);
}
.lp-testimonial p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lp-ink-soft);
  margin: 0 0 12px;
}
.lp-testimonial p:last-child { margin: 0; }
.lp-testimonial strong {
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--lp-primary);
}

/* ── FAQ ── */
.lp-faq { background: var(--lp-paper); }
.lp-faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.lp-faq-item { border-top: 1px solid var(--lp-line); }
.lp-faq-item:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--lp-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--lp-ink);
  cursor: pointer;
  gap: 16px;
  transition: color .2s;
}
.lp-faq-question:hover { color: var(--lp-primary); }
.lp-faq-question[aria-expanded="true"] { color: var(--lp-primary); }
.lp-faq-icon {
  flex-shrink: 0;
  transition: transform .3s ease;
  color: var(--lp-primary);
}
.lp-faq-question[aria-expanded="true"] .lp-faq-icon { transform: rotate(180deg); }
.lp-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.lp-faq-answer.open { grid-template-rows: 1fr; }
.lp-faq-answer-inner { overflow: hidden; }
.lp-faq-answer-inner p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--lp-ink-soft);
  padding-bottom: 22px;
  margin: 0;
}

/* ── CTA Band 2 ── */
.lp-cta2-eyebrow {
  font-family: var(--lp-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(248,246,241,.55);
  margin: 0 0 12px;
}

/* ── Form section ── */
.lp-form-section { background: var(--lp-wash); }
.lp-form-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.lp-form-content h3 {
  font-family: var(--lp-serif);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 24px;
  line-height: 1.15;
}
.lp-form-steps {
  margin: 28px 0;
  padding: 28px;
  background: var(--lp-paper);
  border-radius: 4px;
}
.lp-form-steps h4 {
  font-family: var(--lp-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 14px;
}
.lp-form-steps ol { margin: 0; padding-left: 20px; }
.lp-form-steps li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--lp-ink-soft);
  margin-bottom: 10px;
}
.lp-form-trust {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.lp-form-trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.lp-form-trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: auto;
  margin-top: 2px;
}
.lp-form-trust-text h4 {
  font-family: var(--lp-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 5px;
}
.lp-form-trust-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp-mute);
  margin: 0 0 3px;
}
.lp-form-sidebar {
  background: var(--lp-paper);
  border-radius: 6px;
  padding: 40px 36px;
  box-shadow: 0 4px 32px rgba(45,36,48,.09);
}
.lp-form-sidebar h4 {
  font-family: var(--lp-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lp-primary);
  margin: 0 0 4px;
}
.lp-form-sidebar > h3 {
  font-family: var(--lp-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 28px;
  line-height: 1.15;
}
.lp-form-wrap .wpforms-container { margin: 0; }
.lp-form-disclaimer {
  font-size: 12px;
  color: var(--lp-mute);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* WPForms on LP */
body.landing-page .wpforms-container .wpforms-field input,
body.landing-page .wpforms-container .wpforms-field select,
body.landing-page .wpforms-container .wpforms-field textarea {
  border: 1px solid var(--lp-line) !important;
  border-radius: 2px !important;
  font-family: var(--lp-sans) !important;
  font-size: 15px !important;
  padding: 12px 14px !important;
  background: #fff !important;
  color: var(--lp-ink) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body.landing-page .wpforms-container .wpforms-field label {
  font-family: var(--lp-sans) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--lp-mute) !important;
  margin-bottom: 6px !important;
  display: block !important;
}
body.landing-page .wpforms-container .wpforms-submit-container { margin-top: 8px; }
body.landing-page .wpforms-container .wpforms-submit,
body.landing-page .wpforms-container button[type="submit"] {
  background: var(--lp-primary) !important;
  border: none !important;
  border-radius: 2px !important;
  padding: 16px 24px !important;
  font-family: var(--lp-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background .3s !important;
  min-height: 44px !important;
}
body.landing-page .wpforms-container .wpforms-submit:hover,
body.landing-page .wpforms-container button[type="submit"]:hover {
  background: var(--lp-secondary) !important;
}

/* ── LP footer ── */
.lp-footer {
  background: var(--lp-charcoal);
  padding: 48px 0 32px;
}
.lp-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 20px;
}
.lp-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-footer-logo img {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: none !important;
}
.lp-footer-mark { width: 40px; height: auto; }
.lp-footer-name {
  font-family: var(--lp-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-paper);
  letter-spacing: .02em;
}
.lp-footer-legal {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-footer-legal a {
  font-size: 13px;
  color: rgba(248,246,241,.55);
  transition: color .2s;
}
.lp-footer-legal a:hover { color: var(--lp-paper); }
.lp-footer-legal-sep {
  color: rgba(248,246,241,.28);
  font-size: 12px;
}
.lp-footer-copy {
  font-size: 12px;
  color: rgba(248,246,241,.38);
  text-align: center;
  margin: 0;
}

/* ── Button hover — lift + shadow + brightness ── */
.lp-btn-primary:hover,
.lp-btn-popup:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 22px rgba(30, 46, 38, 0.28) !important;
  filter: brightness(1.3) !important;
}
body.landing-page .wpforms-container .wpforms-submit:hover,
body.landing-page .wpforms-container button[type="submit"]:hover {
  background: var(--lp-secondary) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 22px rgba(30, 46, 38, 0.28) !important;
  filter: brightness(1.3) !important;
  transition: background .25s, transform .2s, box-shadow .2s, filter .2s !important;
}
body.landing-page .wpforms-container .wpforms-submit,
body.landing-page .wpforms-container button[type="submit"] {
  transition: background .25s, transform .2s, box-shadow .2s, filter .2s !important;
}
@media (hover: none) and (pointer: coarse) {
  .lp-btn-primary:hover,
  .lp-btn-popup:hover,
  body.landing-page .wpforms-container .wpforms-submit:hover,
  body.landing-page .wpforms-container button[type="submit"]:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .lp-two-col { grid-template-columns: 1fr; gap: 40px; }
  .lp-form-grid { grid-template-columns: 1fr; gap: 48px; }
  .lp-process-grid { grid-template-columns: 1fr 1fr; }
  .lp-trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-trust-image { display: none; }
}

@media (max-width: 640px) {
  .lp-pain,
  .lp-cta-band,
  .lp-helps,
  .lp-authority,
  .lp-process,
  .lp-trust,
  .lp-testimonials,
  .lp-faq,
  .lp-form-section { padding: 56px 0; }
  .lp-process-grid { grid-template-columns: 1fr; }
  .lp-testimonials-grid { grid-template-columns: 1fr; }
  .lp-form-sidebar { padding: 28px 20px; }
  .lp-section-title { margin-bottom: 32px; }
}

/* Touch font floor (CLAUDE.md: 14px min on touch devices) */
@media (hover: none) and (pointer: coarse) {
  .lp-body-copy p, .lp-body-copy li { font-size: 16px !important; }
  .lp-helps-intro, .lp-helps-list li { font-size: 16px !important; }
  .lp-faq-question { font-size: 16px !important; min-height: 44px !important; }
  .lp-faq-answer-inner p { font-size: 15px !important; }
  .lp-form-steps li, .lp-form-trust-text p { font-size: 15px !important; }
  .lp-footer-legal a { font-size: 14px !important; }
  .lp-footer-copy, .lp-footer-copy { font-size: 13px !important; }
  .lp-form-disclaimer { font-size: 13px !important; }
  .lp-process-card-body p { font-size: 15px !important; }
}
