/* ========================================
   URSJ Ltd — United Rehabilitation & Support Junction
   Medical healthcare design system
   ======================================== */

:root {
  /* Brand — navy + emerald from URSJ logo */
  --navy: #0b3d5c;
  --navy-dark: #072a40;
  --navy-mid: #124a73;
  --green: #1b8a4e;
  --green-dark: #146b3c;
  --green-light: #2aa05c;
  --brand-gradient: linear-gradient(120deg, var(--green) 0%, var(--navy) 100%);
  --brand-gradient-soft: linear-gradient(135deg, #e8f6ee 0%, #e8f1f7 100%);

  --teal-50: #eef7f2;
  --teal-100: #d4eddf;
  --teal-200: #a8dcc0;
  --teal-500: var(--green);
  --teal-600: var(--navy);
  --teal-700: var(--navy-dark);
  --teal-800: var(--navy-dark);
  --teal-900: #051c2b;
  --sky-600: var(--green);
  --sky-700: var(--navy-mid);
  --slate-50: #f7fafc;
  --slate-100: #eef2f6;
  --slate-200: #dde5ec;
  --slate-400: #8fa3b3;
  --slate-500: #5c7385;
  --slate-600: #3d5568;
  --slate-700: #2a4052;
  --slate-800: #1a2f3f;
  --slate-900: #0b1c28;
  --white: #ffffff;
  --danger: #dc2626;
  --success: var(--green);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(7, 42, 64, 0.06);
  --shadow: 0 8px 30px rgba(11, 61, 92, 0.1);
  --shadow-lg: 0 20px 50px rgba(11, 61, 92, 0.14);
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal-600);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--slate-900);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #c5d9e6;
  font-size: 0.875rem;
  padding: 0.55rem 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  align-items: center;
}

.topbar a {
  color: #c5d9e6;
}

.topbar a:hover {
  color: var(--white);
}

.topbar-left,
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.topbar svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 0.35rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1.25rem;
  margin-left: auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-900);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--slate-900);
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
}

.footer-brand .logo-img {
  height: 72px;
  background: var(--white);
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(11, 61, 92, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--slate-500);
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 200px;
}

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

.nav a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
}

.nav a:hover,
.nav a.active {
  color: var(--navy);
  background: #e8f1f7;
}

.header-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
}

.header-cta .btn-primary {
  box-shadow: 0 6px 16px rgba(11, 61, 92, 0.28);
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-cta .btn-primary:hover {
  box-shadow: 0 10px 22px rgba(11, 61, 92, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--slate-800);
  transition: var(--transition);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 61, 92, 0.32);
}

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

.btn-secondary:hover {
  background: #e8f1f7;
  color: var(--navy-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--teal-50);
  color: var(--teal-900);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(7, 42, 64, 0.92) 0%,
      rgba(11, 61, 92, 0.78) 45%,
      rgba(27, 138, 78, 0.55) 100%
    ),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-home .hero-bg {
  background:
    linear-gradient(
      105deg,
      rgba(7, 42, 64, 0.92) 0%,
      rgba(11, 61, 92, 0.75) 48%,
      rgba(27, 138, 78, 0.5) 100%
    ),
    url("https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
}

.hero-about .hero-bg {
  background:
    linear-gradient(
      105deg,
      rgba(7, 42, 64, 0.9) 0%,
      rgba(27, 138, 78, 0.65) 100%
    ),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
}

.hero-services .hero-bg {
  background:
    linear-gradient(
      105deg,
      rgba(7, 42, 64, 0.9) 0%,
      rgba(18, 74, 115, 0.7) 100%
    ),
    url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
}

.hero-contact .hero-bg {
  background:
    linear-gradient(
      105deg,
      rgba(7, 42, 64, 0.9) 0%,
      rgba(27, 138, 78, 0.7) 100%
    ),
    url("https://images.unsplash.com/photo-1584982751601-97dcc096659c?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  animation: fadeUp 0.9s ease-out both;
}

.hero-home .hero-content {
  max-width: min(1120px, 100%);
  padding-inline: 0.75rem;
}

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

.hero-brand {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.hero-emblem {
  display: block;
  height: clamp(72px, 12vw, 110px);
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.hero-home .hero-emblem {
  height: clamp(84px, 13vw, 124px);
  padding: 0.55rem 0.9rem;
  background: #fff;
  border-radius: 18px;
  box-shadow:
    0 0 0 3px rgba(61, 206, 122, 0.45),
    0 0 28px rgba(255, 255, 255, 0.35),
    0 14px 36px rgba(0, 0, 0, 0.4);
  filter: none;
}

.hero h1,
.hero-title {
  color: var(--white);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  line-height: 1.25;
}

.hero-home .hero-title {
  white-space: nowrap;
  font-size: clamp(0.68rem, 2.35vw + 0.35rem, 2.05rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  color: #3dce7a;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  margin-bottom: 1.35rem;
}

.hero-home .hero-tagline {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-tagline span {
  margin-inline: 0.35em;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  max-width: 34em;
  margin-inline: auto;
}

.hero-home .hero-lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.page-hero {
  min-height: 380px;
  align-items: center;
}

.page-hero .hero-content {
  padding: 4rem 0 3.5rem;
  max-width: 720px;
}

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

.section-alt {
  background: var(--brand-gradient-soft);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--green-dark) 100%);
  color: #c5d9e6;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.65rem;
}

.section-header p {
  color: var(--slate-600);
  margin-top: 0.85rem;
  font-size: 1.08rem;
}

.section-dark .section-label {
  color: var(--teal-200);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Feature / service grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--white);
  isolation: isolate;
  transition: transform var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.pillar:hover::before {
  transform: scale(1.05);
}

.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 42, 64, 0.95) 0%, rgba(11, 61, 92, 0.45) 55%, transparent 100%);
}

.pillar-pharmacy::before {
  background-image: url("https://images.unsplash.com/photo-1585435557343-3b092031a831?auto=format&fit=crop&w=1200&q=80");
  background-color: #0b3d5c;
}

.pillar-physio::before {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1200&q=80");
  background-color: #0b3d5c;
}

.pillar h3 {
  color: var(--white);
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.pillar p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.1rem;
}

.pillar .btn {
  align-self: flex-start;
}

/* Service list items (not card-heavy) */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--slate-200);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e8f6ee, #e8f1f7);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.service-item p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin: 0;
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background:
    url("https://images.unsplash.com/photo-1666214280557-f1b5022eb634?auto=format&fit=crop&w=1000&q=80")
      center / cover no-repeat;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.why-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15, 78, 74, 0.55), transparent);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--slate-700);
}

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.9rem;
  color: var(--slate-500);
  font-weight: 500;
}

.stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 0;
  height: 100%;
  min-height: 100%;
  align-content: stretch;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff 0%, #f3f8f5 100%);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-gradient);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #b7dcc8;
}

.stat-card.accent {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--white);
}

.stat-card.accent::before {
  display: none;
}

.stat-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.stat-card.accent .stat-value {
  color: var(--white);
}

.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(11, 61, 92, 0.08);
  color: var(--navy);
  flex-shrink: 0;
}

.stat-card.accent .stat-icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-800);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.stat-card.accent .stat-label {
  color: var(--white);
}

.stat-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.35;
}

.stat-card.accent .stat-hint {
  color: rgba(255, 255, 255, 0.85);
}

/* CTA strip */
.cta-strip {
  padding: 4rem 0;
}

.cta-strip.spaced {
  padding-top: 4.5rem;
  margin-top: 1.5rem;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.4rem;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 36em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* About — Get in touch */
.about-contact {
  padding-top: 1rem;
}

.about-contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(42, 160, 92, 0.35), transparent 45%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 48%, var(--green-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.about-contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
  pointer-events: none;
}

.about-contact-copy,
.about-contact-actions {
  position: relative;
  z-index: 1;
}

.about-contact-copy .section-label {
  color: #9fe0b8;
}

.about-contact-copy h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.about-contact-copy p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.35rem;
  max-width: 32em;
}

.about-contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.about-contact-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.about-contact-chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.about-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.about-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  width: 100%;
  text-decoration: none;
}

.about-contact-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  transform: translateY(-2px);
}

.about-contact-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 0.25rem;
}

.about-contact-card-icon svg {
  width: 18px;
  height: 18px;
}

.about-contact-card strong {
  font-size: 1rem;
  font-weight: 600;
}

.about-contact-card > span:last-child {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

/* Action buttons grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: all var(--transition);
  color: var(--slate-800);
  width: 100%;
}

.action-btn:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.action-btn svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.action-btn strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.action-btn span {
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 400;
}

/* About content */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-layout > .section-label {
  margin-bottom: 0;
}

.about-main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: stretch;
}

.about-text {
  max-width: 38rem;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--slate-600);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-intro .section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.about-copy {
  max-width: 38rem;
  display: flex;
  flex-direction: column;
}

.about-copy h2 {
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--slate-600);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  background:
    url("https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=1000&q=80")
      top center / cover no-repeat;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.value {
  padding: 1.25rem 0;
  border-top: 2px solid var(--green);
}

.value h3 {
  margin-bottom: 0.4rem;
}

.value p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin: 0;
}

/* Locum why — split layout */
.locum-why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.locum-why-copy {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  max-width: 26rem;
}

.locum-why-copy h2 {
  margin-bottom: 0.9rem;
}

.locum-why-copy p {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.locum-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.locum-why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1.15rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.locum-why-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #b7dcc8;
}

.locum-why-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--brand-gradient);
  color: var(--white);
}

.locum-why-icon svg {
  width: 20px;
  height: 20px;
}

.locum-why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.locum-why-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Mission / vision / promise */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mvp-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mvp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.mvp-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--brand-gradient);
  color: var(--white);
}

.mvp-icon svg {
  width: 28px;
  height: 28px;
}

