/*
 * District hub pages — /zony-obsluhy/ and /zony-obsluhy/{city}/
 * Minimal additive layout. Reuses .container, .h1, .h2, .btn, .srv-card, .eyebrow from base.
 */

.fhs-hub-archive .lead {
  max-width: 720px;
  margin: 0 0 2rem;
  color: var(--fhs-text-muted, #555);
}

.fhs-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 1.5rem;
}

.fhs-hub-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.fhs-hub-card:hover {
  border-color: var(--fhs-accent, #1456cf);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(20, 86, 207, 0.08);
}

.fhs-hub-card__name {
  font-weight: 600;
  font-size: 1.05rem;
  color: #111;
}

.fhs-hub-card__sub {
  font-size: 0.85rem;
  color: #666;
}

.fhs-hub-card__meta {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--fhs-accent, #1456cf);
  font-weight: 500;
}

/* Hub single ------------------------------------------------------------ */

.fhs-hub .section {
  padding: 48px 0;
}

/* ==========================================================================
   HUB HERO — split grid with photo-backed booking card
   ========================================================================== */
/* Selector compounded with .section to beat .fhs-hub .section specificity (0,2,0). */
.fhs-hub__hero.section {
  position: relative;
  padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at top right,
      rgba(20, 86, 207, 0.04) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at bottom left,
      rgba(46, 125, 50, 0.02) 0%,
      transparent 50%
    ),
    var(--paper, #f6f1ea);
}
.fhs-hub__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 14, 10, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 14, 10, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 0%,
    transparent 80%
  );
  pointer-events: none;
}
.fhs-hub__hero > .container {
  position: relative;
  z-index: 1;
}

/* Split grid */
.fhs-hub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

/* --- Left column --- */
.fhs-hub__left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fhs-hub__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  background: var(--white);
  border: 1px solid var(--line-soft, #ebe2d1);
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  box-shadow: var(--sh-1, 0 1px 2px rgba(20, 14, 10, 0.04));
  align-self: flex-start;
  margin-bottom: clamp(18px, 2vw, 24px);
  max-width: 100%;
}
.fhs-hub__badge-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.fhs-hub__badge-pin svg {
  width: 11px;
  height: 11px;
}
.fhs-hub__badge-dot {
  width: 6px;
  height: 6px;
  background: #2f7d32;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(47, 125, 50, 0.18);
  display: inline-block;
  margin: 0 2px 0 4px;
  flex-shrink: 0;
  animation: fhs-hub-pulse 2s ease-in-out infinite;
}
@keyframes fhs-hub-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(47, 125, 50, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(47, 125, 50, 0.08);
  }
}

.fhs-hub__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--red);
  margin-bottom: 12px;
}

.fhs-hub__title {
  font-family: var(--serif);
  font-size: clamp(30px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: clamp(18px, 2.5vw, 28px);
  text-wrap: balance;
}
.fhs-hub__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}

/* Subdistricts pills */
.fhs-hub__subdistricts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(16px, 2vw, 20px);
  font-size: 14px;
}
.fhs-hub__subdistricts-label {
  color: var(--soft);
  font-weight: 500;
}
.fhs-hub__subdistrict-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background: var(--white);
  border: 1px solid var(--line-soft, #ebe2d1);
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all var(--t);
}
.fhs-hub__subdistrict-tag:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.fhs-hub__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: clamp(22px, 3vw, 28px);
  text-wrap: pretty;
}
.fhs-hub__lead p + p {
  margin-top: 0.8em;
}

.fhs-hub__bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 20px;
  margin-bottom: clamp(24px, 3vw, 32px);
  max-width: 560px;
  padding: 0;
}
.fhs-hub__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.fhs-hub__bullet-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-top: 1px;
}
.fhs-hub__bullet-check svg {
  width: 11px;
  height: 11px;
}

.fhs-hub__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 28px);
}
.fhs-hub__cta .btn {
  white-space: nowrap;
  gap: 8px;
}
.fhs-hub__cta .btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t);
}
.fhs-hub__cta .btn--outline svg {
  color: var(--red);
  stroke-width: 2;
  transition: color var(--t);
}
.fhs-hub__cta .btn--outline:hover svg {
  color: var(--white);
}
.fhs-hub__cta .btn--primary:hover svg {
  transform: translateX(3px);
}

