/* ==========================================================================
   Home: hero with the quote form, trust bar, reviews strip, local contractor + owner video,
   radio band, "why trust us" features, offer strip, financing, quote CTA, areas.
   ========================================================================== */

/* Hero: photo + dark overlay, text left, form card right (as on the old home) */
.tr-hero-home {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	padding: clamp(2.25rem, 4.5vw, 4rem) max(var(--tr-gutter), calc((100vw - var(--tr-max)) / 2 + var(--tr-gutter)));
	min-height: min(80vh, 760px);
	background: var(--tr-ink);
	color: rgb(255 255 255 / .92);
}
.tr-hero-home > * { margin: 0 !important; position: relative; z-index: 1; }
.tr-hero-home > .tr-hero-home__media { position: absolute !important; inset: 0; z-index: -1; }
.tr-hero-home__media img { width: 100%; height: 100% !important; object-fit: cover; }
.tr-hero-home::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgb(0 0 0 / .55), rgb(0 0 0 / .18) 70%); pointer-events: none; }
.tr-hero-home__text { display: grid; gap: 1.25rem; justify-items: start; }
.tr-hero-home__text > * { margin: 0 !important; }
.tr-hero-home__eyebrow { color: var(--tr-yellow); letter-spacing: .08em; font-size: .9375rem; }
.tr-hero-home h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.15; }
.tr-hero-home .tr-mark { color: var(--tr-ink); }
.tr-hero-home .tr-lead { max-width: 560px; color: rgb(255 255 255 / .9); }
.tr-hero-home__form { color: var(--tr-steel); gap: 1rem; padding: clamp(1.25rem, 2.2vw, 1.75rem) !important; }
.tr-hero-home__form .frm-fluent-form .ff-el-group { margin-bottom: 12px; }
.tr-hero-home__form-title { font-family: var(--tr-display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--tr-ink); line-height: 1.2; }
@media (max-width: 960px) {
	.tr-hero-home { grid-template-columns: 1fr; min-height: 0; }
	.tr-hero-home::after { background: linear-gradient(rgb(0 0 0 / .55), rgb(0 0 0 / .4)); }
}

