/* Royal Artificial Grass: Home hero with the quote form as a horizontal band along its base (Jean, 9 Nov).
   The whole hero, form band included, sits inside the first screen: the topstrip (40px) plus the hero fill 100svh.
   Scoped to .hero-band; the same click-steps form on Contact, Shop, Installation and Schools uses the shared
   "quote form, every page" rules at the end of site.css (deep green, square blocks butted together).
   Loaded after site.css; every rule here carries .hero.hero-band (or .hero-band) to win over the older hero rules. */

.hero.hero-band{--ts:40px;--hw:280px;display:flex;flex-direction:column;min-height:calc(100svh - var(--ts));padding-top:calc(var(--gn-space) + 26px);padding-bottom:0}
.hero.hero-band > .hero-media{position:absolute;inset:0;z-index:-1}
.hero.hero-band > .hero-media img{object-position:50% 58%}
.hero.hero-band > .hero-media::after{background:
  linear-gradient(90deg,rgba(0,20,6,.84) 0%,rgba(0,20,6,.62) 36%,rgba(0,20,6,.18) 66%,rgba(0,20,6,.28) 100%),
  linear-gradient(0deg,rgba(0,20,6,.72) 0%,rgba(0,20,6,.25) 34%,rgba(0,20,6,0) 52%)}
