/* =============================================================
   Legacy Health Advisory Group — shared stylesheet
   Palette: Windsor Blue · Platinum White · Champagne Gold
   Senior-friendly: large type, high contrast, roomy spacing
   ============================================================= */

:root {
  /* Brand Playbook v1.0 — Deep Windsor Navy / Platinum White / Matte Champagne Gold */
  --windsor:        #0B2545;   /* Deep Windsor Navy — primary base (60%)   */
  --windsor-dark:   #081A34;   /* deeper navy for footers/overlay          */
  --windsor-light:  #1E3B63;   /* hover / lighter navy                     */
  --gold:           #D4AF37;   /* Matte Champagne Gold — accent (10%)      */
  --gold-dark:      #82611E;   /* gold hover / gold-on-light text (WCAG AA: 5.7:1 on white) */
  --gold-soft:      #F4ECD3;   /* pale champagne wash                      */
  --platinum:       #E7E8EA;   /* platinum surface                         */
  --platinum-soft:  #F4F5F7;   /* Platinum White — secondary base (30%)    */
  --white:          #FFFFFF;
  --ink:            #1D2735;   /* body text                     */
  --ink-soft:       #4A5568;   /* muted text                    */
  --line:           #DCDEE3;   /* borders                       */
  --shadow:         0 10px 30px rgba(11, 37, 69, 0.12);
  --shadow-sm:      0 4px 14px rgba(11, 37, 69, 0.09);
  --radius:         14px;
  --maxw:           1160px;
  --font: "Montserrat", "Inter", Arial, "Segoe UI", system-ui, sans-serif;
  --serif: "Montserrat", "Inter", Arial, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- Accessibility: focus visibility & skip link ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--windsor-dark); color: #fff; padding: 14px 22px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 18px;          /* larger base for readability */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--windsor); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--windsor-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--platinum { background: var(--platinum-soft); }
.section--gold { background: var(--gold-soft); }
.section--navy { background: var(--windsor-dark); color: #E9EEF6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: .6rem;
}
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold  { background: var(--gold); color: var(--windsor-dark); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-dark); color: #fff; }
.btn--navy  { background: var(--windsor); color: #fff; }
.btn--navy:hover { background: var(--windsor-light); }
.btn--ghost { background: transparent; color: var(--windsor); border-color: var(--windsor); }
.btn--ghost:hover { background: var(--windsor); color: #fff; }
.btn--lg { font-size: 1.15rem; padding: 17px 38px; }
.btn--block { display: block; width: 100%; }

/* ---------- Header / Nav ---------- */
.topbar {
  background: var(--windsor-dark);
  color: #D9E2EF;
  font-size: .92rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar .topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .topbar__contact span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--windsor), var(--windsor-light));
  color: var(--gold); font-family: var(--serif); font-weight: 700;
  display: grid; place-items: center; font-size: 1.35rem;
  box-shadow: var(--shadow-sm); flex: none;
}
.brand__logo { height: 56px; width: auto; display: block; flex: none; }
.site-footer .brand__logo {
  height: 46px; background: #fff; border-radius: 10px; padding: 6px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.brand__text { display: block; line-height: 1.12; }
.brand__name { display: block; font-family: var(--serif); font-weight: 700; color: var(--windsor-dark); font-size: 1.1rem; }
.brand__tag  { display: block; margin-top: 2px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__links a {
  display: block; padding: 10px 16px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 1.02rem; white-space: nowrap;
}
.nav__links a:hover { background: var(--platinum-soft); color: var(--windsor); text-decoration: none; }
.nav__links a.is-active { color: var(--windsor); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.nav__cta { margin-left: 8px; }
.nav__cta a.is-active { box-shadow: var(--shadow-sm); }

/* Dropdown */
.has-menu > a { display: inline-flex; align-items: center; gap: 6px; }
.has-menu > a::after {
  content: ""; width: 8px; height: 8px; margin-top: -2px;
  border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark);
  transform: rotate(45deg); transition: transform .16s ease;
}
.has-menu:hover > a::after, .has-menu:focus-within > a::after { transform: rotate(225deg); margin-top: 2px; }
.submenu {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { padding: 11px 14px; font-weight: 600; font-size: .98rem; border-radius: 9px; white-space: nowrap; }
.submenu a small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; white-space: normal; }
.submenu__label {
  padding: 10px 14px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-dark);
}
.submenu__label + li a { padding-top: 6px; }
.submenu__divider { height: 1px; background: var(--line); margin: 8px 6px; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--windsor-dark);
}
.nav__toggle svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(150deg, rgba(8,26,52,.94) 0%, rgba(30,59,99,.88) 55%, rgba(51,87,138,.82) 100%);
  color: #EAF1FA;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(212,175,55,.28), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(212,175,55,.14), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 84px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 .accent { color: var(--gold); }
