/* Advanced Medical Adult Day Care - static site (open index.html in Chrome) */
:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --sky-50: #f0f9ff;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #fff;
  --rose-100: #ffe4e6;
  --rose-700: #be123c;
  --amber-100: #fef3c7;
  --amber-900: #78350f;
  --emerald-100: #d1fae5;
  --emerald-800: #065f46;
  --max: 100%;
  /* Unified photo frames (marketing + services) */
  --photo-frame-h: 400px;
  --photo-frame-h-md: 520px;
  /* System fonts only — works offline and from any folder (e.g. Downloads) */
  --font-sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-heading {
  font-family: var(--font-heading);
}

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--teal-600);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.top-bar {
  border-bottom: 1px solid rgba(204, 251, 241, 0.85);
  background: linear-gradient(90deg, rgba(240, 253, 250, 0.95), rgba(240, 249, 255, 0.85));
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

@media (max-width: 639px) {
  .top-bar .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }

  .top-bar .container > p {
    order: 2;
    width: 100%;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-600);
    line-height: 1.35;
  }
}

@media (min-width: 640px) {
  .top-bar .container {
    justify-content: space-between;
  }

  .top-bar .container > p {
    order: unset;
    width: auto;
    margin: 0;
    padding-top: 0;
    border-top: none;
    text-align: right;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
  }
}

.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--teal-900);
}

.top-bar-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

@media (max-width: 639px) {
  .top-bar-contacts {
    order: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
  }

  .top-bar-contacts a {
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.375rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.65);
    font-size: clamp(0.6875rem, 2.6vw, 0.8125rem);
    line-height: 1.25;
    text-align: center;
  }
}

@media (min-width: 640px) {
  .top-bar-contacts {
    justify-content: flex-start;
  }

  .top-bar-contacts a {
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: inherit;
    text-align: left;
  }
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .header-row {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.logo {
  text-decoration: none;
  color: inherit;
}

.logo strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .logo strong {
    font-size: 1.25rem;
  }
}

.logo span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal-700);
}

@media (min-width: 640px) {
  .logo span {
    font-size: 0.875rem;
  }
}

.logo.logo--mark,
.logo--mark {
  display: inline-flex;
  align-items: center;
}

.logo.logo--mark img,
.logo--mark img {
  display: block;
  height: 5.5rem;
  width: auto;
  max-width: min(480px, 78vw);
}

@media (min-width: 640px) {
  .logo.logo--mark img,
  .logo--mark img {
    height: 7rem;
    max-width: 520px;
  }
}

@media (min-width: 1024px) {
  .logo.logo--mark img,
  .logo--mark img {
    height: 8.5rem;
    max-width: 560px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  text-decoration: none;
}

.nav-desktop a:hover {
  background: var(--teal-50);
  color: var(--teal-900);
}

.btn-header {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--teal-600);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.btn-header:hover {
  background: var(--teal-700);
}

.nav-cta-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  flex-wrap: wrap;
}

.nav-cta-pair .btn-header {
  margin-left: 0;
}

.btn-header--secondary {
  background: var(--white);
  color: var(--slate-800);
  border: 2px solid var(--slate-300);
  box-shadow: none;
}

.btn-header--secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.menu-btn {
  display: flex;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--slate-800);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-btn:hover {
  background: var(--slate-100);
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--slate-100);
  padding: 1rem;
  background: var(--white);
}

.mobile-nav.is-open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--slate-800);
  text-decoration: none;
}

.mobile-nav a:hover {
  background: var(--teal-50);
}

.mobile-nav .btn-block {
  margin-top: 0.5rem;
  text-align: center;
  border-radius: 9999px;
  background: var(--teal-600);
  color: var(--white) !important;
  font-weight: 600;
}

.mobile-nav .btn-block--secondary {
  margin-top: 0.5rem;
  display: block;
  text-align: center;
  border-radius: 9999px;
  padding: 0.75rem;
  font-weight: 600;
  color: var(--slate-800) !important;
  background: var(--white);
  border: 2px solid var(--slate-300);
  text-decoration: none;
}

.mobile-nav .btn-block--secondary:hover {
  background: var(--slate-50);
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), rgba(248, 250, 252, 0.6), var(--white));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.15), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.badge {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(153, 246, 228, 0.85);
  background: rgba(240, 253, 250, 0.85);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-800);
}

.hero h1 {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 2.65rem;
    line-height: 1.12;
  }
}

.hero-lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--slate-600);
}

@media (min-width: 640px) {
  .hero-lead {
    font-size: 1.25rem;
  }
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  color: var(--white);
  background: var(--teal-600);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  background: var(--teal-700);
}

.btn-outline {
  color: var(--teal-800);
  background: var(--white);
  border-color: var(--teal-600);
}