.hero.hero-band .hero-inner{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:28px;min-height:0;padding:0 0 32px;grid-template-columns:none}
.hero.hero-band .hero-copy{position:relative;margin-block:auto;min-height:0;padding:0;display:block;max-width:none}
.hero.hero-band .hero-eyebrow{margin-bottom:18px}
.hero.hero-band h1.hero-line{font-size:clamp(3rem,1.5rem + 3.5vw,5.4rem);line-height:1.02}
.hero.hero-band h1.hero-line em{display:block}
.hero.hero-band .hero-intro{margin-top:18px;max-width:44em;text-wrap:pretty}
.hero.hero-band .hero-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:30px}
.hero.hero-band .btns,.hero.hero-band .badges{margin:0}
.hero.hero-band .badges{display:flex;flex-wrap:wrap;gap:12px}
.hero.hero-band .seal{background:rgba(0,20,6,.5);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hero.hero-band .hero-form{align-self:stretch;width:100%;margin:0;padding:0;background:none}

/* ---------- the band (desktop): a dark left column holds the title, progress, the step's question and Back / Skip;
   on the right the option blocks fill the whole area top to bottom, square, touching, no gaps (Jéan 9 Nov) ---------- */
.hero-band .qf{position:relative;display:grid;grid-template-columns:var(--hw) minmax(0,1fr);min-height:204px;border-radius:0;--qf-line:rgba(255,255,255,.2)}
.hero-band .qf-head{display:flex;flex-direction:column;justify-content:flex-start;padding:18px 24px 10px;border-bottom:0;box-shadow:inset -1px 0 0 var(--gold)}
.hero-band .qf-title{font-size:1.3rem}
.hero-band .qf-prog{margin-top:8px}
.hero-band .qf-chip{margin:12px 0 0;padding:8px 10px}
.hero-band .qf-chip b{display:block;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-band .qf:has(.qf-chip:not([hidden])) .qf-ask-h{display:none}
.hero-band .qf-ask{margin-top:14px}
.hero-band .qf-ask-q{font-size:1.22rem;line-height:1.18}
.hero-band .qf-ask-h{font-size:.82rem;line-height:1.4}
/* Back / Skip sit at the foot of the left column; the row is always reserved so the band keeps one height */
.hero-band .qf-head .qf-nav{margin:auto 0 0;padding-top:4px;min-height:36px;gap:16px}
.hero-band .qf-nav:not(:has(button:not([hidden]))){display:flex;visibility:hidden}
.hero-band .qf-back,.hero-band .qf-skip{min-height:36px;font-size:.86rem}
.hero-band .qf-body{position:relative;display:flex;flex-direction:column;justify-content:center;padding:16px 26px;min-width:0}
.hero-band .qf-body:has(> .qf-step.active .tiles){padding:0;justify-content:stretch}
.hero-band .qf-step.active{display:block}
.hero-band .qf-body:has(> .qf-step.active .tiles) > .qf-step.active{flex:1;display:flex;flex-direction:column;min-height:0}

/* blocks: every option in one row, full height */
.hero-band .tiles{flex:1;display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.hero-band .qf-step[data-step="1"] .tiles{grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr)) repeat(2,minmax(0,1.3fr))}
.hero-band .tile,.hero-band .tile.wide{grid-column:auto;min-height:0;height:100%;padding:14px 12px;gap:5px}
.hero-band .tile-label{font-size:.76rem}
.hero-band .tile-value,.hero-band .tile.wide .tile-value{font-family:var(--font-display);font-weight:600;font-size:clamp(1.05rem,.8rem + .45vw,1.28rem);line-height:1.12;text-wrap:balance}
.hero-band .tile.wide .tile-value{font-size:clamp(.98rem,.78rem + .35vw,1.12rem)}

/* step 4 (suburb) and step 5 (contact details): fields and button butted together in one row */
.hero-band .field{margin:0;position:relative}
.hero-band .field span{font-size:.8rem;margin-bottom:5px;line-height:1.3}
.hero-band .field input,.hero-band .field textarea{display:block;height:52px;padding:12px 14px}
.hero-band .field textarea{resize:none;min-height:0;line-height:1.5;overflow:hidden}
.hero-band .field-err{position:absolute;left:2px;right:6px;top:100%;margin-top:4px;font-size:.76rem;line-height:1.25;white-space:normal}
.hero-band .qf .btn-block{--btn-h:52px}
.hero-band .qf-step[data-step="4"].active,.hero-band .qf-step[data-step="5"].active{display:grid;column-gap:0;align-items:end;padding-bottom:20px}
.hero-band .qf-step[data-step="4"].active{grid-template-columns:minmax(0,1fr) 220px}
.hero-band .qf-step[data-step="4"] .field{grid-column:1;grid-row:1}
.hero-band .qf-step[data-step="4"] [data-next]{grid-column:2;grid-row:1;margin:0}
.hero-band .qf-step[data-step="5"].active{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.25fr) auto}
.hero-band .qf-sum{grid-column:1 / -1;grid-row:1;margin:0 0 12px;font-size:.86rem;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-band .qf-step[data-step="5"] .field-row{display:contents}
.hero-band .qf-step[data-step="5"] .field{grid-row:2;margin:0}
.hero-band .qf-step[data-step="5"] .btn-block{grid-row:2;width:auto;margin:0;padding:0 26px}
.hero-band .qf-step[data-step="4"] .field input,.hero-band .qf-step[data-step="5"] .field input,.hero-band .qf-step[data-step="5"] .field textarea{border-right-width:0}
.hero-band .qf-step .field input:focus,.hero-band .qf-step .field textarea:focus{border-right-width:1px;margin-right:-1px;position:relative;z-index:1}

/* thank-you: one calm row */
.hero-band .qf-done{padding:4px 0;text-align:left}
.hero-band .qf-done.show{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:22px;align-items:center;align-content:center}
.hero-band .qf-done > svg{grid-row:1 / 3;width:52px;height:52px;margin:0}
.hero-band .qf-done .btn .ico{width:24px;height:24px;margin:0}
.hero-band .qf-done-h{grid-column:2;font-size:1.55rem;line-height:1.1}
.hero-band .qf-done p:not(.qf-done-h){grid-column:2;margin-top:4px;font-size:.95rem;line-height:1.5;max-width:52ch}
.hero-band .qf-done .btn{grid-column:3;grid-row:1 / 3;margin:0}

/* "Get a quote" in the hero: a soft gold ring shows where the form starts */
.hero-band .qf.qf-ping{animation:qfPing 1.1s var(--ease) 1}
@keyframes qfPing{0%{box-shadow:0 0 0 0 rgba(208,169,67,.9),0 40px 80px -36px rgba(0,0,0,.7)}100%{box-shadow:0 0 0 14px rgba(208,169,67,0),0 40px 80px -36px rgba(0,0,0,.7)}}
@media (prefers-reduced-motion:reduce){.hero-band .qf.qf-ping{animation:none}}

/* ---------- short laptops: same content, tighter type and spacing ---------- */
@media (min-width:900px) and (max-height:860px){
  .hero.hero-band{padding-top:calc(var(--gn-space) + 18px)}
  .hero.hero-band .hero-inner{gap:22px;padding-bottom:24px}
  .hero.hero-band h1.hero-line{font-size:clamp(2.9rem,1.4rem + 3.2vw,4.7rem)}
  .hero.hero-band .hero-intro{margin-top:14px;font-size:1.05rem}
  .hero.hero-band .hero-acts{margin-top:24px}
}
@media (min-width:900px) and (max-height:740px){
  .hero.hero-band{padding-top:calc(var(--gn-space) + 12px)}
  .hero.hero-band .hero-inner{gap:18px;padding-bottom:20px}
  .hero.hero-band .hero-eyebrow{margin-bottom:12px}
  .hero.hero-band h1.hero-line{font-size:clamp(2.7rem,1.3rem + 3vw,4.2rem)}
  .hero.hero-band .hero-intro{margin-top:10px;font-size:1rem;line-height:1.6}
  .hero.hero-band .hero-acts{margin-top:20px}
  .hero.hero-band .btns .btn{--btn-h:50px}
  .hero-band .qf-head{padding:16px 22px 8px}
}
@media (min-width:900px) and (max-height:640px){
  .hero.hero-band .hero-intro{display:none}
}
@media (min-width:900px) and (max-width:1365px){.hero.hero-band{--hw:256px}.hero-band .qf-head{padding-left:20px;padding-right:20px}}

/* ---------- tablets: the band's head becomes a top row, blocks still in one row underneath ---------- */
@media (min-width:900px) and (max-width:1139px){
  .hero-band .qf{grid-template-columns:minmax(0,1fr);min-height:0}
  .hero-band .qf-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:24px;padding:14px 24px 12px;box-shadow:inset 0 -1px 0 var(--gold)}
  .hero-band .qf-title{grid-column:1;grid-row:1;white-space:nowrap}
  .hero-band .qf-prog{grid-column:2;grid-row:1;margin:0}
  .hero-band .qf-head .qf-nav{grid-column:3;grid-row:1;margin:0;padding:0}
  .hero-band .qf-chip{grid-column:1 / -1;grid-row:2}
  .hero-band .qf-ask{grid-column:1 / -1;grid-row:3;margin-top:8px;display:flex;align-items:baseline;gap:4px 14px;flex-wrap:wrap}
  .hero-band .qf-ask-h{margin:0}
  .hero-band .tile,.hero-band .tile.wide{min-height:96px}
}

