/* ==========================================================================
   Blocks added Oct 2026: home call band, written reviews strip, client photos strip,
   tax refund counter, embedded code, association badge.
   ========================================================================== */

/* ---------- moving strips (reviews, client photos) ---------- */
.gf-tst__strip, .gf-clients__strip { overflow: hidden; padding-block: var(--s-3); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gf-tst__move, .gf-clients__move { display: flex; width: max-content; animation: gf-marquee 70s linear infinite; }
.gf-clients__move { animation-duration: 90s; }
.gf-tst__strip:hover .gf-tst__move, .gf-clients__strip:hover .gf-clients__move { animation-play-state: paused; }
.gf-tst__track, .gf-clients__track { display: flex; flex: none; gap: var(--s-5); padding-inline-end: var(--s-5); margin: 0; list-style: none; }
html[data-a11y-still] .gf-tst__move, html[data-a11y-still] .gf-clients__move { animation: none; }
@media (prefers-reduced-motion: reduce) {
	.gf-tst__move, .gf-clients__move { animation: none; }
	.gf-tst__strip, .gf-clients__strip { overflow-x: auto; }
}

/* ---------- written reviews ---------- */
.gf-tst { padding-block: var(--s-9) var(--s-8); background: var(--sheet); }
.gf-tst__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-7); }
.gf-tst__links { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.gf-tst__links a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--rule); border-radius: var(--r-pill); font-size: var(--t-small); font-weight: 500; color: var(--ink); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.gf-tst__links a:hover { border-color: var(--gold); background: var(--gold-soft); }
.gf-tst__card { width: min(360px, 82vw); flex: none; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; background: #fff; border: 1px solid #DADCE0; border-radius: 10px; box-shadow: 0 1px 2px rgba(60, 64, 67, .12), 0 2px 8px rgba(60, 64, 67, .06); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: #202124; }
.gf-tst__card--facebook { border-color: #DFE1E5; border-radius: 8px; }
.gf-tst__top { display: flex; align-items: flex-start; gap: 12px; }
.gf-tst__avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; object-fit: cover; background: var(--av, #1A73E8); color: #fff; font: 500 1.05rem/1 system-ui, sans-serif; }
.gf-tst__who { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; min-width: 0; flex: 1; }
.gf-tst__who b { color: #202124; font-weight: 600; font-size: .95rem; }
.gf-tst__who small { color: #70757A; font-size: .78rem; }
.gf-tst__rec { display: inline-flex; align-items: center; gap: 5px; color: #65676B !important; }
.gf-tst__rec svg { width: 14px; height: 14px; flex: none; }
.gf-tst__brand { width: 24px; height: 24px; flex: none; display: grid; place-items: center; }
.gf-tst__brand svg { width: 22px; height: 22px; }
.gf-tst__brand--site { border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font: 400 1.4rem/1 var(--f-display); padding-top: 7px; }
.gf-tst__stars { margin: 0; display: flex; gap: 1px; font-size: 1rem; line-height: 1; }
.gf-tst__stars i { font-style: normal; color: #FBBC04; }
.gf-tst__stars i.is-off { color: #DADCE0; }
.gf-tst__text { margin: 0; color: #3C4043; font-size: .9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.gf-tst__more { margin-top: auto; font-size: .8rem; color: #1A73E8; }
.gf-tst__card--facebook .gf-tst__more { color: #0866FF; }
.gf-tst__links .gf-tst__brand { width: 20px; height: 20px; }
.gf-tst__links .gf-tst__brand svg { width: 18px; height: 18px; }

/* ---------- client photos (mortgage pages) ---------- */
.gf-clients { padding-block: var(--s-9) var(--s-8); background: var(--paper); }
.gf-clients__head { max-width: 760px; margin-bottom: var(--s-7); }
.gf-clients__lead { color: var(--muted); margin-top: var(--s-4); }
.gf-clients__track li { flex: none; height: clamp(220px, 28vw, 320px); border-radius: var(--r-m); overflow: hidden; background: var(--rule); box-shadow: 0 18px 40px -24px rgba(51, 52, 60, .45); }
.gf-clients__track img { height: 100%; width: auto; display: block; object-fit: cover; }

/* ---------- home: the call tile, 6th cell of the services grid ---------- */
.gf-svc--call { position: relative; overflow: hidden; isolation: isolate; justify-content: center; gap: 0; }
.gf-svc--call .gf-svc__mark { position: absolute; z-index: -1; inset-inline-start: -12%; inset-block-end: -14%; width: 62%; height: auto; opacity: .08; pointer-events: none; }
.gf-svc--call .gf-svc__mark path, .gf-svc--call .gf-svc__mark .gf-logo-char { fill: var(--gold-hi); }
.gf-svc--call .gf-svc__big { margin: 0; font-size: clamp(2rem, 2.7vw, 2.7rem); line-height: 1.12; color: var(--paper); }
.gf-svc--call .gf-svc__big em, .gf-svc--call .gf-svc__big .gf-marked { font-style: normal; color: var(--gold-hi); }
.gf-svc--call .gf-svc__actions { flex-direction: column; align-items: stretch; gap: var(--s-4); }
.gf-svc--call .gf-btn--gold { justify-content: center; font-size: 1.1rem; padding: 18px 36px; animation: gf-callpulse 2.6s var(--ease) infinite; }
.gf-svc--call .gf-svc__tel { justify-content: center; }
@keyframes gf-callpulse { 0% { box-shadow: 0 0 0 0 rgba(217, 192, 142, .5); } 70%, 100% { box-shadow: 0 0 0 18px rgba(217, 192, 142, 0); } }
html[data-a11y-still] .gf-svc--call .gf-btn--gold { animation: none; }
@media (prefers-reduced-motion: reduce) { .gf-svc--call .gf-btn--gold { animation: none; } }

/* ---------- tax: refunds counter ---------- */
.gf-counter { padding-block: var(--s-7); background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.gf-counter::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 140% at 50% 0%, rgba(191, 156, 89, .28), transparent 70%); pointer-events: none; }
.gf-counter__in { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--s-5) var(--s-7); flex-wrap: wrap; text-align: center; }
.gf-counter__num { font-family: var(--f-display); font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gf-counter__num small { font-size: .55em; margin-inline-end: .1em; }
.gf-counter__label { margin: 0; max-width: 22ch; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.3; text-align: start; }
.gf-counter__label small { display: block; margin-top: 6px; color: var(--gold-hi); font-size: .62em; letter-spacing: .04em; }
@media (max-width: 760px) { .gf-counter__label { text-align: center; } }

/* ---------- embedded code ---------- */
.gf-embed { padding-block: var(--s-8); }
.gf-embed__title { margin-bottom: var(--s-6); }
.gf-embed__code { max-width: 100%; overflow-x: auto; }
.gf-embed__code iframe { display: block; width: 100%; max-width: 100%; border: 0; }

/* ---------- about: association badge next to Gil's name ---------- */
.gf-gil__sign { flex-wrap: wrap; row-gap: var(--s-4); }
.gf-gil__sign:has(.gf-gil__badge) .gf-gil__sig { display: none; } /* the association logo takes the signature's place */
.gf-gil__badge { display: inline-flex; align-items: center; margin-inline-start: var(--s-6); padding-inline-start: var(--s-6); border-inline-start: 1px solid var(--rule); }
.gf-gil__badge img { height: 58px; width: auto; display: block; }
@media (max-width: 760px) { .gf-gil__badge { margin-inline-start: 0; padding-inline-start: 0; border: 0; flex-basis: 100%; } .gf-gil__badge img { height: 50px; } }

/* ---------- lenders strip: logos in color ---------- */
.gf-banks__track li.has-logo img, .gf-banks:hover .gf-banks__track li.has-logo img { filter: none; opacity: 1; }


/* ---------- Gil without background: just the person on the page (like a cut-out portrait) ---------- */
.gf-gil__media--cut { align-self: start; }
.gf-gil__media--cut .gf-gil__frame { overflow: visible; border-radius: 0; background: none; text-align: center; }
.gf-gil__media--cut img, .gf-about .gf-gil__media--cut img { width: auto; max-width: 100%; height: auto; max-height: min(560px, 70vh); aspect-ratio: auto; object-fit: contain; margin-inline: auto; display: block;
	-webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent); mask-image: linear-gradient(to bottom, #000 86%, transparent); }
@media (max-width: 760px) { .gf-gil__media--cut img, .gf-about .gf-gil__media--cut img { max-height: 420px; } }

/* ---------- inner-page hero with nothing on the left: centred ---------- */
.gf-lph--solo .gf-lph__copy { grid-column: 1 / -1; max-width: 900px; margin-inline: auto; text-align: center; }
.gf-lph--solo .gf-crumbs, .gf-lph--solo .gf-eyebrow { justify-content: center; }
.gf-lph--solo .gf-lph__lead { max-width: 62ch; margin-inline: auto; }
.gf-lph--solo .gf-hero__ctas { justify-content: center; }
.gf-lph--solo .gf-lph__title .gf-marked, .gf-lph--solo .gf-lph__title > span { margin-inline: auto; }
.gf-lph--solo .gf-lph__bg::after { inset-inline: 20%; width: 60%; }

.gf-tst__widget { margin-top: var(--s-2); }

/* ---------- Trustindex widget: site font, right-to-left, tabs as site chips ---------- */
.gf-tst__widget .ti-widget, .gf-tst__widget .ti-widget * { font-family: var(--f-body) !important; letter-spacing: normal !important; }
.gf-tst__widget .ti-widget-header, .gf-tst__widget .ti-header-content, .gf-tst__widget .ti-review-item .ti-inner { direction: rtl !important; text-align: right !important; }
.gf-tst__widget .ti-widget-header { background: none !important; border: 0 !important; padding: 0 0 var(--s-4) !important; box-shadow: none !important; }
.gf-tst__widget .ti-platform-tabs { display: flex !important; justify-content: flex-start !important; border: 0 !important; margin-bottom: var(--s-5) !important; }
.gf-tst__widget .ti-widget-header::after, .gf-tst__widget .ti-platform-tabs::after { display: none !important; }
.gf-tst__widget .ti-platform-tab-items { display: flex !important; gap: 8px !important; flex-wrap: wrap; transform: none !important; }
.gf-tst__widget .ti-platform-tab-nav { display: none !important; }
.gf-tst__widget .ti-tab-item { display: inline-flex !important; align-items: center !important; gap: 8px !important; padding: 9px 18px !important; margin: 0 !important; border: 1px solid var(--rule) !important; border-radius: var(--r-pill) !important; background: var(--sheet) !important; color: var(--ink) !important; font-size: .9rem !important; font-weight: 500 !important; cursor: pointer; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.gf-tst__widget .ti-tab-item::after, .gf-tst__widget .ti-tab-item::before { display: none !important; }
.gf-tst__widget .ti-tab-item:hover { border-color: var(--gold) !important; }
.gf-tst__widget .ti-tab-item.ti-tab-active { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--paper) !important; }
.gf-tst__widget .ti-tab-item .ti-item-label { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; }
.gf-tst__widget .ti-tab-item .ti-platform-icon { width: 18px !important; height: 18px !important; margin: 0 !important; }
.gf-tst__widget .ti-header-content.ti-active { display: flex !important; width: 100% !important; align-items: center !important; justify-content: space-between !important; gap: var(--s-4) !important; }
.gf-tst__widget .ti-header-content:not(.ti-active) { display: none !important; }
.gf-tst__widget .ti-header-rating-text, .gf-tst__widget .ti-header-rating { color: var(--ink) !important; }
.gf-tst__widget .ti-header-write-btn { border-radius: var(--r-pill) !important; border-color: var(--ink) !important; color: var(--ink) !important; font-weight: 500 !important; }
.gf-tst__widget .ti-header-write-btn:hover { background: var(--ink) !important; color: var(--paper) !important; }
.gf-tst__widget .ti-review-item .ti-review-header { flex-direction: row !important; }
.gf-tst__widget .ti-review-item .ti-profile-details { text-align: right !important; }
.gf-tst__widget .ti-review-item .ti-name { font-weight: 600 !important; color: var(--ink) !important; }
.gf-tst__widget .ti-review-item .ti-review-content, .gf-tst__widget .ti-review-item .ti-review-content * { color: var(--brand) !important; line-height: 1.6 !important; }
