/* ============================================================
   Sameday Logistics Health — components.css
   Buttons, cards, chips, forms, FAQ, value props
   ============================================================ */

/* ----- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:focus-visible { outline-offset: 3px; }

/* Tactile press feedback — quick scale on active */
.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.btn--primary {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-text-inverse);
}

.btn--secondary {
  background: transparent;
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.btn--secondary:hover {
  background: var(--color-teal);
  color: var(--color-text-inverse);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-text-inverse);
  backdrop-filter: blur(4px);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-text-inverse);
  color: var(--color-text-inverse);
}

.btn--lg {
  height: 52px;
  padding: 0 28px;
  font-size: 0.875rem;
}

.btn--full { width: 100%; }

.btn .arrow {
  display: inline-block;
  width: 12px; height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover .arrow { transform: rotate(45deg) translate(2px, -2px); }

/* ----- Cards (radial top-glow hover) ----------------------- */
.card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Radial glow pseudo-element — hidden by default */
.card::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 160px;
  background: radial-gradient(
    ellipse at center top,
    rgba(0, 103, 125, 0.18) 0%,
    rgba(0, 103, 125, 0.0) 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
  border-color: rgba(0, 103, 125, 0.30);
}

.card:hover::before { opacity: 1; }

/* Keep card content above the glow */
.card > * { position: relative; z-index: 1; }

.card--featured {
  border-left: 4px solid var(--color-teal);
}

/* Red glow variant — for urgency/stat cards */
.card--urgent::before {
  background: radial-gradient(
    ellipse at center top,
    rgba(204, 31, 31, 0.15) 0%,
    rgba(204, 31, 31, 0.0) 70%
  );
}

.card--urgent:hover {
  border-color: rgba(204, 31, 31, 0.30);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 103, 125, 0.08);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.card__link::after {
  content: "→";
  transition: transform var(--dur-fast) var(--ease-out);
}

.card__link:hover::after { transform: translateX(4px); }

/* Image card (for services / industries with photo) */
.media-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

/* Subtle top accent bar — appears on hover */
.media-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: 2;
}

.media-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.media-card:hover::before {
  transform: scaleX(1);
}

.media-card__image {
  aspect-ratio: 16 / 10;
  background: var(--color-surface-low);
  position: relative;
  overflow: hidden;
}

.media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.media-card:hover .media-card__image img {
  transform: scale(1.04);
}

.media-card__body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-card__body h3 {
  font-size: 1.375rem;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.media-card__body p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
  flex: 1;
}

.media-card__body .card__link {
  margin-top: auto;
}

/* Urgent variant — Stat / RadioPharma overview cards */
.media-card--urgent::before {
  background: var(--color-red);
  transform: scaleX(1);  /* always visible for urgent */
}

.media-card--urgent {
  border-color: rgba(204, 31, 31, 0.18);
}

/* ----- Value props ----------------------------------------- */
.value-strip {
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .value-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .value-strip > * + * {
    border-left: 1px solid var(--color-border-neutral);
    padding-left: 32px;
  }
  .value-strip > * { padding-right: 32px; }
}

.value-prop {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-prop__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(204, 31, 31, 0.08);
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-prop__icon svg { width: 22px; height: 22px; }

.value-prop h3 {
  font-size: 1.0625rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0;
}

.value-prop p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ----- Chips ----------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 103, 125, 0.1);
  color: var(--color-teal);
}

.chip--red {
  background: rgba(204, 31, 31, 0.1);
  color: var(--color-red-dark);
}

/* ----- Stat blocks ----------------------------------------- */
.stat {
  text-align: left;
}

.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-red);
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

/* ----- Two-column ------------------------------------------ */
.two-col {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.two-col--reverse > :first-child { order: 0; }
.two-col--reverse > :last-child { order: -1; }

@media (min-width: 1024px) {
  .two-col--reverse > :first-child { order: 1; }
  .two-col--reverse > :last-child { order: 0; }
}

.two-col__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-low);
}

.two-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Industry pills (homepage) --------------------------- */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.pill:hover {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: var(--color-text-inverse);
}

/* ----- Trust strip / 3-icon block -------------------------- */
.trust-strip {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
}

.trust-item {
  text-align: center;
  padding: 24px;
}

.trust-item__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item__icon svg { width: 24px; height: 24px; }

.trust-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ----- Location card --------------------------------------- */
.location-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.location-card:hover {
  border-color: var(--color-teal);
}

