/* Vitality Rehabilitation Group — homepage (vitalityrehabgroup.ca parity) */

[data-tl="modern"] .tl-hero--vitality {
  position: relative;
  min-height: clamp(22rem, 52vh, 36rem);
  display: flex;
  align-items: center;
  padding: 0;
  background: #1a3d2e;
  overflow: hidden;
}
[data-tl="modern"] .tl-hero--vitality .tl-hero__banner {
  position: absolute;
  inset: 0;
  margin: 0;
}
[data-tl="modern"] .tl-hero--vitality .tl-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
[data-tl="modern"] .tl-hero--vitality .tl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 32, 24, 0.55) 0%,
    rgba(8, 32, 24, 0.25) 45%,
    rgba(8, 32, 24, 0.08) 100%
  );
}
[data-tl="modern"] .tl-hero--vitality .tl-container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5rem);
}
[data-tl="modern"] .tl-hero--vitality h1 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-family: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
}

[data-tl="modern"] .tl-home-about {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: #fff;
}
[data-tl="modern"] .tl-home-about__panel {
  max-width: none;
}
[data-tl="modern"] .tl-home-about h2 {
  margin: 0 0 1.25rem;
  color: #000;
  font-family: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.125rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
}
[data-tl="modern"] .tl-home-about__copy {
  max-width: none;
  margin: 0;
  display: grid;
  gap: 1rem;
  color: #000;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.65;
  text-align: left;
  text-wrap: pretty;
}

