/* ============================================================================
   MannyMedicare.com — Florida Medicare landing page
   Design language adapted from the SunCare Health Plans Claude artifact:
     https://claude.ai/public/artifacts/d107f268-0a69-4e01-b019-7078f8d786d0
   Tuned for senior accessibility — larger base font, taller inputs, higher
   contrast, simpler form, prominent phone CTA.
   Last refresh: 2026-05-06
   ========================================================================== */

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

:root {
  --sun:       #F4A228;
  --sun-lt:    #FEF3DC;
  --teal:      #0A8073;
  --teal-dk:   #065A53;
  --teal-lt:   #DCF0EE;
  --sky:       #E8F4F8;
  --navy:      #0E2340;
  --white:     #FFFFFF;
  --off:       #F7F8FA;
  --text:      #1A2332;
  --muted:     #4A5868;
  --border:    #D9E0E6;
  --coral:     #E8614A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 400;
}
h1 { font-size: clamp(40px, 5.5vw, 64px); }
h2 { font-size: clamp(32px, 4.2vw, 48px); }
h3 { font-size: 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 8px 16px; border-radius: 50px;
  margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--sun); border-radius: 50%; }
.eyebrow.eyebrow-on-dark {
  color: var(--sun); background: rgba(244,162,40,0.18);
  border: 1px solid rgba(244,162,40,0.35);
}

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 7%;
  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(--navy); }
.brand-mark {
  position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-family: 'DM Serif Display', serif; font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.brand-mark::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px dashed var(--sun); opacity: 0.45;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.brand strong { display: block; font-family: 'DM Serif Display', serif; font-size: 22px; line-height: 1; }
.brand small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 16px;
}
.nav-links a:hover { color: var(--teal); }

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

/* ---- header actions (language toggle + phone CTA, right side) ----------- */

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 3px;
  font-family: 'DM Sans', sans-serif;
}
.lang-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.lang-toggle a[aria-current="true"] {
  background: var(--teal);
  color: var(--white);
}
.lang-toggle a:hover:not([aria-current="true"]) {
  background: var(--teal-lt);
  color: var(--teal-dk);
}
.lang-toggle a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--teal-lt);
}

/* Tiny globe icon before the toggle on wider screens — drops on narrow ones */
.lang-toggle-globe {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  color: var(--muted);
}
.lang-toggle-globe i { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .lang-toggle-globe { display: none; }
  .lang-toggle a { min-width: 38px; padding: 7px 10px; font-size: 12px; }
  .header-actions { gap: 8px; }
}

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

.hero {
  position: relative; min-height: calc(100vh - 80px);
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: 60px;
  padding: 80px 7%;
  background: linear-gradient(160deg, #0E2340 0%, #0A4A5A 55%, #0A8073 100%);
  overflow: hidden;
}
.hero-bg-circle {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none;
}
.hero-bg-circle.c1 {
  width: 600px; height: 600px; top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(244,162,40,0.4) 0%, transparent 70%);
}
.hero-bg-circle.c2 {
  width: 500px; height: 500px; bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(10,128,115,0.5) 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-content h1 { color: var(--white); margin-bottom: 24px; }

.hero-introducer {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 28px;
}
.hero-introducer img {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover; object-position: center 18%;
  flex-shrink: 0;
  /* Feather the photo edges so the city-skyline background dissolves into the navy hero gradient. */
  -webkit-mask-image: radial-gradient(
    circle at 50% 42%,
    #000 38%,
    rgba(0, 0, 0, 0.92) 52%,
    rgba(0, 0, 0, 0.45) 72%,
    transparent 88%
  );
  mask-image: radial-gradient(
    circle at 50% 42%,
    #000 38%,
    rgba(0, 0, 0, 0.92) 52%,
    rgba(0, 0, 0, 0.45) 72%,
    transparent 88%
  );
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}
.hero-introducer-text { display: flex; flex-direction: column; line-height: 1.2; }
.introducer-greet {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 30px; color: var(--white);
}
.introducer-credit {
  font-size: 15px; color: rgba(255, 255, 255, 0.82);
  margin-top: 6px; letter-spacing: 0.02em;
}
@media (max-width: 960px) {
  .hero-introducer { gap: 18px; margin-bottom: 22px; }
  .hero-introducer img { width: 160px; height: 160px; }
  .introducer-greet { font-size: 26px; }
}
@media (max-width: 560px) {
  .hero-introducer { gap: 14px; }
  .hero-introducer img { width: 120px; height: 120px; }
  .introducer-greet { font-size: 22px; }
  .introducer-credit { font-size: 13px; }
}

.hero-content h1 em { color: var(--sun); font-style: italic; }
.hero-sub {
  font-size: 20px; color: rgba(255,255,255,0.92);
  max-width: 560px; margin-bottom: 32px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.btn-primary, .btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  border-radius: 50px; cursor: pointer; transition: all .2s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--sun); color: var(--navy);
  font-size: 18px; padding: 18px 32px;
  box-shadow: 0 6px 20px rgba(244,162,40,0.3);
}
.btn-primary:hover {
  background: #ffb947; color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(244,162,40,0.5);
}
.btn-outline-light {
  background: transparent; color: var(--white);
  font-size: 18px; padding: 18px 32px;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12); color: var(--white);
  border-color: var(--white);
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 16px; color: rgba(255,255,255,0.88);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { width: 18px; height: 18px; color: var(--sun); }

