/* SKIN: health — Legacy Group Health & Wellness brand tuning
   The template health.css ships a 6-line stub; this is the SITE-LEVEL extension
   that puts Bridget's phoenix brand into the layout. Shared template skin is
   untouched; this file carries the per-site rules.

   Palette, straight from the intake brand guide (every value sampled from the
   logo file by the client's designer):
     Legacy Green   #11290D   wordmark text, headings, body — on white 15.6:1
     Deep Leaf      #225216   darker leaves — links, subheadings, icons
     Leaf Green     #396D29   main leaves — icons, dividers
     Evergreen      #034700   deepest leaf shadows — dark section backgrounds
     Flame Red      #E31F16   phoenix body — main buttons, white text (4.7:1)
     Phoenix Orange #FC8405   upper wings — decorative accents only
     Berry          #900932   wing tips — button hover, small accents
     Sun Gold       #FCDD2D   the sun — highlights on dark green
     Sun Glow       #FCE77D   sun's inner glow — soft highlight backgrounds
     Cream          #FBF8EE   alternate section backgrounds
     Muted Text     #4A5A46   captions, small print

   The guide is explicit: Phoenix Orange and Sun Gold are NEVER text on white
   (they fail contrast). On the dark hero / band they GLOW like the logo. */

:root{
  /* Palette shifted 2026-11-11 per operator (Mar): warm beige / off-white
     everywhere the site was pure white, and a neutral warm-dark hero overlay
     (NOT green) so the banner photos read true to themselves. Brand guide's
     Legacy Green is retained as the text color and for the single closing
     band; the rest of the surface palette is beige. */
  --paper:#FBF6E8;              /* Warm beige — replaces pure white as the page background */
  --paper-cream:#FEFBF2;        /* Softer near-white — for cards that still need to pop */
  --ink:#11290D;
  --muted:#4A5A46;
  --radius:14px;
  --shadow:0 6px 24px rgba(74,60,30,.10);
  --tile-border:1px solid #E8DFCB;
  --header-line:1px solid #E8DFCB;
  --section-bg-alt:#F1E6CB;     /* Deeper beige for alternating sections */
  --accent-text:#ffffff;
  /* Phoenix palette — carried as CSS vars so the skin can reach them easily */
  --deep-leaf:#225216;
  --leaf-green:#396D29;
  --evergreen:#034700;
  --sun-gold:#FCDD2D;
  --sun-glow:#FCE77D;
  --phoenix-orange:#FC8405;
  --berry:#900932;
  /* NEUTRAL warm-dark hero overlay (operator 2026-11-11: "no green hue on
     banners"). Pixel-sampled against the new hero photos' text bands: white
     h1 clears 7:1 worst-case; the Sun Gold eyebrow clears 5.3:1 worst-case. */
  --hero-overlay:linear-gradient(180deg,
    rgba(28,22,16,.74),
    rgba(28,22,16,.52) 55%,
    rgba(28,22,16,.80));
}
/* Page body + section backgrounds shift to warm beige */
body{background:var(--paper)}
.site-header{background:var(--paper-cream)}

section{padding:5.5rem 0}
h1,h2{font-weight:700;letter-spacing:.005em;line-height:1.15}
h1{font-family:var(--display);margin-bottom:1.15rem}
h2{font-family:var(--display);margin:.4rem 0 1.3rem}
h3{font-family:var(--display)}
.sub{line-height:1.72}

/* Breathing room — same reasoning as lumu-health's extension: base.css's
   `*{margin:0}` reset leaves consecutive elements touching unless we restore
   defaults here. */
.eyebrow{display:inline-block;margin-bottom:.65rem;letter-spacing:.14em;
  text-transform:uppercase;font-weight:700;font-size:.84rem;color:var(--deep-leaf)}
/* A small Sun Gold tick before every eyebrow — the brand mark reads through
   the whole site without any gold TEXT on white (brand guide forbids that). */
.eyebrow::before{content:"";display:inline-block;width:22px;height:2px;
  background:var(--sun-gold);border-radius:2px;vertical-align:middle;margin-right:10px}
