/* ============================================================
   Home — Pulse Wall (bento grid) section
   Living/breathing magazine-style grid for the homepage:
     · live pulse dot indicator
     · 6-tile bento layout (about · featured · video · stat · partner · event)
     · autoplay muted-loop video tile with LIVE badge
   ============================================================ */


/* ============================================================
   SHARED — Pulse dot (live indicator)
   ============================================================ */

.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.live-pulse strong { color: var(--ink); font-weight: 700; }

.live-pulse__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.live-pulse__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: live-pulse 2.2s var(--ease) infinite;
  z-index: -1;
}

@keyframes live-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(3);   opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .live-pulse__dot::after { animation: none; }
}



/* ============================================================
   VARIANT B — Pulse Wall (bento grid)
   ============================================================ */

.hs-b {
  background: var(--white);
  padding: 64px 0 96px;
}

.hs-b__head {
  margin-bottom: 32px;
}

.hs-b__head-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 10px;
}

.hs-b__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

@media (max-width: 1023.98px) {
  .hs-b__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .hs-b__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

.hs-b__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-3);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

.hs-b__tile:hover { border-color: var(--ink-3); box-shadow: var(--shadow-2); }

/* Tile sizing */
.hs-b__tile--about     { grid-row: span 2; background: var(--ink); color: var(--white); border-color: var(--ink); }
.hs-b__tile--featured  { grid-column: span 2; grid-row: span 2; }
.hs-b__tile--video     { grid-row: span 2; }
.hs-b__tile--stat      { background: var(--paper-2); }

/* About tile — deep overlay so text stays fully readable even over image bg */
.hs-b__tile--about .hs-b__tile-media::after {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.86) 0%,
    rgba(10, 10, 11, 0.78) 50%,
    rgba(10, 10, 11, 0.94) 100%
  );
}

.hs-b__tile--about .hs-b__tile-body {
  position: relative;
  z-index: 1;
}

@media (max-width: 1023.98px) {
  .hs-b__tile--about,
  .hs-b__tile--featured,
  .hs-b__tile--video { grid-column: span 2; grid-row: span 2; }
}

.hs-b__tile-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
}

.hs-b__tile-type {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}

.hs-b__tile--about .hs-b__tile-type { color: rgba(255, 255, 255, 0.6); }

.hs-b__tile-title {
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}

.hs-b__tile--about .hs-b__tile-title { color: var(--white); font-size: 22px; }
.hs-b__tile--featured .hs-b__tile-title { font-size: 24px; }

.hs-b__tile-time {
  font-size: var(--fs-12);
  color: var(--text-faint);
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}

.hs-b__tile--about .hs-b__tile-text {
  font-size: var(--fs-13);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.hs-b__tile--about .live-pulse { color: rgba(255, 255, 255, 0.9); margin-top: auto; }
.hs-b__tile--about .live-pulse strong { color: var(--white); }

.hs-b__tile-media {
  position: absolute;
  inset: 0;
}

.hs-b__tile-media img,
.hs-b__tile-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hs-b__tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}

.hs-b__tile--featured .hs-b__tile-body,
.hs-b__tile--video .hs-b__tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: auto;
  color: var(--white);
  padding: 28px 26px 24px;
  gap: 6px;
}

.hs-b__tile--featured .hs-b__tile-type,
.hs-b__tile--video .hs-b__tile-type {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.hs-b__tile--featured .hs-b__tile-title,
.hs-b__tile--video .hs-b__tile-title {
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.008em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hs-b__tile--featured .hs-b__tile-time,
.hs-b__tile--video .hs-b__tile-time {
  color: rgba(255, 255, 255, 0.78);
}

/* Video — paused by default, plays on hover */
.hs-b__tile--video video {
  transition: transform var(--dur-slow) var(--ease);
}

.hs-b__tile--video:hover video,
.hs-b__tile--video:focus-visible video {
  transform: scale(1.02);
}

@media (max-width: 575.98px) {
  .hs-b__tile--featured .hs-b__tile-title,
  .hs-b__tile--video .hs-b__tile-title { font-size: var(--fs-18); }
}

.hs-b__tile--stat .hs-b__tile-stat {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}

.hs-b__tile--stat .hs-b__tile-stat-label {
  font-size: var(--fs-12);
  color: var(--text-muted);
  margin-top: auto;
}


/* ============================================================
   Featured Programs — main homepage section #3
   4-col card grid (degree → short-term → trainings)
   ============================================================ */

.hs-programs {
  background: var(--white);
  padding: 88px 0 96px;
}

@media (max-width: 767.98px) {
  .hs-programs { padding: 64px 0 72px; }
}

/* ---- Section head ---- */
.hs-programs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hs-programs__head-left {
  max-width: 640px;
  flex: 1;
  min-width: 280px;
}

.hs-programs__eyebrow {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hs-programs__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

.hs-programs__lede {
  font-size: var(--fs-15, 0.9375rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 60ch;
}

.hs-programs__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.hs-programs__view-all:hover {
  background: var(--ink);
  color: var(--white);
}

.hs-programs__view-all svg {
  width: 12px;
  height: 12px;
  transition: transform var(--dur) var(--ease);
}

.hs-programs__view-all:hover svg { transform: translateX(3px); }

.hs-programs__view-all-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 6px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  font-size: var(--fs-11);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.hs-programs__view-all:hover .hs-programs__view-all-count {
  background: var(--white);
  color: var(--ink);
}


/* ---- Grid: 4 → 2 → 1 ---- */
.hs-programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1023.98px) {
  .hs-programs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .hs-programs__grid { grid-template-columns: 1fr; gap: 14px; }
}


/* ---- Program card ---- */
.hs-prog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur) var(--ease);
}

.hs-prog-card:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

/* Media */
.hs-prog-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

.hs-prog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.1);
  transition: transform var(--dur-slow) var(--ease),
              filter var(--dur-slow) var(--ease);
}