@media (max-width: 560px) {
  .fhs-hub__cta .btn {
    white-space: normal;
  }
}

.fhs-hub__proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: clamp(18px, 2.5vw, 22px);
  border-top: 1px solid var(--line-soft, #ebe2d1);
  flex-wrap: wrap;
}
.fhs-hub__proof-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fhs-hub__proof-stars {
  display: inline-flex;
  gap: 2px;
}
.fhs-hub__proof-stars svg {
  width: 14px;
  height: 14px;
  color: #f5b800;
  fill: currentColor;
}
.fhs-hub__proof-text {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.3;
}
.fhs-hub__proof-text strong {
  color: var(--ink);
  font-weight: 600;
}
.fhs-hub__proof-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

/* --- Right column — photo card --- */
.fhs-hub__card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--sh-3, 0 20px 48px rgba(20, 14, 10, 0.12));
  isolation: isolate;
  aspect-ratio: 4 / 5;
  min-height: 440px;
  max-height: 680px;
}
.fhs-hub__card-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1.2s ease-out;
}
.fhs-hub__card:hover .fhs-hub__card-photo {
  transform: scale(1.04);
}
.fhs-hub__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20, 14, 10, 0.05) 0%,
    rgba(20, 14, 10, 0.25) 35%,
    rgba(20, 14, 10, 0.78) 70%,
    rgba(20, 14, 10, 0.94) 100%
  );
  pointer-events: none;
}
.fhs-hub__card::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 340px;
  height: 340px;
  z-index: 1;
  background: radial-gradient(
    circle,
    rgba(20, 86, 207, 0.35) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.fhs-hub__card-inner {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  color: var(--paper, #f6f1ea);
}
.fhs-hub__card-top {
  position: absolute;
  top: clamp(16px, 2.5vw, 24px);
  left: clamp(16px, 2.5vw, 24px);
  right: clamp(16px, 2.5vw, 24px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.fhs-hub__card-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 9px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  box-shadow: 0 4px 12px rgba(20, 14, 10, 0.18);
  white-space: nowrap;
}
.fhs-hub__card-chip svg {
  width: 13px;
  height: 13px;
  color: var(--red);
}
.fhs-hub__card-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(20, 14, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.fhs-hub__card-rating svg {
  width: 12px;
  height: 12px;
  color: #f5b800;
  fill: currentColor;
}

.fhs-hub__card-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--white);
  line-height: 1.1;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.fhs-hub__card-sub {
  font-size: 13.5px;
  color: rgba(246, 241, 234, 0.78);
  margin-bottom: clamp(16px, 2.5vw, 20px);
  line-height: 1.4;
}
.fhs-hub__card-sub strong {
  color: var(--white);
  font-weight: 600;
}

.fhs-hub__slots {
  display: grid;
  gap: 7px;
  margin-bottom: clamp(14px, 2vw, 18px);
}
.fhs-hub__slot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  background: rgba(20, 14, 10, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r, 14px);
  transition: all var(--t);
}
.fhs-hub__slot:hover {
  background: rgba(20, 14, 10, 0.68);
  border-color: rgba(255, 255, 255, 0.2);
}
.fhs-hub__slot-time {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.fhs-hub__slot-label {
  font-size: 12.5px;
  color: rgba(246, 241, 234, 0.72);
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fhs-hub__slot-badge {
  padding: 3px 8px;
  background: rgba(47, 125, 50, 0.25);
  border: 1px solid rgba(125, 209, 127, 0.4);
  border-radius: var(--pill);
  font-size: 10.5px;
  font-weight: 600;
  color: #8fe092;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.fhs-hub__card-cta {
  width: 100%;
  padding: 15px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--t);
  box-shadow: 0 6px 22px rgba(20, 86, 207, 0.5);
}
.fhs-hub__card-cta:hover {
  background: var(--red-hover, #0e3fa0);
  box-shadow: 0 8px 26px rgba(20, 86, 207, 0.6);
  transform: translateY(-1px);
  color: var(--white);
}
.fhs-hub__card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t);
}
.fhs-hub__card-cta:hover svg {
  transform: translateX(3px);
}

.fhs-hub__card-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px auto 0;
}
.fhs-hub__card-foot-icon {
  width: 16px;
  height: 16px;
  color: rgba(246, 241, 234, 0.6);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.fhs-hub__card-foot-phone {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.fhs-hub__card-foot-label {
  font-size: 10.5px;
  color: rgba(246, 241, 234, 0.55);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
}
.fhs-hub__card-foot-number {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.005em;
  transition: color var(--t);
  white-space: nowrap;
}
.fhs-hub__card-foot-phone:hover .fhs-hub__card-foot-number {
  color: var(--red-2, #1e68e3);
}

/* --- Stats strip --- */
.fhs-hub__stats {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1, 0 1px 2px rgba(20, 14, 10, 0.04));
}
.fhs-hub__stat {
  background: var(--white);
  padding: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  transition: background var(--t);
  min-width: 0;
}
.fhs-hub__stat-value {
  font-family: var(--serif);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
}
.fhs-hub__stat-value small {
  font-size: 0.5em;
  color: var(--soft);
  font-weight: 500;
}
.fhs-hub__stat-value .stat-prefix {
  font-size: 0.6em;
  color: var(--soft);
  font-weight: 500;
  margin-right: 1px;
}
.fhs-hub__stat-label {
  font-size: clamp(11px, 1vw, 12.5px);
  color: var(--soft);
  line-height: 1.3;
  font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .fhs-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fhs-hub__grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
  }
  .fhs-hub__card {
    aspect-ratio: auto;
    min-height: 520px;
    max-height: none;
  }
  /* On mobile the card grows with content; reserve space at top so
     the absolute chip/rating don't collide with the inner title. */
  .fhs-hub__card-inner {
    padding-top: clamp(64px, 14vw, 88px);
  }
}
@media (max-width: 720px) {
  .fhs-hub__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .fhs-hub__bullets {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fhs-hub__cta {
    flex-direction: column;
  }
  .fhs-hub__cta .btn {
    width: 100%;
  }
  .fhs-hub__proof {
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }
  .fhs-hub__proof-divider {
    display: none;
  }
  .fhs-hub__card {
    min-height: 460px;
    border-radius: 18px;
  }
  .fhs-hub__card-title {
    font-size: 20px;
  }
}
@media (max-width: 380px) {
  .fhs-hub__title {
    font-size: 28px;
  }
  .fhs-hub__card-chip,
  .fhs-hub__card-rating {
    font-size: 11px;
    padding: 6px 10px 6px 8px;
  }
  .fhs-hub__stat-value {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fhs-hub__card:hover .fhs-hub__card-photo {
    transform: none;
  }
  .fhs-hub__badge-dot {
    animation: none;
  }
}

/* ==========================================================================
   HUB — "Typické místní problémy" (split head, photo cards, bottom CTA)
   ========================================================================== */
.fhs-hub__problems.section {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0;
  overflow: hidden;
  background: var(--paper);
}
.fhs-hub__problems::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 14, 10, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 14, 10, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 0%,
    transparent 80%
  );
  pointer-events: none;
}
.fhs-hub__problems > .container {
  position: relative;
  z-index: 1;
}

/* Section head */
.fhs-hub__problems-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.fhs-hub__problems-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--red);
  margin-bottom: 14px;
}
.fhs-hub__problems-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
  margin: 0;
}
@media (max-width: 560px) {
  .fhs-hub__problems-title {
    white-space: normal;
    text-wrap: balance;
  }
}
.fhs-hub__problems-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.fhs-hub__problems-intro {
  font-size: clamp(14.5px, 1.2vw, 16px);
  color: var(--soft);
  line-height: 1.6;
  max-width: 420px;
  text-wrap: pretty;
  margin: 0;
}

