/* ============================================================
   It's All Good Care — 2026 redesign
   ============================================================ */

:root {
  --cream: #faf6ef;
  --cream-2: #f3ecdf;
  --ink: #1c2333;
  --ink-soft: #495468;
  --green: #4d74d6;
  --green-deep: #3157b0;
  --green-tint: #e6edfa;
  --coral: #7aa5f0;
  --coral-soft: #e6eefc;
  --gold: #7aa5f0;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, "Helvetica Neue", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 60px -20px rgba(28, 35, 51, 0.18);
  --shadow-card: 0 10px 40px -12px rgba(28, 35, 51, 0.12);

  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 20px;
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 12px 30px -10px rgba(77, 116, 214, 0.5);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }

.btn-coral {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(122, 165, 240, 0.5);
}
.btn-coral:hover { background: #6a97ec; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(28, 35, 51, 0.25);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(28, 35, 51, 0.08);
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 80px;
  padding: 16px 0;
  position: relative;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.logo-butterfly {
  width: 48px;
  height: 42px;
  flex: none;
  background-color: var(--green);
  -webkit-mask: url("../img/logo-butterfly.png") center / contain no-repeat;
  mask: url("../img/logo-butterfly.png") center / contain no-repeat;
}
@media (max-width: 940px) { .logo-butterfly { width: 40px; height: 35px; } }
.site-footer .logo-butterfly { background-color: var(--cream); }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--green);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 600;
  line-height: 1.05;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--green-tint); color: var(--green-deep); }
.nav-links a.active { background: var(--ink); color: var(--cream); }
.nav-links a.nav-cta {
  background: var(--coral);
  color: var(--ink);
  font-weight: 600;
  margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: #6a97ec; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 12px;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav { min-height: 64px; padding: 12px 0; }
  .nav-toggle {
    display: grid;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .logo-text { font-size: 27px; }
  .logo-text small { font-size: 12px; }
  .nav-links {
    position: fixed;
    inset: 84px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a { padding: 14px 18px; font-size: 16px; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; justify-content: center; }
}

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

.hero {
  position: relative;
  padding: 200px 0 90px;
  overflow: hidden;
}
@media (max-width: 940px) {
  .hero { padding-top: 140px; }
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
}
.hero-blob.b1 { width: 520px; height: 520px; background: #dce7f8; top: -140px; right: -120px; }
.hero-blob.b2 { width: 420px; height: 420px; background: var(--coral-soft); bottom: -160px; left: -120px; }

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(28, 35, 51, 0.08);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 165, 240, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(122, 165, 240, 0); }
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 84px);
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.04em;
  height: 0.14em;
  background: var(--coral);
  opacity: 0.35;
  border-radius: 4px;
  z-index: -1;
}

.hero .lede { margin: 0 auto 40px; }

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-phone {
  font-size: 15px;
  color: var(--ink-soft);
}
.hero-phone a { font-weight: 700; color: var(--green-deep); text-decoration: none; }
.hero-phone a:hover { text-decoration: underline; }

/* ---------- ticker ---------- */

.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker-track span::after {
  content: "✦";
  color: var(--gold);
  font-style: normal;
  font-size: 13px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

section.block { padding: 100px 0; }
section.block.tight { padding: 70px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
  transition: transform 0.6s ease;
}
.photo-frame:hover img { transform: scale(1.03); }

.photo-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-deep);
  box-shadow: var(--shadow-card);
}

/* checklist */
.checklist { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16.5px;
  color: var(--ink-soft);
}
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist .tick {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
}
.checklist .tick svg { width: 13px; height: 13px; }

/* ---------- cards ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(28, 35, 51, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card-icon.green { background: var(--green-tint); color: var(--green); }
.card-icon.coral { background: var(--coral-soft); color: var(--coral); }
.card-icon.gold { background: #e6eefc; color: var(--gold); }
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
  text-decoration: none;
}
.card .card-link:hover { color: var(--green-deep); text-decoration: underline; }

/* team chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.chip {
  background: var(--white);
  border: 1px solid rgba(28, 35, 51, 0.1);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.chip:hover { transform: translateY(-3px); background: var(--green); color: var(--cream); }

/* ---------- dark band (above & beyond) ---------- */

.band {
  background: var(--green-deep);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.22), transparent 65%);
  top: -180px; right: -140px;
}
.band .eyebrow { color: var(--gold); }
.band .eyebrow::before { background: var(--gold); }
.band .section-title { color: var(--cream); }
@media (max-width: 700px) { .band { padding: 56px 28px; } }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  margin-top: 44px;
  position: relative;
}
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; } }