.btn-outline:hover {
  background: var(--teal-50);
}

/* Placeholder image blocks */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--sky-50), var(--teal-50), #ecfdf5);
  box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.9);
  min-height: 280px;
  color: rgba(15, 118, 110, 0.55);
}

@media (min-width: 640px) {
  .ph--hero {
    min-height: 360px;
  }
}

@media (min-width: 1024px) {
  .ph--hero {
    min-height: 420px;
  }
}

.ph--section {
  min-height: 220px;
}

@media (min-width: 640px) {
  .ph--section {
    min-height: 280px;
  }
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f766e' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ph .icon-svg {
  position: relative;
  z-index: 1;
}

.icon-svg--hero {
  width: 4rem;
  height: 4rem;
}

@media (min-width: 640px) {
  .icon-svg--hero {
    width: 5rem;
    height: 5rem;
  }
}

.icon-svg--xl {
  width: 3.5rem;
  height: 3.5rem;
}

@media (min-width: 640px) {
  .icon-svg--xl {
    width: 4rem;
    height: 4rem;
  }
}

/* ----- Sections ----- */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--slate-100);
}

@media (min-width: 640px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section--muted {
  background: rgba(248, 250, 252, 0.65);
}

.section-head {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .section-head h2 {
    font-size: 2.25rem;
  }
}

.section-head p {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--slate-600);
}

/* Services grid */
.cards {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  background: rgba(248, 250, 252, 0.45);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.card:hover {
  border-color: rgba(153, 246, 228, 0.85);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Services page: image slot + text side by side */
.card--split {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .card--split {
    grid-template-columns: minmax(280px, 440px) 1fr;
    gap: 1.5rem;
  }
}

.service-card__media {
  width: 100%;
  height: var(--photo-frame-h);
  min-height: var(--photo-frame-h);
  max-height: var(--photo-frame-h);
  border-radius: 0.75rem;
  border: 2px dashed var(--slate-300);
  background: linear-gradient(145deg, rgba(240, 253, 250, 0.9), rgba(248, 250, 252, 0.98));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .service-card__media {
    height: var(--photo-frame-h-md);
    min-height: var(--photo-frame-h-md);
    max-height: var(--photo-frame-h-md);
  }
}

.service-card__media:has(img) {
  position: relative;
  border: 1px solid var(--slate-200);
  padding: 0;
  overflow: hidden;
}

.service-card__media:has(img) img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cards--stacked {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr;
}

.cards--stacked .card p {
  font-size: 0.9375rem;
}

.services-intro {
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.services-intro p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.services-intro p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: var(--teal-100);
  color: var(--teal-800);
}

/* Inline SVG icons */
.icon-svg {
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-svg--sm {
  width: 1rem;
  height: 1rem;
}

.icon-svg--md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-svg--menu {
  width: 1.75rem;
  height: 1.75rem;
}

.card-icon .icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-btn .icon-svg--menu {
  width: 1.75rem;
  height: 1.75rem;
}

.card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate-600);
}

.card a {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: none;
}

.card a:hover {
  color: var(--teal-900);
}

/* Feature rows */
.features {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .features {
    gap: 5rem;
  }
}

.feature-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .feature-row--reverse .feature-visual {
    order: 2;
  }

  .feature-row--reverse .feature-text {
    order: 1;
  }
}

.feature-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .feature-text h3 {
    font-size: 1.875rem;
  }
}

.feature-text p {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.btn-sky {
  margin-top: 1.5rem;
  display: inline-flex;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--sky-600);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.btn-sky:hover {
  background: var(--sky-700);
}

/* CTA banner */
.cta-banner {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(15, 118, 110, 0.2);
  border-bottom: 1px solid rgba(15, 118, 110, 0.2);
  background: linear-gradient(90deg, var(--teal-700), var(--teal-800), var(--sky-900));
  color: var(--white);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cta-inner h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .cta-inner h2 {
    font-size: 1.875rem;
  }
}

.cta-inner > div:first-child {
  max-width: 36rem;
}

.cta-inner .lead {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  color: rgba(240, 253, 250, 0.95);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .cta-actions {
    width: auto;
    min-width: 200px;
  }
}

.btn-white {
  color: var(--teal-900);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: var(--teal-50);
}

.btn-ghost {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.about-grid h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .about-grid h2 {
    font-size: 2.25rem;
  }
}

.about-grid .prose {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.callout {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--teal-100);
  background: rgba(240, 253, 250, 0.65);
  color: var(--slate-700);
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pill-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  background: rgba(248, 250, 252, 0.65);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pill-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
}

.pill-icon .icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pill-icon--rose {
  background: var(--rose-100);
  color: var(--rose-700);
}

.pill-icon--sky {
  background: #e0f2fe;
  color: var(--sky-800);
}

.pill-icon--amber {
  background: var(--amber-100);
  color: var(--amber-900);
}

.pill-item h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.pill-item p {
  margin: 0.25rem 0 0;
  color: var(--slate-600);
}

/* Areas */
.areas-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .areas-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.areas-head h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .areas-head h2 {
    font-size: 2.25rem;
  }
}

