:root {
  --ink: #1a2e28;
  --muted: #4a635c;
  --brand: #1f6b5a;
  --brand-deep: #145244;
  --accent: #c4784a;
  --surface: #f3f7f5;
  --paper: #ffffff;
  --line: #d4e2dc;
  --sky: #e8f2ee;
  --shadow: 0 12px 40px rgba(26, 46, 40, 0.08);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #d8ebe4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #f0e6dc 0%, transparent 45%),
    linear-gradient(180deg, #eef5f2 0%, var(--surface) 40%, #e9f0ed 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(243, 247, 245, 0.85);
  border-bottom: 1px solid rgba(212, 226, 220, 0.8);
}

.site-header .container.nav {
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: white !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 82, 68, 0.15) 0%, rgba(20, 82, 68, 0.55) 55%, rgba(15, 50, 42, 0.78) 100%),
    url("https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-content {
  padding: 5rem 0 4rem;
  color: white;
  max-width: 640px;
  animation: riseIn 0.9s ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-brand span {
  color: #f0c9a8;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.6rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero .btn-secondary {
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero .btn-secondary:hover {
  background: var(--brand-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #f4ebe3;
  color: var(--brand-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: white;
}

.btn-secondary {
  background: var(--brand);
  color: white;
}

.btn-secondary:hover {
  background: var(--brand-deep);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--brand-deep);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Care Promise */
.care-promise {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 107, 90, 0.94) 0%, rgba(20, 82, 68, 0.96) 55%, rgba(26, 70, 58, 0.98) 100%);
  color: #f4faf7;
}

.care-promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(196, 120, 74, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(232, 242, 238, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.care-promise-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  text-align: center;
  margin-inline: auto;
  animation: riseIn 0.7s ease both;
}

.care-promise-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 250, 247, 0.72);
  margin-bottom: 1rem;
}

.care-promise h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1.5rem;
}

.care-promise-points {
  margin-bottom: 1.5rem;
}

.care-promise-points p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(244, 250, 247, 0.9);
}

.care-promise-close {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: #f0c9a8;
  line-height: 1.45;
}

/* Care form */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  animation: riseIn 0.7s ease 0.15s both;
  min-width: 0;
  max-width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
  min-width: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--sky);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px rgba(31, 107, 90, 0.15);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.care-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  width: 100%;
}

.care-option-box {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  justify-items: start;
  align-items: center;
  column-gap: 0.7rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: var(--sky);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.care-option-box:has(input:checked) {
  border-color: var(--brand);
  background: #dff0ea;
}

.care-option-box input[type="checkbox"] {
  accent-color: var(--brand);
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  flex-shrink: 0;
}

.care-option-box span {
  display: inline;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.info-btn {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: white;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.info-btn:hover,
.info-btn[aria-expanded="true"] {
  background: var(--brand);
  color: white;
}

.info-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 20;
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  animation: riseIn 0.25s ease;
  box-sizing: border-box;
}

.form-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.field-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.field input[type="file"] {
  padding: 0.65rem 0.75rem;
  background: var(--sky);
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
}

.field input[type="file"]:focus {
  border-color: var(--brand);
  border-style: solid;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: #dff0ea;
  color: var(--brand-deep);
  border: 1px solid #b5d9cd;
  font-weight: 500;
}

.form-message.show {
  display: block;
  animation: riseIn 0.4s ease;
}

.form-message.error {
  background: #fdecea;
  color: #8a2f2a;
  border-color: #f0c2be;
}

/* Simple info rows (no cards aesthetic) */
.info-list {
  display: grid;
  gap: 1.75rem;
}

.info-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

.info-row h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--brand-deep);
}

.info-row p {
  color: var(--muted);
}

/* Why choose */
.why-section {
  padding-top: 0;
}

.why-list {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.why-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 1.5px var(--brand);
}

/* Caregivers / Nurses switcher */
.role-section {
  padding-top: 1rem;
}

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding: 0.4rem;
  background:
    linear-gradient(135deg, rgba(31, 107, 90, 0.08), rgba(196, 120, 74, 0.1)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.role-tab {
  appearance: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.role-tab:hover {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.65);
}

.role-tab.is-active {
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #f7f3ee;
  box-shadow: 0 10px 28px rgba(20, 82, 68, 0.28);
  transform: translateY(-1px);
}

.role-tab-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.role-tab-hint {
  display: block;
  font-size: 0.88rem;
  opacity: 0.85;
}

.role-tab.is-active .role-tab-hint {
  color: rgba(247, 243, 238, 0.85);
}

.role-panels {
  position: relative;
}

.role-panel {
  display: none;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(31, 107, 90, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(196, 120, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f6faf8 100%);
  box-shadow: var(--shadow);
}

.role-panel.is-active {
  display: block;
  animation: roleReveal 0.45s ease both;
}

@keyframes roleReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.role-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.role-panel-intro {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.role-panel-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.role-panel-intro p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
}

.role-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}

.role-services-checklist li {
  position: relative;
  padding: 0.55rem 0.25rem 0.55rem 1.55rem;
  border-left: none;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  animation: riseIn 0.45s ease both;
}

.role-services-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 107, 90, 0.15);
}

