/* =====================================================================
   AwakeningsKC homepage polish: MOCKUP (2026-12-04)
   One file, seven independent, toggleable blocks.
   Each block is scoped to a body class, so any combination works:
     pl-btn      1  Header and buttons
     pl-rhythm   2  Section rhythm and alignment
     pl-depth    3  Card depth and hover lift
     pl-media    4  Image treatment and card consistency
     pl-faq      5  FAQ accordion
     pl-finish   6  Insurance panel, CTA bands and footer finish
     pl-motion   7  (bonus) Scroll fade-ins, reduced-motion safe
   To apply a block, add its class to <body> (Elementor: Page Settings >
   Advanced > CSS Classes, or body_class filter). Remove the class to turn it off.
   Palette used: #2774AE blue, #0E2A38 navy, #F2F7F8 tint, #ED8B00 orange (accent only).
   H1/H2/H3 colors, wording, fonts and the D4 hero are not touched.
   ===================================================================== */

:root{
  --pl-navy:#0E2A38; --pl-blue:#2774AE; --pl-tint:#F2F7F8; --pl-line:#E1EAEF;
  --pl-shadow-sm:0 1px 2px rgba(14,42,56,.05),0 6px 18px rgba(14,42,56,.06);
  --pl-shadow-md:0 2px 4px rgba(14,42,56,.06),0 16px 36px rgba(14,42,56,.12);
}

/* ---------------------------------------------------------------------
   1. HEADER AND BUTTONS  (body.pl-btn)
   - Header buttons stay on one line (phone no longer wraps to 2 lines)
   - Orange buttons use navy text: 5.9:1 instead of 2.5:1 with white
   Elementor: Button widget > Style > Typography/Text color, per button
   --------------------------------------------------------------------- */
body.pl-btn :is(.elementor-element-608f759,.elementor-element-10b6268) .elementor-button{white-space:nowrap}
body.pl-btn .elementor-element-608f759,
body.pl-btn .elementor-element-10b6268{width:auto!important;flex:0 0 auto!important;flex-wrap:nowrap!important;--flex-wrap:nowrap}
body.pl-btn .elementor-element-608f759 .elementor-widget-button,
body.pl-btn .elementor-element-10b6268 .elementor-widget-button{width:auto!important;flex:0 0 auto!important}
body.pl-btn .elementor-element-608f759 .elementor-button,
body.pl-btn .elementor-element-10b6268 .elementor-button{padding:14px 24px!important;line-height:1.2}
/* orange buttons: dark text */
body.pl-btn :is(.elementor-element-dc747af,.elementor-element-2cc3d06,.elementor-element-513ca24,.elementor-element-d443bfb,.elementor-element-79e0eeb4,.elementor-element-02b7813) .elementor-button,
body.pl-btn :is(.elementor-element-dc747af,.elementor-element-2cc3d06,.elementor-element-513ca24,.elementor-element-d443bfb,.elementor-element-79e0eeb4,.elementor-element-02b7813) .elementor-button:is(:hover,:focus,:focus-visible){
  color:var(--pl-navy)!important;font-weight:700;
}
body.pl-btn :is(.elementor-element-dc747af,.elementor-element-2cc3d06,.elementor-element-513ca24,.elementor-element-d443bfb,.elementor-element-79e0eeb4,.elementor-element-02b7813) .elementor-button:is(:hover,:focus-visible){background-color:#F59A1B!important}
/* shared hover polish for all pill buttons */
body.pl-btn .elementor-button{transition:background-color .2s,color .2s,box-shadow .2s,transform .2s}
body.pl-btn .elementor-button[class*="elementor-size"]:not(.elementor-button-link-text):hover{box-shadow:0 8px 20px rgba(14,42,56,.18);transform:translateY(-1px)}
body.pl-btn .elementor-button:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px var(--pl-blue)}
@media (prefers-reduced-motion:reduce){body.pl-btn .elementor-button{transition:none}body.pl-btn .elementor-button:hover{transform:none!important}}

/* ---------------------------------------------------------------------
   2. SECTION RHYTHM AND ALIGNMENT  (body.pl-rhythm)
   - Content edges line up on one 1200px grid (rows lose their extra 10px padding,
     so cards, headings and text share one left edge)
   - Alternating backgrounds: white / tint, with the steps band and FAQ on the tint
   - Insurance row vertically centered
   Elementor: Container > Advanced > Padding 0 on row containers; Style > Background
   --------------------------------------------------------------------- */
