/* Mindful Medicare Solutions: simple, readable site styles */
:root {
  --ink: #1f2a37;
  --muted: #5b6472;
  --green: #2f6f3a;      /* buttons and links: the logo's green, dark enough for white text */
  --green-dark: #24592e;
  --soft: #f4f7f4;       /* alternate section background */
  --line: #e2e8e3;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 18px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 2.3rem; margin: 0 0 .5em; }
h2 { font-size: 1.6rem; margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 84px; flex-wrap: wrap; }
.brand img { display: block; width: 190px; }
.nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.nav a, .menu nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .menu nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { color: var(--green); }
.nav a.nav-cta { background: var(--green); color: #fff; }
.nav a.nav-cta:hover { background: var(--green-dark); }
.call { order: 3; font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu { display: none; }

/* Buttons */
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4em; }
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 8px; border: 2px solid var(--green); }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-line { background: #fff; color: var(--green); }
.btn-line:hover { background: var(--soft); color: var(--green-dark); }

/* Sections */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--soft), #fff); }
.hero h1 { font-size: 2.7rem; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .85rem; color: var(--green); margin-bottom: .8em; }
.page-head { padding: 56px 0 32px; background: var(--soft); border-bottom: 1px solid var(--line); }
.section { padding: 56px 24px; }
.soft { background: var(--soft); }
.band { background: var(--green); color: #fff; padding: 56px 0; }
.band h2, .band p { color: #fff; }
.band .btn { background: #fff; color: var(--green); border-color: #fff; }
.band .btn-line { background: transparent; color: #fff; border-color: #fff; }
.band .buttons { justify-content: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 1em; }
.card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; text-decoration: none; color: var(--ink); }
a.card:hover { border-color: var(--green); box-shadow: 0 4px 14px rgba(31, 42, 55, .08); color: var(--ink); }
.card p { color: var(--muted); margin-bottom: .8em; }
.card span { color: var(--green); font-weight: 700; }

/* Lists */
.checks, .plain { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 32px; position: relative; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.plain li { margin-bottom: .8em; }

/* Boxes */
.note-box { border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 32px; background: #fff; }
.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.faq p { margin: .8em 0 0; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.videos iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.big { font-size: 1.8rem; font-weight: 700; margin-bottom: .2em; }
.contact h2 { margin-top: 0; }
.contact div > h2 + p { margin-bottom: 1.2em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.4em; }
.guide h2 { margin-top: 1.4em; }
.guide .note-box { margin: 1.5em 0; }

/* Footer */
.foot { background: #1f2a37; color: #d6dbe1; padding: 48px 0 24px; font-size: .95rem; }
.foot a { color: #fff; }
.foot img { background: #fff; padding: 8px 10px; border-radius: 8px; width: 160px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.foot-h { font-weight: 700; color: #fff; margin-bottom: .4em; }
.fine { border-top: 1px solid #3a4553; padding-top: 20px; font-size: .8rem; color: #aeb6c0; }
.fine p { margin-bottom: .8em; }

/* Phones and small screens */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; margin-left: auto; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 16px; border: 2px solid var(--line); border-radius: 8px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; left: 0; right: 0; top: 84px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; display: grid; gap: 4px; }
  .call { order: 0; margin-left: auto; font-size: .95rem; }
  .menu { order: 4; margin-left: 0; }
  .two, .cards, .videos, .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.8rem; }
  .brand img { width: 150px; }
}

@media (max-width: 480px) {
  .top-row { gap: 12px; }
  .brand img { width: 130px; }
  .call .num { display: none; }  /* just "Call" on small phones; it still dials */
  .hero h1 { font-size: 1.75rem; }
}

/* Photos, portrait, video, badges */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; }
.hero .photo { aspect-ratio: 4 / 3; }
.two .photo { aspect-ratio: 3 / 2; align-self: center; }
.portrait { width: 160px; border-radius: var(--radius); float: left; margin: 0 20px 12px 0; }
.meet h2 { margin-top: 0; }
.story { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.story .portrait { float: none; width: 100%; margin: 0; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 1.2em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.badges { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 1em; }
.badges img { height: 72px; width: auto; }
@media (max-width: 900px) {
  .hero-grid, .story { grid-template-columns: 1fr; }
  .story .portrait { width: 180px; }
}

/* Phones: easy-to-tap buttons, tighter spacing */
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section, .wrap.section { padding: 36px 20px; }
  .hero { padding: 40px 0 36px; }
  .page-head { padding: 36px 0 24px; }
  .band { padding: 40px 0; }
  .buttons { flex-direction: column; }
  .buttons .btn, .note-box .btn, .contact .btn { display: block; text-align: center; width: 100%; }
  .badges img { height: 56px; }
  .note-box { padding: 22px; }
  .lead { font-size: 1.1rem; }
}

@media (max-width: 600px) {
  .meet .portrait { float: none; display: block; width: 150px; margin: 0 0 16px; }
}

/* ---------- Interaction: hover, press, focus, reveal ---------- */
a, .btn, .card, .nav a, .menu nav a, .faq summary, .photo, .portrait { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .2s ease, transform .2s ease, text-decoration-color .18s ease; }

/* Buttons: lift on hover, press on click */
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(47, 111, 58, .25); }
.btn:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(47, 111, 58, .25); }
.band .btn:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }

/* Cards: rise, green edge, arrow slides */
a.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(31, 42, 55, .10); }
.card span::after { content: " \2192"; display: inline-block; transition: transform .2s ease; }
a.card:hover span::after { transform: translateX(4px); }
.card.static:hover { border-color: #cfdccf; }

/* Menu: green underline slides in */
.nav a:not(.nav-cta) { position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:not(.nav-cta):hover { background: transparent; color: var(--green); }
.nav a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(47, 111, 58, .25); }
.call:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Text links: thicker, darker underline */
main p a, main li a, .foot a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
main p a:hover, main li a:hover, .foot a:hover { text-decoration-thickness: 2px; }
.foot a:hover { color: #c9e7cd; }

/* Photos: a very slight zoom */
.photo:hover, .portrait:hover { transform: scale(1.015); }

/* FAQ: highlight, and + turns into - */
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 8px; margin: 0 -8px; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--green); transition: transform .2s ease; }
.faq[open] summary::after { content: "\2212"; }
.faq summary:hover { background: #fff; color: var(--green); }

/* Phone menu button */
.menu summary { transition: background-color .18s ease, border-color .18s ease; }
.menu summary:hover, .menu[open] summary { background: var(--soft); border-color: #cfdccf; }

/* Keyboard focus: always visible */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid #7fb889; outline-offset: 3px; border-radius: 6px; }

/* Sections fade up as they come into view (see reveal.js) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.shown { opacity: 1; transform: none; }

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, a.card:hover, .photo:hover, .portrait:hover { transform: none; }
}

/* Towns we serve (opens on click) */
.towns { margin-top: 1em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px 18px; }
.towns summary { cursor: pointer; font-weight: 700; color: var(--green); }
.towns p { margin: .8em 0 .2em; color: var(--muted); font-size: .95rem; line-height: 1.8; }

/* Review quotes on the home page */
.card.quote { margin: 0; display: flex; flex-direction: column; }
.quote .stars { color: #e0a800; font-size: 20px; letter-spacing: 2px; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 14px; color: var(--ink); font-size: 17px; line-height: 1.55; flex: 1; }
.quote figcaption { color: var(--muted); font-size: 14px; font-weight: 600; }