.mvp-card h3 {
  margin-bottom: 0.5rem;
}

.mvp-card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin: 0;
}

/* Audience gradient boxes */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.audience-box {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  color: var(--white);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.audience-box:hover {
  transform: translateY(-3px);
}

.audience-box h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.audience-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.audience-box.pharmacies {
  background: linear-gradient(145deg, #1b8a4e 0%, #0b3d5c 100%);
}

.audience-box.patients {
  background: linear-gradient(145deg, #0b3d5c 0%, #1b8a4e 100%);
}

.audience-box.peace {
  background: linear-gradient(145deg, #146b3c 0%, #124a73 100%);
}

.audience-box.access {
  background: linear-gradient(145deg, #124a73 0%, #2aa05c 100%);
}

/* Numbered audience pathway */
.audience-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0.5rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.audience-item {
  position: relative;
  padding: 1.75rem 1.35rem 1.6rem;
  background: var(--white);
  border-right: 1px solid var(--slate-200);
  transition: background var(--transition), transform var(--transition);
}

.audience-item:last-child {
  border-right: none;
}

.audience-item:hover {
  background: linear-gradient(180deg, #f7fbf8 0%, #eef5f9 100%);
}

.audience-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: transparent;
  transition: background var(--transition);
}

.audience-item:nth-child(1)::after { background: var(--green); }
.audience-item:nth-child(2)::after { background: var(--navy); }
.audience-item:nth-child(3)::after { background: var(--green-dark); }
.audience-item:nth-child(4)::after { background: var(--navy-mid); }

.audience-index {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 61, 92, 0.28);
  margin-bottom: 1rem;
}

.audience-item:hover .audience-index {
  color: var(--navy);
  -webkit-text-stroke: 0;
}

.audience-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(11, 61, 92, 0.18);
}

.audience-icon svg {
  width: 22px;
  height: 22px;
}

.audience-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--slate-900);
}

.audience-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.info-block:hover {
  border-color: #b7dcc8;
  box-shadow: var(--shadow);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  color: var(--white);
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-block h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-block p,
.info-block a {
  color: var(--slate-600);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-block a:hover {
  color: var(--navy);
}

.contact-form-wrap,
.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin-bottom: 0.35rem;
}

.form-card > p {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--slate-800);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 138, 78, 0.2);
  background: var(--white);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(100%, 520px);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  padding: 1.75rem 1.75rem 1.5rem;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal-header h3 {
  font-size: 1.35rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--slate-100);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--slate-600);
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* Footer */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .logo:hover {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 28em;
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--slate-400);
}

.site-footer a:hover {
  color: #9fe0b8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1.35rem 0;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: #9fe0b8;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: var(--slate-400);
  transition: all var(--transition);
}

.social-links a:hover {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

/* Feature chips — What sets us apart */
.feature-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.15rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #b7dcc8;
}

.feature-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  color: var(--white);
}

.feature-chip-icon svg {
  width: 18px;
  height: 18px;
}

.feature-chip span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-800);
  line-height: 1.35;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(11, 61, 92, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3,
  .grid-4,
  .why-grid,
  .about-split,
  .about-layout,
  .about-main,
  .contact-layout,
  .footer-grid,
  .mvp-grid,
  .audience-grid,
  .audience-rail,
  .feature-chips,
  .locum-why,
  .locum-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-layout {
    display: flex;
  }

  .about-main {
    gap: 2rem;
  }

  .locum-why {
    gap: 2rem;
  }

  .locum-why-copy {
    position: static;
    max-width: none;
  }

  .about-contact-panel {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .audience-rail {
    gap: 0;
  }

  .audience-item:nth-child(2) {
    border-right: none;
  }

  .audience-item:nth-child(1),
  .audience-item:nth-child(2) {
    border-bottom: 1px solid var(--slate-200);
  }

  .about-visual {
    position: static;
  }

  .footer-grid {
    gap: 2rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .header-right {
    gap: 0.5rem;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 36px);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .service-list,
  .why-grid,
  .about-split,
  .about-layout,
  .about-main,
  .contact-layout,
  .footer-grid,
  .values,
  .form-row,
  .mvp-grid,
  .audience-grid,
  .audience-rail,
  .feature-chips,
  .locum-why,
  .locum-why-grid,
  .about-contact-actions {
    grid-template-columns: 1fr;
  }

  .about-text,
  .about-copy {
    max-width: none;
  }

  .stats-panel {
    min-height: auto;
    height: auto;
    grid-template-rows: auto auto;
  }

  .audience-item {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }

  .audience-item:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: 70vh;
  }

  .cta-panel {
    padding: 1.75rem;
  }

  .logo-img {
    height: 48px;
  }

  .logo-text span {
    display: none;
  }
}

@media (max-width: 520px) {
  .topbar {
    display: none;
  }

  .nav {
    top: var(--header-h);
  }

  .header-cta .btn-primary {
    display: none;
  }

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

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(100%, 320px);
  }

  .btn {
    width: 100%;
  }
}
