:root {
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --accent: #14b8a6;
  --navy: #0b2545;
  --deep: #0b3a5c;
  --gold: #f59e0b;
  --orange: #ea580c;
  --sky: #e6fffb;
  --green: #12b76a;
  --text: #283548;
  --muted: #5f6f85;
  --line: #e1ebe9;
  --bg: #ffffff;
  --tint: #f2faf8;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(11, 37, 69, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 600; border-radius: 12px; padding: 14px 26px; border: 0;
  cursor: pointer; font-family: inherit; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; box-shadow: 0 12px 28px -10px rgba(13, 148, 136, .7);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(13, 148, 136, .85); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; }
.btn-call {
  background: linear-gradient(135deg, var(--gold), var(--orange)); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(234, 88, 12, .7);
}
.btn-call-light { background: #fff; color: var(--navy); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.call-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.15rem; font-weight: 700; text-align: left; }
.call-text small { font-size: .7rem; font-weight: 500; opacity: .9; letter-spacing: .3px; }
.pulse-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #fff; position: relative; flex: none;
}
.btn-call-light .pulse-dot { background: var(--orange); }
.pulse-dot::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid currentColor; animation: pulse 1.6s infinite;
}
.btn-call-light .pulse-dot::after { border-color: var(--orange); }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Topbar & header */
.topbar { background: var(--navy); color: #c4d6e4; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 5px; padding-bottom: 5px; gap: 12px; }
.topbar-call { color: #fff; font-weight: 600; }
.topbar-call small { opacity: .7; font-weight: 400; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--navy); font-weight: 500; font-size: .95rem; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--brand); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.header-call { padding: 9px 18px; }
.header-call .call-text { font-size: 1rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 0% 0%, rgba(20,184,166,.18), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(245,158,11,.14), transparent 60%),
    linear-gradient(180deg, #f1fbf9 0%, #e8f6f4 100%);
  padding: 22px 0 30px;
}
.hero-shape { position: absolute; pointer-events: none; border-radius: 50%; }
.hero-shape-1 { width: 380px; height: 380px; top: -170px; left: -150px; border: 60px solid rgba(20,184,166,.12); animation: float 9s ease-in-out infinite; }
.hero-shape-2 { width: 160px; height: 160px; bottom: -40px; right: 36%; background: radial-gradient(circle, rgba(245,158,11,.28), transparent 70%); animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(24px) rotate(8deg); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 430px 260px; gap: 32px; align-items: start; }
.hero-photo { position: relative; padding-top: 18px; animation: photoIn 1s .15s cubic-bezier(.2,.8,.2,1) both; }
.hero-photo::before {
  content: ''; position: absolute; inset: 0 -26px 40px 26px; border-radius: 160px 160px 26px 26px;
  background: linear-gradient(160deg, var(--accent), var(--deep)); opacity: .9;
}
.hero-photo img {
  position: relative; width: 100%; height: 470px; object-fit: cover; object-position: center top;
  border-radius: 160px 160px 26px 26px; box-shadow: var(--shadow);
}
.badge {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px;
  padding: 10px 14px; box-shadow: 0 16px 30px -14px rgba(11,37,69,.45); font-size: .78rem; color: var(--muted);
  line-height: 1.25; white-space: nowrap; animation: float 7s ease-in-out infinite;
}
.badge strong { display: block; color: var(--navy); font-size: .92rem; }
.badge i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; background: var(--sky); }
.badge-1 { left: -54px; top: 120px; }
.badge-2 { right: 6px; bottom: 30px; animation-delay: -3s; }
@keyframes photoIn { from { opacity: 0; transform: translateX(40px); } }
.hero-copy { position: relative; padding-top: 18px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--brand-dark); background: rgba(13,148,136,.1); padding: 6px 14px; border-radius: 30px; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; margin-bottom: 14px; }
.grad-text { background: linear-gradient(135deg, var(--brand), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 560px; }
.hero-points { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; }
.hero-points li { padding-left: 30px; position: relative; font-weight: 500; color: var(--navy); }
.hero-points li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .72rem; display: grid; place-items: center;
}