.promise {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(250, 246, 239, 0.14);
}
.promise-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  flex: none;
  width: 34px;
}
.promise p { color: rgba(250, 246, 239, 0.85); font-size: 16px; }

/* ---------- services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

.service-tile {
  background: var(--white);
  border: 1px solid rgba(28, 35, 51, 0.06);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.service-tile .card-icon {
  width: 50px; height: 50px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}
.service-tile .card-icon svg { width: 24px; height: 24px; }
.service-tile h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- process steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: center;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; } }

.step {
  background: var(--white);
  border: 1px solid rgba(28, 35, 51, 0.06);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.step:hover { transform: translateY(-5px); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- videos ---------- */

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; } }

.video-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--ink);
  transform: translateZ(0); /* keep rounded corners during playback on Safari */
}
.video-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* featured commercial video */
.video-feature {
  max-width: 820px;
  margin: 56px auto 0;
}
.video-feature + .video-grid { margin-top: 24px; }

/* ---------- testimonials ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 800px) { .testi-grid { grid-template-columns: 1fr; } }

.testi {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(28, 35, 51, 0.05);
  position: relative;
  transition: transform 0.3s ease;
}
.testi:hover { transform: translateY(-5px); }
.testi .quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--coral);
  opacity: 0.8;
  display: block;
  margin-bottom: 6px;
  height: 44px;
}
.testi p {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 22px;
}
.testi footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.testi footer .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.stars { color: var(--green); letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }

/* ---------- CEO quote ---------- */

.ceo-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.ceo-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}
.ceo-quote blockquote em { color: var(--coral); }
.ceo-quote blockquote em.tagline-pop {
  display: block;
  color: var(--green);
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.1;
  margin: 0.12em 0;
}
.ceo-quote cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ceo-quote cite span { color: var(--green); }

/* ---------- page hero (subpages) ---------- */

.page-hero {
  padding: 190px 0 70px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 940px) {
  .page-hero { padding-top: 130px; }
}
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 20px; }
.page-hero .lede { max-width: 720px; }

/* ---------- feature list section ---------- */

.feature-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 720px) { .feature-cols { grid-template-columns: 1fr; } }

