/* ============================================================================
   MedicareManny.com — Florida Medicare landing page
   Palette: Green / White / Black — matched to Manny Leon's business card.
   Tuned for senior accessibility: large fonts, tall touch targets, high
   contrast, simple form, prominent phone CTA.
   Last refresh: 2026-06-09 — full rewrite to business-card palette, simplified
   single-page layout, 4 conversion CTAs (Call / Calendly / WhatsApp / SunFire),
   real carrier logos.
   ========================================================================== */

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

:root {
  /* Brand greens (matched to business card) */
  --green:        #4CAF50;
  --green-lt:     #E8F5E9;
  --green-dk:     #388E3C;
  --green-deep:   #2E7D32;

  /* Neutrals */
  --black:        #1A1A1A;
  --gray-900:     #2A2A2A;
  --gray-700:     #4A4A4A;
  --gray-500:     #6B7280;
  --gray-300:     #D1D5DB;
  --gray-100:     #F3F4F6;
  --white:        #FFFFFF;
  --off:          #FAFAFA;
  --border:       #E0E0E0;

  /* Subtle accent (used sparingly, only where blue improves contrast) */
  --accent-blue:  #1976D2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 19px;            /* senior baseline — larger than typical 16-18 */
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dk); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; }

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

/* ---- typography ---------------------------------------------------------- */

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--black);
  line-height: 1.15;
  font-weight: 400;
}
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(28px, 3.8vw, 40px); }
h3 { font-size: 22px; }

.heading-accent { color: var(--green); font-style: normal; }

/* ---- header -------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 6%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--black); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 20px; font-weight: 700;
  flex-shrink: 0;
}
.brand strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 22px; line-height: 1;
  color: var(--black);
}
.brand small {
  display: block; font-size: 13px; color: var(--gray-500);
  margin-top: 3px;
}

.header-actions {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}

.language-toggle {
  display: inline-flex; align-items: center;
  padding: 4px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--white);
}

.language-option {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green-dk);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.language-option.is-active {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(76, 175, 80, 0.28);
}

.language-option:focus-visible {
  outline: 3px solid var(--green-lt);
  outline-offset: 3px;
}

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--white);
  padding: 14px 22px; border-radius: 50px;
  font-weight: 700; font-size: 17px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.header-cta:hover {
  background: var(--green-dk); color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.35);
}
.header-cta i { width: 18px; height: 18px; }

/* ---- hero ---------------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 56px 6% 40px;
  background: var(--white);
}

.hero-headshot {
  width: 168px; height: 168px;
  border-radius: 50%;
  margin: 0 auto 24px;
  object-fit: cover; object-position: center 18%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  border: 4px solid var(--white);
  outline: 2px solid var(--green-lt);
}

.hero h1 {
  margin-bottom: 12px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero-sub {
  font-size: 20px; color: var(--gray-700);
  max-width: 600px; margin: 0 auto 32px;
  line-height: 1.5;
}

/* ---- contact card -------------------------------------------------------- */

.contact-card {
  max-width: 540px; margin: 0 auto 32px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  text-align: left;
}
.contact-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 26px; line-height: 1.15;
  color: var(--black);
  margin-bottom: 4px;
}
.contact-card-role {
  font-size: 15px; color: var(--gray-700);
  margin-bottom: 18px;
}
.contact-card ul { list-style: none; display: grid; gap: 12px; }
.contact-card li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 17px; color: var(--gray-900);
  line-height: 1.45;
}
.contact-card li i {
  width: 20px; height: 20px; color: var(--green);
  flex-shrink: 0; margin-top: 4px;
}
.contact-card a { color: var(--green-dk); font-weight: 500; }

/* ---- 4-CTA grid (the conversion section) -------------------------------- */

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.cta-button {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 72px;
  padding: 18px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  border: 2px solid var(--green);
  text-align: center;
  line-height: 1.2;
}
.cta-button i { width: 22px; height: 22px; flex-shrink: 0; }
.cta-button.primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 8px 22px rgba(76, 175, 80, 0.35);
}
.cta-button.primary:hover {
  background: var(--green-dk); color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(76, 175, 80, 0.45);
}
.cta-button.outline {
  background: var(--white); color: var(--green-dk);
}
.cta-button.outline:hover {
  background: var(--green-lt); color: var(--green-deep);
  text-decoration: none;
  transform: translateY(-2px);
}

/* ---- carrier strip (with logos) ----------------------------------------- */

