/* Счастливые часы — цены и страница */

.hh-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 0;
}

.hh-price-old {
  font-size: 0.85em;
  font-weight: 500;
  color: #9a9f9a;
  text-decoration: line-through;
}

.hh-price-new {
  font-size: 1.05em;
  font-weight: 700;
  color: #1f553d;
}

.hh-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e8f5ee;
  color: #1f553d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.browse-card-price.hh-price,
.library-card-price.hh-price,
.model-bim-price.hh-price {
  margin-top: 2px;
}

.model-bim-price.hh-price .hh-price-new {
  font-size: 1.35rem;
}

.hh-live-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #cfe6d8;
  background: linear-gradient(135deg, #f3faf6, #eaf6ef);
  color: #1d1d1f;
  text-decoration: none;
  font-size: 14px;
}

.hh-live-banner:hover {
  border-color: #1f553d;
}

.hh-live-banner strong {
  color: #1f553d;
}

/* Страница */
.hh-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.hh-hero {
  padding: 36px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e6e3de;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.hh-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f553d;
}

.hh-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.hh-lead {
  margin: 0 0 24px;
  max-width: 34em;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #6e6e73;
}

.hh-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f0ec;
  font-size: 13px;
  font-weight: 600;
  color: #6e6e73;
}

.hh-status.is-live {
  background: #e8f5ee;
  color: #1f553d;
}

.hh-status.is-live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f553d;
  box-shadow: 0 0 0 4px rgba(31, 85, 61, 0.15);
}

.hh-timer-label {
  margin: 0 0 10px;
  font-size: 13px;
  color: #9c9690;
}

.hh-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
}

.hh-timer-unit {
  padding: 14px 8px;
  border-radius: 14px;
  background: #f8f6f3;
  border: 1px solid #ebe7e1;
  text-align: center;
}

.hh-timer-unit strong {
  display: block;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  color: #1d1d1f;
  line-height: 1.1;
}

.hh-timer-unit span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #9c9690;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hh-rules {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e6e3de;
}

.hh-rules h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.hh-rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hh-rules li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.45;
  color: #3a3a3c;
}

.hh-rules li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e8f5ee;
  color: #1f553d;
  font-weight: 700;
}

.hh-sample {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 24px;
  background: #f8f6f3;
  border: 1px solid #ebe7e1;
}

.hh-sample h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.hh-sample p {
  margin: 0 0 16px;
  color: #6e6e73;
  font-size: 14px;
}

.hh-sample-card {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6e3de;
  min-width: 200px;
}

.hh-sample-card .hh-demo-title {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
}

.hh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 560px) {
  .hh-hero,
  .hh-rules,
  .hh-sample {
    padding: 22px 18px;
  }

  .hh-timer {
    max-width: none;
  }
}
