/* =================== hc-hero.css =================== */
/* hc-hero - premium homepage hero block. Editorial typography, gold-tinted
 * gradient ambience, animated orbital fx behind copy, and a stock-card +
 * trust-strip below CTAs. Variants: --editorial (full-bleed bg), --video (with
 * background video). Strictly .hc-hero / .hc-hero__* / .hc-hero--*. */

.hc-hero {
  position: relative;
  padding: clamp(56px, 7vw, 110px) 0 clamp(40px, 5vw, 80px);
  background: linear-gradient(180deg, var(--hc-bg-warm, #f0ebe1) 0%, var(--hc-bg, #f5f2ec) 100%);
  min-height: min(680px, 78vh);
  isolation: isolate;
  overflow: hidden;
  contain: layout paint;
}
.hc-hero--editorial {
  background: var(--hc-bg, #f5f2ec);
}
.hc-hero--editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(212, 184, 150, 0.22), transparent 55%),
    radial-gradient(700px 500px at 95% 110%, rgba(139, 115, 85, 0.14), transparent 50%),
    radial-gradient(500px 400px at 50% 50%, rgba(255, 245, 220, 0.10), transparent 60%);
  animation: hc-hero-breathe 12s ease-in-out infinite alternate;
}
@keyframes hc-hero-breathe {
  from { transform: translate3d(0,0,0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(-12px, 8px, 0) scale(1.05); opacity: 1; }
}
.hc-hero--editorial > .hc-wrap {
  position: relative;
  z-index: 2;
}

.hc-hero__bgfx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hc-hero__mesh {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.hc-hero__mesh path {
  fill: none;
  stroke: rgba(139, 115, 85, 0.20);
  stroke-width: 1;
}
.hc-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  animation: hc-hero-orb 18s ease-in-out infinite alternate;
}
.hc-hero__orb--a {
  width: 440px;
  height: 440px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(212, 184, 150, 0.40), transparent 65%);
}
.hc-hero__orb--b {
  width: 320px;
  height: 320px;
  bottom: -100px;
  left: 4%;
  background: radial-gradient(circle, rgba(139, 115, 85, 0.30), transparent 65%);
  animation-delay: 4s;
}
@keyframes hc-hero-orb {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(40px, -20px, 0); }
}

@media (min-width: 1440px) {
  .hc-hero--editorial::before {
    opacity: 0.72;
    animation-duration: 18s;
  }
  .hc-hero__mesh {
    opacity: 0.24;
  }
  .hc-hero__orb {
    filter: blur(54px);
  }
  .hc-hero__orb--a,
  .hc-hero__orb--b {
    opacity: 0.66;
  }
}

.hc-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hc-hero__copy {
  max-width: 640px;
}
.hc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(212, 184, 150, 0.16);
  border: 0.5px solid var(--hc-gold-border, rgba(212, 184, 150, 0.38));
  border-radius: var(--hc-r-pill, 999px);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
}

.hc-hero__title {
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--hc-ink, #1a1714);
  margin: var(--hc-sp-3, 14px) 0;
  max-width: 14ch;
}
.hc-hero__title em {
  display: inline-block;
  position: relative;
  color: var(--hc-accent-dark, #7a6548);
  font-style: italic;
  background: linear-gradient(135deg, #b89a6f 0%, var(--hc-gold, #d4b896) 45%, var(--hc-accent, #8b7355) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hc-hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.08em;
  background: linear-gradient(90deg, transparent, rgba(212, 184, 150, 0.55), transparent);
  transform: scaleX(0.9);
  transform-origin: left;
}

.hc-hero__lede {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.72));
  max-width: 50ch;
  margin: 0 0 var(--hc-sp-5, 26px);
  line-height: 1.55;
}
.hc-hero__mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 var(--hc-sp-5, 26px);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
}
.hc-hero__mini-meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hc-hero__mini-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--hc-gold, #d4b896), var(--hc-accent, #8b7355));
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(212, 184, 150, 0.18);
}

.hc-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 var(--hc-sp-6, 36px);
}
/* Each CTA prefers a 240px basis. Container width below ~520px (less gutter)
   forces single-column wrap regardless of @media — works in any headless. */
