/* ============================================================
   Best Window Cleaners Adelaide — home.css
   Homepage-only: hero + quick-search panel.
   (Template's cost-calculator/lead-form panel intentionally
   replaced — see project notes.)
   ============================================================ */

/* Full-bleed hero: the photo spans the whole viewport width and the
   content sits on top inside the usual max-width container. */
.hero { position: relative; background: var(--bg-warm); padding: 0; overflow: hidden; }

.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(250,250,248,0.97) 0%,
    rgba(250,250,248,0.94) 38%,
    rgba(250,250,248,0.78) 58%,
    rgba(250,250,248,0.55) 78%,
    rgba(250,250,248,0.45) 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px; gap: 0; align-items: center;
}

.hero-left { position: relative; padding: 68px 48px 68px 24px; display: flex; flex-direction: column; justify-content: center; min-height: 540px; }

.hero-copy { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); color: var(--blue);
  font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 20px; margin-bottom: 22px; letter-spacing: 0.2px;
}
.hero-eyebrow svg { width: 12px; height: 12px; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; fill: none; }

.hero-h1 { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 20px; }
.hero-h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: 17px; color: var(--ink-mid); line-height: 1.65; max-width: 480px; }

.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.hero-stats { display: flex; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-stat { text-align: center; padding: 0 28px; border-right: 1px solid var(--border); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 5px; }
.hero-stat-label { font-size: 11px; color: var(--ink-light); font-weight: 500; }

/* ── Quick search panel (right column) ── */
.hero-right { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; }

.search-panel { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); }
.search-panel-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-light); padding: 3px 10px; border-radius: 20px; letter-spacing: 0.3px; margin-bottom: 12px; }
.search-panel h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.3px; }
.search-panel-sub { font-size: 13px; color: var(--ink-light); margin-bottom: 20px; }

.search-panel .form-group:last-of-type { margin-bottom: 20px; }

.search-panel-btn { width: 100%; }

.search-panel-note { font-size: 11px; color: var(--ink-light); text-align: center; margin-top: 12px; line-height: 1.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) { .hero-h1 { font-size: 38px; } }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-left { min-height: auto; padding: 48px 20px 40px; }
  .hero-right { padding: 0 20px 36px; }
  .hero-h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-photo::after { background: rgba(250,250,248,0.95); }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 16px; width: 100%; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
}