.areas-head p {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--slate-600);
}

.btn-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(153, 246, 228, 0.9);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn-pin .icon-svg {
  width: 1rem;
  height: 1rem;
}

.tags {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

.tags li span {
  display: inline-flex;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-800);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Contact */
.contact-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem 3.5rem;
    align-items: stretch;
  }
}

.contact-map-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.map-embed {
  position: relative;
  width: 100%;
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

@media (min-width: 640px) {
  .map-embed {
    min-height: 360px;
  }
}

@media (min-width: 1024px) {
  .map-embed {
    min-height: 480px;
    aspect-ratio: auto;
    height: 100%;
  }
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link-wrap {
  margin: 0.875rem 0 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .map-link-wrap {
    text-align: left;
  }
}

.map-open {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sky-700);
  text-decoration: none;
}

.map-open:hover {
  color: var(--sky-900);
  text-decoration: underline;
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1024px) {
  .contact-details-col {
    padding: 0.5rem 0 0.5rem 0.5rem;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-list {
    gap: 2.75rem;
  }
}

.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}

.contact-list .ico {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.contact-list .ico .icon-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ico-teal {
  background: var(--teal-100);
  color: var(--teal-800);
}

.ico-sky {
  background: #e0f2fe;
  color: var(--sky-800);
}

.ico-emerald {
  background: var(--emerald-100);
  color: var(--emerald-800);
}

.contact-list .label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-500);
}

.contact-list a,
.contact-list .addr {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--teal-900);
}

.contact-list .email a {
  color: var(--sky-800);
}

.contact-list .email a:hover {
  color: var(--sky-900);
}

.contact-list .addr {
  font-weight: 500;
  color: var(--slate-900);
}

.form-panel {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  background: rgba(248, 250, 252, 0.55);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .form-panel {
    padding: 2rem;
  }
}

.form-panel h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.form-panel .hint {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.form-fields {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row2 {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.req {
  color: #e11d48;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate-900);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-row input {
  width: auto;
  margin-top: 0.25rem;
}

.form-success {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--teal-200);
  background: rgba(240, 253, 250, 0.85);
  text-align: center;
}

.form-success[hidden] {
  display: none !important;
}

.form-success.is-visible {
  display: block !important;
}

form[hidden] {
  display: none !important;
}

.form-success h4 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--teal-900);
}

.form-success p {
  margin: 0.5rem 0 0;
  color: var(--slate-700);
}

.form-success a {
  font-weight: 600;
  color: var(--teal-800);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--slate-200);
  background: var(--slate-900);
  color: #cbd5e1;
  padding: 3.5rem 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--white);
}

.site-footer .tagline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.social {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

.social a {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #1e293b;
  color: #e2e8f0;
  text-decoration: none;
}

.social a:hover {
  background: var(--teal-700);
  color: var(--white);
}

.social .icon-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-col h4 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.footer-col ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Legal subpages */
.simple-header {
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.simple-header .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.simple-header a {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
}

.simple-header a:hover {
  color: var(--teal-900);
}

.simple-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.simple-main h1 {
  margin: 0;
  font-size: 1.875rem;
  font-family: var(--font-heading);
}

.simple-main .meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.simple-main .content {
  margin-top: 2rem;
}

.simple-main .content p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--slate-700);
}

.simple-main a {
  font-weight: 500;
  color: var(--teal-700);
}

/* Services hub & detail subpages */
.subpage-main {
  padding-bottom: 4rem;
}

.subpage-hero {
  padding: 2.5rem 0 1rem;
  background: linear-gradient(180deg, var(--white), var(--slate-50));
  border-bottom: 1px solid var(--slate-100);
}

.breadcrumb {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.breadcrumb a {
  color: var(--teal-700);
  font-weight: 500;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal-900);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--slate-800);
  font-weight: 600;
}

.subpage-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-900);
}

@media (min-width: 640px) {
  .subpage-hero h1 {
    font-size: 2.5rem;
  }
}

.subpage-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.service-page-photo {
  margin: 0 0 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  height: var(--photo-frame-h);
  min-height: var(--photo-frame-h);
  position: relative;
}

@media (min-width: 640px) {
  .service-page-photo {
    height: var(--photo-frame-h-md);
    min-height: var(--photo-frame-h-md);
  }
}

.service-page-photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-detail {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 0;
}

.service-detail .lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--slate-700);
}

.service-detail section {
  margin-top: 2.25rem;
}