.hero .eyebrow::before{background:var(--sun-glow)}
.band .eyebrow::before{background:var(--sun-glow)}
.sub{margin-bottom:1.2rem}
p{margin-bottom:1rem}
.cta-row{margin-top:1.9rem}
.tile p + p{margin-top:.6rem}
.split > div > * + *{margin-top:1rem}

/* ---- Logo size (operator request: "make the logo bigger") ---- */
.site-header{padding:14px 26px}
.brand img{height:72px}
.brand .brand-wordmark{height:40px}
@media (max-width:1100px){.brand img{height:62px}}
@media (max-width:860px){.brand img{height:52px}
  .brand .brand-wordmark{height:30px}
  .site-header{padding:10px 16px}}

/* ---- Hero: no gold text on white but on dark the eyebrow glows ---- */
.hero h1{font-family:var(--display);font-size:clamp(2.6rem,5.8vw,4.4rem);line-height:1.08;letter-spacing:.01em}
.hero .sub{max-width:62ch;font-size:1.1rem}

/* ---- Tiles ---- */
.tile{padding:1.9rem 1.7rem;background:var(--paper-cream);border-radius:var(--radius);
  border:1px solid #e8dfcb;box-shadow:0 4px 18px rgba(74,60,30,.08);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s}
.tile:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(17,41,13,.1)}
.tile h3{color:var(--deep-leaf);margin-bottom:.7rem;font-size:1.12rem;letter-spacing:.005em}
.tile p{color:var(--muted);font-size:.96rem}
.tile-icon{width:50px;height:50px;border-radius:50%;background:var(--sun-glow);
  border:1.5px solid var(--sun-gold);display:flex;align-items:center;
  justify-content:center;color:var(--primary);margin-bottom:1rem;
  box-shadow:0 4px 14px rgba(252,221,45,.25)}
.tile-icon svg{width:24px;height:24px}

/* ---- Deep-green BANDS with gold edges — the brand's "phoenix glow" bands ---- */
.band{background:var(--primary);color:#fff;text-align:center;
  border-top:5px solid var(--sun-gold);border-bottom:5px solid var(--sun-gold);
  position:relative;overflow:hidden;padding:5.4rem 0}
.band::before,.band::after{content:"";position:absolute;left:50%;transform:translateX(-50%);
  width:520px;height:520px;background:radial-gradient(circle,rgba(252,221,45,.26) 0%,transparent 65%);pointer-events:none}
.band::before{top:-220px}
.band::after{bottom:-220px}
.band .wrap{position:relative;z-index:1}
.band .eyebrow{color:var(--sun-glow)}
.band h2{color:#fff;letter-spacing:.015em}
.band .sub{color:rgba(255,255,255,.94);margin-left:auto;margin-right:auto;max-width:62ch}
.band .values{letter-spacing:.32em;text-transform:uppercase;font-size:.82rem;
  font-weight:700;color:var(--sun-glow);margin:1.6rem 0 0}
.band .cta-row{justify-content:center}
.band .btn{background:#fff;color:var(--primary);border-color:#fff}
.band .btn:hover{background:var(--sun-glow);color:var(--primary);border-color:var(--sun-glow)}
.band .btn.btn-accent{background:var(--accent);color:#fff;border-color:var(--accent)}
.band .btn.btn-accent:hover{background:var(--berry);border-color:var(--berry)}

/* ---- Section-alt now uses Cream ---- */
.section-alt{background:var(--section-bg-alt)}

/* ---- Four focus areas — proper 72px circles, varied brand colors ---- */
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:2.4rem}
@media (max-width:960px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.grid4{grid-template-columns:1fr}}
.focus{text-align:center;padding:1.8rem 1.2rem 1.6rem;background:var(--paper-cream);border-radius:var(--radius);
  border:1px solid #e8dfcb;box-shadow:0 4px 18px rgba(74,60,30,.08);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s;position:relative}
.focus:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(74,60,30,.12)}
/* Gold circles with Legacy Green inside — brand guide: "gold on dark green,
   where it glows like the logo." Dark svg on sun-gold measures 15.6:1. */
.focus-icon{width:76px;height:76px;border-radius:50%;margin:0 auto 1.2rem;
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);background:var(--sun-gold);
  box-shadow:0 6px 20px rgba(252,221,45,.4);position:relative}
.focus-icon svg{width:36px;height:36px;stroke-width:1.6}
/* An outer ring in a brand accent for variety per card — pulls gold forward */
.focus-icon::before{content:"";position:absolute;inset:-7px;border-radius:50%;
  border:2px solid var(--sun-gold);opacity:.45;pointer-events:none}
.grid4 > .focus:nth-child(1) .focus-icon::before{border-color:var(--leaf-green)}
.grid4 > .focus:nth-child(2) .focus-icon::before{border-color:var(--phoenix-orange)}
.grid4 > .focus:nth-child(3) .focus-icon::before{border-color:var(--berry)}
.grid4 > .focus:nth-child(4) .focus-icon::before{border-color:var(--primary)}
.focus h3{text-transform:uppercase;letter-spacing:.14em;font-size:.96rem;color:var(--deep-leaf);margin:.3rem 0 .5rem}
.focus p{color:var(--muted);font-size:.96rem;margin-bottom:.75rem}
.focus a{color:var(--deep-leaf);font-weight:600;font-size:.9rem}

/* ---- Insurance plans as brand-tinted pills (reuses lumu-health's pattern) ---- */
.plans{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));
  gap:12px;margin:1.4rem 0 0;max-width:860px;padding:0}