/* ---- hero form card ----------------------------------------------------- */

.lead-panel {
  position: relative; z-index: 2;
  background: var(--white);
  border-radius: 24px;
  padding: 36px 32px 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.30);
  overflow: hidden;
}
.lead-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--sun));
}
.lead-panel .panel-kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 8px;
}
.lead-panel h2 {
  font-size: 28px; margin-bottom: 8px; line-height: 1.2;
}
.lead-panel .panel-intro {
  font-size: 16px; color: var(--muted); margin-bottom: 22px;
}

.lead-form { display: flex; flex-direction: column; gap: 18px; }
.lead-form label { display: block; }
.lead-form .field-label {
  display: block; font-size: 17px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.lead-form input {
  width: 100%; padding: 18px 20px;
  font-family: 'DM Sans', sans-serif; font-size: 20px;
  color: var(--text); background: var(--white);
  border: 2px solid var(--border); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-lt);
}
.lead-form select {
  width: 100%; padding: 18px 48px 18px 20px;
  font-family: 'DM Sans', sans-serif; font-size: 19px;
  color: var(--text); background-color: var(--white);
  border: 2px solid var(--border); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Custom chevron — teal, sized to feel finger-friendly */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A8073' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
  min-height: 60px;
}
.lead-form select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-lt);
}
.lead-form .field-label-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
  margin-left: 4px;
  letter-spacing: 0.01em;
}
.lead-form button {
  width: 100%; min-height: 60px; padding: 18px;
  background: var(--teal); color: var(--white);
  border: none; border-radius: 14px;
  font-family: 'DM Sans', sans-serif; font-size: 20px; 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: 6px;
}
.lead-form button:hover {
  background: var(--teal-dk); transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10,128,115,0.35);
}
.form-divider {
  display: flex; align-items: center; gap: 14px; margin: 6px 0;
  font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700;
}
.form-divider::before,
.form-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.btn-call-alt {
  width: 100%; min-height: 60px; padding: 16px;
  background: var(--sun-lt); color: var(--navy);
  border: 2px solid var(--sun); border-radius: 14px;
  font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 700;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .2s;
}
.btn-call-alt:hover {
  background: var(--sun); color: var(--navy); transform: translateY(-2px);
}
.btn-call-alt i { width: 20px; height: 20px; }
.form-note {
  font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5;
}
.form-success {
  background: var(--teal-lt); border: 1.5px solid var(--teal);
  border-radius: 12px; padding: 16px;
  font-size: 16px; color: var(--teal-dk); font-weight: 600;
  margin-top: 12px;
}

/* ---- disclaimer band ---------------------------------------------------- */

.disclaimer-band {
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 7%;
}
.disclaimer-band p {
  max-width: 1100px; margin: 0 auto;
  font-size: 15px; color: var(--muted); line-height: 1.55;
}
.disclaimer-band strong { color: var(--text); font-weight: 700; }

/* ---- carrier strip ------------------------------------------------------- */