/* Trust bar (black): 4 credentials + phone */
.tr-trustbar { background: var(--tr-ink); color: rgb(255 255 255 / .82); padding: 18px var(--tr-gutter); }
.tr-trustbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; max-width: var(--tr-wide); margin: 0 auto; }
.tr-trustbar__item { display: flex; align-items: center; gap: 12px; margin: 0 !important; }
.tr-trustbar__item p { margin: 0; font-size: .875rem; line-height: 1.35; padding-left: 34px; position: relative; }
.tr-trustbar__item p::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--tr-yellow); }
.tr-trustbar__item p::after { content: ""; position: absolute; left: 5px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--tr-ink); -webkit-mask: var(--tr-check) center / contain no-repeat; mask: var(--tr-check) center / contain no-repeat; }
.tr-trustbar__item strong { display: block; color: #fff; font-weight: 600; font-size: .9375rem; }
@media (max-width: 860px) { .tr-trustbar__inner { display: grid; grid-template-columns: 1fr 1fr; } .tr-trustbar__inner > .wp-block-buttons { grid-column: 1 / -1; } }
@media (max-width: 420px) { .tr-trustbar__inner { grid-template-columns: 1fr; } }

/* Google reviews strip */
.tr-reviews { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.tr-reviews__rating { display: grid; justify-items: center; text-align: center; gap: 2px; }
.tr-reviews__rating > * { margin: 0 !important; }
.tr-reviews__score { font-family: var(--tr-display); font-size: 3.5rem; line-height: 1; color: var(--tr-ink); }
.tr-reviews__stars { font-size: 1.375rem; letter-spacing: .12em; color: var(--tr-gold); }
.tr-reviews__count { font-size: .875rem; color: var(--tr-muted); }
.tr-reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tr-review { margin: 0 !important; padding: 22px 24px; border: 0; border-radius: var(--tr-r-card); background: #fff; box-shadow: inset 4px 0 0 var(--tr-yellow), 0 0 0 1px var(--tr-line); font-size: 1rem !important; line-height: 1.6; }
.tr-review p { margin: 0; }
@media (max-width: 860px) { .tr-reviews, .tr-reviews__grid { grid-template-columns: 1fr; } }

/* Local contractor (black panel + badges) | Meet the owner (video) */
.tr-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tr-duo > * { margin: 0 !important; }
.tr-duo__dark { background: var(--tr-ink); color: rgb(255 255 255 / .86); padding: var(--tr-section) clamp(24px, 6vw, 88px); display: grid; gap: 1.25rem; align-content: start; }
.tr-duo__dark > * { margin: 0 !important; }
.tr-duo__dark h2 { color: #fff; font-size: var(--wp--preset--font-size--heading-lg); }
.tr-duo__dark h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .55em; background: var(--tr-yellow); }
.tr-duo__dark a { color: #fff; }
.tr-duo__owner { background: #fff; padding: var(--tr-section) clamp(24px, 6vw, 88px); display: grid; gap: 1.25rem; justify-items: center; align-content: start; text-align: center; }
.tr-duo__owner > * { margin: 0 !important; width: 100%; }
.tr-duo__owner h3 { font-size: 1.375rem; }
.tr-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: .5rem; }
.tr-badges > * { margin: 0 !important; }
.tr-badges__img img { height: 64px; width: auto; }
@media (max-width: 900px) { .tr-duo { grid-template-columns: 1fr; } }

/* Radio commercial (yellow band) */
.tr-radio { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; text-align: center; }
.tr-radio > * { margin: 0 !important; }
.tr-radio__title { font-family: var(--tr-display); font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--tr-ink); line-height: 1.2; }
.tr-radio__player audio { width: min(340px, 80vw); height: 44px; }

/* Why trust us (charcoal): intro + photo, two bullet columns, closing line + photo */
.tr-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tr-features__col { display: grid; gap: 1.25rem; }
.tr-features__col > * { margin: 0 !important; }
.tr-features__img img { width: 100%; border-radius: var(--tr-r-media); }
.tr-features__list { margin: 0 !important; padding-left: 0 !important; list-style: none; display: grid; gap: 1.1rem; }
.tr-features__list li { margin: 0 !important; padding-left: 22px; border-left: 3px solid var(--tr-yellow); }
.tr-features__list strong { color: #fff; }
.tr-features .tr-lead { color: #fff; }
@media (max-width: 860px) { .tr-features { grid-template-columns: 1fr; } }

/* Offer strip: looping reel (muted) + offer card */
.tr-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.tr-offer__media { border-radius: 16px; overflow: hidden; background: #000; min-height: 280px; position: relative; }
.tr-offer__video { position: absolute; inset: 0; margin: 0 !important; }
.tr-offer__video video { width: 100%; height: 100%; object-fit: cover; }
.tr-offer__card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: 16px; background: var(--tr-ink); color: rgb(255 255 255 / .88); }
.tr-offer__card > * { margin: 0 !important; }
.tr-offer__img img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.tr-offer__body { display: grid; gap: .7rem; }
.tr-offer__body > * { margin: 0 !important; }
.tr-offer__title { font-family: var(--tr-display); font-size: 1.75rem; color: #fff; }
.tr-offer__list { margin: 0 !important; padding-left: 1.1em !important; }
.tr-offer__list li::marker { color: var(--tr-yellow); }
.tr-offer__note { font-style: italic; color: var(--tr-yellow); font-size: .9375rem; }
@media (max-width: 960px) { .tr-offer { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tr-offer__card { grid-template-columns: 1fr; } .tr-offer__img img { width: 110px; height: 110px; } }

/* Financing (black) */
.tr-financing { display: grid; gap: 1.5rem; justify-items: center; text-align: center; }
.tr-financing > * { margin: 0 !important; }
.tr-financing h2 { color: var(--tr-yellow) !important; }
.tr-financing__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; }
.tr-financing__item { font-family: var(--tr-display); font-size: 1.625rem; color: #fff; padding-left: 40px; position: relative; margin: 0 !important; }
.tr-financing__item::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--tr-yellow); }
.tr-financing__item::after { content: ""; position: absolute; left: 7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--tr-ink); -webkit-mask: var(--tr-check) center / contain no-repeat; mask: var(--tr-check) center / contain no-repeat; }
.tr-financing__link a { color: var(--tr-yellow) !important; }

/* Quote CTA (embed copy) + photo */
.tr-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tr-cta__body { display: grid; gap: 1.1rem; }
.tr-cta__body > * { margin: 0 !important; }
.tr-cta__body h2 { font-size: var(--wp--preset--font-size--heading-lg); }
.tr-cta__body p:last-child a { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 26px; margin: 6px 10px 0 0; border-radius: 999px; background: var(--tr-ink); color: #fff; text-decoration: none; font-weight: 500; }
.tr-cta__body p:last-child a[href^="tel:"] { background: transparent; color: var(--tr-ink); box-shadow: inset 0 0 0 2px var(--tr-ink); }
.tr-cta__body p:last-child a:hover { background: var(--tr-yellow); color: var(--tr-ink); box-shadow: inset 0 0 0 2px var(--tr-yellow); }
.tr-cta__img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--tr-r-media); }
@media (max-width: 860px) { .tr-cta { grid-template-columns: 1fr; } }

/* Areas we serve (embed copy) */
.tr-areas-home { display: grid; gap: 1rem; justify-items: center; text-align: center; max-width: 900px !important; }
.tr-areas-home > * { margin: 0 !important; }
.tr-areas-home__towns { list-style: none; padding: 0 !important; margin: .25rem 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tr-areas-home__towns li { margin: 0 !important; padding: 8px 16px; border-radius: 999px; background: var(--tr-mist); color: var(--tr-ink); font-weight: 500; }
.tr-financing__link a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
/* single column: the portrait owner video must not fill the whole screen height */
@media (max-width: 900px) { .tr-duo__owner .tr-video { max-width: 380px; margin-inline: auto; } }