.hs-prog-card:hover .hs-prog-card__media img {
  transform: scale(1.04);
  filter: grayscale(0);
}

/* "პოპულარული" flag */
.hs-prog-card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Body */
.hs-prog-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 18px;
  flex: 1;
}

.hs-prog-card__category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}

.hs-prog-card__cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.hs-prog-card__title {
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.32;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}

.hs-prog-card:hover .hs-prog-card__title { color: var(--red); }

.hs-prog-card__desc {
  font-size: var(--fs-13);
  line-height: 1.55;
  color: var(--text-muted);
}

.hs-prog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-12);
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.hs-prog-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}


/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hs-prog-card:hover,
  .hs-prog-card:hover .hs-prog-card__media img {
    transform: none;
  }
  .hs-programs__view-all:hover svg { transform: none; }
}


/* ============================================================
   Quick navigation — homepage section #3
   Dark bg, 6 nav cards in 3×2 grid linking to popular pages
   ============================================================ */

.hs-quicknav {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .hs-quicknav { padding: 56px 0 64px; }
}

/* Subtle top accent stripe (matches services/CTA pattern) */
.hs-quicknav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 12vw, 160px);
  height: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
}


/* Head */
.hs-quicknav__head {
  margin-bottom: 36px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hs-quicknav__eyebrow {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.hs-quicknav__title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--white);
  text-wrap: balance;
}


/* Grid: 3×2 desktop → 2×3 tablet → 1×6 mobile */
.hs-quicknav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1023.98px) {
  .hs-quicknav__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .hs-quicknav__grid { grid-template-columns: 1fr; }
}


/* Card — vertical, tall, dramatic */
.hs-qn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 28px 26px;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-4, 14px);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--dur-fast) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

/* Animated gradient sweep on hover — uses a pseudo with translate */
.hs-qn-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(225, 25, 50, 0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
}

.hs-qn-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hs-qn-card:hover::before {
  opacity: 1;
}


/* === HEAD: icon left + optional count right === */
.hs-qn-card__head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* Icon — larger, bolder, with subtle inner ring on hover */
.hs-qn-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.hs-qn-card:hover .hs-qn-card__icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(-4deg) scale(1.05);
}

.hs-qn-card__icon svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}


/* === BODY: label + desc === */
.hs-qn-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hs-qn-card__label {
  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--dur-fast) var(--ease);
}

.hs-qn-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  font-size: var(--fs-11);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.hs-qn-card__desc {
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}


/* === FOOT: ghost row with arrow === */
.hs-qn-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hs-qn-card__cta {
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--dur-fast) var(--ease);
}

.hs-qn-card:hover .hs-qn-card__cta {
  color: var(--white);
}

.hs-qn-card__arrow {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              transform var(--dur) var(--ease);
}

.hs-qn-card__arrow svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease);
}

.hs-qn-card:hover .hs-qn-card__arrow {
  color: var(--white);
  background: var(--red);
}

.hs-qn-card:hover .hs-qn-card__arrow svg {
  transform: translateX(2px);
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hs-qn-card:hover { transform: none; }
  .hs-qn-card:hover .hs-qn-card__icon { transform: none; }
  .hs-qn-card:hover .hs-qn-card__arrow svg { transform: none; }
  .hs-qn-card::before { transition: none; }
}


/* ============================================================
   Why Us — homepage section #5
   6 value props in 3×2 grid, no images, icon-led
   ============================================================ */