.carrier-strip {
  padding: 36px 7%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  justify-content: center;
}
.carrier-strip > span {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.carrier-strip strong {
  font-size: 16px; font-weight: 600; color: var(--navy);
  padding: 8px 14px; border-radius: 8px; background: var(--off);
}

/* ---- generic section ---------------------------------------------------- */

.section-shell {
  padding: 88px 7%;
  background: var(--white);
}
.section-shell.alt-bg { background: var(--off); }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-heading.compact { margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p {
  font-size: 18px; color: var(--muted); line-height: 1.65;
}

/* ---- product grid ------------------------------------------------------- */

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.product-grid article {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10,128,115,0.10);
  border-color: var(--teal-lt);
}
.product-grid .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--teal-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.product-grid article:nth-child(2n) .icon-wrap { background: var(--sun-lt); }
.product-grid article:nth-child(3n) .icon-wrap { background: var(--sky); }
.product-grid .icon-wrap i { width: 28px; height: 28px; color: var(--teal); }
.product-grid article:nth-child(2n) .icon-wrap i { color: var(--sun); }
.product-grid h3 { font-size: 22px; margin-bottom: 10px; }
.product-grid p { font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ---- resources grid ----------------------------------------------------- */

.resource-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.resource-grid article {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px;
  transition: transform .2s, box-shadow .2s;
}
.resource-grid article:hover {
  transform: translateY(-3px); box-shadow: 0 14px 36px rgba(10,128,115,0.10);
}
.resource-grid article.featured-resource {
  border: 2px solid var(--sun);
  background: linear-gradient(160deg, var(--sun-lt) 0%, var(--white) 70%);
  position: relative;
}
.resource-grid article.featured-resource::before {
  content: "Featured"; position: absolute; top: -12px; right: 24px;
  background: var(--sun); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 50px;
}
[lang="es"] .resource-grid article.featured-resource::before { content: "Destacado"; }
.resource-grid h3 { font-size: 22px; margin-bottom: 10px; }
.resource-grid > article > p { font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.resource-grid > article > i,
.resource-grid > article > div:first-child > i {
  width: 32px; height: 32px; color: var(--teal); margin-bottom: 12px;
}
.resource-grid article.featured-resource > div:first-child > i { color: var(--sun); }
.resource-links {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.resource-links a {
  display: inline-block; padding: 8px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px; font-weight: 600; color: var(--teal);
  transition: all .2s;
}
.resource-links a:hover {
  background: var(--teal); color: var(--white); border-color: var(--teal);
}
.resource-note {
  max-width: 800px; margin: 36px auto 0; text-align: center;
  font-size: 15px; color: var(--muted); line-height: 1.6;
}

/* ---- florida regions section -------------------------------------------- */

.florida-section {
  padding: 88px 7%;
  background: linear-gradient(160deg, var(--navy) 0%, #0A3A4A 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.florida-section::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,162,40,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.florida-copy { max-width: 760px; margin: 0 auto 36px; text-align: center; position: relative; z-index: 2; }
.florida-copy h2 { color: var(--white); margin-bottom: 14px; }
.florida-copy p { font-size: 18px; color: rgba(255,255,255,0.85); }
.florida-copy .eyebrow.eyebrow-on-dark { margin-bottom: 18px; }

.region-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 900px; margin: 0 auto; position: relative; z-index: 2;
}
.region-list span {
  padding: 10px 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  font-size: 16px; font-weight: 500;
  color: var(--white);
}

/* ---- workflow section --------------------------------------------------- */

.workflow {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.workflow article {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 26px;
  border: 1.5px solid var(--border);
  position: relative;
}
.workflow article > span {
  font-family: 'DM Serif Display', serif;
  font-size: 56px; color: var(--border);
  line-height: 1; display: block; margin-bottom: 10px;
}
.workflow h3 { font-size: 22px; margin-bottom: 10px; }
.workflow p { font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ---- final CTA section -------------------------------------------------- */

.final-cta {
  padding: 80px 7%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dk) 100%);
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,162,40,0.20) 0%, transparent 70%);
}
.final-cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.final-cta h2 { color: var(--white); margin-bottom: 14px; }
.final-cta p {
  font-size: 19px; color: rgba(255,255,255,0.92); margin-bottom: 28px;
}
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--teal);
  padding: 18px 32px; border-radius: 50px;
  font-size: 18px; font-weight: 700; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.20);
}

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

.footer {
  background: var(--navy); color: rgba(255,255,255,0.78);
  padding: 56px 7% 28px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 36px;
}
.footer strong { color: var(--white); font-family: 'DM Serif Display', serif; font-size: 22px; }
.footer > div > p { margin-top: 10px; 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(--sun); }
.footer-bottom {
  grid-column: 1 / -1; padding-top: 24px; margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; color: rgba(255,255,255,0.55); text-align: center;
}

/* ---- floating phone CTA ------------------------------------------------- */