.feature-item {
  background: var(--white);
  border: 1px solid rgba(28, 35, 51, 0.06);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.feature-item:hover { transform: translateX(4px); }
.feature-item .tick {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
}
.feature-item .tick svg { width: 14px; height: 14px; }

/* ---------- forms ---------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28, 35, 51, 0.05);
}
@media (max-width: 640px) { .form-card { padding: 32px 24px; } }

.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field label .req { color: var(--coral); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(28, 35, 51, 0.14);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(77, 116, 214, 0.12);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }

.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.checkbox-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }

.form-note { font-size: 13px; color: var(--ink-soft); }
.form-note a { color: var(--green); }

.form-success {
  display: none;
  background: var(--green-tint);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--green-deep);
  font-weight: 600;
  font-size: 15px;
}
.form-success.visible { display: block; }

.form-error {
  display: none;
  background: var(--coral-soft);
  border-radius: 14px;
  padding: 16px 20px;
  color: #c0392b;
  font-weight: 600;
  font-size: 15px;
}
.form-error a { color: inherit; }
.form-error.visible { display: block; }

.form-hint {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
}
.form-hint a { color: var(--green); }

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-tile {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(28, 35, 51, 0.05);
  margin-bottom: 16px;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.info-tile:hover { transform: translateY(-3px); }
.info-tile .card-icon { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.info-tile h3 { font-size: 17px; font-family: var(--font-body); font-weight: 700; margin-bottom: 4px; }
.info-tile p { font-size: 15px; color: var(--ink-soft); }

.quote-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 50px;
}
@media (max-width: 720px) { .quote-strip { grid-template-columns: 1fr; } }
.mini-quote {
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.5;
  border-left: 3px solid var(--coral);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--green-deep), var(--green));
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.cta-banner::before {
  width: 320px; height: 320px;
  border: 1.5px solid rgba(250, 246, 239, 0.14);
  top: -120px; left: -80px;
}
.cta-banner::after {
  width: 220px; height: 220px;
  border: 1.5px solid rgba(250, 246, 239, 0.14);
  bottom: -90px; right: -50px;
}
.cta-banner h2 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 16px; }
.cta-banner p { color: rgba(250, 246, 239, 0.8); max-width: 540px; margin: 0 auto 34px; font-size: 17px; }
@media (max-width: 640px) { .cta-banner { padding: 52px 26px; } }

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

.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 239, 0.75);
  margin-top: 100px;
  padding: 70px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(250, 246, 239, 0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .logo-text { color: var(--cream); }
.footer-about p { font-size: 15px; margin-top: 18px; max-width: 300px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-col p { font-size: 15px; }
.footer-col p + p { margin-top: 8px; }
.footer-col p a { text-decoration: none; }
.footer-col p a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 30px;
  font-size: 13.5px;
  color: rgba(250, 246, 239, 0.5);
}
.footer-bottom .social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(250, 246, 239, 0.75);
  transition: color 0.2s;
}
.footer-bottom .social:hover { color: var(--cream); }
.footer-bottom .social svg { width: 18px; height: 18px; }

/* ---------- mobile polish: center content ---------- */

@media (max-width: 720px) {
  /* section text blocks center; lists stay left-aligned for readability */
  .split > div:not(.photo-frame),
  .page-hero .wrap,
  .band,
  .block .wrap > .eyebrow,
  .block .wrap > .section-title {
    text-align: center;
  }
  .block .wrap > .eyebrow { display: flex; justify-content: center; }
  .eyebrow { justify-content: center; }
  .page-hero .lede, .split .lede { margin-left: auto; margin-right: auto; }

  .checklist { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .promise { text-align: left; }
  .promise-grid { max-width: 460px; margin-left: auto; margin-right: auto; }

  .chip-grid { justify-content: center; }
  .feature-item { text-align: left; }

  .testi { text-align: center; }
  .testi .quote-mark { margin-left: auto; margin-right: auto; }
  .testi footer { justify-content: center; }

  .form-card { text-align: left; }
  .form-card .eyebrow { justify-content: flex-start; }

  .footer-grid { text-align: center; }
  .footer-about .logo { justify-content: center; }
  .footer-about p { margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- resources / blog ---------- */

.resource-empty {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(28, 35, 51, 0.05);
  padding: 70px 40px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.resource-empty .card-icon { margin: 0 auto 24px; }
.resource-empty h2 { font-size: 30px; margin-bottom: 14px; }
.resource-empty p { color: var(--ink-soft); max-width: 440px; margin: 0 auto 28px; }

/* ============================================================
   Home Care Costs / Tax Credits page
   ============================================================ */

.tax-hero { padding: 190px 0 50px; position: relative; overflow: hidden; }
@media (max-width: 940px) { .tax-hero { padding-top: 130px; } }
.tax-hero .split { align-items: center; }
.tax-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.tax-hero .hero-sub {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--green);
  line-height: 1.25;
  margin-bottom: 22px;
}

.disclaimer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #eaf1fc;
  border: 1px solid #d4e2f7;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.disclaimer .di-icon { flex: none; color: var(--gold); margin-top: 1px; }

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }
.tax-card { display: flex; flex-direction: column; }
.tax-card h3 { font-size: 20px; }
.tax-card > p { font-size: 14.5px; }
.tax-card .checklist { margin-top: 16px; margin-bottom: 4px; }
.tax-card .checklist li { font-size: 14px; align-items: flex-start; }
.tax-card .checklist .tick { width: 22px; height: 22px; }
.tax-card .checklist .tick svg { width: 11px; height: 11px; }
.tax-card .card-link { margin-top: auto; padding-top: 18px; font-size: 14px; }

.help-band {
  background: var(--cream-2);
  border-radius: var(--radius-lg);
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
}
@media (max-width: 820px) { .help-grid { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; } }
.help-grid h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.trust-list { list-style: none; display: grid; gap: 18px; margin-top: 10px; }
.trust-list li { display: flex; gap: 14px; align-items: center; font-size: 16px; font-weight: 500; }
.trust-list .ti {
  flex: none; width: 44px; height: 44px; border-radius: 13px;
  background: var(--green-tint); color: var(--green);
  display: grid; place-items: center;
}
.trust-list .ti svg { width: 22px; height: 22px; }

.faq-grid { columns: 2; column-gap: 16px; margin-top: 44px; }
@media (max-width: 820px) { .faq-grid { columns: 1; } }
.faq {
  break-inside: avoid;
  margin: 0 0 16px;
  background: var(--white);
  border: 1px solid rgba(28, 35, 51, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; color: var(--green); transition: transform 0.25s ease; }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.faq .faq-body p + p { margin-top: 10px; }
.faq .faq-body ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 5px; }

.service-bar { border-top: 1px solid rgba(28, 35, 51, 0.1); background: var(--cream); }
.service-bar .wrap {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 34px; padding: 24px 24px;
}
.service-bar .sb-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.service-bar .sb-item svg { color: var(--green); width: 20px; height: 20px; flex: none; }