/* Image variant — used on homepage Service Areas cards */
.location-card__image {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-low);
}

.location-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.location-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 103, 125, 0.0) 40%,
    rgba(26, 28, 28, 0.35) 100%
  );
  pointer-events: none;
}

.location-card:hover .location-card__image img {
  transform: scale(1.04);
}

/* Subtle red location pin in top-right of image */
.location-card__pin {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-text-inverse);
  box-shadow: 0 0 0 0 rgba(204, 31, 31, 0.45);
  animation: pulse 2.4s var(--ease-out) infinite;
  z-index: 1;
}

/* Legacy CSS-generated map placeholder (kept for backwards compatibility) */
.location-card__map {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #00677d, #005c70);
  position: relative;
  overflow: hidden;
}

.location-card__map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.location-card__map::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-red);
  border: 4px solid var(--color-text-inverse);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(204, 31, 31, 0.45);
  animation: pulse 2.4s var(--ease-out) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(204, 31, 31, 0.45); }
  70%  { box-shadow: 0 0 0 22px rgba(204, 31, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 31, 31, 0); }
}

.location-card__body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.location-card__body h3 { margin-bottom: 8px; }
.location-card__body p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  flex: 1;
}

/* ----- Forms ----------------------------------------------- */
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .contact-card { padding: 40px 36px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

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

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 18px; }
}

.input,
.select,
.textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface-mid);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--color-border-neutral);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  width: 100%;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-bottom-color: var(--color-teal);
  background: var(--color-surface);
  outline: none;
  box-shadow: 0 1px 0 0 var(--color-teal);
}

.textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  display: none;
}

.form-feedback.is-success {
  display: block;
  background: rgba(0, 103, 125, 0.08);
  color: var(--color-teal);
  border: 1px solid rgba(0, 103, 125, 0.2);
}

.form-feedback.is-error {
  display: block;
  background: rgba(204, 31, 31, 0.08);
  color: var(--color-red);
  border: 1px solid rgba(204, 31, 31, 0.2);
}

/* ----- FAQ accordion --------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.faq-item.is-open {
  border-color: var(--color-teal);
}

.faq-item__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
}

.faq-item__icon {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-surface-mid);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease-out);
}

.faq-item__icon::before {
  width: 10px; height: 2px;
}

.faq-item__icon::after {
  width: 2px; height: 10px;
}

.faq-item.is-open .faq-item__icon {
  background: var(--color-teal);
  color: var(--color-text-inverse);
}

.faq-item.is-open .faq-item__icon::after {
  transform: scaleY(0);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-out);
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__panel > div {
  overflow: hidden;
}

.faq-item__panel p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-section + .faq-section { margin-top: 48px; }

.faq-section__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 16px;
}

/* ----- Team grid ------------------------------------------- */
.team-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(0, 103, 125, 0.06), rgba(204, 31, 31, 0.04)),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-low) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card__photo::before {
  content: "";
  width: 88px;
  height: 88px;
  background-color: var(--color-teal);
  opacity: 0.18;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-3.33 0-10 1.67-10 5v2a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-2c0-3.33-6.67-5-10-5z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-3.33 0-10 1.67-10 5v2a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-2c0-3.33-6.67-5-10-5z'/></svg>") no-repeat center / contain;
}

.team-card__photo::after {
  content: "PHOTO COMING SOON";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  opacity: 0.65;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.team-card__body { padding: 24px; }

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.team-card__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0 0 16px;
}

.team-card__bio {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ----- Driver screening list ------------------------------- */
.screening-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .screening-list { grid-template-columns: repeat(2, 1fr); }
}

.screening-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
}

.screening-list__check {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0, 103, 125, 0.1);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.screening-list__check svg { width: 14px; height: 14px; }

.screening-list strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 2px;
}

.screening-list p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ----- Blog post card -------------------------------------- */
.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.post-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-card);
}

.post-card__image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-surface-low), var(--color-surface-mid));
  position: relative;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card__category { color: var(--color-red); }
.post-card__date { color: var(--color-text-muted); }

.post-card h3 {
  font-size: 1.25rem;
  margin: 4px 0 8px;
  line-height: 1.25;
}

.post-card h3 a { color: var(--color-text); }
.post-card:hover h3 a { color: var(--color-teal); }

.post-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}

