/* Your Medicare Resource — Shared Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0a2d4c;   /* primary text, h1, h3, nav */
  --coral:      #d86b4d;   /* h2 accent headings        */
  --green:      #a3ca10;   /* buttons                   */
  --green-dark: #7d9c0c;   /* button hover              */
  --teal:       #00a0a0;   /* secondary accent / links  */
  --teal-dark:  #10738a;   /* teal variant              */
  --orange:     #f4720e;   /* warm accent               */
  --nav-gray:   #999999;   /* nav link color            */
  --gray-bg:    #f8f8f8;   /* subtle section background */
  --border:     #e5e5e5;   /* borders                   */
  --white:      #ffffff;
  --text:       #0a2d4c;
  --max-width:  960px;
}

body {
  font-family: 'Open Sans', Helvetica, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
}

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

/* ── TOP BAR ── */
.top-bar {
  background: var(--gray-bg);
  color: var(--navy);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

/* ── HEADER / NAV ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: static;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}

.logo img {
  height: 64px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav ul li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nav-gray);
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--navy);
  background: var(--gray-bg);
  text-decoration: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  background-image: linear-gradient(rgba(10,45,76,0.55), rgba(10,45,76,0.55)),
                    url('images/site-banner.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero p.hero-sub {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-pill {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--white);
  border: 2px solid transparent;
  transition: background 0.2s, filter 0.2s;
}

.hero-pill--teal {
  background: var(--teal);
  border-color: var(--teal);
}

.hero-pill--teal:hover { filter: brightness(1.12); }

.hero-pill--coral {
  background: var(--coral);
  border-color: var(--coral);
}

.hero-pill--coral:hover { filter: brightness(1.12); }

.hero-pill--accent {
  background: var(--green);
  border-color: var(--green);
}

.hero-pill--accent:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}


/* ── ABOUT SPLIT (homepage) full-bleed ── */
.about-split-wrap {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: #fdeae4;
  padding: 80px clamp(20px, calc((100vw - 960px) / 2 + 24px), 400px);
  box-sizing: border-box;
  overflow: hidden;
}

.about-split {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: center;
}

.about-split-heading {
  font-size: 2rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.accent-word {
  color: var(--teal-dark);
  font-style: italic;
}

.about-split-text p {
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--navy);
}

.about-split-photo {
  position: relative;
  width: 260px;
}

.photo-accent {
  position: absolute;
  width: 220px;
  height: 280px;
  background: #f0b8a6;
  border-radius: 12px;
  top: -16px;
  left: -16px;
  z-index: 0;
}

.about-split-photo img {
  position: relative;
  z-index: 1;
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.15);
  display: block;
}

.photo-dots {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  z-index: 0;
  background-image: radial-gradient(circle, var(--teal) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.4;
}

@media (max-width: 700px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-split-photo { width: 240px; margin: 0 auto; }
  .about-split-heading { font-size: 1.6rem; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 52px 24px 44px;
}

.page-hero h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.82;
  max-width: 540px;
  margin: 0 auto;
  color: var(--white);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--green-dark);
  text-decoration: none;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral);
}
.btn-coral:hover { background: #b85a3d; }

.btn-navy {
  background: var(--navy);
}
.btn-navy:hover { background: #06182a; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── MAIN CONTENT ── */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px 24px;
}

/* ── SECTIONS ── */
section { margin-bottom: 52px; }

h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

p { margin-bottom: 14px; }

ul, ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
li { margin-bottom: 6px; }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 700px) {
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
}


.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); }

.card h3 {
  color: var(--teal-dark);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* ── STEP CARDS ── */
.steps { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }

.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--gray-bg);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 22px 26px;
}

.step img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.step-content h3 { color: var(--teal-dark); margin-bottom: 6px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 44px 24px;
  margin: 0 -24px;
}

.cta-band h2 {
  color: var(--white);
  border: none;
  padding: 0;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cta-band p { margin-bottom: 24px; opacity: 0.88; color: var(--white); }

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--gray-bg);
  padding: 44px 24px;
  margin: 0 -24px;
}

.testimonials h2 { text-align: center; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

blockquote {
  background: var(--white);
  border-left: 4px solid var(--coral);
  border-radius: 0 8px 8px 0;
  padding: 22px 24px;
  font-style: italic;
  font-size: 0.93rem;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--teal-dark);
}

/* ── HOME FEATURE CARDS ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.feature-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); }

.feature-card a {
  display: block;
  text-decoration: none;
}

.feature-card img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.feature-card h3 { color: var(--teal-dark); font-size: 1.05rem; }
.feature-card p { color: var(--navy); font-size: 0.9rem; margin-bottom: 0; }

/* ── WARNING CALLOUT ── */
.callout-warning {
  background: #fff8f0;
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

/* ── DISCLAIMER ── */
.disclaimer {
  background: #fffdf0;
  border: 1px solid #e6d87a;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: #666;
  margin-top: 32px;
  line-height: 1.55;
}

.disclaimer a { color: var(--teal); }

/* ── QUOTE BANNER ── */
.quote-banner {
  background: var(--gray-bg);
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  text-align: center;
  padding: 28px 24px;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--navy);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 44px 24px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

footer h4 {
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
footer ul li a:hover { color: var(--white); text-decoration: none; }

.footer-phone {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

footer p { margin-bottom: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.contact-item {
  text-align: center;
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 34px 20px;
  border-top: 3px solid var(--teal);
}

.contact-item .icon { font-size: 2.2rem; margin-bottom: 12px; }
.contact-item h3 { margin-bottom: 8px; color: var(--teal-dark); }
.contact-item a { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.contact-item a:hover { color: var(--teal); }

/* ── RESOURCE LINKS ── */
.resource-list { list-style: none; padding: 0; }
.resource-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.resource-list li:last-child { border-bottom: none; }
.resource-list a { font-weight: 600; color: var(--teal); }

/* ── RESPONSIVE ── */
@media (max-width: 660px) {
  .menu-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--teal);
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 4px;
  }

  nav ul li a {
    display: block;
    padding: 10px 14px;
  }

  .header-inner { position: relative; }

  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p.hero-sub { font-size: 1rem; }
  .hero-pill { padding: 12px 22px; font-size: 0.88rem; }
  .page-hero h1 { font-size: 1.4rem; }
  .step { flex-direction: column; }
  .cta-band { margin: 0 -20px; }
  .testimonials { margin: 0 -20px; }
}