/* Grid */
.fhs-hub__problems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

/* Card */
.fhs-hub__problem {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft, #ebe2d1);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-slow, 0.6s cubic-bezier(0.16, 1, 0.3, 1));
  opacity: 0;
  transform: translateY(20px);
  animation: fhs-hub-problem-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  padding: 0;
}
.fhs-hub__problem:nth-child(1) {
  animation-delay: 0.05s;
}
.fhs-hub__problem:nth-child(2) {
  animation-delay: 0.15s;
}
.fhs-hub__problem:nth-child(3) {
  animation-delay: 0.25s;
}
@keyframes fhs-hub-problem-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fhs-hub__problem:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3, 0 20px 48px rgba(20, 14, 10, 0.12));
  border-color: var(--line);
}

/* Photo top */
.fhs-hub__problem-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
  flex-shrink: 0;
}
.fhs-hub__problem-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease-out;
}
.fhs-hub__problem:hover .fhs-hub__problem-photo img {
  transform: scale(1.06);
}
.fhs-hub__problem-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 55%,
    rgba(20, 14, 10, 0.35) 100%
  );
  pointer-events: none;
}

/* Floating chips on photo */
.fhs-hub__problem-chips {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  z-index: 1;
}
.fhs-hub__problem-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--pill);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  box-shadow: 0 4px 12px rgba(20, 14, 10, 0.15);
  white-space: nowrap;
}
.fhs-hub__problem-chip-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fhs-hub__problem-chip-icon svg {
  width: 9px;
  height: 9px;
}