.service-detail h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--slate-900);
}

.service-detail p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--slate-700);
}

.service-detail ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.service-detail li {
  margin-bottom: 0.5rem;
}

.service-detail .cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-detail h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
}

.service-detail .tagline-banner {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.95), var(--white));
  border: 1px solid var(--teal-100);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--teal-900);
  text-align: center;
}

.service-detail .service-area-note {
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-700);
}

.nav-desktop a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  background: var(--teal-50);
  color: var(--teal-900);
  font-weight: 600;
}

.card > a.btn-learn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: none;
}

.card > a.btn-learn:hover {
  color: var(--teal-900);
  text-decoration: underline;
}

.service-detail a.btn-learn {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: none;
}

.service-detail a.btn-learn:hover {
  color: var(--teal-900);
  text-decoration: underline;
}

.service-detail .sub-caption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

/* ----- Let’s Get Started / intake form ----- */
:root {
  --intake-heading: #1e3a5f;
  --intake-submit: #ea580c;
  --intake-submit-hover: #c2410c;
}

.intake-main {
  padding-bottom: 4rem;
  background: var(--white);
}

.intake-wrap {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.intake-breadcrumb {
  margin-bottom: 1.25rem;
}

.intake-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--intake-heading);
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .intake-title {
    font-size: 2.25rem;
  }
}

.intake-intro {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate-700);
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.intake-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.intake-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-800);
}

.intake-label .req {
  color: var(--rose-700);
  font-weight: 700;
}

.intake-control,
.intake-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.45;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.intake-control:focus,
.intake-textarea:focus {
  outline: none;
  border-color: var(--teal-500, #14b8a6);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
  background: var(--white);
}

.intake-textarea {
  min-height: 7rem;
  resize: vertical;
}

select.intake-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.intake-input-icon-wrap {
  position: relative;
}

.intake-input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-500);
  display: flex;
  pointer-events: none;
}

.intake-control--padded {
  padding-left: 2.75rem;
}

.intake-consent {
  margin: 0.5rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intake-consent-legend {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-800);
  padding: 0 0.25rem;
}

.intake-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--slate-600);
  cursor: pointer;
}

.intake-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal-600);
}

.intake-submit {
  margin-top: 0.5rem;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--intake-submit);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.intake-submit:hover {
  background: var(--intake-submit-hover);
}

.intake-submit:focus-visible {
  outline: 2px solid var(--intake-heading);
  outline-offset: 3px;
}

.intake-submit:active {
  transform: scale(0.99);
}

.intake-legal {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.intake-legal a {
  color: var(--sky-700);
  font-weight: 600;
}

.intake-legal a:hover {
  color: var(--sky-900);
  text-decoration: underline;
}

.intake-success {
  padding: 2rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--teal-200);
  background: var(--teal-50);
  color: var(--slate-800);
}

.intake-success h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--teal-900);
}

.intake-success p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.intake-success code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.8);
}

/* Photos — large frames, edge-to-edge cover (no letterbox bands) */
.hero-photo,
.feature-visual,
.about-photo,
.areas-photo,
.contact-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  height: var(--photo-frame-h);
  min-height: var(--photo-frame-h);
}

@media (min-width: 640px) {
  .hero-photo,
  .feature-visual,
  .about-photo,
  .areas-photo,
  .contact-photo {
    height: var(--photo-frame-h-md);
    min-height: var(--photo-frame-h-md);
  }
}

.hero-photo img,
.feature-visual > img,
.about-photo img,
.areas-photo img,
.contact-photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Clinical / wheelchair photo — keep faces in frame when cover crops */
.feature-visual--faces > img {
  object-position: 50% 18%;
}

/* Transportation — show passenger faces above the crop */
.feature-visual--transport > img,
.service-page-photo--transport > img {
  object-position: 50% 15%;
}

/* Enrichment, about, and contact — keep faces in frame */
.feature-visual--enrichment > img {
  object-position: 50% 12%;
}

.about-photo--faces > img {
  object-position: 50% 15%;
}

.contact-photo--faces > img {
  object-position: 50% 12%;
}

/* Contact — ball toss: show faces, hands, and upper bodies (wide source photo) */
.contact-photo--activity {
  background: var(--slate-100);
}

.contact-photo--activity > img {
  object-fit: contain;
  object-position: center top;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-photo {
  margin: 0;
}

.areas-photo {
  margin-top: 2rem;
}

.contact-photo {
  margin-bottom: 1.5rem;
}

@supports (image-rendering: high-quality) {
  .hero-photo img,
  .feature-visual > img,
  .about-photo img,
  .areas-photo img,
  .contact-photo img,
  .service-page-photo img,
  .service-card__media:has(img) img {
    image-rendering: high-quality;
  }
}