.plans li{display:flex;align-items:center;gap:.8rem;background:var(--paper-cream);
  border:1px solid #e8dfcb;border-radius:999px;padding:.75rem 1.2rem;
  font-weight:600;color:var(--primary);box-shadow:0 2px 10px rgba(74,60,30,.08)}
.plans li::before{content:"";flex:none;width:24px;height:24px;border-radius:50%;
  border:2px solid var(--sun-gold);background:var(--sun-glow) center/13px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311290D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.plans-note{margin-top:1.2rem;color:var(--muted);font-size:.95rem}

/* ---- Steps badges in Sun Gold (keeps Flame Red reserved for CTA buttons) ---- */
.steps li::before{background:var(--sun-gold);color:var(--primary);box-shadow:0 4px 14px rgba(252,221,45,.4)}
.steps h3{color:var(--deep-leaf)}

/* ---- Ticks (checklist) ---- */
.ticks li{position:relative;padding-left:30px;list-style:none;margin-bottom:.7rem}
.ticks li::before{content:"";position:absolute;left:0;top:4px;width:20px;height:20px;border-radius:50%;
  background:var(--sun-gold) center/12px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311290D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}

/* ---- Buttons: honor brand guide ("hover switches to berry") ---- */
.btn-accent{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700;
  letter-spacing:.01em;transition:background .22s,border-color .22s,transform .18s}
.btn-accent:hover{background:var(--berry);border-color:var(--berry);transform:translateY(-1px)}
.btn{font-weight:700;letter-spacing:.01em;transition:background .22s,border-color .22s,color .22s,transform .18s}
.btn-big{padding:0.95rem 1.6rem;font-size:1rem}

/* ---- Footer: LIGHT theme per operator 2026-11-11 ("make the part under
       [the band] with the logo etc that is brighter green to be beige or
       off white instead"). Overrides base.css's .site-footer{background:var(--dark)}
       so the footer sits on the same warm beige as the rest of the page,
       separated from the deep-green closing band above it by a Sun Gold
       top rule. Logo no longer needs a glow since it's on a light bg.
       -- 2026-11-16 (Bridget via Mar): the 230px max-width was overflowing
       the ~170px mobile footer column and overlapping the HOURS heading
       on narrow screens. Capped height to 72px desktop and 60px mobile so
       the logo stays inside its column at every breakpoint. */
.site-footer{background:var(--section-bg-alt);color:var(--ink);
  border-top:4px solid var(--sun-gold)}
.foot-logo{height:72px;width:auto;max-width:100%;margin-bottom:.8rem;filter:none}
@media (max-width:760px){.foot-logo{height:60px}}
.foot-head{color:var(--deep-leaf)}
.foot-area{color:var(--muted)}
.foot-nap{color:var(--muted)}
.foot-nap a{color:var(--primary);font-weight:600}
.foot-links a{color:var(--deep-leaf)}
.foot-links a:hover{color:var(--accent);text-decoration:underline}
.foot-areas a{color:var(--deep-leaf)}
.foot-areas a:hover{color:var(--accent);text-decoration:underline}
.foot-legal p{color:var(--muted)}
.foot-legal a{color:var(--deep-leaf);text-decoration:underline}
.foot-hours{color:var(--muted)}
.foot-hours li span:first-child{color:var(--deep-leaf);font-weight:600}

/* ---- Phoenix divider rule — a decorative gold-fade rule for section intros ---- */
.phoenix-rule{display:flex;align-items:center;gap:16px;margin:0 auto 1.3rem;max-width:260px;justify-content:center}
.phoenix-rule::before,.phoenix-rule::after{content:"";flex:1;height:3px;background:linear-gradient(90deg,transparent,var(--sun-gold),transparent);border-radius:3px}
.phoenix-rule svg{width:32px;height:32px;color:var(--sun-gold);flex:0 0 auto;filter:drop-shadow(0 2px 4px rgba(252,221,45,.4))}

/* ---- Pull quote: a design element for mission/philosophy copy ---- */
.pull-quote{border-left:5px solid var(--sun-gold);padding:1.3rem 1.7rem;
  background:var(--section-bg-alt);border-radius:0 var(--radius) var(--radius) 0;
  font-family:var(--display);font-size:1.22rem;line-height:1.4;color:var(--deep-leaf);
  box-shadow:0 2px 10px rgba(17,41,13,.05);position:relative}
.pull-quote::before{content:"\201C";position:absolute;left:-14px;top:-8px;
  font-family:var(--display);font-size:3.4rem;line-height:1;color:var(--sun-gold);text-shadow:0 2px 6px rgba(252,221,45,.35)}
.pull-quote footer{margin-top:.8rem;font-family:var(--body);font-size:.95rem;color:var(--muted);font-style:normal}

/* ---- Feature media card: a .split's photo wrapped nicely ---- */
.feature-media{position:relative;border-radius:var(--radius);overflow:hidden;
  box-shadow:0 10px 32px rgba(17,41,13,.14)}
.feature-media::after{content:"";position:absolute;inset:0;border-radius:inherit;
  pointer-events:none;background:linear-gradient(135deg,rgba(252,221,45,0) 0%,rgba(252,221,45,.12) 100%);mix-blend-mode:soft-light}

/* ---- Photo + text split: enforce vertical center alignment for inline-styled imgs ---- */
.split-rich{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center}
.split-rich > div > *{min-width:0}
@media (max-width:860px){.split-rich{grid-template-columns:1fr;gap:30px}}
.split-rich img{width:100%;height:auto;display:block;border-radius:var(--radius);box-shadow:0 10px 32px rgba(17,41,13,.14)}

/* ---- Values row (RISE | RENEW | THRIVE | BELONG from the band) ---- */
.values{letter-spacing:.32em;text-transform:uppercase;font-weight:700;font-size:.82rem;
  color:var(--sun-glow);margin:1.6rem 0 0}

/* ---- FAQ ---- */
.faq summary{font-family:var(--display);font-weight:700;color:var(--deep-leaf);
  font-size:1.05rem;cursor:pointer}
.faq details{background:var(--paper-cream);border:1px solid #e8dfcb;border-radius:var(--radius);
  padding:1.1rem 1.3rem;margin-bottom:12px;box-shadow:0 2px 10px rgba(74,60,30,.05)}
.faq details[open]{box-shadow:0 6px 22px rgba(74,60,30,.1)}
.faq p{margin:.7rem 0 0;color:var(--muted)}

/* ---- Big hero CTAs ---- */
.hero .cta-row .btn-big{padding:1.05rem 1.8rem;font-size:1.05rem}
.hero .btn:not(.btn-accent){background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.75);color:#fff;backdrop-filter:blur(4px)}
.hero .btn:not(.btn-accent):hover{background:rgba(255,255,255,.95);color:var(--primary);border-color:#fff}

/* ---- Meta row for the "ways to reach us" trio on contact ---- */
.meta-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));
  gap:20px;margin-top:2.3rem}