.role-panel.is-active .role-services-checklist li:nth-child(1) { animation-delay: 0.03s; }
.role-panel.is-active .role-services-checklist li:nth-child(2) { animation-delay: 0.06s; }
.role-panel.is-active .role-services-checklist li:nth-child(3) { animation-delay: 0.09s; }
.role-panel.is-active .role-services-checklist li:nth-child(4) { animation-delay: 0.12s; }
.role-panel.is-active .role-services-checklist li:nth-child(5) { animation-delay: 0.15s; }
.role-panel.is-active .role-services-checklist li:nth-child(6) { animation-delay: 0.18s; }
.role-panel.is-active .role-services-checklist li:nth-child(7) { animation-delay: 0.21s; }
.role-panel.is-active .role-services-checklist li:nth-child(8) { animation-delay: 0.24s; }
.role-panel.is-active .role-services-checklist li:nth-child(9) { animation-delay: 0.27s; }
.role-panel.is-active .role-services-checklist li:nth-child(10) { animation-delay: 0.3s; }
.role-panel.is-active .role-services-checklist li:nth-child(11) { animation-delay: 0.33s; }
.role-panel.is-active .role-services-checklist li:nth-child(12) { animation-delay: 0.36s; }
.role-panel.is-active .role-services-checklist li:nth-child(13) { animation-delay: 0.39s; }
.role-panel.is-active .role-services-checklist li:nth-child(14) { animation-delay: 0.42s; }
.role-panel.is-active .role-services-checklist li:nth-child(15) { animation-delay: 0.45s; }
.role-panel.is-active .role-services-checklist li:nth-child(16) { animation-delay: 0.48s; }

.role-services strong {
  color: var(--brand-deep);
  font-size: 1.02rem;
}

.role-services span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  max-width: 44rem;
}

.team-member {
  padding-top: 0.25rem;
}

.team-avatar {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1f6b5a, #145244);
  color: #f4ebe3;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.team-member h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-deep);
  margin-bottom: 0.2rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.team-rating {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
}

.team-rating .star {
  color: #d4e2dc;
  font-size: 1.05rem;
  line-height: 1;
}

.team-rating .star.filled {
  color: #c4784a;
}

.team-rating .star.half {
  background: linear-gradient(90deg, #c4784a 50%, #d4e2dc 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.team-member > p:last-child {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  animation: riseIn 0.7s ease both;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 40rem;
  animation: riseIn 0.7s ease 0.1s both;
}

.prose {
  max-width: 42rem;
  color: var(--muted);
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
}

.prose strong {
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.4rem;
}

.contact-details h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brand-deep);
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  color: var(--muted);
}

.contact-details a:hover {
  color: var(--brand);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.75rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-deep);
  margin-bottom: 0.85rem;
}

.footer-about p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 22rem;
  margin-top: 0.65rem;
  line-height: 1.55;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.footer-logo span {
  color: var(--accent);
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-legal a:hover {
  color: var(--brand);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Legal pages */
.legal-section {
  padding-top: 0;
}

.legal-content {
  max-width: 46rem;
  display: grid;
  gap: 2rem;
}

.legal-content section {
  display: grid;
  gap: 0.75rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 0.25rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.4rem;
}

.legal-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--brand-deep);
}

/* Legacy footer classes (kept for compatibility) */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brand-deep);
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--brand);
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    width: min(1100px, calc(100% - 1.5rem));
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 3.25rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .site-header .container.nav {
    position: static;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(243, 247, 245, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.35rem 1.25rem 1rem;
    box-shadow: 0 16px 28px rgba(26, 46, 40, 0.1);
    box-sizing: border-box;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.65rem;
    padding: 0.85rem 1.1rem !important;
    border-bottom: none !important;
  }

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

  .hero-content {
    padding: 3.5rem 0 2.75rem;
    max-width: 100%;
  }

  .hero-brand {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  }

  .hero p {
    max-width: none;
    font-size: 0.98rem;
  }

  .btn {
    width: 100%;
    max-width: 22rem;
    min-height: 3rem;
  }

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

  .hero-actions .btn {
    max-width: none;
  }

  .section {
    padding: 3rem 0;
  }

  .care-promise {
    padding: 3.25rem 0;
  }

  .care-promise h2 br {
    display: none;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .page-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .form-panel {
    padding: 1.15rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    width: 100%;
  }

  .care-option-box {
    font-size: 0.9rem;
    padding: 0.7rem 0.85rem;
  }

  .care-option-box span {
    font-size: 0.9rem;
  }

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

  .form-actions .btn {
    max-width: none;
  }

  .info-row {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.75rem;
  }

  .info-num {
    font-size: 1.35rem;
  }

  .role-switch {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.35rem;
  }

  .role-tab {
    padding: 0.95rem 1rem;
  }

  .role-tab-label {
    font-size: 1.2rem;
  }

  .role-panel {
    padding: 1.2rem;
  }

  .role-services {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-links {
    gap: 0.85rem 1.1rem;
  }

  .info-popover {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.35rem;
  }

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

  .btn-primary,
  .btn-secondary {
    border-radius: 12px;
  }
}