.hero p { font-size: 1.28rem; max-width: 54ch; color: #DCE6F2; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero__badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.hero__badge { font-size: .95rem; color: #CBD8E8; display: flex; align-items: center; gap: 9px; }
.hero__badge b { color: #fff; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); margin-bottom: 1rem; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 700;
}
.card__more { font-weight: 700; color: var(--windsor); }
.card--link:hover .card__more { text-decoration: underline; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split--reverse .split__media { order: 2; }
.media-panel {
  border-radius: 20px; min-height: 320px;
  background: linear-gradient(135deg, var(--windsor) 0%, var(--windsor-light) 100%);
  position: relative; overflow: hidden; box-shadow: var(--shadow);
  display: grid; place-items: center; color: #fff; text-align: center; padding: 30px;
}
.media-panel::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(600px 300px at 80% 10%, rgba(212,175,55,.35), transparent 60%);
}
.media-panel .media-panel__stat { position: relative; z-index:1; }
.media-panel .media-panel__stat b { font-family: var(--serif); font-size: 3rem; color: var(--gold); display:block; }
.media-panel__icon { position: relative; z-index: 1; margin-bottom: 18px; display: flex; justify-content: center; gap: 14px; }
.media-panel__badge {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem;
  color: var(--gold); font-weight: 700;
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 38px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--windsor-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  counter-increment: step; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--windsor); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
}
.step__num::before { content: counter(step); }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 6px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.1rem; color: var(--windsor-dark);
  padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--windsor-dark), var(--windsor)); color:#fff; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#D7E2F0; }

/* ---------- Calendly placeholder ---------- */
.calendly-embed {
  border: 2px dashed var(--gold); border-radius: var(--radius);
  background: var(--gold-soft); padding: 40px 26px; text-align: center;
  min-height: 520px; display: grid; place-content: center; gap: 12px;
}
.calendly-embed .calendly-embed__code {
  font-family: "Courier New", monospace; background: #fff; border:1px solid var(--line);
  padding: 4px 8px; border-radius: 6px; color: var(--windsor-dark);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; color: var(--windsor-dark); font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid rgba(212,175,55,.4); border-color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--windsor-dark); color: #C6D2E2; padding: 60px 0 26px; font-size: .96rem; }
