/*
  hero.css — homepage hero (video bg) + smaller page-header hero used on
  inner pages (shop/cart/checkout/contact/about).
*/

/* ── Homepage hero ── */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--charcoal); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(107,117,110,.92) 0%, rgba(107,117,110,.78) 40%, rgba(107,117,110,.5) 75%, rgba(107,117,110,.7) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(46,125,50,.3) 0%, transparent 60%);
}
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }

.hero-label {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(46,125,50,.18); border: 1px solid rgba(46,125,50,.45);
  color: var(--green-light); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 4px; margin-bottom: 24px;
}
.hero-label::before { content: ''; width: 6px; height: 6px; background: var(--green-light); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.hero h1 { font-family: var(--font-head); font-size: clamp(44px, 6vw, 78px); font-weight: 900; line-height: .95; letter-spacing: -1px; text-transform: uppercase; margin-bottom: 24px; color: var(--white); }
.hero h1 span { color: var(--green-light); }
.hero p { color: var(--on-dark-muted); font-size: 17px; line-height: 1.7; margin-bottom: 40px; max-width: 480px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 32px; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--border-dark); flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--green-light); line-height: 1; }
.stat-label { font-size: 12px; color: var(--on-dark-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-machine { width: 100%; max-width: 440px; aspect-ratio: 4/3; background: rgba(255,255,255,.06); border-radius: 12px; border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; backdrop-filter: blur(4px); }
.machine-svg { width: 80%; height: 80%; }
.hero-badge { position: absolute; bottom: -16px; right: -16px; background: var(--green); color: var(--white); padding: 16px 20px; border-radius: 10px; text-align: center; font-family: var(--font-head); font-weight: 800; box-shadow: 0 8px 32px rgba(46,125,50,.4); }
.hero-badge .big { font-size: 28px; line-height: 1; }
.hero-badge .small { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }

/* ── Inner-page header (shop/cart/checkout/contact/about) ── */
.page-header { position: relative; background: var(--charcoal); padding: 64px 0 48px; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(46,125,50,.2) 0%, transparent 60%); }
.page-header-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.page-header h1 { font-family: var(--font-head); font-size: clamp(32px, 4vw, 48px); font-weight: 800; text-transform: uppercase; color: var(--white); margin: 10px 0; letter-spacing: -.5px; }
.page-header .breadcrumb { color: var(--on-dark-muted); }
.page-header .breadcrumb a { color: var(--on-dark-muted); }
.page-header .breadcrumb a:hover { color: var(--green-light); }
.page-header .breadcrumb .current { color: var(--white); }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
}