body.pl-rhythm :is(.elementor-element-6f67e7b,.elementor-element-df7d226,.elementor-element-0bcb942,.elementor-element-f106c3c,.elementor-element-397ccb3,.elementor-element-4e14485,.elementor-element-051252d,.elementor-element-3f5ad2c,.elementor-element-f40d200,.elementor-element-8685a92,.elementor-element-3a77b93){
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;padding:0!important}
body.pl-rhythm .elementor-element-a391c65{background-color:var(--pl-tint);padding-top:88px;padding-bottom:88px;margin-top:0}
body.pl-rhythm .elementor-element-a391c65 :is(.elementor-element-48686a4,.elementor-element-1049791,.elementor-element-95e9131,.elementor-element-17ef595){background-color:#fff;border:1px solid var(--pl-line)}
body.pl-rhythm .elementor-element-a6e22b7{background-color:var(--pl-tint)}
body.pl-rhythm .elementor-element-397ccb3{align-items:center}
body.pl-rhythm .elementor-element-4e9af63{margin-inline:auto;text-align:center}
@media (max-width:767px){
  body.pl-rhythm .elementor-element-a391c65{padding-top:56px;padding-bottom:56px}
}

/* ---------------------------------------------------------------------
   3. CARD DEPTH AND HOVER LIFT  (body.pl-depth)
   - One soft shadow + hairline border + 18px radius on service, team, step and
     insurance cards; service and team cards lift on hover (no motion if reduced)
   Elementor: Container > Style > Border (1px #E1EAEF, 18px) and Box Shadow
   --------------------------------------------------------------------- */
body.pl-depth :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523,
  .elementor-element-201021f,.elementor-element-c645f69,.elementor-element-67b1c60,.elementor-element-47f6ec9,.elementor-element-56a8d7f,.elementor-element-0791f22,
  .elementor-element-48686a4,.elementor-element-1049791,.elementor-element-95e9131,.elementor-element-17ef595,.elementor-element-5c6749d){
  background-color:#fff;border:1px solid var(--pl-line);border-radius:18px;box-shadow:var(--pl-shadow-sm);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
body.pl-depth :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523,
  .elementor-element-201021f,.elementor-element-c645f69,.elementor-element-67b1c60,.elementor-element-47f6ec9,.elementor-element-56a8d7f,.elementor-element-0791f22):hover{
  transform:translateY(-4px);box-shadow:var(--pl-shadow-md);border-color:#CFE0EA}
@media (prefers-reduced-motion:reduce){body.pl-depth .e-con.e-child{transition:none}body.pl-depth .e-con.e-child:hover{transform:none!important}}
@media (hover:none){body.pl-depth .e-con.e-child:hover{transform:none!important}}

/* ---------------------------------------------------------------------
   4. IMAGE TREATMENT AND CARD CONSISTENCY  (body.pl-media)
   - Service photos 4:3, team portraits 4:5, every photo 14-18px radius
   - Titles reserve two lines on desktop so descriptions line up across a row
   - "Learn about..." links pinned to the card bottom with a divider
   Elementor: Image widget > Style > Border Radius; Advanced > Custom CSS or Image size
   --------------------------------------------------------------------- */
body.pl-media :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523) .elementor-widget-image img{
  width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;border-radius:16px;display:block}
body.pl-media :is(.elementor-element-201021f,.elementor-element-c645f69,.elementor-element-67b1c60,.elementor-element-47f6ec9,.elementor-element-56a8d7f,.elementor-element-0791f22) .elementor-widget-image img{
  width:100%;aspect-ratio:4/5;height:auto;object-fit:cover;object-position:50% 20%;border-radius:16px;display:block}
body.pl-media :is(.elementor-element-3dec87e,.elementor-element-d4b0bf5,.elementor-element-a43bf32) .elementor-widget-image img{border-radius:16px}
@media (max-width:767px){
  body.pl-media :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523) .elementor-widget-image img{aspect-ratio:16/10}
  body.pl-media :is(.elementor-element-201021f,.elementor-element-c645f69,.elementor-element-67b1c60,.elementor-element-47f6ec9,.elementor-element-56a8d7f,.elementor-element-0791f22) .elementor-widget-image img{aspect-ratio:1/1;object-position:50% 15%}
}
@media (min-width:1025px){
  body.pl-media :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523,
    .elementor-element-201021f,.elementor-element-c645f69,.elementor-element-67b1c60,.elementor-element-47f6ec9,.elementor-element-56a8d7f,.elementor-element-0791f22) > .elementor-widget-heading{min-height:48px}
}
body.pl-media :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523) > .elementor-widget-text-editor{flex-grow:1}
body.pl-media :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523) > .elementor-widget-button{
  margin-top:auto;padding-top:14px;border-top:1px solid var(--pl-line)}
body.pl-media :is(.elementor-element-8431284,.elementor-element-a44eaa2,.elementor-element-7945191,.elementor-element-8cca3af,.elementor-element-e138523) > .elementor-widget-text-editor + .elementor-widget-button{margin-top:auto}

/* ---------------------------------------------------------------------
   5. FAQ ACCORDION  (body.pl-faq)
   - Each question is one white rounded card; the open one gets a tint header,
     blue outline and its answer inside the same card (no solid-blue pill)
   Elementor: Nested Accordion > Style > Item/Title/Content border, background, padding
   --------------------------------------------------------------------- */