.hc-hero__ctas > .hc-btn,
.hc-hero__ctas > a.hc-btn,
.hc-hero__ctas > button.hc-btn {
  flex: 1 1 240px;
  min-width: 0;
}

.hc-hero__timer {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.18), rgba(184, 154, 111, 0.10));
  border: 1px solid var(--hc-gold-border, rgba(212, 184, 150, 0.42));
  box-shadow: 0 6px 18px -8px rgba(184, 154, 111, 0.32);
  margin: 0 0 var(--hc-sp-5, 26px);
}
.hc-hero__timer-label {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
}
.hc-hero__timer-clock {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 16px;
  font-weight: 600;
  color: var(--hc-ink, #1a1714);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.hc-hero__timer-clock b {
  font-weight: 600;
  color: var(--hc-accent-dark, #7a6548);
}

.hc-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(24px, 3vw, 44px);
  padding-top: 20px;
  border-top: 1px solid rgba(26, 23, 20, 0.10);
}
.hc-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hc-hero__stat b {
  display: block;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--hc-ink, #1a1714);
  font-variant-numeric: oldstyle-nums proportional-nums;
}
.hc-hero__stat b small {
  font-size: 0.55em;
  opacity: 0.5;
  font-weight: 400;
  margin-left: 2px;
}
.hc-hero__stat span {
  display: block;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
}

/* stock card — "В наличии сейчас N SKU · 3 заказа за час".
   margin-bottom keeps the card visually anchored to the copy column and
   prevents it from crashing into the trust-strip ribbon below the grid. */
.hc-hero__stock-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  margin-bottom: clamp(28px, 3.6vw, 48px);
  padding: 14px 22px;
  background: var(--hc-paper, #ffffff);
  border: 1px solid rgba(141, 109, 71, 0.22);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(40, 30, 15, 0.04),
    0 20px 40px -20px rgba(40, 30, 15, 0.22);
}
.hc-hero__stock-card-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hc-hero__stock-card-label {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
}
.hc-hero__stock-card-value {
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--hc-ink, #1a1714);
}
.hc-hero__stock-card-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(141, 109, 71, 0.22);
}

.hc-hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hc-hero__orbit-card {
  width: min(560px, 100%);
  border-radius: 26px;
  border: 1px solid rgba(141, 109, 71, 0.28);
  background: linear-gradient(180deg, #f8f6f1 0%, #f1ebe0 100%);
  box-shadow: 0 30px 60px -40px rgba(40, 30, 15, 0.38);
  padding: 18px;
}

.hc-hero__orbit-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.hc-hero__orbit-label {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
}

.hc-hero__orbit-note {
  margin: -6px 0 10px;
  font-size: 12px;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.72));
}
.hc-hero__stock-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hc-success, #3d6b4f);
  font-size: 13px;
  font-weight: 500;
}
.hc-hero__stock-card-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hc-success, #3d6b4f);
  box-shadow: 0 0 0 0 rgba(61, 107, 79, 0.55);
  animation: hc-hero-pulse 1.8s ease-out infinite;
}
@keyframes hc-hero-pulse {
  to { box-shadow: 0 0 0 12px rgba(61, 107, 79, 0); }
}

/* trust strip — series tag pills under the hero */
.hc-hero__series-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 252, 247, 0.86);
  border: 0.5px solid var(--hc-gold-border, rgba(212, 184, 150, 0.42));
  border-radius: var(--hc-r-pill, 999px);
  font-family: var(--hc-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}
.hc-hero__check-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.62));
}
/* trust-strip — facts ribbon below hero grid. Lighter background + larger
   gap visually decouple it from the live stock-card above (different role:
   stock-card = live data, trust-strip = static facts). */
.hc-hero__trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 32px);
  margin-top: clamp(36px, 4.4vw, 56px);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92) 0%, rgba(247, 241, 230, 0.78) 100%);
  border: 0.5px solid rgba(141, 109, 71, 0.18);
  border-radius: clamp(14px, 1.4vw, 20px);
  box-shadow:
    0 1px 2px rgba(40, 30, 15, 0.03),
    0 18px 44px -28px rgba(40, 30, 15, 0.16);
}
.hc-hero__trust-cell {
  position: relative;
  display: inline-flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 4px;
  padding: 10px 18px 10px 50px;
  background: transparent;
  border: 0;
  border-right: 0.5px solid rgba(141, 109, 71, 0.16);
  border-radius: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}