/* Form card */
.form-card {
  position: relative; z-index: 2; background: #fff; border-radius: 22px; padding: 20px 22px 16px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(13,148,136,.08);
  animation: rise .7s cubic-bezier(.2,.8,.2,1) both;
}
.form-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, var(--deep), var(--accent), var(--gold));
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.form-head { text-align: center; margin-bottom: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-head h2 { font-size: 1.35rem; }
.form-head p { color: var(--muted); font-size: .88rem; }
.progress { height: 6px; background: var(--line); border-radius: 6px; margin-top: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--gold)); transition: width .3s; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 9px; }
.field label { display: block; font-size: .78rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.field input, .field select {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .93rem; color: var(--text); background: #fbfefd;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13,148,136,.12); background: #fff; }
.field.invalid input, .field.invalid select { border-color: #e5484d; }
label.field { display: block; font-size: .78rem; font-weight: 600; color: var(--navy); }
label.field .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.hidden-fields-container { display: none; }
.medicaid { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin: 2px 0 10px; font-size: .85rem; color: var(--navy); }
.medicaid-q { font-weight: 600; margin-right: auto; }
.medicaid label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.medicaid input { width: 16px; height: 16px; accent-color: var(--brand); }
.tcpa-box {
  height: 130px; overflow-y: auto; border: 1px solid var(--line); background: #f7faf9; border-radius: 10px;
  padding: 10px 12px; font-size: .68rem; line-height: 1.5; color: var(--muted); margin-bottom: 10px;
}
.tcpa-box label { display: block; cursor: pointer; }
.tcpa-box input { width: 15px; height: 15px; margin: 0 6px -3px 0; accent-color: var(--brand); }
.tcpa-box.invalid { border-color: #e5484d; background: #fff6f6; }
#submitBtn { font-size: 1.05rem; padding: 13px; }
#submitBtn:disabled { opacity: .7; cursor: wait; }
.consent { display: flex; gap: 10px; font-size: .68rem; color: var(--muted); line-height: 1.45; margin: 4px 0 10px; cursor: pointer; }
.consent input { margin-top: 2px; flex: none; width: 16px; height: 16px; accent-color: var(--brand); }
.consent.invalid { color: #e5484d; }
#cf7btn { font-size: 1.05rem; padding: 13px; }
#cf7btn:disabled { opacity: .7; cursor: wait; }
.form-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 6px; }
.form-msg { text-align: center; font-size: .9rem; font-weight: 500; margin-top: 6px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #e5484d; }
#hfield { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
#leadid_token { color: white !important; }
.form-or { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); text-align: center; }
.form-or span { display: inline; margin-right: 8px; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.form-or a { font-weight: 700; font-size: 1.2rem; color: var(--orange); }
.form-or small { color: var(--muted); font-weight: 500; font-size: .75rem; }

.trust-strip {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px;
}
.trust-strip div { background: rgba(255,255,255,.75); backdrop-filter: blur(6px); border: 1px solid #fff; border-radius: 14px; padding: 14px; text-align: center; }
.trust-strip strong { display: block; font-size: 1.4rem; color: var(--brand); }
.trust-strip span { font-size: .82rem; color: var(--muted); }

/* Sections */
.section { padding: 90px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head h2, .split-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-copy p { color: var(--muted); margin-bottom: 14px; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 9 / 8; object-fit: cover; box-shadow: var(--shadow); }
.split-media::before {
  content: ''; position: absolute; width: 140px; height: 140px; left: -22px; bottom: -22px; border-radius: 22px; z-index: -1;
  background: radial-gradient(circle, var(--gold) 2px, transparent 2.5px) 0 0 / 16px 16px; opacity: .55;
}
.split-media .float-card {
  position: absolute; right: -18px; top: 28px; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 16px 30px -14px rgba(11,37,69,.45); font-size: .8rem; color: var(--muted); line-height: 1.3;
}
.float-card strong { display: block; color: var(--brand); font-size: 1.3rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 28px; }
.stats div { background: var(--tint); border-radius: 14px; padding: 16px; text-align: center; }
.stats strong { display: block; font-size: 1.8rem; color: var(--brand); }
.stats strong::after { content: '+'; }
.stats span { font-size: .82rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: linear-gradient(135deg, var(--sky), #fff4dc); margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .92rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 34px 26px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--deep)); box-shadow: 0 10px 20px -8px rgba(13,148,136,.7);
}
.step h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; }

.call-banner {
  position: relative; overflow: hidden; padding: 64px 0; color: #fff;
  background: linear-gradient(120deg, rgba(11,37,69,.96) 0%, rgba(11,58,92,.9) 55%, rgba(13,148,136,.85) 100%), url('../assets/img/banner-bg.jpg') center / cover;
}
.call-banner-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.call-banner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.call-banner p { opacity: .9; max-width: 600px; }

.checklist { list-style: none; margin: 10px 0 26px; display: grid; gap: 14px; }
.checklist li { padding: 14px 16px 14px 52px; background: var(--tint); border-radius: 12px; position: relative; font-weight: 500; color: var(--navy); }
.checklist li::before {
  content: '✓'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; display: grid; place-items: center; font-size: .78rem;
}

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.tcard blockquote { color: var(--text); font-size: .95rem; flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tcard figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tcard figcaption span { display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); }
.tcard figcaption strong { color: var(--navy); font-size: .95rem; }
.fine { font-size: .78rem; color: var(--muted); margin-top: 20px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact-info ul { list-style: none; display: grid; gap: 18px; margin-top: 20px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ci-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.15rem; background: #fff; border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(11,37,69,.3); }
.contact-info li div { display: flex; flex-direction: column; }
.contact-info strong { color: var(--navy); }
.contact-info small { color: var(--muted); }
.cta-box {
  position: relative; overflow: hidden; color: #fff; padding: 36px; border-radius: 22px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(11,37,69,.94), rgba(11,58,92,.88)), url('../assets/img/senior-nurse.jpg') center / cover;
}
.cta-box h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.cta-box p { opacity: .85; margin-bottom: 20px; }

/* Footer */
.site-footer { background: #071a30; color: #a9bccb; padding: 50px 0 90px; font-size: .82rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; flex-wrap: wrap; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: 10px; height: 58px; width: auto; }
.footer-top nav { display: flex; gap: 22px; }
.footer-top nav a { color: #dbe8ef; }
.disclaimer p { margin-bottom: 12px; line-height: 1.65; }
.disclaimer strong { color: #e4eef3; }
.disclaimer a { color: #5eead4; }
.smid { font-weight: 600; color: #dbe8ef; }
.copy { margin-top: 20px; text-align: center; opacity: .7; }

.mobile-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--orange)); color: #fff; font-weight: 700; padding: 14px; font-size: 1rem;
  box-shadow: 0 -8px 20px rgba(0,0,0,.15);
}
.mobile-call small { font-weight: 500; opacity: .85; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr 430px; }
  .hero-photo { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-call { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .form-card { order: -1; }
  .hero-copy { padding-top: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonials { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .call-banner-inner { flex-direction: column; text-align: center; }
  .split-media .float-card { right: 12px; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--line);
  }
  .mobile-call { display: block; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar span { display: none; }
  .topbar-inner { justify-content: center; }
  .header-call { display: none; }
  .menu-toggle { margin-left: auto; }
  .logo img { height: 40px; }
  .hero { padding-top: 18px; }
  .form-card { padding: 22px 16px 16px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .hero-cta .btn { width: 100%; }
  .split-media::before { left: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