.phone-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sun); color: var(--navy);
  padding: 16px 24px; border-radius: 50px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(244,162,40,0.55);
  animation: popIn .5s 1s both;
  transition: transform .2s, box-shadow .2s;
}
.phone-float:hover {
  transform: translateY(-2px); color: var(--navy);
  box-shadow: 0 14px 38px rgba(244,162,40,0.70);
}
.phone-float i { width: 18px; height: 18px; }
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 6% 80px; }
  .hero-content h1 { font-size: clamp(36px, 8vw, 48px); }
  .nav-links { display: none; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .section-shell { padding: 64px 6%; }
  .florida-section, .final-cta { padding: 64px 6%; }
  .lead-panel { padding: 30px 22px 26px; }
  .lead-panel h2 { font-size: 24px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .header-cta span { display: none; }
  .header-cta { padding: 12px; }
  .brand small { display: none; }
  .phone-float { padding: 14px 20px; font-size: 16px; }
  .lead-form input { font-size: 19px; padding: 16px 18px; }
}

/* ---- honeypot (hidden bot-bait field) ----------------------------------- */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---- success modal ------------------------------------------------------ */

.success-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.success-modal[hidden] { display: none; }

.success-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 35, 64, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: smFade .25s ease both;
  cursor: pointer;
}

.success-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px 28px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  animation: smPop .35s cubic-bezier(.16,.84,.36,1.06) both;
}
.success-modal-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--sun));
  border-radius: 24px 24px 0 0;
}

.success-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.success-modal-close:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
  transform: rotate(90deg);
}
.success-modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--teal-lt);
}
.success-modal-close i { width: 22px; height: 22px; }

.success-modal-check {
  width: 96px; height: 96px;
  margin: 4px auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-lt);
  border-radius: 50%;
}
.success-modal-check svg { display: block; }
.success-modal-check .check-ring {
  fill: none; stroke: var(--teal); stroke-width: 4;
  stroke-dasharray: 226; stroke-dashoffset: 226;
  animation: smRing .55s .05s ease-out forwards;
  transform-origin: 50% 50%;
}
.success-modal-check .check-mark {
  fill: none; stroke: var(--teal); stroke-width: 6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: smMark .35s .55s ease-out forwards;
}

.success-modal-kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); font-weight: 700;
  margin-bottom: 10px;
}
.success-modal-card h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 12px; line-height: 1.2;
}
.success-modal-body {
  font-size: 18px; color: var(--muted);
  line-height: 1.55; margin-bottom: 22px;
}
.success-modal-body strong { color: var(--text); }

.success-modal-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-bottom: 26px;
  font-size: 15px; color: var(--muted);
}
.success-modal-meta span { display: inline-flex; align-items: center; gap: 8px; }
.success-modal-meta i { width: 17px; height: 17px; color: var(--teal); }

.success-modal-done {
  width: 100%;
  min-height: 60px;
  padding: 18px;
  background: var(--teal); 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;
}
.success-modal-done:hover {
  background: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10,128,115,0.30);
}
.success-modal-done:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--teal-lt);
}

.success-modal-callnow {
  margin-top: 14px;
  font-size: 15px; color: var(--muted);
}
.success-modal-callnow a {
  color: var(--teal); font-weight: 700;
  border-bottom: 1.5px solid var(--teal-lt);
}
.success-modal-callnow a:hover { border-bottom-color: var(--teal); }

.success-modal-progress {
  margin-top: 22px;
  height: 4px; width: 100%;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.success-modal-progress-bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--sun));
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform linear;
}
.success-modal-autoclose {
  margin-top: 10px;
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.04em;
}
.success-modal-autoclose span {
  font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums;
}

/* Loading state on the form submit button while Web3Forms is processing */
.lead-form button[data-loading="true"] {
  opacity: 0.75; cursor: progress;
}
.lead-form button[data-loading="true"]::after {
  content: ""; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  display: inline-block; margin-left: 4px;
  animation: smSpin .8s linear infinite;
}

/* Error message (shown if Web3Forms POST fails) */
.form-error {
  background: #FDE7E2; border: 1.5px solid var(--coral);
  border-radius: 12px; padding: 14px 16px;
  font-size: 15px; color: #7A2A1A; font-weight: 600;
  margin-top: 12px;
}