.hc-hero__trust-cell:last-child { border-right: 0; }
.hc-hero__trust-cell:hover { background: rgba(255, 255, 255, 0.55); }

/* Mini-icon left of each cell — per-nth-child SVG via mask-image */
.hc-hero__trust-cell::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.30), rgba(184, 154, 111, 0.12));
  border: 0.5px solid var(--hc-gold-border, rgba(212, 184, 150, 0.45));
  border-radius: 8px;
  transition: background 0.22s ease, transform 0.22s ease;
}
.hc-hero__trust-cell:hover::before {
  background: linear-gradient(135deg, var(--hc-gold, #d4b896), #b89a6f);
  transform: translateY(-50%) rotate(-4deg) scale(1.06);
}
.hc-hero__trust-cell::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  background-color: var(--hc-accent-dark, #7a6548);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: 14px 14px;
          mask-size: 14px 14px;
  transition: background-color 0.22s ease, transform 0.22s ease;
}
.hc-hero__trust-cell:hover::after {
  background-color: #2a2018;
  transform: translateY(-50%) rotate(-4deg) scale(1.06);
}
/* Cell 1 — Прямой дилер: handshake */
.hc-hero__trust-cell:nth-child(1)::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14 9V5a3 3 0 00-3-3l-4 9v11h11.28a2 2 0 002-1.7l1.38-9a2 2 0 00-2-2.3zM7 22H4a2 2 0 01-2-2v-7a2 2 0 012-2h3'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14 9V5a3 3 0 00-3-3l-4 9v11h11.28a2 2 0 002-1.7l1.38-9a2 2 0 00-2-2.3zM7 22H4a2 2 0 01-2-2v-7a2 2 0 012-2h3'/></svg>");
}
/* Cell 2 — 8 лет: calendar */
.hc-hero__trust-cell:nth-child(2)::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}
/* Cell 3 — гарантия: shield */
.hc-hero__trust-cell:nth-child(3)::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>");
}
/* Cell 4 — доставка по РФ: truck */
.hc-hero__trust-cell:nth-child(4)::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='1' y='3' width='15' height='13' rx='2'/><polygon points='16 8 20 8 23 11 23 16 16 16 16 8'/><circle cx='5.5' cy='18.5' r='2.5'/><circle cx='18.5' cy='18.5' r='2.5'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='1' y='3' width='15' height='13' rx='2'/><polygon points='16 8 20 8 23 11 23 16 16 16 16 8'/><circle cx='5.5' cy='18.5' r='2.5'/><circle cx='18.5' cy='18.5' r='2.5'/></svg>");
}
/* Cell 5 — рейтинг: star */
.hc-hero__trust-cell:nth-child(5)::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>");
}