.hs-why {
  background: var(--white);
  padding: 96px 0 104px;
}

@media (max-width: 767.98px) {
  .hs-why { padding: 64px 0 72px; }
}

/* Head — centered editorial */
.hs-why__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.hs-why__eyebrow {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hs-why__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

.hs-why__lede {
  font-size: var(--fs-15, 0.9375rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}


/* Grid — 3×2 → 2×3 → 1×6 */
.hs-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
}

@media (max-width: 1023.98px) {
  .hs-why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .hs-why__grid { grid-template-columns: 1fr; }
}


/* Value cell — merged-border feel using bg as gutters */
.hs-value {
  background: var(--white);
  padding: 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--dur-fast) var(--ease);
}

.hs-value:hover {
  background: var(--paper-2);
}

.hs-value__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-radius: var(--r-2);
  color: var(--ink);
  margin-bottom: 8px;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.hs-value:hover .hs-value__icon {
  background: var(--ink);
  color: var(--white);
}

.hs-value__icon svg {
  width: 24px;
  height: 24px;
}

.hs-value__title {
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}

.hs-value__desc {
  font-size: var(--fs-13);
  line-height: 1.6;
  color: var(--text-muted);
}


/* Footer link */
.hs-why__foot {
  text-align: center;
  margin-top: 40px;
}

.hs-why__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.hs-why__link:hover {
  color: var(--red);
  border-color: var(--red);
}

.hs-why__link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--dur) var(--ease);
}

.hs-why__link:hover svg { transform: translateX(3px); }


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hs-why__link:hover svg { transform: none; }
}


/* ============================================================
   Testimonials — homepage section #6
   3 quote cards on paper bg, 1 featured (dark inverse).
   ============================================================ */

.hs-quotes {
  background: var(--paper);
  padding: 96px 0 104px;
}

@media (max-width: 767.98px) {
  .hs-quotes { padding: 64px 0 72px; }
}

.hs-quotes__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.hs-quotes__eyebrow {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hs-quotes__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}


/* Grid */
.hs-quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 1023.98px) {
  .hs-quotes__grid { grid-template-columns: 1fr; gap: 16px; }
}


/* Quote card */
.hs-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  margin: 0;
  transition: border-color var(--dur-fast) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.hs-quote:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

/* Quote mark — top accent */
.hs-quote__mark {
  width: 26px;
  height: 26px;
  color: var(--red);
  opacity: 0.85;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.hs-quote__text {
  font-size: var(--fs-15, 0.9375rem);
  line-height: 1.65;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 28px 0;
  flex: 1;
}

/* Person row */
.hs-quote__person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.hs-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper);
}

