/* GRO-21 follow-ups (2 Nov 2026): Google reviews carousel controls, team row touch handling, and the sticky bar on wide screens.
   Loaded after home.css on the home page only. */

/* Reviews cycle faster (4.5s each instead of 6.5s); the loop already goes back to the first after the last. */
.gbar i.run{animation-duration:4.5s}
.ghead{align-items:center}
.gmeta{min-width:0;flex:1 1 auto}
.gmeta b{display:flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.3}
.gword{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.glogo{height:18px;width:18px;flex:none;vertical-align:-3px}
.gfoot{gap:10px;flex-wrap:nowrap}
.gnav{display:flex;align-items:center;gap:6px;flex:none;margin-left:2px}
.gprev,.gnext{width:34px;height:34px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--ink);font:inherit;font-size:22px;font-weight:600;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0 0 3px;transition:transform .18s cubic-bezier(.34,1.56,.64,1),background .2s,border-color .2s}
.gprev:hover,.gnext:hover{background:var(--green-soft);border-color:var(--green)}
.gprev:active,.gnext:active{transform:scale(.9)}
.gprev:focus-visible,.gnext:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.greviews:focus-visible{outline:3px solid var(--sun);outline-offset:3px}

/* Team row on touch screens: sideways drags move the row, up/down drags scroll the page, and a drag never opens a profile. */
.team,.team .track,.team .tm{touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* Laptop and desktop: the two carousels run edge to edge, with their content kept on the page's column. */
@media (min-width:900px){
body{overflow-x:clip}
.greviews{position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:none;border-radius:0;border-left:0;border-right:0;padding:26px max(24px,calc(50vw - 440px)) 22px}
.greviews::before{right:max(0px,calc(50vw - 520px))}
.gslide blockquote{font-size:17px;line-height:1.55}
.team{position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:none}
.team .track{padding-left:0}
}

/* Sticky bar: on phones the big button plus a short Call pill; on wider screens the two sit together, the same height, centred. */
.bar{display:block}
.barin{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:stretch}
.bar .call{padding:0 14px;border-radius:14px;display:inline-flex;align-items:center;gap:6px;justify-content:center}
.bar .call .cnum{display:none}
@media (min-width:760px){
.bar{padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
.barin{display:flex;justify-content:center;gap:12px;max-width:620px;margin:0 auto}
.bar .btn{flex:1 1 auto;width:auto;max-width:360px;padding:12px 22px;font-size:15px}
.bar .call{flex:0 0 auto;padding:0 22px;font-size:15px;font-weight:800;border:2px solid var(--green);color:var(--green);background:var(--card)}
.bar .call:hover{background:var(--green-soft)}
.bar .call .cico,.bar .call .cshort{display:none}
.bar .call .cnum{display:inline}
}

/* Meta landing page (body.lp): on phones the only way to get in touch is the form, so every phone number and call button is hidden;
   on laptops they stay. The hidden sentence in the FAQ is swapped for one that points at the form. */
body.lp .formline{display:none}
/* Header button on the Meta pages: "Free meet & greet" sits where the nav would be. */
.top .hbtn{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:999px;background:var(--green);color:#fff;font-weight:800;font-size:14px;line-height:1;text-decoration:none;white-space:nowrap;box-shadow:0 6px 18px rgba(31,61,36,.18);transition:transform .18s cubic-bezier(.34,1.56,.64,1),box-shadow .2s,filter .2s}
.top .hbtn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(31,61,36,.22);filter:brightness(1.05)}
.top .hbtn:active{transform:scale(.97)}
.top .hbtn:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.top .hbtn .arrow{display:inline-block;transition:transform .2s;animation:nudge 2.4s ease-in-out infinite}
.top .hbtn:hover .arrow{transform:translateX(3px)}
/* Same life as the big buttons: the soft glow pulse, the light sweep and the nudging arrow (keyframes live in home.css). */
.top .hbtn{position:relative;overflow:hidden;animation:glow 2.8s ease-in-out infinite}
.top .hbtn::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.25) 50%,transparent 70%);transform:translateX(-120%);animation:sheen 4s ease-in-out infinite;pointer-events:none}
/* Enquiry page: the header button stays out of the way while the form is on screen and fades in once you scroll past it. */
.top .hbtn{transition:transform .18s cubic-bezier(.34,1.56,.64,1),box-shadow .2s,filter .2s,opacity .25s}
.top .hbtn.off{opacity:0;pointer-events:none;transform:translateY(-8px)}
@media (max-width:420px){.top .hbtn{padding:9px 12px;font-size:13px}}
@media (prefers-reduced-motion:reduce){.top .hbtn,.top .hbtn::after,.top .hbtn .arrow{animation:none}}
/* Google reviews header: the Google "G" sits in the tile, the stars and rating to its right. */
.gscore{background:#fff;border:1px solid var(--line);font-size:0;padding:0;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.gscore img{width:30px;height:30px;display:block}
/* Enquiry page photo strip: the Ferris wheel photo is framed on the two faces, and the slow zoom keeps them in view. */
.strip figure.faces img{object-position:76% 50%;transform-origin:76% 50%}
@media (max-width:759px){
body.lp header .call,body.lp .bar .call,body.lp .callline{display:none}
body.lp .formline{display:inline}
body.lp .barin{grid-template-columns:1fr}
}