/* ----- Article body ---------------------------------------- */
.article-body {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
}

.article-body p { margin-bottom: 1.25em; }
.article-body h2 { margin: 2em 0 0.6em; }
.article-body h3 { margin: 1.6em 0 0.5em; }
.article-body blockquote {
  margin: 2em 0;
  padding: 1.25em 1.5em;
  border-left: 4px solid var(--color-teal);
  background: var(--color-surface-low);
  font-style: italic;
  color: var(--color-text-muted);
}

.article-meta {
  text-align: center;
  margin-bottom: 32px;
}

.article-meta .chip + .chip { margin-left: 8px; }

.article-placeholder {
  background: var(--color-surface-low);
  border: 1px dashed var(--color-border-neutral);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-text-muted);
  margin: 32px 0;
}

/* ----- Photo frame (Phase 2) ------------------------------- */
.photo-frame {
  display: block;
  border: 5px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  background: #ffffff;
  line-height: 0;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ----- Breadcrumbs ----------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

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

.breadcrumb li + li::before {
  content: "›";
  color: var(--color-text-muted);
  opacity: 0.6;
  margin-right: 4px;
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-teal);
}

/* ----- Steps (How It Works) -------------------------------- */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  position: relative;
  padding: 32px 24px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 24px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 12px;
  color: var(--color-red);
  background: var(--color-bg);
  letter-spacing: -0.02em;
}

.step h3 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----- Bullet list (Who Needs This) ------------------------ */
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bullet-list { grid-template-columns: repeat(2, 1fr); }
}

.bullet-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.bullet-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-teal);
}

/* ----- Compliance/handling list ---------------------------- */
.compliance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.compliance-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  background: var(--color-surface);
  border-left: 3px solid var(--color-teal);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.compliance-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 16px;
  height: 16px;
  background-color: var(--color-teal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

/* ----- Service mini cards (related/links) ----------------- */
.related-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

.related-card {
  display: block;
  padding: 22px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast);
}

.related-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  color: var(--color-text);
}

.related-card__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.related-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.related-card__title::after {
  content: "→";
  color: var(--color-teal);
  font-family: var(--font-body);
  transition: transform var(--dur-fast) var(--ease-out);
}

.related-card:hover .related-card__title::after { transform: translateX(4px); }

/* ----- Misc ------------------------------------------------ */
.divider {
  border: 0;
  height: 1px;
  background: var(--color-border-neutral);
  margin: 32px 0;
}

/* ----- Phase 2 polish: utility classes (replaces inline styles) ----- */
.u-mt-12       { margin-top: 12px; }
.u-mt-16       { margin-top: 16px; }
.u-mt-24       { margin-top: 24px; }
.u-mt-48       { margin-top: 48px; }
.u-mb-8        { margin-bottom: 8px; }
.u-mb-12       { margin-bottom: 12px; }
.u-mb-16       { margin-bottom: 16px; }
.u-mb-24       { margin-bottom: 24px; }
.u-mb-32       { margin-bottom: 32px; }
.u-mx-auto     { margin-inline: auto; }
.u-text-center { text-align: center; }
.u-muted       { color: var(--color-text-muted); }
.u-on-dark     { color: var(--color-teal-light); }
.u-h2-md       { font-size: 1.75rem; }
.u-pad-card-lg { padding: 40px; }
.u-card-overview {
  padding: 40px;
}
.u-narrow      { max-width: 820px; }
.u-narrow-lg   { max-width: 880px; }
.u-narrow-xl   { max-width: 960px; }
.u-narrow-form { max-width: 720px; }
.icon-sm svg   { width: 14px; height: 14px; }
.fw-bold       { font-weight: 700; }
.text-sm       { font-size: 0.9375rem; }
.related-card__desc {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Section head — left-aligned full-width variant (no centering, no max-width) */
.section__head--full {
  margin-inline: 0;
  max-width: none;
}

/* Phase 2 polish — supplemental styles */
.u-card-overview p:last-child { margin-bottom: 0; }
.icon-14 { width: 14px; height: 14px; }
.media--article-hero {
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}
.photo-frame.media--article-hero {
  aspect-ratio: auto;
}
.screening-list--single { grid-template-columns: 1fr; }
.screening-list__check--red {
  background: rgba(204, 31, 31, 0.1);
  color: var(--color-red);
}

/* Mobile h1 in article hero stays centered */
.article-meta { text-align: center; }