/* ---------- phones: copy, then the band's first step, all on the first screen ---------- */
@media (max-width:899px){
  .hero.hero-band{padding-top:64px;min-height:calc(100svh - var(--ts))}
  .hero.hero-band > .hero-media img{object-position:50% 50%}
  .hero.hero-band > .hero-media::after{background:linear-gradient(180deg,rgba(0,20,6,.86) 0%,rgba(0,20,6,.66) 40%,rgba(0,20,6,.35) 62%,rgba(0,20,6,.6) 100%)}
  .hero.hero-band .hero-inner{gap:18px;padding:22px 0 16px}
  .hero.hero-band .hero-copy{margin-block:0 auto}
  .hero.hero-band .hero-eyebrow{font-size:.66rem;letter-spacing:.14em;margin-bottom:12px;line-height:1.5}
  .hero.hero-band h1.hero-line{font-size:clamp(2.2rem,9.6vw,2.9rem);line-height:1.04}
  .hero.hero-band .hero-intro{margin-top:10px;font-size:.95rem;line-height:1.55}
  .hero.hero-band .hero-acts{margin-top:18px;gap:12px}
  .hero.hero-band .btns{display:flex;width:100%;gap:10px;flex-wrap:nowrap}
  .hero.hero-band .btns .btn{--btn-h:50px;flex:1;padding:0 12px;font-size:.92rem;gap:8px}
  .hero.hero-band .badges{gap:8px}
  .hero-band .qf{--qf-pad:14px;grid-template-columns:minmax(0,1fr);min-height:0;box-shadow:0 24px 50px -28px rgba(0,0,0,.75)}
  .hero-band .qf-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:16px;padding:11px 14px 10px;box-shadow:inset 0 -1px 0 var(--gold)}
  .hero-band .qf-title{grid-column:1;font-size:1.12rem;white-space:nowrap}
  .hero-band .qf-prog{grid-column:2;margin:0;font-size:.74rem;gap:10px}
  .hero-band .qf-chip{grid-column:1 / -1;margin-top:10px}
  .hero-band .qf-ask{grid-column:1 / -1;margin-top:8px}
  .hero-band .qf-ask-q{font-size:1.08rem;line-height:1.25}
  .hero-band .qf-ask-h{font-size:.8rem;margin-top:2px}
  .hero-band .qf[data-at="1"] .qf-ask-h{display:none}
  .hero-band .qf-head .qf-nav{grid-column:1 / -1;margin:2px 0 -10px;padding:0;min-height:0}
  .hero-band .qf-nav:not(:has(button:not([hidden]))){display:none}
  .hero-band .qf-back,.hero-band .qf-skip{min-height:44px;font-size:.86rem}
  .hero-band .qf-body{display:block;padding:12px 14px 14px}
  .hero-band .tiles,.hero-band .qf-step[data-step="1"] .tiles{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-band .tile,.hero-band .tile.wide{grid-column:auto;height:auto;min-height:52px;padding:8px 10px}
  .hero-band .tile.wide{grid-column:1 / -1}
  .hero-band .tile-label{display:none}
  .hero-band .tile-value{font-size:1.06rem}
  .hero-band .tile.wide .tile-value{font-family:var(--font-body);font-weight:500;font-size:.84rem;line-height:1.3}
  .hero-band .tile[aria-pressed="true"]::after{top:6px;right:7px;width:13px;height:13px}
  /* steps 4 and 5: every field is its own full-width row */
  .hero-band .qf-step[data-step="4"].active,.hero-band .qf-step[data-step="5"].active{display:block;padding-bottom:0}
  .hero-band .qf-step[data-step] .field,.hero-band .qf-step[data-step] .btn-block,.hero-band .qf-step[data-step] [data-next]{grid-row:auto;grid-column:auto}
  .hero-band .qf-step[data-step] .field{margin:0 0 14px}
  .hero-band .qf-step[data-step] .field input,.hero-band .qf-step[data-step] .field textarea{border-right-width:1px}
  .hero-band .qf-step .field-err{position:static;display:block;margin-top:5px}
  .hero-band .qf-sum{margin:0 0 10px;white-space:normal}
  .hero-band .qf-step[data-step="5"] .field-row{display:block}
  .hero-band .field textarea{height:76px}
  .hero-band .qf-step[data-step] .btn-block{width:100%;margin:2px 0 0}
  .hero-band .qf-done.show{grid-template-columns:auto minmax(0,1fr);column-gap:14px}
  .hero-band .qf-done > svg{width:40px;height:40px;grid-row:1}
  .hero-band .qf-done-h{font-size:1.3rem}
  .hero-band .qf-done p:not(.qf-done-h){grid-column:1 / -1;font-size:.9rem}
  .hero-band .qf-done .btn{grid-column:1 / -1;grid-row:auto;margin-top:12px;width:100%}
}
@media (max-width:899px) and (max-height:760px){
  .hero.hero-band .hero-intro{display:none}
  .hero.hero-band .hero-inner{padding-top:16px}
}
@media (max-width:400px){
  .hero.hero-band .hero-eyebrow{font-size:.6rem;letter-spacing:.12em}
  .hero.hero-band .btns .btn{font-size:.86rem;padding:0 10px}
  .hero-band .g-pill,.hero-band .seal{font-size:.78rem}
}