/* hero visual — right column. Premium ring + animated dots. */
.hc-hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin-left: auto;
  padding: var(--hc-sp-5);
  border-radius: 32px;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 252, 247, 0.65), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(184, 154, 111, 0.32), transparent 55%),
    linear-gradient(135deg, #f3e9d6 0%, #e8dfd0 45%, #d4c5ac 100%);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 8px rgba(184, 154, 111, 0.10),
    0 32px 64px -24px rgba(184, 154, 111, 0.32);
}
/* Soft sheen overlay */
.hc-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 252, 247, 0.55), transparent 50%),
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(255, 250, 240, 0.05) 30deg,
      transparent 60deg
    );
  animation: hc-hero-shimmer 22s linear infinite;
}
/* Decorative editorial composition — 3 concentric arcs + center dot */
.hc-hero__visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: 2;
  background-image:
    radial-gradient(circle, transparent 64px, rgba(122, 101, 72, 0.32) 65px, rgba(122, 101, 72, 0.32) 66px, transparent 67px),
    radial-gradient(circle, transparent 110px, rgba(122, 101, 72, 0.22) 111px, rgba(122, 101, 72, 0.22) 112px, transparent 113px),
    radial-gradient(circle, transparent 160px, rgba(122, 101, 72, 0.14) 161px, rgba(122, 101, 72, 0.14) 162px, transparent 163px),
    radial-gradient(circle at center, rgba(122, 101, 72, 0.55) 0, rgba(122, 101, 72, 0.55) 6px, transparent 7px);
  background-position: center;
  background-repeat: no-repeat;
  animation: hc-hero-orbit 60s linear infinite;
}
@keyframes hc-hero-shimmer {
  to { transform: rotate(360deg); }
}
@keyframes hc-hero-orbit {
  to { transform: rotate(360deg); }
}
.hc-hero__svg-ring {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.hc-hero__svg-ring svg {
  width: 78%;
  height: 78%;
  color: rgba(122, 101, 72, 0.42);
}
.hc-hero__svg-ring circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
}
.hc-hero__svg-ring circle:nth-child(1) {
  animation: hc-hero-spin 32s linear infinite;
  transform-origin: center;
  stroke-dasharray: 4 14;
}
@keyframes hc-hero-spin {
  to { transform: rotate(360deg); }
}
.hc-hero__visual-photo {
  position: absolute;
  inset: 0;
  width: 72%;
  height: 72%;
  margin: auto;
  object-fit: contain;
  z-index: 3;
  filter: drop-shadow(0 18px 36px rgba(26, 23, 20, 0.18));
}
.hc-hero__visual-fallback {
  position: absolute;
  inset: 12%;
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0.78;
  pointer-events: none;
}
.hc-hero__visual-fallback svg {
  width: 100%;
  height: 100%;
}
.hc-hero__visual-photo:not(.hc-img-broken) ~ .hc-hero__visual-fallback {
  opacity: 0;
  visibility: hidden;
}
.hc-hero__visual-photo.hc-img-broken {
  display: none;
}
.hc-hero__visual-schema {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}
.hc-hero__visual-schema svg {
  width: 64%;
  height: 64%;
  color: var(--hc-accent-dark, #7a6548);
}

@media (max-width: 1024px) {
  .hc-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--hc-sp-5);
  }
  .hc-hero__visual {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hc-hero {
    padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 48px);
    min-height: 0;
  }
  .hc-hero__visual { display: none; }
  .hc-hero__copy { max-width: 100%; }
  .hc-hero__stats { gap: var(--hc-sp-4); }
}

@media (max-width: 480px) {
  .page-home .hc-hero__title,
  .hc-hero .hc-hero__title,
  .hc-hero__title {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.05;
    max-width: 100%;
    margin: var(--hc-sp-2) 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .hc-hero__lede {
    font-size: 14.5px;
    line-height: 1.5;
    max-width: 100%;
  }
  .hc-hero__mini-meta {
    font-size: 9.5px;
    gap: 8px;
    row-gap: 4px;
  }
  .hc-hero__mini-meta span + span::before {
    margin-right: 8px;
    margin-left: -4px;
  }
  /* Stack CTA buttons full-width — switch from flex to grid for deterministic
     single-column layout (beats any .hc-btn--lg width or upstream flex tuning). */
  .hc-hero .hc-hero__ctas,
  .hc-hero__ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .hc-hero .hc-hero__ctas > .hc-btn,
  .hc-hero__ctas > .hc-btn,
  .hc-hero__ctas > a.hc-btn {
    width: 100%;
    min-width: 0;
    padding-left: var(--hc-sp-4);
    padding-right: var(--hc-sp-4);
  }
  .hc-hero__stat b { font-size: 26px; }
  .hc-hero__stock-card { flex-wrap: wrap; gap: 14px; padding: 12px 16px; }
}

/* ---- folded from 139-hc-phone-digits.css ---- */
[data-phone-reveal] .hc-phone-digits {filter: none; transition: opacity 0.2s ease; letter-spacing: 0.02em; user-select: text}
[data-phone-reveal][data-revealed] .hc-phone-digits {filter: none; user-select: text}

/* ---- folded from 140-hc-phone-hint.css ---- */
[data-phone-reveal] .hc-phone-hint {font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hc-accent-dark, #7a6548); opacity: 0.7; transition: opacity 0.3s ease}
[data-phone-reveal][data-revealed] .hc-phone-hint {opacity: 0; width: 0; overflow: hidden}


/* ─── Hero checker (Sprint 12.52) — interactive availability finder
   that replaces decorative orbit-card. SKU/series input + popular chips. */

.hc-hero__checker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(560px, 100%);
  padding: clamp(24px, 2.2vw, 32px);
  background:
    linear-gradient(180deg, var(--hc-paper, #ffffff) 0%, rgba(252, 246, 234, 0.92) 100%);
  border: 0.5px solid rgba(141, 109, 71, 0.22);
  border-radius: clamp(18px, 1.6vw, 24px);
  box-shadow:
    0 1px 2px rgba(40, 30, 15, 0.03),
    0 28px 56px -28px rgba(40, 30, 15, 0.22);
  isolation: isolate;
  overflow: hidden;
}

/* Decorative gold ring rotating slowly (DIZ FX). */
.hc-hero__checker::after {
  content: "";
  position: absolute;
  left: -40%;
  top: -40%;
  width: 180%;
  height: 180%;
  border-radius: 50%;
  border: 1px dashed rgba(212, 184, 150, 0.28);
  pointer-events: none;
  z-index: -1;
  animation: hc-hero-checker-spin 32s linear infinite;
}
@keyframes hc-hero-checker-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hc-hero__checker::after { animation: none; }
}

/* Eyebrow row */
.hc-hero__checker-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
}
.hc-hero__checker-eyebrow svg {
  flex-shrink: 0;
  color: var(--hc-accent-dark, #7a6548);
}

/* Title */
.hc-hero__checker-title {
  margin: 0;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--hc-ink, #1a1714);
}

.hc-hero__checker-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.68));
  max-inline-size: 42ch;
}