[data-tl="modern"] .tl-audiences {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: #fff;
}
[data-tl="modern"] .tl-audiences__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  max-width: none;
  margin: 0;
  align-items: start;
}
[data-tl="modern"] .tl-audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding: 0;
  background: #fff;
}
[data-tl="modern"] .tl-audience-card__ring {
  width: 250px;
  height: 250px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
}
[data-tl="modern"] .tl-audience-card__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-tl="modern"] .tl-audience-card__body {
  width: 100%;
  display: flex;
  flex-direction: column;
}
[data-tl="modern"] .tl-audience-card h3 {
  width: 100%;
  margin: 0 0 0.75rem;
  color: #000;
  font-family: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3.125rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
[data-tl="modern"] .tl-audience-card__lede {
  margin: 0 0 0.75rem;
  color: #000;
  font-size: 1rem;
  line-height: 1.55;
}
[data-tl="modern"] .tl-audience-card__list {
  list-style: disc;
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  width: 100%;
}
[data-tl="modern"] .tl-audience-card__list li {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #000;
}
[data-tl="modern"] .tl-audience-card__list li::before {
  content: none;
}
[data-tl="modern"] .tl-audience-card .tl-btn--vitality-outline {
  display: inline-block;
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  border: 1px solid #81d742;
  border-radius: 2px;
  background: #fff;
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
[data-tl="modern"] .tl-audience-card .tl-btn--vitality-outline:hover,
[data-tl="modern"] .tl-audience-card .tl-btn--vitality-outline:focus-visible {
  background: #81d742;
  color: #000;
}

[data-tl="modern"] .tl-home-svc {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: #fff;
}
[data-tl="modern"] .tl-home-svc__head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
[data-tl="modern"] .tl-home-svc__head-grid h2 {
  margin: 0;
  color: #000;
  font-family: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: left;
  text-wrap: balance;
}
[data-tl="modern"] .tl-home-svc__head-grid p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}
[data-tl="modern"] .tl-home-svc__head-grid strong {
  font-weight: 700;
}
[data-tl="modern"] .tl-home-svc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
[data-tl="modern"] .tl-home-svc__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
[data-tl="modern"] .tl-home-svc__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
[data-tl="modern"] .tl-home-svc__ring {
  width: min(100%, 280px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
  transition: transform 220ms ease;
}
[data-tl="modern"] .tl-home-svc__link:hover .tl-home-svc__ring,
[data-tl="modern"] .tl-home-svc__link:focus-visible .tl-home-svc__ring {
  transform: scale(1.02);
}
[data-tl="modern"] .tl-home-svc__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-tl="modern"] .tl-home-svc__copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
[data-tl="modern"] .tl-home-svc__title {
  display: block;
  width: 100%;
  margin: 0;
  color: #000;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}
[data-tl="modern"] .tl-home-svc__summary {
  display: block;
  width: 100%;
  margin: 0;
  color: #333;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: none;
}
[data-tl="modern"] .tl-home-svc__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  color: #4ea01b;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
[data-tl="modern"] .tl-home-svc__more::after {
  content: "›";
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}
[data-tl="modern"] .tl-home-svc__link:hover .tl-home-svc__more::after,
[data-tl="modern"] .tl-home-svc__link:focus-visible .tl-home-svc__more::after {
  transform: translateX(3px);
}

[data-tl="modern"] .tl-home-contact {
  padding-block: clamp(2.75rem, 5vw, 4rem);
  background: #fff;
  border-top: 1px solid #e8ece8;
}
[data-tl="modern"] .tl-home-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
[data-tl="modern"] .tl-home-contact h2 {
  margin: 0 0 0.85rem;
  color: #000;
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
[data-tl="modern"] .tl-home-contact__lede {
  margin: 0 0 1rem;
  max-width: 36ch;
  line-height: 1.65;
  color: #333;
  font-size: 1rem;
}
[data-tl="modern"] .tl-home-contact__highlights {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
[data-tl="modern"] .tl-home-contact__highlights li {
  padding: 0.35rem 0.75rem;
  border: 1px solid #d4ebc4;
  border-radius: 999px;
  background: #f4fbf0;
  color: #2f6f22;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
[data-tl="modern"] .tl-home-contact__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
[data-tl="modern"] .tl-home-contact__card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e8ece8;
  border-radius: 6px;
  background: #fafcfa;
}
[data-tl="modern"] .tl-home-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eef8e8;
  color: #4ea01b;
}
[data-tl="modern"] .tl-home-contact__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
[data-tl="modern"] .tl-home-contact__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
[data-tl="modern"] .tl-home-contact__card-body strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4ea01b;
}
[data-tl="modern"] .tl-home-contact__card-body a {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
[data-tl="modern"] .tl-home-contact__card-body a:hover {
  color: #4ea01b;
}
[data-tl="modern"] .tl-home-contact__address {
  margin: 0;
  color: #1a1a1a;
  font-size: 0.9375rem;
  line-height: 1.5;
}
[data-tl="modern"] .tl-home-contact__form {
  background: #fff;
  border: 1px solid #e2ebe6;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 35, 24, 0.06);
}
[data-tl="modern"] .tl-home-contact__form-title {
  margin: 0 0 1.15rem;
  color: #1a1a1a;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
[data-tl="modern"] .tl-home-contact__form .tl-field {
  margin-bottom: 0.85rem;
}
[data-tl="modern"] .tl-home-contact__form label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #333;
}
[data-tl="modern"] .tl-home-contact__form input,
[data-tl="modern"] .tl-home-contact__form textarea {
  border-color: #dde5da;
  border-radius: 4px;
}
[data-tl="modern"] .tl-home-contact__form input:focus,
[data-tl="modern"] .tl-home-contact__form textarea:focus {
  border-color: #81d742;
  box-shadow: 0 0 0 3px rgba(129, 215, 66, 0.18);
  outline: none;
}
[data-tl="modern"] .tl-home-contact__form .tl-btn--primary {
  margin-top: 0.35rem;
  min-height: 48px;
  background: #61c13c;
  border-color: #61c13c;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}
[data-tl="modern"] .tl-home-contact__form .tl-btn--primary:hover {
  background: #4ea01b;
  border-color: #4ea01b;
}

[data-tl="modern"] .tl-home-promo {
  padding-block: clamp(2rem, 4vw, 2.75rem);
  background: #fff;
  border-top: 1px solid #eef0ee;
}
/* Live site shows this band on mobile/tablet only — hidden on desktop where hero already carries the headline. */
@media (min-width: 901px) {
  [data-tl="modern"] .tl-home-promo {
    display: none;
  }
}
[data-tl="modern"] .tl-home-promo__eyebrow {
  margin: 0 0 0.5rem;
  color: #4ea01b;
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
[data-tl="modern"] .tl-home-promo__title {
  margin: 0 0 1rem;
  color: #4d4d4d;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}
[data-tl="modern"] .tl-home-promo__bullets {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5625rem);
  line-height: 1.35;
  color: #333;
}
[data-tl="modern"] .tl-home-promo__bullets li::before {
  content: "– ";
  color: #333;
}
[data-tl="modern"] .tl-home-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
[data-tl="modern"] .tl-home-promo__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid #81d742;
  border-radius: 2px;
  background: #fff;
  color: #61c13c;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
[data-tl="modern"] .tl-home-promo__btn .tl-icon {
  width: 1.1rem;
  height: 1.1rem;
}
[data-tl="modern"] .tl-home-promo__btn:hover {
  background: #f4fbf0;
  color: #4ea01b;
}

@media (max-width: 900px) {
  [data-tl="modern"] .tl-home-svc__head-grid { grid-template-columns: 1fr; }
  [data-tl="modern"] .tl-home-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-tl="modern"] .tl-home-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  [data-tl="modern"] .tl-audiences__grid { grid-template-columns: 1fr; }
  [data-tl="modern"] .tl-home-svc__grid { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
  [data-tl="modern"] .tl-audience-card__ring { width: min(100%, 260px); height: min(100%, 260px); }
  [data-tl="modern"] .tl-home-svc__ring { width: min(100%, 260px); }
  [data-tl="modern"] .tl-hero--vitality h1 { max-width: none; font-size: clamp(1.65rem, 6vw, 2.25rem); }
}