/* Severity badge */
.fhs-hub__problem-severity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--pill);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.fhs-hub__problem-severity--high {
  background: rgba(196, 120, 0, 0.88);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.fhs-hub__problem-severity--medium {
  background: rgba(20, 14, 10, 0.75);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fhs-hub__problem-severity-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* Card body */
.fhs-hub__problem-body {
  padding: clamp(18px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.fhs-hub__problem-title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

/* Meta — horizontal stats */
.fhs-hub__problem-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper);
  border-radius: var(--r, 14px);
  overflow: hidden;
  border: 1px solid var(--line-soft, #ebe2d1);
  margin: 0;
}
.fhs-hub__problem-meta-item {
  text-align: center;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}
.fhs-hub__problem-meta-item + .fhs-hub__problem-meta-item::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 1px;
  background: var(--line-soft, #ebe2d1);
}
.fhs-hub__problem-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--soft);
  line-height: 1;
}
.fhs-hub__problem-meta dd {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.fhs-hub__problem-meta dd strong {
  font-weight: 700;
  color: var(--red);
}

/* Reason */
.fhs-hub__problem-reason {
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.55;
  padding-left: 14px;
  border-left: 2px solid var(--red);
  flex: 1;
  margin: 0;
}

/* Bottom link */
.fhs-hub__problem-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--line-soft, #ebe2d1);
  transition: color var(--t);
  text-decoration: none;
}
.fhs-hub__problem-link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--t);
}
.fhs-hub__problem-link:hover {
  color: var(--red);
}
.fhs-hub__problem-link:hover svg {
  transform: translateX(3px);
}

/* Bottom CTA */
.fhs-hub__problems-cta {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line-soft, #ebe2d1);
  border-radius: var(--pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--sh-1, 0 1px 2px rgba(20, 14, 10, 0.04));
}
.fhs-hub__problems-cta-text {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  margin: 0;
}
.fhs-hub__problems-cta-text strong {
  font-weight: 600;
}
.fhs-hub__problems-cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.fhs-hub__problems-cta-actions .btn {
  padding: 12px 20px;
  font-size: 14px;
  gap: 8px;
  white-space: nowrap;
}
.fhs-hub__problems-cta-actions .btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t);
}
.fhs-hub__problems-cta-actions .btn--outline svg {
  color: var(--red);
  stroke-width: 2;
  transition: color var(--t);
}
.fhs-hub__problems-cta-actions .btn--outline:hover svg {
  color: var(--white);
}
.fhs-hub__problems-cta-actions .btn--primary:hover svg {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .fhs-hub__problems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fhs-hub__problem:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .fhs-hub__problems-head {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }
}
@media (max-width: 640px) {
  .fhs-hub__problems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fhs-hub__problem:nth-child(3) {
    grid-column: auto;
  }
  .fhs-hub__problem-photo {
    aspect-ratio: 16 / 9;
  }
  .fhs-hub__problems-cta {
    border-radius: var(--r-lg);
    padding: 20px;
  }
  .fhs-hub__problems-cta-actions {
    width: 100%;
  }
  .fhs-hub__problems-cta-actions .btn {
    flex: 1;
  }
}
@media (max-width: 380px) {
  .fhs-hub__problem-title {
    font-size: 16px;
  }
  .fhs-hub__problem-meta dd {
    font-size: 14px;
  }
  .fhs-hub__problem-chip {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fhs-hub__problem {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .fhs-hub__problem:hover .fhs-hub__problem-photo img {
    transform: none;
  }
}