/* Form layout — input grows, submit auto-width */
.hc-hero__checker-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 4px;
}

/* Input field with leading magnifier icon */
.hc-hero__checker-field {
  position: relative;
  display: flex;
  align-items: center;
}
.hc-hero__checker-icon {
  position: absolute;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hc-accent-dark, #7a6548);
  pointer-events: none;
}
.hc-hero__checker-input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 42px;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.28);
  border-radius: 12px;
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 14px;
  color: var(--hc-ink, #1a1714);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.hc-hero__checker-input::placeholder {
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.42));
}
.hc-hero__checker-input:focus {
  border-color: var(--hc-accent-dark, #7a6548);
  box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.24);
}

/* Submit button — primary black */
.hc-hero__checker-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 22px;
  background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border: 0;
  border-radius: 12px;
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}
.hc-hero__checker-submit:hover {
  background: linear-gradient(135deg, #2a2018, #3d3024);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(40, 30, 15, 0.36);
}
.hc-hero__checker-submit:active {
  transform: translateY(0);
}

/* Popular series chips row */
.hc-hero__checker-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 0.5px dashed rgba(141, 109, 71, 0.22);
}
.hc-hero__checker-chips-label {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
  margin-right: 4px;
}
.hc-hero__checker-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: rgba(255, 252, 247, 0.86);
  border: 0.5px solid rgba(212, 184, 150, 0.55);
  border-radius: 999px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.hc-hero__checker-chip:hover {
  background: linear-gradient(135deg, var(--hc-gold, #d4b896), #b89a6f);
  border-color: var(--hc-accent-dark, #7a6548);
  color: #2a2018;
  transform: translateY(-1px);
}

/* Mobile — stack form vertically */
@media (max-width: 640px) {
  .hc-hero__checker-form {
    grid-template-columns: 1fr;
  }
}


/* ─── Sprint 12.short: tighter padding on wide desktop ─── */
@media (min-width: 1280px) {
  .hc-hero {
    padding-block-end: clamp(28px, 3vw, 56px);
  }
  .hc-hero + section, .hc-hero + .hc-sec {
    padding-block-start: clamp(40px, 4vw, 72px);
  }
}


/* ─── Sprint13.P2: mobile hero (375-720) ─── */
@media (max-width: 720px) {
  .hc-hero {
    padding-block: 28px 32px;
  }
  .hc-hero__title,
  .hc-hero h1 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.04;
  }
  .hc-hero__lede,
  .hc-hero p {
    font-size: 14px;
    max-width: 95%;
  }
  .hc-hero__grid,
  .hc-hero__cols {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .hc-hero__cta-row,
  .hc-hero .cta-row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .hc-hero__cta-row > * {
    width: 100%;
    justify-content: center;
  }
  /* checker card narrower on mobile */
  .hc-hero__checker,
  [class*="hero"][class*="checker"] {
    padding: 18px 16px;
    border-radius: 14px;
  }
}
