:root {
  --bg: #f7fbfa;
  --surface: #ffffff;
  --surface-soft: #eff6f5;
  --surface-accent: #f8f3eb;
  --primary: #0f6c6d;
  --primary-dark: #0a4f55;
  --secondary: #cfe5df;
  --accent: #e9d4b2;
  --text: #1f3135;
  --muted: #5d7477;
  --border: #d8e5e6;
  --shadow: 0 18px 50px rgba(15, 60, 70, 0.08);
  --shadow-soft: 0 10px 28px rgba(19, 56, 66, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1220px;
  --space-section: clamp(4.5rem, 7vw, 7rem);
  --space-gap: clamp(1.25rem, 2vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-family: "Manrope", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.section,
.page-intro {
  padding: var(--space-section) 0;
}

.section-compact {
  padding: 1.75rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(207, 229, 223, 0.4), rgba(255, 255, 255, 0));
}

.eyebrow {
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button-light:hover {
  border-color: #fff;
  color: #fff;
}

.text-link {
  display: inline-flex;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--primary-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 251, 250, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(17, 53, 60, 0.08);
  border-color: rgba(216, 229, 230, 0.9);
  background: rgba(247, 251, 250, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.logo {
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.desktop-nav a,
.mobile-menu nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-menu nav a:hover,
.desktop-nav a.active,
.mobile-menu nav a.active {
  color: var(--primary);
}

.desktop-nav a.active,
.mobile-menu nav a.active {
  font-weight: 700;
}

.header-cta {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(15, 108, 109, 0.35);
}

.menu-toggle-box {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 16px;
}

.menu-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.menu-toggle-box span:nth-child(1) {
  top: 0;
}

.menu-toggle-box span:nth-child(2) {
  top: 7px;
}

.menu-toggle-box span:nth-child(3) {
  top: 14px;
}

.menu-toggle.is-open .menu-toggle-box span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-box span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-box span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(216, 229, 230, 0.85);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(16, 56, 66, 0.08);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  padding: 1rem 0 1.5rem;
}

.mobile-menu nav {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mobile-menu .button {
  width: 100%;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
}

.hero-home {
  background-image: url("images/hero-family-care.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 44, 50, 0.82) 0%, rgba(8, 44, 50, 0.64) 42%, rgba(8, 44, 50, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(7rem, 12vw, 10rem) 0 4rem;
  color: #fff;
}

.hero-content h1,
.hero-content p {
  max-width: 760px;
  color: #fff;
}

.hero-copy {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trust-pills span {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.95rem;
}

.trust-strip {
  padding: 1.3rem 0;
  background: var(--surface);
  border-bottom: 1px solid rgba(216, 229, 230, 0.85);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.metric-card {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
}

.trust-strip-grid > div {
  padding: 0.8rem 0;
}

.label {
  margin-bottom: 0.45rem;
  color: var(--text);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.intro-grid {
  min-height: 0;
}

.section-copy {
  max-width: 620px;
}

.image-panel img {
  height: min(520px, 48vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-grid,
.pricing-grid,
.resource-grid,
.process-grid {
  display: grid;
  gap: 1.5rem;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.pricing-card,
.process-card,
.cta-panel,
.comparison-table,
.featured-resource {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card,
.process-card,
.pricing-card {
  padding: 1.8rem;
}

.service-card,
.article-card,
.testimonial-card,
.resource-card {
  height: 100%;
}

.category-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.category-card img,
.resource-card.image-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-body,
.resource-body {
  padding: 1.4rem 1.4rem 1.6rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(15, 108, 109, 0.08), rgba(255, 255, 255, 1));
  border-color: rgba(15, 108, 109, 0.25);
}

.plan-name {
  margin-bottom: 0.25rem;
  color: var(--text);
  font-weight: 700;
}

.price {
  color: var(--primary-dark);
  font-family: "Manrope", sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.plan-note {
  margin-bottom: 0;
}

.feature-list li + li {
  margin-top: 0.55rem;
}

.testimonial-card span {
  color: var(--text);
  font-weight: 700;
}

.cta-panel {
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(15, 108, 109, 0.07), rgba(233, 212, 178, 0.25));
  text-align: center;
}

.page-intro {
  padding-top: calc(var(--space-section) - 1rem);
}

.page-intro-centered {
  text-align: center;
}

.featured-resource {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  margin-top: 2.5rem;
}

.featured-resource .image-panel img {
  height: 100%;
  min-height: 360px;
  border-radius: 0;
  box-shadow: none;
}

.featured-copy {
  padding: clamp(2rem, 4vw, 3rem);
}

.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  overflow: hidden;
}

.resource-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-table {
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-head {
  background: rgba(15, 108, 109, 0.08);
  color: var(--text);
  font-weight: 700;
}

.faq-wrap {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  color: var(--text);
  font-weight: 700;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-card,
.sidebar-card {
  padding: 2rem;
}

.sidebar-stack {
  display: grid;
  gap: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(15, 108, 109, 0.6);
  box-shadow: 0 0 0 4px rgba(15, 108, 109, 0.08);
}

.contact-form .is-invalid {
  border-color: #bb5a5a;
  box-shadow: 0 0 0 4px rgba(187, 90, 90, 0.08);
}

.form-status {
  min-height: 1.5rem;
  margin-bottom: 0;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--primary);
}

.form-status.is-error {
  color: #a84f4f;
}

.contact-mini p {
  margin-bottom: 0.45rem;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(15, 108, 109, 0.1);
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.site-footer {
  padding: 3.5rem 0;
  background: #12383d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr;
  gap: 2rem;
}

.site-footer .logo,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-title {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
}

.site-footer a {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.centered-note {
  text-align: center;
}

.centered-note p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .trust-strip-grid,
  .four-up,
  .three-up,
  .resource-grid,
  .pricing-grid,
  .process-grid,
  .metrics-grid,
  .footer-grid,
  .comparison-row,
  .contact-grid,
  .featured-resource,
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid,
  .comparison-row,
  .contact-grid,
  .featured-resource,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three-up,
  .resource-grid,
  .pricing-grid,
  .process-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-panel img {
    height: 420px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .logo {
    max-width: calc(100% - 92px);
    white-space: normal;
    line-height: 1.15;
  }

  .hero {
    min-height: 68vh;
    align-items: end;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 44, 50, 0.68) 0%, rgba(8, 44, 50, 0.78) 100%);
  }

  .hero-content {
    padding: 6.5rem 0 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-strip-grid,
  .four-up,
  .three-up,
  .resource-grid,
  .pricing-grid,
  .process-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    height: 300px;
  }

  .featured-resource .image-panel img {
    min-height: 260px;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contact-card,
  .sidebar-card {
    padding: 1.5rem;
  }
}