/* band is see-through glass on the photo, never white (Jéan 9 Nov) */
.hero-band .qf{background:rgba(0,36,10,.56);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 40px 80px -36px rgba(0,0,0,.7);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2)}
.hero-band .qf-head{background:rgba(0,20,6,.5)}
.hero-band .tile{background:rgba(255,255,255,.06)}
.hero-band .tile:hover{background:rgba(255,255,255,.06)}
@media (hover:hover){.hero-band .tile:hover{background:rgba(208,169,67,.16);box-shadow:inset 0 0 0 2px var(--gold)}}
.hero-band .tile[aria-pressed="true"],.hero-band .tile[aria-pressed="true"]:hover{background:rgba(208,169,67,.26);box-shadow:inset 0 0 0 2px var(--gold)}
.hero-band .field input,.hero-band .field textarea{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.24)}
.hero-band .field input:focus,.hero-band .field textarea:focus{background:rgba(255,255,255,.14);border-color:var(--gold)}
/* end band glass */
/* polish (check 9 Nov): eyebrow readable over the photo; optional box has a visible edge */
.hero .eyebrow{text-shadow:0 1px 10px rgba(0,16,5,.85),0 0 2px rgba(0,16,5,.6)}
.hero-band .field textarea{border-color:rgba(255,255,255,.3)}