@keyframes smFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes smPop {
  from { opacity: 0; transform: translateY(20px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes smRing {
  to { stroke-dashoffset: 0; }
}
@keyframes smMark {
  to { stroke-dashoffset: 0; }
}
@keyframes smSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .success-modal-card { padding: 32px 22px 22px; border-radius: 20px; }
  .success-modal-check { width: 84px; height: 84px; margin-bottom: 14px; }
  .success-modal-check svg { width: 68px; height: 68px; }
  .success-modal-card h2 { font-size: 24px; }
  .success-modal-body { font-size: 17px; }
}

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

/* Compact, senior-friendly layout shared by Privacy, Cookies, Terms, HIPAA,
   Accessibility, and Disclaimers. Single column, large body text, prominent
   plain-English summary at top. */

.legal-hero {
  background: linear-gradient(160deg, #0E2340 0%, #0A4A5A 55%, #0A8073 100%);
  color: var(--white);
  padding: 64px 7% 56px;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: ""; position: absolute; top: -120px; right: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,162,40,0.30) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.legal-hero-inner {
  position: relative; z-index: 2;
  max-width: 920px; margin: 0 auto;
}
.legal-hero .eyebrow.eyebrow-on-dark { margin-bottom: 18px; }
.legal-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 4.6vw, 52px);
  margin-bottom: 14px;
}
.legal-hero h1 em { color: var(--sun); font-style: italic; }
.legal-hero .legal-updated {
  font-size: 15px; color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
}
.legal-hero .legal-updated strong {
  color: var(--white); font-weight: 600;
}

.legal-subnav {
  background: var(--off);
  border-bottom: 1px solid var(--border);
  padding: 18px 7%;
}
.legal-subnav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}
.legal-subnav-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-right: 10px;
}
.legal-subnav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 15px; font-weight: 600;
  color: var(--text);
  transition: all .15s;
}
.legal-subnav a:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.legal-subnav a[aria-current="page"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.legal-shell {
  padding: 64px 7% 88px;
  background: var(--white);
}
.legal-content {
  max-width: 760px; margin: 0 auto;
  font-size: 18px; line-height: 1.7;
  color: var(--text);
}

.legal-summary {
  background: var(--teal-lt);
  border-left: 6px solid var(--teal);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 40px;
}
.legal-summary .legal-summary-label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dk);
  margin-bottom: 8px;
}
.legal-summary p {
  font-size: 17px; line-height: 1.6;
  color: var(--text);
  margin-bottom: 0;
}
.legal-summary p + p { margin-top: 10px; }
.legal-summary strong { color: var(--navy); }

.legal-content h2 {
  font-size: 28px;
  margin-top: 44px; margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px; font-weight: 700;
  color: var(--navy);
  margin-top: 24px; margin-bottom: 8px;
}
.legal-content p {
  margin-bottom: 16px;
  color: var(--text);
}
.legal-content ul, .legal-content ol {
  margin: 0 0 18px 22px;
  padding-left: 4px;
}
.legal-content li {
  margin-bottom: 8px;
  padding-left: 6px;
}
.legal-content li::marker { color: var(--teal); }
.legal-content a {
  color: var(--teal);
  border-bottom: 1.5px solid var(--teal-lt);
  font-weight: 600;
}
.legal-content a:hover {
  color: var(--teal-dk);
  border-bottom-color: var(--teal);
}
.legal-content strong { color: var(--navy); font-weight: 700; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 16px;
}
.legal-content table th,
.legal-content table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-content table th {
  background: var(--off);
  font-weight: 700; color: var(--navy);
  font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.legal-content blockquote {
  margin: 18px 0;
  padding: 16px 20px;
  background: var(--off);
  border-left: 4px solid var(--sun);
  border-radius: 8px;
  font-size: 16px; color: var(--muted);
}

.legal-contact-card {
  margin-top: 48px;
  padding: 28px 26px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.legal-contact-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: var(--navy);
  font-weight: 400;
  margin-bottom: 4px;
}
.legal-contact-card p {
  font-size: 15px; color: var(--muted); margin: 0;
}
.legal-contact-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-contact-card-actions a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  background: var(--teal); color: var(--white);
  font-weight: 700; font-size: 15px;
  border: none;
}
.legal-contact-card-actions a:hover { background: var(--teal-dk); color: var(--white); }
.legal-contact-card-actions a.secondary {
  background: var(--white);
  color: var(--teal);
  border: 1.5px solid var(--border);
}
.legal-contact-card-actions a.secondary:hover {
  border-color: var(--teal); color: var(--teal-dk);
}
.legal-contact-card-actions a i { width: 16px; height: 16px; }

/* Footer legal links row (added beneath the existing footer-bottom). */
.footer-legal {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding-top: 22px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-legal a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.footer-legal a:hover {
  color: var(--sun);
  border-bottom-color: rgba(244,162,40,0.5);
}

@media (max-width: 720px) {
  .legal-hero { padding: 48px 6% 44px; }
  .legal-shell { padding: 48px 6% 64px; }
  .legal-content { font-size: 17px; }
  .legal-content h2 { font-size: 24px; }
  .legal-subnav { padding: 14px 6%; }
  .legal-subnav-label { width: 100%; margin-bottom: 6px; }
  .legal-contact-card { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .success-modal-backdrop,
  .success-modal-card,
  .success-modal-check .check-ring,
  .success-modal-check .check-mark { animation: none !important; }
  .success-modal-check .check-ring,
  .success-modal-check .check-mark { stroke-dashoffset: 0 !important; }
  .success-modal-progress-bar { transition: none !important; }
}
