/* ═══════════════════════════════════════════════════════════════════════════
   .hero--sky — the Homegrity home hero (mockup A, "Sky & Sunshine").
   Light ground, copy left; a sky panel with a sunshine disc on the right,
   carrying an example agent card and a city stat. Keeps the .tabs / .search
   markup the hero script drives (index.html heroTabs), restyled for light.
   ═══════════════════════════════════════════════════════════════════════════ */
.hero.hero--sky{background:var(--ground,#f7fafd);color:var(--ink)}
.hsky-in{max-width:1460px;margin:0 auto;padding:124px 64px 36px;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.hero.hero--sky .hero-copy{max-width:600px;display:flex;flex-direction:column}
.hsky-eyebrow{align-self:flex-start;display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;
  background:var(--brand-tint);color:var(--brand);font:700 13px/1.2 var(--font);letter-spacing:.04em;text-transform:uppercase;margin-bottom:22px}
.hero.hero--sky .hero-copy h1{color:var(--ink);font-weight:800;font-size:clamp(40px,4.6vw,62px);line-height:1.02;
  letter-spacing:-.025em;max-width:12em;margin:0 0 20px}
.hero.hero--sky .hero-sub{color:var(--muted);font-size:19px;line-height:1.55;max-width:520px}
/* Mockup A has no Buy/Sell/Rent tabs: the box finds an agent. The tab markup
   stays (hidden) because the hero script reads the selected tab's destination. */
.hero.hero--sky .tabs{display:none}
.hero.hero--sky .search{margin-top:28px}
.hero.hero--sky .tab{color:var(--muted)}
.hero.hero--sky .tab:hover,.hero.hero--sky .tab[aria-selected="true"]{color:var(--ink)}
.hero.hero--sky .search{max-width:540px;padding:8px 8px 8px 16px;border-radius:16px;background:#fff;
  border:1.5px solid var(--brand-tint);box-shadow:0 10px 30px -18px rgba(15,42,68,.35)}
.hero.hero--sky .search:focus-within{border-color:var(--sky);box-shadow:0 0 0 4px rgba(61,143,209,.14),0 10px 30px -18px rgba(15,42,68,.35)}
.search-go.search-go--text{width:auto;height:auto;min-height:48px;padding:0 22px;border-radius:12px;
  background:var(--accent);color:var(--on-accent);font:700 16px/1 var(--font);white-space:nowrap}
.search-go.search-go--text:hover{background:var(--accent-hover)}
.hsky-states{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:18px;font:500 14px/1.4 var(--font);color:var(--muted)}
.hsky-states span::before{content:"\2713";color:var(--brand);font-weight:800;margin-right:6px}
.hsky-count{font-weight:700;color:var(--ink)}
.hsky-count::before{content:"\00b7";color:var(--muted);font-weight:700;margin-right:10px}

.hsky-art{position:relative;height:470px}
.hsky-panel{position:absolute;inset:0 0 0 40px;border-radius:28px;background:var(--sky)}
/* the old hero photo inside the sky panel; the phone layout hides the panel, and
   the <picture> source hands phones a 1px image so the photo is not fetched */
.hsky-panel{overflow:hidden}
.hsky-panel img{width:100%;height:100%;object-fit:cover;object-position:62% 50%;display:block}
/* the sun sits on the panel's top-left corner, off the photo's faces */
.hsky-sun{position:absolute;top:-26px;left:6px;width:96px;height:96px;border-radius:50%;background:var(--accent);z-index:1}
.hsky-card{position:absolute;left:0;bottom:38px;width:330px;max-width:calc(100% - 20px);background:#fff;border-radius:18px;
  padding:20px 22px;box-shadow:0 22px 44px -22px rgba(15,42,68,.45);display:flex;flex-direction:column;gap:12px}
.hsky-card-top{display:flex;align-items:center;gap:12px}
.hsky-av{width:46px;height:46px;flex:none;border-radius:50%;background:var(--brand-tint);color:var(--brand);
  display:grid;place-items:center;font:800 15px/1 var(--font)}
.hsky-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--muted)}
.hsky-who b{font-size:16px;color:var(--ink)}
.hsky-score{padding:6px 10px;border-radius:10px;background:var(--accent);color:var(--on-accent);font:800 14px/1 var(--font)}
.hsky-card-s{font-size:13px;color:var(--muted)}
.hsky-stat{position:absolute;right:22px;bottom:150px;background:#fff;border-radius:14px;padding:14px 16px;
  box-shadow:0 16px 34px -20px rgba(15,42,68,.5);display:flex;flex-direction:column;gap:2px}
.hsky-stat-k{font:700 12px/1.2 var(--font);letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
.hsky-stat-n{font:800 26px/1.1 var(--display);color:var(--ink)}
.hsky-stat-s{font-size:12px;color:var(--muted)}

.hsky-steps{max-width:1460px;margin:0 auto;padding:0 64px 72px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hsky-step{background:#fff;border:1px solid var(--brand-tint);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:4px;
  font-size:14px;color:var(--muted)}
.hsky-step b{font-size:17px;color:var(--ink);margin-top:8px}
.hsky-n{width:38px;height:38px;border-radius:10px;background:var(--brand-tint);color:var(--brand);display:grid;place-items:center;font:800 16px/1 var(--font)}
.hsky-step--ink{background:var(--ink);border-color:var(--ink);color:rgba(255,255,255,.8)}
.hsky-step--ink b{color:#fff}
.hsky-step--ink .hsky-n{background:var(--accent);color:var(--on-accent)}

@media (max-width:980px){
  .hsky-in{grid-template-columns:minmax(0,1fr);gap:32px;padding:104px 24px 28px}
  .hsky-art{height:360px}
  .hsky-steps{grid-template-columns:minmax(0,1fr);padding:0 24px 56px;gap:12px}
}
@media (max-width:600px){
  .hsky-in{padding:96px 20px 24px}
  .hero.hero--sky .hero-copy h1{font-size:38px;letter-spacing:-.02em}
  .hero.hero--sky .hero-sub{font-size:16px}
  /* Phone (mockup A): the field and the button stand apart, no wrapper box. */
  .hero.hero--sky .search{flex-wrap:wrap;gap:12px;padding:0;background:transparent;border:0;box-shadow:none}
  .hero.hero--sky .search:focus-within{box-shadow:none}
  .hero.hero--sky .search input{flex:1 1 100%;padding:14px 16px;border-radius:14px;border:1.5px solid var(--brand-tint);background:#fff;font-size:16px}
  .hero.hero--sky .search input:focus{border-color:var(--sky)}
  .search-go.search-go--text{flex:1 1 100%;min-height:54px;border-radius:14px;font-size:17px}
  /* Phone (mockup A phone board): the art collapses to one sky card holding
     the example agent; the panel, sun and city stat drop out. */
  .hsky-art{height:auto}
  .hsky-panel,.hsky-sun,.hsky-stat{display:none}
  .hsky-count{flex-basis:100%}
  .hsky-count::before{content:none}
  .hsky-card{position:static;width:auto;max-width:none;background:var(--sky);color:#fff;border-radius:22px;padding:18px;box-shadow:none}
  .hsky-card .hsky-av{background:#fff}
  .hsky-card .hsky-who,.hsky-card .hsky-card-s{color:rgba(255,255,255,.92)}
  .hsky-card .hsky-who b{color:#fff}
  .hsky-steps{padding:0 20px 48px}
}