body.pl-faq .e-n-accordion{display:flex;flex-direction:column;gap:12px}
body.pl-faq .e-n-accordion-item{margin:0!important;background:#fff;border:1px solid #D6E2E9;border-radius:16px;overflow:hidden;
  box-shadow:0 1px 2px rgba(14,42,56,.04);transition:box-shadow .25s,border-color .25s}
body.pl-faq .e-n-accordion-item:hover{border-color:#B8CEDB;box-shadow:var(--pl-shadow-sm)}
body.pl-faq .e-n-accordion-item[open]{border-color:var(--pl-blue);box-shadow:0 12px 30px rgba(39,116,174,.14)}
body.pl-faq .e-n-accordion-item-title{background:transparent!important;border:0!important;border-radius:0!important;
  color:var(--pl-navy)!important;padding:20px 24px!important;font-weight:600}
body.pl-faq .e-n-accordion-item[open] > .e-n-accordion-item-title{background:#EAF3F9!important;color:var(--pl-navy)!important}
body.pl-faq .e-n-accordion-item-title-text{color:inherit;font-weight:600}
body.pl-faq .e-n-accordion-item-title-icon,body.pl-faq .e-n-accordion-item-title-icon *{color:var(--pl-blue)!important;fill:var(--pl-blue)!important}
body.pl-faq .e-n-accordion-item > [role="region"]{background:transparent!important;border:0!important;border-radius:0!important;
  padding:18px 24px 22px 60px!important;margin:0!important}
@media (max-width:767px){body.pl-faq .e-n-accordion-item > [role="region"]{padding:16px 20px 20px!important}
  body.pl-faq .e-n-accordion-item-title{padding:18px 20px!important}}

/* ---------------------------------------------------------------------
   6. INSURANCE PANEL, CTA BANDS AND FOOTER FINISH  (body.pl-finish)
   - Insurance text + verification card sit in one soft tinted rounded panel;
     the insurer list gets a divider and a calmer measure
   - Photo bands share one gradient scrim; blue referral band and TMS card share a
     24px radius with a soft colored shadow; footer legal text gets a readable width
   Elementor: Container > Style > Background (gradient), Border, Padding; Overlay on bands
   --------------------------------------------------------------------- */
body.pl-finish .elementor-element-397ccb3{background:linear-gradient(135deg,#F2F7F8 0%,#E3EEF5 100%)!important;border:1px solid var(--pl-line)!important;
  border-radius:28px!important;padding:44px 48px!important;--padding-top:44px;--padding-right:48px;--padding-bottom:44px;--padding-left:48px}
body.pl-finish .elementor-element-4e9af63{max-width:860px;margin:36px auto 0;padding-top:24px;border-top:1px solid var(--pl-line)}
body.pl-finish :is(.elementor-element-83acfb9,.elementor-element-1ed9a83)::before{
  background-image:linear-gradient(180deg,rgba(8,32,46,.62) 0%,rgba(8,32,46,.86) 100%)!important;background-color:transparent!important;opacity:1!important}
body.pl-finish :is(.elementor-element-83acfb9,.elementor-element-1ed9a83) .elementor-widget-text-editor{max-width:640px;margin-inline:auto}
body.pl-finish .elementor-element-a43bf32{border-radius:24px;box-shadow:0 28px 52px -26px rgba(39,116,174,.65)}
body.pl-finish .elementor-element-ce46fe7 > .e-con-inner > .e-con,body.pl-finish .elementor-element-ce46fe7 > .e-con{border-radius:24px}
body.pl-finish footer .elementor-widget-text-editor{max-width:640px}
@media (max-width:767px){
  body.pl-finish .elementor-element-397ccb3{border-radius:22px!important;padding:28px 20px!important;--padding-top:28px;--padding-right:20px;--padding-bottom:28px;--padding-left:20px}
  body.pl-finish .elementor-element-4e9af63{margin-top:28px}
}

/* ---------------------------------------------------------------------
   7. (BONUS) SCROLL FADE-INS  (body.pl-motion)
   CSS-only (scroll-driven animation), uses the independent `translate`
   property so it never fights the hover lift. Off for reduced motion and
   in browsers without animation-timeline support.
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    @keyframes pl-rise{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
    body.pl-motion [data-elementor-type="wp-page"] > .e-con.e-parent:not(:first-child) :is(.elementor-widget,.e-con.e-child){
      animation:pl-rise linear both;animation-timeline:view();animation-range:entry 0% entry 40%}
  }
}

/* ---------------------------------------------------------------------
   8. H2 LETTER SPACING  (always on, not class-gated; requested 2026-12-04)
   All H2 section titles were letter-spacing: normal. Tightened slightly to
   -0.02em (-1px at 50px, -0.68px at 34px). Size, weight, colour and font unchanged;
   H1, H3 and body text untouched.
   Elementor: Site Settings > Typography > H2 letter spacing -0.02em
   (or per Heading widget: Typography > Letter Spacing).
   --------------------------------------------------------------------- */
h2, h2.elementor-heading-title{letter-spacing:-0.02em!important}