.site-footer a { color: #E7EEF7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.footer-brand .brand__name { color:#fff; }
.footer-brand p { color:#AEBECF; font-size:.92rem; }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 22px;
  font-size: .82rem; color: #93A4B8; line-height: 1.6;
}
.disclaimer p { margin-bottom: .7rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--windsor-dark), var(--windsor));
  color:#EAF1FA; padding: 60px 0;
}
.page-hero h1 { color:#fff; }
.page-hero p { color:#D7E2F0; max-width: 60ch; font-size: 1.2rem; }
.breadcrumb { font-size:.85rem; color:#B7C6DA; margin-bottom: 10px; }
.breadcrumb a { color: var(--gold); }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.stack-sm > * + * { margin-top: 10px; }
.pill { display:inline-block; background:var(--platinum); color:var(--windsor-dark); border-radius:999px; padding:5px 14px; font-size:.85rem; font-weight:700; }
.pill--gold { background: var(--gold-soft); color: var(--gold-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px; display: none;
  }
  .nav__links.open { display: flex; }
  .nav__cta { margin: 8px 0 0; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--gold-soft);
    border-radius: 0; margin: 2px 0 8px 12px; padding: 0; display: none; min-width: 0;
  }
  .submenu a { white-space: normal; }
  .submenu__label { padding-left: 14px; }
  .has-menu.open .submenu { display: block; }
  .has-menu > a { display: flex; justify-content: space-between; align-items: center; }
  .has-menu.open > a::after { transform: rotate(225deg); margin-top: 2px; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4, .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  body { font-size: 17px; }
}

/* =============================================================
   Added: logo lockups, sticky mobile call bar, testimonials,
   photo panels, meet-the-advisor strip, booking embed
   ============================================================= */

/* ---------- Logo lockups ---------- */
.brand__logo--horizontal { height: 38px; }
@media (min-width: 600px) { .brand__logo--horizontal { height: 46px; } }
.brand__tag--header {
  display: none; font-family: var(--font); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-dark); font-weight: 700;
  padding-left: 14px; margin-left: 2px; border-left: 1px solid var(--line);
}
@media (min-width: 860px) { .brand__tag--header { display: inline-block; } }
.brand__logo--footer { height: 60px; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  box-shadow: 0 -6px 20px rgba(8,26,52,.18);
}
.call-bar__btn {
  flex: 1; text-align: center; padding: 16px 10px; font-weight: 700;
  font-size: 1rem; font-family: var(--font);
}
.call-bar__btn:hover { text-decoration: none; }
.call-bar__btn--call { background: var(--windsor-dark); color: #fff; }
.call-bar__btn--book { background: var(--gold); color: var(--windsor-dark); }
@media (max-width: 900px) {
  .call-bar { display: flex; }
  body { padding-bottom: 66px; }
}

/* ---------- Photo panels (headshot) ---------- */
.photo-panel {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  position: relative; min-height: 320px; background: var(--windsor-dark);
}
.photo-panel img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.photo-panel__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px 18px;
  background: linear-gradient(0deg, rgba(15,26,46,.92) 10%, transparent 100%);
  color: #fff;
}
.photo-panel__caption b { display: block; font-family: var(--serif); font-size: 1.25rem; }
.photo-panel__caption span { font-size: .9rem; color: #D7E2F0; }

/* ---------- Meet-the-advisor strip ---------- */
.meet-strip {
  display: flex; align-items: center; gap: 22px; background: var(--gold-soft);
  border-radius: 20px; padding: 26px 30px;
}
.meet-strip img {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow-sm); flex: none; border: 3px solid #fff;
}
.meet-strip p { margin: 0; color: var(--ink-soft); }
.meet-strip__name { font-weight: 700; color: var(--windsor-dark); }
@media (max-width: 620px) {
  .meet-strip { flex-direction: column; text-align: center; }
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); height: 100%;
}
.testimonial__stars { color: var(--gold-dark); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial p { color: var(--ink-soft); font-style: italic; }
.testimonial__name { font-style: normal; font-weight: 700; color: var(--windsor-dark); margin: 10px 0 0; }
.testimonial__flag {
  display: inline-block; margin-top: 10px; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #A8432F;
  background: #FBEAE6; padding: 3px 10px; border-radius: 6px;
}

/* ---------- Booking embed (Google Calendar) ---------- */
.booking-embed {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.booking-embed iframe { width: 100%; border: 0; display: block; height: 720px; }
.booking-embed__fallback {
  text-align: center; padding: 16px; background: var(--platinum-soft);
  border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft);
}