.meta-row .meta-item{background:var(--paper-cream);border:1px solid #e8dfcb;border-radius:var(--radius);
  padding:1.6rem 1.4rem;box-shadow:0 4px 18px rgba(74,60,30,.08);text-align:center}
.meta-row .meta-item .meta-icon{width:52px;height:52px;border-radius:50%;background:var(--sun-glow);
  border:1.5px solid var(--sun-gold);color:var(--primary);margin:0 auto 1rem;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(252,221,45,.25)}
.meta-row .meta-item .meta-icon svg{width:24px;height:24px}
.meta-row .meta-item h3{color:var(--deep-leaf);font-size:.95rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:.5rem}
.meta-row .meta-item p,.meta-row .meta-item a{color:var(--muted);font-size:.98rem}
.meta-row .meta-item a{color:var(--primary);font-weight:600}

/* ---- Hero without form: center text block and give it room ---- */
.hero .hero-grid.no-form{grid-template-columns:1fr;max-width:860px;margin:0 auto;text-align:center}
.hero .hero-grid.no-form .cta-row{justify-content:center}

/* ---- Hide the small header phone button (operator 2026-11-12: "From every
   banner and the top menu, remove the number button"). The tel-mini comes from
   base.css's header, not something we can switch off per site via a config key
   — hidden here instead. The phone stays in the mobile menu, on the contact
   page, in the footer, and in JSON-LD, so it's not suppressed everywhere. */
