/* ===========================================================================
   FAMILY RELIEF CARE — static stylesheet (no framework, no build step)
   UHC-inspired look: deep blue + cyan on white, Figtree geometric sans.
   =========================================================================== */

:root {
  --brand: #002677;
  --brand-700: #1b4ba3;
  --brand-900: #001a52;
  --accent: #00bed5;
  --accent-600: #00a3b8;
  --ink: #1a1a1a;
  --ink-soft: #5a6166;
  --cloud: #f3f6fb;
  --cloud-200: #e2e8f2;
  --white: #ffffff;
  --maxw: 72rem;
  --radius: 1.5rem;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 1.25rem;
}
@media (min-width: 640px) {
  .section {
    padding: 6rem 1.25rem;
  }
}
.section--cloud {
  background: var(--cloud);
}
.section--brand {
  background: var(--brand);
  color: var(--white);
}
.section--brand h1,
.section--brand h2,
.section--brand h3 {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-600);
}

.center {
  text-align: center;
}
.measure {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.h-lead {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
}
.h-section {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
}
.lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.section--brand .lead {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn-primary:hover {
  background: var(--brand-700);
  box-shadow: 0 6px 16px rgba(0, 38, 119, 0.25);
}
.btn-ondark {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn-ondark:hover {
  background: var(--cloud);
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
}
.btn-block {
  width: 100%;
}

.textlink {
  font-weight: 600;
  color: var(--brand);
  text-underline-offset: 4px;
}
.textlink:hover {
  text-decoration: underline;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--cloud-200);
  transition: box-shadow 0.2s ease;
}
.site-nav.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-badge {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-link:hover {
  color: var(--brand);
}
.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.5rem;
  border-top: 1px solid var(--cloud-200);
  background: var(--white);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a.nav-link {
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--ink);
}
.mobile-menu a.nav-link:hover {
  background: var(--cloud);
}
.mobile-menu .btn {
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 3.5rem 1.25rem 5rem;
  background: var(--white);
}
@media (min-width: 640px) {
  .hero {
    padding-top: 5rem;
  }
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
}
.hero .accent {
  color: var(--accent-600);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: var(--cloud);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.hero-badge .stars {
  color: var(--accent-600);
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
  }
}

/* ---------- Image placeholder ---------- */
.image-ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-700), var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  min-height: 320px;
}
.image-ph.aspect {
  aspect-ratio: 4 / 3;
}
.image-ph .ph-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}
.image-ph .ph-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.image-ph::before,
.image-ph::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(0, 190, 213, 0.25);
  filter: blur(40px);
}
.image-ph::before {
  width: 10rem;
  height: 10rem;
  top: -2.5rem;
  right: -2.5rem;
}
.image-ph::after {
  width: 11rem;
  height: 11rem;
  bottom: -3rem;
  left: -2rem;
}

/* ---------- Hero logo (right-side panel) ---------- */
/* Transparent PNG — no frame/shadow so it sits cleanly on the page. */
.hero-logo {
  max-width: 480px;
  margin: 0 auto;
}
.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.15s ease;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pain-card {
  font-size: 1.125rem;
  color: var(--ink);
}
.icon-badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--cloud);
  font-size: 1.5rem;
}
.card h3 {
  margin-top: 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
}
.card .card-text {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.closing-line {
  max-width: 42rem;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
}

/* step cards */
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
}
.step-card p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

/* audiences */
.audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.audience-card .icon-badge {
  border-radius: 999px;
}
.audience-card .a-label {
  font-weight: 700;
  color: var(--brand);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--cloud-200);
  background: var(--cloud);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}

/* stat block */
.stat-card {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
}
.stat-card .big {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
}
.stat-card .mid {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}
.stat-card .sub {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Tier cards ---------- */
.tiers {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tier--popular {
  border: 2px solid var(--brand);
  box-shadow: 0 14px 40px rgba(0, 38, 119, 0.18);
}
@media (min-width: 1024px) {
  .tier--popular {
    margin: -0.5rem 0;
    padding: 2.25rem 1.75rem;
  }
}
.badge-popular {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand-900);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tier-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.tier-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
}
.tier-medal {
  font-size: 1.5rem;
}
.tier-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-600);
}
.tier-price {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}
.tier-price .amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand);
}
.tier-price .cadence {
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.tier-hours {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.tier-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.tier-list li {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}
.tier-list svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  color: var(--accent-600);
}
/* Unicode checkmark/cross used in lists (cyan accent). */
.x {
  flex: none;
  color: var(--accent-600);
  font-weight: 800;
}
.tier .btn {
  margin-top: 1.75rem;
}
.tier-foot {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* package cards */
.pkg {
  display: flex;
  flex-direction: column;
}
.pkg .pkg-price {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent-600);
}
.pkg .card-text {
  flex: 1;
}

/* not-included list */
.exclude-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.exclude-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.exclude-list .x {
  color: var(--accent-600);
  font-weight: 700;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--brand-900);
  color: var(--white);
  text-align: center;
  padding: 6rem 1.25rem;
}
.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
}
.final-cta .lead {
  color: rgba(255, 255, 255, 0.8);
}
.final-cta .fineprint {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.cta-wrap {
  max-width: 42rem;
  margin: 0 auto;
}
.mt-8 {
  margin-top: 2rem;
}

/* ---------- Contact ---------- */
.booking-ph {
  max-width: 48rem;
  margin: 3rem auto 0;
}
.booking-box {
  border: 2px dashed rgba(0, 38, 119, 0.3);
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.booking-box code {
  background: var(--white);
  padding: 0.1rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
}
.contact-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 4rem auto 0;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 190, 213, 0.35);
}
.form-success {
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-details li {
  display: flex;
  gap: 0.75rem;
}
.contact-details .ttl {
  font-weight: 600;
  color: var(--brand);
}
.contact-details .val {
  color: var(--ink-soft);
}
.note {
  margin-top: 2rem;
  background: var(--cloud);
  border-radius: 1rem;
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: var(--white);
  padding: 3.5rem 1.25rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
}
.footer-brand .logo-badge {
  background: var(--accent);
  color: var(--brand-900);
}
.footer-tagline {
  margin-top: 0.75rem;
  max-width: 20rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-head {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.footer-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-list a {
  text-decoration: none;
}
.footer-list a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a {
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--accent);
}
.footer-bottom p + p {
  margin-top: 0.5rem;
}
