:root {
  --radius: 0.75rem;
  --background: oklch(0.99 0.005 250);
  --foreground: oklch(0.26 0.06 258);
  --card: oklch(1 0 0);
  --primary: oklch(0.36 0.09 258);
  --secondary: oklch(0.955 0.012 250);
  --muted-foreground: oklch(0.53 0.03 256);
  --accent: oklch(0.72 0.13 62);
  --accent-foreground: oklch(0.24 0.05 258);
  --border: oklch(0.92 0.012 250);
  --surface-tint: oklch(0.97 0.015 250);
  --shadow-card: 0 1px 2px oklch(0.36 0.09 258 / 0.06), 0 12px 28px -18px oklch(0.36 0.09 258 / 0.35);
  --shadow-card-hover: 0 2px 4px oklch(0.36 0.09 258 / 0.08), 0 24px 44px -22px oklch(0.36 0.09 258 / 0.45);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
/*
ul { list-style: none; margin: 0; padding: 0; }
ul li:after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #841e80;
    background: #841e80 url(images/tick.png);
    background-position: center;
    background-repeat: no-repeat;
}
*/

.wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--border);
  background: var(--surface-tint);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.hero h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--primary);
}

.rule {
  margin-top: 1.25rem;
  height: 4px;
  width: 4rem;
  border-radius: 999px;
  background: var(--accent);
}

.hero p.lede {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--muted-foreground);
}

.stats {
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.stat {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.stat dt {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.stat dd {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hero__media { position: relative; }

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(0.75rem, 1rem);
  border: 1px solid oklch(0.72 0.13 62 / 0.4);
  border-radius: 1.5rem;
  display: none;
}

.hero__media img {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow-card-hover);
}

/* ---------- Tags ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ---------- Section heading ---------- */
.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.section-sub {
  margin: 0.5rem 0 0;
  max-width: 42rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Cards ---------- */
.cards {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  border: 2px solid #7d49a8;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 0.75rem;
  background: var(--secondary);
  color: var(--primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card:hover .card__icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.card h3 {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.card__blurb {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card__list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.5rem;
}

.card__list li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: oklch(0.26 0.06 258 / 0.85);
}

.dot {
  margin-top: 0.45rem;
  height: 0.375rem;
  width: 0.375rem;
  flex: none;
  border-radius: 999px;
  background: var(--accent);
}

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--sm { width: 0.875rem; height: 0.875rem; color: var(--accent); }
.stat .icon { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .wrap { padding: 5rem 1rem; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero__media::before { display: block; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Cards */
.nursing-card {
    position: relative;
    height: 100%;
    min-height: 255px;
    padding: 30px;
    background: var(--white);
    border: 1px solid #3b597c;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(30, 50, 70, 0.06);
    overflow: hidden;
    transition: all 0.35s ease;
}

.nursing-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nursing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 50, 70, 0.13);
}

.nursing-card:hover::after {
    transform: scaleX(1);
}

/* Card Number */

.card-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: #c7ced5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Icon */
.service-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;

    background: #edf1f5;
    color: var(--primary);
    border-radius: 16px;

    font-size: 27px;
    transition: all 0.35s ease;
}

.nursing-card:hover .service-icon {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(-5deg);
}

/* Content */

.nursing-card h5 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}

.nursing-card p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}
