/* ==========================================================================
   Membership cards
   ========================================================================== */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
/* Tablet (portrait): keep all three cards side-by-side as a proper pricing table,
   just compacted, rather than stranding one lonely centred card in empty space. */
/* Tablet (761–1024px): three across, but FLUID — every size scales with the
   viewport so the cards stay proportionate and the longer perks (e.g.
   "+ 12 peak hours / month") sit on one line at iPad widths instead of wrapping. */
@media (min-width: 761px) and (max-width: 1024px) {
    .tier-grid { gap: clamp(12px, 1.6vw, 20px); }
    .tier { padding: clamp(26px, 3vw, 32px) clamp(16px, 2vw, 24px) 26px; }
    .tier__name { font-size: clamp(1.15rem, 2.1vw, 1.45rem); }
    .tier__tagline { font-size: clamp(.58rem, 1.05vw, .68rem); letter-spacing: .06em; margin-bottom: 12px; }
    .tier__price { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
    .tier__head { padding-bottom: 16px; }
    .tier__perks { margin: 18px 0 22px; }
    .tier__perks li { font-size: clamp(.74rem, 1.5vw, .92rem); line-height: 1.4; padding: 5px 0 5px 22px; }
}
/* Phones & small tablets: one centred column (the mobile layout you signed off). */
@media (max-width: 760px) {
    .tier-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 22px; }
    .tier { padding: 32px 26px 28px; }
    .tier__head { padding-bottom: 16px; }
    .tier__perks { margin: 20px 0 26px; }
    .tier__perks li { padding-top: 4px; padding-bottom: 4px; }
}
.tier {
    padding: 38px 30px 30px;
    background: linear-gradient(180deg, #16241b 0%, var(--bg-card) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
    position: relative;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.tier:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 162, 75, .5);
}

/* Featured tier — gold-edged to stand out. */
.tier--featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, #1c2c21 0%, #14201a 100%);
}

/* Centred header with a hairline divider above the perks. Margins on the name
   and price are reset — the browser's default <p>/<h3> margins (≈1em, which on
   the 2.7rem price is ~43px) were what bloated the gap under the price. */
.tier__head {
    text-align: center; padding-bottom: 18px; position: relative;
}
/* Soft divider that fades out at both ends, rather than a hard hairline. */
.tier__head::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 241, 234, .18) 22%,
                rgba(244, 241, 234, .18) 78%, transparent);
}
.tier__name {
    font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
    color: var(--text); margin: 0 0 6px; letter-spacing: -.01em;
}
.tier__tagline {
    margin: 0 0 14px; font-size: .72rem; letter-spacing: .14em; font-weight: 600;
    text-transform: uppercase; color: var(--text-muted);
}
/* Tier cards stay dark even on a light section — keep the name light so it's not
   recoloured dark (and invisible) by the global `.section--light h3` rule. */
.section--light .tier__name { color: var(--text); }
.tier__price {
    font-size: 2.7rem; font-family: var(--font-display); font-weight: 700;
    color: var(--gold); line-height: 1; letter-spacing: -.02em; margin: 0;
}
.tier__price small {
    font-size: .82rem; color: var(--text-muted); font-family: var(--font-body);
    font-weight: 500; letter-spacing: .02em; margin-left: 2px;
}
.tier__perks {
    list-style: none; padding: 0; margin: 22px 0 28px; flex: 1;
    display: flex; flex-direction: column; gap: 7px;
}
.tier__perks li {
    padding: 5px 0 5px 26px; position: relative;
    font-size: .95rem; color: #d4d8dc; line-height: 1.45;
}
/* Simple, understated gold check — no disc. */
.tier__perks li::before {
    content: '✓'; position: absolute; left: 1px; top: 5px;
    color: var(--gold); font-size: .9rem; font-weight: 700; line-height: 1;
}

/* ==========================================================================
   Coach cards
   ========================================================================== */
.coach-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.coach {
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .3s var(--ease);
}
.coach:hover { transform: translateY(-6px); }
.coach__photo { aspect-ratio: 4/5; overflow: hidden; }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.coach:hover .coach__photo img { transform: scale(1.05); }
.coach__body { padding: 24px; }
.coach__body h4 { color: var(--text); margin-bottom: 4px; font-family: var(--font-display); font-size: 1.3rem; text-transform: none; letter-spacing: 0; }
.coach__body p { color: var(--text-muted); font-size: .88rem; margin-bottom: 16px; }
.coach__pga { color: var(--gold); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }

/* ==========================================================================
   Events ribbon
   ========================================================================== */
.event-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.event-tile {
    position: relative; aspect-ratio: 4/5;
    border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer;
}
.event-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-tile:hover img { transform: scale(1.08); }
.event-tile::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(14,17,22,.95) 100%);
}
.event-tile__label {
    position: absolute; left: 24px; bottom: 24px; right: 24px;
    z-index: 2; color: var(--text);
}
.event-tile__label h3 { font-size: 1.5rem; margin-bottom: 4px; }
.event-tile__label .arrow { color: var(--gold); }


/* ==========================================================================
   Community (intro left, stacked stats right)
   ========================================================================== */
.community-layout {
    display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: stretch;
}
@media (max-width: 860px) { .community-layout { grid-template-columns: 1fr; gap: 32px; } }
.community-media {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); min-height: 460px;
}
.community-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.community-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,18,13,.6) 0%, transparent 45%);
}
.community-media__badge {
    position: absolute; z-index: 1; left: 22px; bottom: 22px;
    display: inline-flex; align-items: center;
    font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
    color: var(--bg-deep); background: var(--gold); padding: 8px 16px; border-radius: 100px;
}
.community-intro { margin-bottom: 30px; }
.community-intro .lede { margin-bottom: 0; }
.welcome-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.welcome-list li {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px 0; border-top: 1px solid rgba(0,0,0,.1);
}
.welcome-list li:first-child { border-top: 0; padding-top: 0; }
.welcome-list__icon {
    flex: none; width: 30px; height: 30px; border-radius: 50%; margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(200,162,75,.16); color: var(--gold); font-weight: 700; font-size: .85rem;
}
.welcome-list__text strong { display: block; color: var(--fairway); font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; }
.welcome-list__text p { margin: 0; color: #4a5058; font-size: .95rem; line-height: 1.6; }
.community-cta { margin-top: 32px; }
@media (max-width: 860px) { .community-media { min-height: 0; aspect-ratio: 16/10; } }
.community-stat {
    display: flex; gap: 24px; align-items: baseline;
    padding: 24px 0; border-top: 1px solid rgba(0,0,0,.1);
}
.community-stat:first-child { border-top: 0; padding-top: 0; }
.community-stat:last-child { padding-bottom: 0; }
.community-stat__num {
    flex: none; width: 104px;
    font-family: var(--font-display); font-weight: 800;
    font-size: 2.4rem; line-height: 1; letter-spacing: -.02em; color: var(--gold);
}
.community-stat__text strong {
    display: block; color: var(--fairway); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px;
}
.community-stat__text p { margin: 0; color: #4a5058; font-size: .95rem; line-height: 1.6; }
@media (max-width: 540px) {
    .community-stat { gap: 16px; }
    .community-stat__num { width: 80px; font-size: 2rem; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout {
    display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-card {
    background: #fff; border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--radius-lg); padding: 34px;
    box-shadow: 0 22px 60px rgba(10,21,16,.10);
}
.contact-card__head { margin-bottom: 26px; text-align: center; }
.contact-card__head h2 { font-family: var(--font-display); font-size: 1.45rem; margin: 0; color: var(--text-on-light); }
.contact-card__head .muted { margin: 4px 0 0; font-size: .9rem; }
.contact-card .req { color: var(--danger); }
.contact-card__note {
    display: flex; align-items: center; gap: 8px; justify-content: center;
    margin: 4px 0 0; font-size: .8rem; color: #6b7178;
}
.contact-card__note svg { width: 14px; height: 14px; flex: none; }

.contact-aside { display: flex; flex-direction: column; gap: 20px; }

/* WhatsApp quick-response card */
.wa-card {
    background: linear-gradient(160deg, #1f6e4d 0%, #0d3a28 100%);
    border-radius: var(--radius-lg); padding: 26px; color: #fff;
    box-shadow: 0 14px 40px rgba(10,21,16,.12);
}
.wa-card__icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.15); margin-bottom: 16px;
}
.wa-card__icon svg { width: 24px; height: 24px; color: #fff; }
.wa-card h3 { color: #fff; font-size: 1.05rem; margin: 0 0 6px; }
.wa-card p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0 0 18px; }
.wa-card__btn {
    display: inline-block; background: #25D366; color: #06351f;
    font-weight: 700; font-size: .82rem; padding: 11px 20px; border-radius: 999px;
    text-decoration: none; transition: filter .2s var(--ease);
}
.wa-card__btn:hover { filter: brightness(1.06); color: #06351f; }

/* Contact info card */
.contact-info {
    background: #fff; border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--radius-lg); padding: 26px;
    box-shadow: 0 14px 40px rgba(10,21,16,.06);
    text-align: left;
}
.contact-info h3 { font-size: 1.15rem; margin: 0 0 18px; color: var(--text-on-light); }
.contact-info__row {
    display: flex; align-items: center; gap: 14px; padding: 10px 0;
    color: #4a5058; font-size: .92rem; text-decoration: none; text-align: left;
}
.contact-info__row svg {
    width: 42px; height: 42px; padding: 11px; box-sizing: border-box;
    background: #f1f2f4; border-radius: 12px;
    color: var(--fairway); flex: none;
    transition: background-color .2s var(--ease);
}
a.contact-info__row:hover svg { background: #e7e9ec; }
a.contact-info__row span { color: var(--fairway); font-weight: 600; }
.contact-info__row .muted { color: #8a8f96; font-weight: 400; font-size: .82rem; }
.contact-info__map { margin-top: 14px; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 10; }
.contact-info__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Google reviews widget (sits under the "Get in touch" card) */
.contact-google {
    display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0;
    background: #fff; border: 1px solid rgba(0,0,0,.10);
    border-radius: var(--radius-md); padding: 12px 18px;
    box-shadow: 0 8px 22px rgba(10,21,16,.06);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.contact-google:hover { border-color: rgba(0,0,0,.18); box-shadow: 0 12px 30px rgba(10,21,16,.12); transform: translateY(-2px); }
/* Official-style Google wordmark + rating, side by side */
.contact-google__brand { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: -.3px; }
.contact-google .g-b { color: #4285F4; }
.contact-google .g-r { color: #EA4335; }
.contact-google .g-y { color: #FBBC05; }
.contact-google .g-g { color: #34A853; }
.contact-google__rev { color: #5f6368; font-weight: 500; margin-left: 5px; }
.contact-google__rating {
    display: inline-flex; align-items: center; gap: 7px;
    margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(0,0,0,.12);
}
.contact-google__rating strong { font-weight: 700; font-size: 1rem; color: #3c4043; }
.contact-google__stars { color: #fbbc04; letter-spacing: 1.5px; font-size: .95rem; }

/* Desktop: stretch the "Get in touch" card to the same height as the form card,
   with the map growing to fill the extra space. */
@media (min-width: 901px) {
    .contact-layout { align-items: stretch; }
    .contact-info { display: flex; flex-direction: column; flex: 1; }
    .contact-info__map { flex: 1; aspect-ratio: auto; min-height: 220px; }
}

/* Tablet (portrait, 761–900px): the aside drops below the form, so lay the
   contact details and the map side-by-side instead of one tall, half-empty
   card — it uses the extra width and keeps the map a sensible height. */
@media (min-width: 761px) and (max-width: 900px) {
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 28px;
        align-items: stretch;
    }
    .contact-info__details { min-width: 0; }   /* let long email/address wrap */
    .contact-info__map {
        margin-top: 0;
        aspect-ratio: auto;
        min-height: 200px;     /* map matches the details column height */
    }
}

/* Trust row */
.contact-trust {
    background: #fff; border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--radius-lg); padding: 18px 24px; text-align: center;
    box-shadow: 0 14px 40px rgba(10,21,16,.06);
}
.contact-trust__rating { color: var(--text-on-light); font-size: .9rem; }
.contact-trust__rating .stars { color: var(--gold); letter-spacing: 1px; }
.contact-trust__rating strong { color: var(--text-on-light); }
.contact-trust__badges {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
    margin-top: 10px; font-size: .76rem; color: #6b7178;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.spec-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--line);
}
.spec-table th, .spec-table td {
    padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line);
}
@media (max-width: 540px) {
    .spec-table th, .spec-table td { padding: 12px 14px; font-size: .85rem; }
}
.spec-table th { background: rgba(0,0,0,.25); color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td { color: var(--text-muted); }
.spec-table td:first-child { color: var(--text); font-weight: 500; }

/* ==========================================================================
   Tabs
   ========================================================================== */
.tabs__list {
    display: flex; gap: 8px; border-bottom: 1px solid var(--line);
    margin-bottom: 32px; overflow-x: auto;
}
.tabs__btn {
    padding: 14px 20px; background: transparent; border: 0; cursor: pointer;
    color: var(--text-muted); font-weight: 500; font-family: inherit; font-size: .95rem;
    border-bottom: 2px solid transparent; white-space: nowrap;
    transition: all .2s var(--ease);
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* ==========================================================================
   About page map
   ========================================================================== */
.about-map {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(11,61,46,.15);
    position: relative;
}
.about-map iframe {
    width: 100%; height: 420px; border: 0; display: block;
    filter: saturate(.8) contrast(.95);
}
.about-map__label {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    padding: 18px 24px;
    background: var(--bg-light);
    border-top: 1px solid rgba(11,61,46,.12);
}
.about-map__label strong {
    font-family: var(--font-display); font-size: 1rem;
    color: var(--fairway); font-weight: 700; margin-right: 4px;
}
.about-map__label span {
    font-size: .78rem; letter-spacing: .06em;
    color: rgba(11,61,46,.55);
}
.about-map__label span + span::before {
    content: '·'; margin-right: 6px; opacity: .4;
}

/* ==========================================================================
   Menu / food & drink
   ========================================================================== */
.menu-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.menu-item {
    padding: 24px; background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.menu-item__head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 16px; margin-bottom: 8px;
}
.menu-item__head h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin: 0; text-transform: none; letter-spacing: 0; }
.menu-item__price { color: var(--gold); font-weight: 600; font-family: var(--font-display); white-space: nowrap; }
.menu-item__desc { color: var(--text-muted); font-size: .9rem; margin: 0; }
.menu-item__tags { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.menu-tag {
    padding: 3px 10px; border-radius: 999px; background: rgba(11, 61, 46, 0.4);
    color: var(--gold); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid rgba(200,162,75,.2);
}

/* ==========================================================================
   Stats / numbers
   ========================================================================== */
.stat-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
    flex-wrap: wrap;
}
.stat-item {
    display: flex; align-items: baseline; gap: 14px;
    flex: 1; justify-content: center; padding: 8px 24px;
}
.stat__num {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--text); font-weight: 700; line-height: 1; white-space: nowrap;
}
.stat__label {
    color: var(--text-muted); font-size: .72rem;
    letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
    white-space: nowrap;
}
.stat-divider {
    width: 1px; height: 32px; background: var(--line); flex-shrink: 0;
}
@media (max-width: 640px) {
    .stat-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0;
    }
    .stat-item {
        flex: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 24px 20px;
        border-bottom: 1px solid var(--line);
    }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
    .stat__num { font-size: 2.2rem; }
    .stat__label { white-space: normal; }
    .stat-divider { display: none; }
}


/* ==========================================================================
   Google reviews carousel  (.gr — used on every page via the reviews include)
   Card carousel inspired layout, recoloured to charcoal + brushed gold.
   ========================================================================== */
.gr-section {
    background:
        radial-gradient(120% 90% at 80% 15%, rgba(11, 61, 46, .4) 0%, transparent 58%),
        var(--bg-deep);
}
/* Memberships page only: the reviews section takes the green page-band background
   so the two read as one consistent colour. Reviews stay dark on other pages. */
.page-memberships .gr-section {
    background: var(--bg-deep);   /* match the navbar green (#0A1510) */
}
/* Homepage: flat green, no radial glow, on the reviews section. */
.page-home .gr-section {
    background: var(--bg-deep);
}

.gr {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

/* ---- Intro column ---- */
.gr__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border-radius: 999px;
    padding: 8px 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    margin-bottom: 26px;
}
/* Official multi-colour Google "G" logo (SVG). */
.gr__g { width: 18px; height: 18px; display: block; flex: none; }
.gr__badge-stars { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; }
.gr__badge-rating { color: #3c4043; font-size: .92rem; }
.gr__badge-rating strong { font-weight: 700; }

.gr__title { font-size: clamp(2.1rem, 4vw, 3.3rem); margin: 0 0 18px; color: var(--text); }
.gr__title em { font-style: normal; color: var(--gold); }
.gr__lede { color: var(--text-muted); font-size: 1.05rem; max-width: 36ch; margin: 0 0 28px; }

.gr__arrow {
    flex: none;
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(244, 241, 234, .05); color: var(--text);
    border: 1px solid var(--line-strong); cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease),
                border-color .2s var(--ease), transform .15s var(--ease);
}
.gr__arrow:hover { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); }
.gr__arrow:active { transform: scale(.93); }
.gr__arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }
.gr__arrow svg { width: 19px; height: 19px; }

/* ---- Carousel ---- */
.gr__carousel { min-width: 0; }   /* let the grid child shrink so overflow works */
/* Arrows flank the cards, vertically centred with them; dots sit below. */
.gr__stage { display: flex; align-items: center; gap: 20px; }
.gr__viewport {
    flex: 1 1 auto; min-width: 0;   /* sit between the arrows and shrink to fit */
    display: flex; gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;   /* room for card shadow */
}
.gr__viewport::-webkit-scrollbar { display: none; }

/* Scroll-snap is switched on by reviews.js AFTER load (via .is-snap on the
   carousel root). A scroll-snap container present during the initial page
   load triggers a Chromium bug that suppresses Largest Contentful Paint for
   the whole page (Lighthouse reports NO_LCP). Deferring it keeps the native
   swipe-snap feel without breaking the metric. */
.gr.is-snap .gr__viewport { scroll-snap-type: x mandatory; }
.gr.is-snap .gr__card { scroll-snap-align: start; }

.gr__card {
    flex: 0 0 calc(50% - 12px);
    margin: 0;   /* reset the UA <figure> margin (1em 40px) so two cards fit exactly */
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-lg);
    padding: 30px 30px 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gr__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 54px rgba(0, 0, 0, .34);
}
.gr__quote { margin: 0 0 24px; flex: 1; color: #2a3a32; font-size: 1.02rem; line-height: 1.6; }
.gr__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding-top: 20px; border-top: 1px solid #ececec;
}
.gr__author { display: flex; flex-direction: column; gap: 2px; margin: 0; line-height: 1.3; }
.gr__author strong { color: var(--text-on-light); font-size: .98rem; }
.gr__author span { color: #7c8a82; font-size: .82rem; }
.gr__stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; white-space: nowrap; }

/* ---- Dots ---- */
.gr__dots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.gr__dot {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(244, 241, 234, .22); cursor: pointer;
    transition: width .25s var(--ease), background .25s var(--ease);
}
.gr__dot:hover { background: rgba(244, 241, 234, .45); }
.gr__dot.is-active { width: 26px; background: var(--gold); }
.gr__dot.is-active:hover { background: var(--gold); }

/* Keyboard focus rings */
.gr__arrow:focus-visible,
.gr__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .gr__viewport { scroll-behavior: auto; }
    .gr__card { transition: none; }
    .gr__card:hover { transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .gr { grid-template-columns: 1fr; gap: 26px; text-align: center; }
    .gr__intro { display: flex; flex-direction: column; align-items: center; }
    /* Full width so the centred text sits dead-centre, not shrink-wrapped. */
    .gr__title, .gr__lede { align-self: stretch; width: 100%; }
    .gr__lede { max-width: 48ch; margin-inline: auto; text-wrap: balance; }
    .gr__arrow { display: none; }   /* swipe + dots on touch */
    .gr__dots { margin-top: 26px; }
    /* Larger tablets: keep two FULL cards (each still ~350px+), never a cropped
       peek. Two cards + the 24px gap fill the viewport exactly. */
    .gr__card { flex: 0 0 calc(50% - 12px); }
}
/* Narrower tablets / large phones: one full card at a time — never cropped. */
@media (max-width: 760px) {
    .gr__card { flex: 0 0 100%; }
}
/* Tablet only: move the Google badge BELOW the lede so it leads straight into
   the review cards (rating, then the proof) instead of floating alone above the
   heading. Flex `order` only — no DOM change, so mobile (≤560) and the desktop
   two-column layout are untouched. */
@media (min-width: 561px) and (max-width: 980px) {
    .gr__title { order: 1; margin-bottom: 14px; }
    .gr__lede { order: 2; margin: 0 auto 24px; }
    .gr__badge { order: 3; margin: 0; }
}
@media (max-width: 560px) {
    .gr__badge { margin-bottom: 22px; }
    .gr__lede { font-size: 1rem; }
    .gr__card { flex-basis: 100%; padding: 26px 24px 22px; }
    .gr__viewport { gap: 16px; }
}