.carrier-strip {
  padding: 48px 6%;
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.carrier-strip-label {
  display: block;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 26px;
}
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 36px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.carrier-grid img {
  max-height: 56px;
  width: auto; max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(0%);
  transition: transform .2s;
}
.carrier-grid img:hover { transform: scale(1.04); }
@media (max-width: 720px) {
  .carrier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .carrier-grid img { max-height: 48px; }
}

/* ---- lead form section --------------------------------------------------- */

.lead-section {
  padding: 64px 6%;
  background: var(--white);
}
.lead-shell {
  max-width: 560px; margin: 0 auto;
  text-align: center;
}
.lead-shell h2 { margin-bottom: 10px; }
.lead-shell .lead-intro {
  font-size: 18px; color: var(--gray-700);
  margin-bottom: 26px;
  line-height: 1.5;
}

.lead-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.lead-form label { display: block; }
.form-honey {
  position: absolute;
  left: -9999px; width: 1px; height: 1px; opacity: 0;
}
.lead-form .field-label {
  display: block;
  font-size: 16px; font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.lead-form input {
  width: 100%;
  padding: 18px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-lt);
}
.lead-form button {
  width: 100%; min-height: 64px;
  padding: 18px;
  background: var(--green); color: var(--white);
  border: none; border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 19px; font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 8px;
  text-decoration: none;
}
.lead-form button:hover {
  background: var(--green-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(76, 175, 80, 0.35);
}
.form-note {
  font-size: 14px; color: var(--gray-500);
  margin-top: 10px; line-height: 1.55;
}
.form-success {
  background: var(--green-lt);
  border: 1.5px solid var(--green);
  border-radius: 12px;
  padding: 16px;
  font-size: 16px; color: var(--green-deep);
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}

/* ---- CMS marketing disclaimer band -------------------------------------- */

.disclaimer-band {
  background: var(--off);
  border-top: 1px solid var(--border);
  padding: 24px 6%;
}
.disclaimer-band p {
  max-width: 1000px; margin: 0 auto;
  font-size: 14px; color: var(--gray-700);
  line-height: 1.6;
  text-align: center;
}
.disclaimer-band p + p { margin-top: 10px; }
.disclaimer-band .disclaimer-second {
  font-size: 13px; color: var(--gray-500);
}
.disclaimer-band strong { color: var(--black); font-weight: 700; }
.disclaimer-band a { color: var(--green-dk); }

/* ---- footer -------------------------------------------------------------- */

.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 6% 28px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand strong {
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 380px;
}
.footer-links {
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.85); font-size: 15px;
}
.footer-links a:hover { color: var(--green); text-decoration: underline; }

.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.6;
}

/* ---- legal pages --------------------------------------------------------- */

.legal-page { background: var(--off); }
.legal-main { padding: 56px 6% 72px; }
.legal-shell {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.legal-shell h1 { margin-bottom: 8px; }
.legal-updated {
  color: var(--gray-500); font-size: 15px; margin-bottom: 28px;
}
.legal-shell h2 { font-size: 26px; margin: 30px 0 10px; }
.legal-shell p,
.legal-shell li {
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.7;
}
.legal-shell ul { margin: 12px 0 0 22px; }
.legal-shell a { font-weight: 700; }
.legal-home {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--green-dk);
}

/* ---- responsive --------------------------------------------------------- */

@media (max-width: 720px) {
  body { font-size: 18px; }
  .site-header { padding: 10px 4%; gap: 10px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; font-size: 17px; }
  .header-actions { gap: 8px; }
  .language-toggle { padding: 3px; }
  .language-option {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }
  .header-cta span { display: none; }
  .header-cta { padding: 12px 14px; }
  .brand small { display: none; }
  .hero { padding: 40px 6% 32px; }
  .hero-headshot { width: 144px; height: 144px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-sub { font-size: 18px; }
  .contact-card { padding: 22px 22px; }
  .contact-card-name { font-size: 22px; }
  .cta-grid { grid-template-columns: 1fr; gap: 12px; }
  .cta-button { min-height: 64px; font-size: 17px; }
  .carrier-strip { padding: 36px 6%; }
  .lead-section { padding: 48px 6%; }
  .lead-form input { font-size: 18px; padding: 16px 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .legal-main { padding: 36px 5% 56px; }
  .legal-shell { padding: 26px 20px; border-radius: 12px; }
}

@media (max-width: 480px) {
  .site-header { padding: 10px 12px; gap: 8px; }
  .brand strong { display: none; }
  .language-option {
    min-height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }
  .header-cta {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    flex: 0 0 44px;
  }
}