.hdr-cta .tel-mini{display:none}
/* .hero .sub carries max-width:62ch; needs auto margins to CENTER within the
   centered no-form hero (otherwise the paragraph sits left-aligned inside its
   own cap width, which looks hung off to one side on wide screens). */
.hero .hero-grid.no-form .sub{margin-left:auto;margin-right:auto}

/* ---- Center every hero sitewide (operator 2026-11-12: "make sure the wordings
   on the hero for each page are centered and the button is also centered").
   Inner-page heroes sat in a plain .hero > .wrap with no .hero-grid wrapper and
   defaulted to left-aligned. This centers the eyebrow / h1 / sub / cta-row on
   every hero. The home hero is already wrapped in .hero-grid.no-form, so its
   rules above still apply (more specific, same result). No .hero-grid.has-form
   variant is in use anywhere on this site, so this cascades cleanly. */
.hero > .wrap{text-align:center}
.hero > .wrap .sub{margin-left:auto;margin-right:auto}
.hero > .wrap .cta-row{justify-content:center}

/* ---- Current-page indicator in the nav (operator request 2026-10-30) ----
   header.php already emits aria-current="page" on the current link and
   .is-ancestor on a parent whose child is current. We just needed the paint.
   A tiny Sun Gold underline sits below the link; brand-tuned, quiet, not
   mistakable for an underlined hyperlink (it only appears on the current
   page's own entry). */
.main-nav .nav-item > a[aria-current="page"],
.main-nav .nav-item > a.is-ancestor{position:relative;color:var(--primary);font-weight:700}
.main-nav .nav-item > a[aria-current="page"]::after,
.main-nav .nav-item > a.is-ancestor::after{content:"";position:absolute;left:0;right:0;bottom:-8px;
  height:3px;background:var(--sun-gold);border-radius:3px;box-shadow:0 1px 4px rgba(252,221,45,.5)}
/* Mobile: a soft gold wash + gold left bar on the current page's link. */
.mobile-nav a[aria-current="page"]{color:var(--primary);font-weight:700;
  background:linear-gradient(90deg,var(--sun-glow) 0%,rgba(252,231,125,0) 70%);
  border-left:4px solid var(--sun-gold);padding-left:calc(1.2rem - 4px)}