.hs-quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hs-quote__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hs-quote__name {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.hs-quote__role {
  font-size: var(--fs-12);
  color: var(--text-muted);
  line-height: 1.4;
}


/* Featured — dark inverse middle card */
.hs-quote--featured {
  background: var(--ink);
  border-color: var(--ink);
}

.hs-quote--featured:hover {
  border-color: var(--ink);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.hs-quote--featured .hs-quote__mark {
  color: var(--red);
  opacity: 1;
}

.hs-quote--featured .hs-quote__text {
  color: var(--white);
}

.hs-quote--featured .hs-quote__person {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.hs-quote--featured .hs-quote__name {
  color: var(--white);
}

.hs-quote--featured .hs-quote__role {
  color: rgba(255, 255, 255, 0.65);
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hs-quote:hover { transform: none; }
}


/* ============================================================
   Trust wall — Partners + Associations · homepage section #7
   White bg, 2 stacked logo rows with labels + view-all links.
   ============================================================ */

.hs-trust {
  background: var(--white);
  padding: 96px 0 104px;
}

@media (max-width: 767.98px) {
  .hs-trust { padding: 64px 0 72px; }
}

.hs-trust__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.hs-trust__eyebrow {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hs-trust__title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}


/* ---- Row ---- */
.hs-trust__row {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.hs-trust__row:last-of-type {
  border-bottom: 1px solid var(--border);
}

.hs-trust__row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hs-trust__row-label {
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hs-trust__row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.hs-trust__row-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.hs-trust__row-link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--dur) var(--ease);
}

.hs-trust__row-link:hover svg { transform: translateX(3px); }


/* ---- Logos grid ---- */
.hs-trust__logos {
  display: grid;
  gap: 14px;
}

.hs-trust__logos--partners {
  grid-template-columns: repeat(8, 1fr);
}

.hs-trust__logos--assoc {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1279.98px) {
  .hs-trust__logos--partners { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767.98px) {
  .hs-trust__logos--partners { grid-template-columns: repeat(3, 1fr); }
  .hs-trust__logos--assoc { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 479.98px) {
  .hs-trust__logos--partners,
  .hs-trust__logos--assoc { grid-template-columns: repeat(2, 1fr); }
}


/* Individual logo card */
.hs-trust__logo {
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: var(--paper);
  border-radius: var(--r-3);
  overflow: hidden;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur) var(--ease);
}

a.hs-trust__logo:hover {
  background: var(--white);
  box-shadow: 0 6px 18px rgba(10, 10, 11, 0.08);
  transform: translateY(-2px);
}

.hs-trust__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.88;
  transition: opacity var(--dur-fast) var(--ease);
}

.hs-trust__logo:hover img,
a.hs-trust__logo:hover img {
  opacity: 1;
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  a.hs-trust__logo:hover { transform: none; }
  .hs-trust__row-link:hover svg { transform: none; }
}


/* ============================================================
   News preview — homepage section #8
   3 news cards on paper bg, magazine-style with overlay category
   ============================================================ */

.hs-news {
  background: var(--paper);
  padding: 96px 0 104px;
}

@media (max-width: 767.98px) {
  .hs-news { padding: 64px 0 72px; }
}


/* ---- Head — same pattern as #3 Programs ---- */
.hs-news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hs-news__head-left {
  max-width: 640px;
  flex: 1;
  min-width: 280px;
}

.hs-news__eyebrow {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hs-news__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

.hs-news__lede {
  font-size: var(--fs-15, 0.9375rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 60ch;
}

.hs-news__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.hs-news__view-all:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.hs-news__view-all svg {
  width: 12px;
  height: 12px;
  transition: transform var(--dur) var(--ease);
}

.hs-news__view-all:hover svg { transform: translateX(3px); }


/* ---- Grid: 3 → 2 → 1 ---- */
.hs-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1023.98px) {
  .hs-news__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .hs-news__grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ---- News card ---- */
.hs-news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-3);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur) var(--ease);
}

.hs-news-card:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

/* Media + overlay category */
.hs-news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

.hs-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}

.hs-news-card:hover .hs-news-card__media img {
  transform: scale(1.04);
}

.hs-news-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hs-news-card__category--accent {
  background: var(--red);
  color: var(--white);
}


/* Body */
.hs-news-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
}

.hs-news-card__title {
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}

.hs-news-card:hover .hs-news-card__title { color: var(--red); }

.hs-news-card__excerpt {
  font-size: var(--fs-13);
  line-height: 1.55;
  color: var(--text-muted);
}

.hs-news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-12);
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.hs-news-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hs-news-card:hover,
  .hs-news-card:hover .hs-news-card__media img {
    transform: none;
  }
  .hs-news__view-all:hover svg { transform: none; }
}


/* ============================================================
   Final CTA — homepage section #9 (pre-footer banner)
   Dark background, dual-audience split, last conversion attempt.
   ============================================================ */

.hs-cta {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 104px 0 112px;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 767.98px) {
  .hs-cta { padding: 72px 0 80px; }
}

/* Decorative bg layer — soft red radial behind content */
.hs-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(225, 25, 50, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(225, 25, 50, 0.10) 0%, transparent 55%);
  pointer-events: none;
}

/* Top red stripe — institutional accent */
.hs-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 12vw, 160px);
  height: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
}

.hs-cta__inner {
  position: relative;
}

/* Head */
.hs-cta__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.hs-cta__eyebrow {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.hs-cta__title {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  text-wrap: balance;
}

.hs-cta__lede {
  font-size: var(--fs-15, 0.9375rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 18px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}


/* 2-card audience split */
.hs-cta__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .hs-cta__cards { grid-template-columns: 1fr; }
}


.hs-cta-card {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-3);
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur) var(--ease);
}

.hs-cta-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.hs-cta-card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--r-pill);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hs-cta-card__tag--b2b {
  background: var(--red);
  color: var(--white);
}

.hs-cta-card__title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
}

.hs-cta-card__desc {
  font-size: var(--fs-14);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 24px;
  flex: 1;
}

.hs-cta-card__btn {
  align-self: flex-start;
}

/* Ghost variant — white border on dark */
.hs-cta-card__btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.hs-cta-card__btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}


/* Phone fallback line */
.hs-cta__phone {
  text-align: center;
  margin-top: 40px;
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hs-cta__phone a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.hs-cta__phone a:hover {
  color: var(--red);
  border-color: var(--red);
}

.hs-cta__phone-hint {
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, 0.45);
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 575.98px) {
  .hs-cta__phone-hint {
    border-left: none;
    padding-left: 0;
    flex-basis: 100%;
    text-align: center;
  }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hs-cta-card:hover { transform: none; }
}

